Class: Ansible::Ruby::Modules::Cloudwatchlogs_log_group
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cloudwatchlogs_log_group
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/cloudwatchlogs_log_group.rb
Overview
Create or delete log_group in CloudWatchLogs.
Instance Method Summary collapse
-
#kms_key_id ⇒ String?
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
-
#log_group_name ⇒ String
The name of the log group.
-
#overwrite ⇒ Boolean?
Whether an existing log group should be overwritten on create.
-
#retention ⇒ Object?
The number of days to retain the log events in the specified log group.
-
#state ⇒ :present, ...
Whether the rule is present, absent or get.
-
#tags ⇒ Hash?
The key-value pairs to use for the tags.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#kms_key_id ⇒ String?
Returns The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/cloudwatchlogs_log_group.rb', line 20 attribute :kms_key_id |
#log_group_name ⇒ String
Returns The name of the log group.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/cloudwatchlogs_log_group.rb', line 16 attribute :log_group_name |
#overwrite ⇒ Boolean?
Returns Whether an existing log group should be overwritten on create.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/cloudwatchlogs_log_group.rb', line 31 attribute :overwrite |
#retention ⇒ Object?
Returns The number of days to retain the log events in the specified log group. Valid values are: [1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653].
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/cloudwatchlogs_log_group.rb', line 28 attribute :retention |
#state ⇒ :present, ...
Returns Whether the rule is present, absent or get.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/cloudwatchlogs_log_group.rb', line 12 attribute :state |
#tags ⇒ Hash?
Returns The key-value pairs to use for the tags.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/cloudwatchlogs_log_group.rb', line 24 attribute :tags |