Class: Ansible::Ruby::Modules::S3_lifecycle
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::S3_lifecycle
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb
Overview
Manage s3 bucket lifecycle rules in AWS
Instance Method Summary collapse
-
#expiration_date ⇒ String?
Indicates the lifetime of the objects that are subject to the rule by the date they will expire.
-
#expiration_days ⇒ Integer?
Indicates the lifetime, in days, of the objects that are subject to the rule.
-
#name ⇒ String
Name of the s3 bucket.
-
#noncurrent_version_expiration_days ⇒ Object?
Delete noncurrent versions this many days after they become noncurrent.
-
#noncurrent_version_storage_class ⇒ :glacier, ...
Transition noncurrent versions to this storage class.
-
#noncurrent_version_transition_days ⇒ Object?
Transition noncurrent versions this many days after they become noncurrent.
-
#noncurrent_version_transitions ⇒ Object?
A list of transition behaviors to be applied to noncurrent versions for the rule.
-
#prefix ⇒ String?
Prefix identifying one or more objects to which the rule applies.
-
#purge_transitions ⇒ Boolean?
“Whether to replace all the current transition(s) with the new transition(s).
-
#rule_id ⇒ Object?
Unique identifier for the rule.
-
#state ⇒ :present, ...
Create or remove the lifecycle rule.
-
#status ⇒ :enabled, ...
If ‘enabled’, the rule is currently being applied.
-
#storage_class ⇒ :glacier, ...
The storage class to transition to.
-
#transition_date ⇒ String?
Indicates the lifetime of the objects that are subject to the rule by the date they will transition to a different storage class.
-
#transition_days ⇒ Integer?
Indicates when, in days, an object transitions to a different storage class.
-
#transitions ⇒ Array<Hash>, ...
A list of transition behaviors to be applied to the rule.
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
#expiration_date ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 16 attribute :expiration_date |
#expiration_days ⇒ Integer?
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 20 attribute :expiration_days |
#name ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 12 attribute :name |
#noncurrent_version_expiration_days ⇒ Object?
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 32 attribute :noncurrent_version_expiration_days |
#noncurrent_version_storage_class ⇒ :glacier, ...
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 35 attribute :noncurrent_version_storage_class |
#noncurrent_version_transition_days ⇒ Object?
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 39 attribute :noncurrent_version_transition_days |
#noncurrent_version_transitions ⇒ Object?
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 42 attribute :noncurrent_version_transitions |
#prefix ⇒ String?
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 24 attribute :prefix |
#purge_transitions ⇒ Boolean?
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 28 attribute :purge_transitions |
#rule_id ⇒ Object?
45 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 45 attribute :rule_id |
#state ⇒ :present, ...
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 48 attribute :state |
#status ⇒ :enabled, ...
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 52 attribute :status |
#storage_class ⇒ :glacier, ...
56 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 56 attribute :storage_class |
#transition_date ⇒ String?
60 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 60 attribute :transition_date |
#transition_days ⇒ Integer?
64 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 64 attribute :transition_days |
#transitions ⇒ Array<Hash>, ...
68 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/s3_lifecycle.rb', line 68 attribute :transitions |