Class: Aws::RecycleBin::Types::CreateRuleResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::RecycleBin::Types::CreateRuleResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-recyclebin/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#description ⇒ String
The retention rule description.
-
#exclude_resource_tags ⇒ Array<Types::ResourceTag>
[Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be excluded, or ignored, by the retention rule.
-
#identifier ⇒ String
The unique ID of the retention rule.
-
#lock_configuration ⇒ Types::LockConfiguration
Information about the retention rule lock configuration.
-
#lock_state ⇒ String
[Region-level retention rules only] The lock state for the retention rule.
-
#resource_tags ⇒ Array<Types::ResourceTag>
[Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule.
-
#resource_type ⇒ String
The resource type retained by the retention rule.
-
#retention_period ⇒ Types::RetentionPeriod
Information about the retention period for which the retention rule is to retain resources.
-
#rule_arn ⇒ String
The Amazon Resource Name (ARN) of the retention rule.
-
#status ⇒ String
The state of the retention rule.
-
#tags ⇒ Array<Types::Tag>
Information about the tags assigned to the retention rule.
Instance Attribute Details
#description ⇒ String
The retention rule description.
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/aws-sdk-recyclebin/types.rb', line 167 class CreateRuleResponse < Struct.new( :identifier, :retention_period, :description, :tags, :resource_type, :resource_tags, :status, :lock_configuration, :lock_state, :rule_arn, :exclude_resource_tags) SENSITIVE = [] include Aws::Structure end |
#exclude_resource_tags ⇒ Array<Types::ResourceTag>
[Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be excluded, or ignored, by the retention rule.
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/aws-sdk-recyclebin/types.rb', line 167 class CreateRuleResponse < Struct.new( :identifier, :retention_period, :description, :tags, :resource_type, :resource_tags, :status, :lock_configuration, :lock_state, :rule_arn, :exclude_resource_tags) SENSITIVE = [] include Aws::Structure end |
#identifier ⇒ String
The unique ID of the retention rule.
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/aws-sdk-recyclebin/types.rb', line 167 class CreateRuleResponse < Struct.new( :identifier, :retention_period, :description, :tags, :resource_type, :resource_tags, :status, :lock_configuration, :lock_state, :rule_arn, :exclude_resource_tags) SENSITIVE = [] include Aws::Structure end |
#lock_configuration ⇒ Types::LockConfiguration
Information about the retention rule lock configuration.
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/aws-sdk-recyclebin/types.rb', line 167 class CreateRuleResponse < Struct.new( :identifier, :retention_period, :description, :tags, :resource_type, :resource_tags, :status, :lock_configuration, :lock_state, :rule_arn, :exclude_resource_tags) SENSITIVE = [] include Aws::Structure end |
#lock_state ⇒ String
[Region-level retention rules only] The lock state for the retention rule.
-
‘locked` - The retention rule is locked and can’t be modified or deleted.
-
‘pending_unlock` - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired.
-
‘unlocked` - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions.
-
‘null` - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the `locked` and `unlocked` states only; it can never transition back to `null`.
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/aws-sdk-recyclebin/types.rb', line 167 class CreateRuleResponse < Struct.new( :identifier, :retention_period, :description, :tags, :resource_type, :resource_tags, :status, :lock_configuration, :lock_state, :rule_arn, :exclude_resource_tags) SENSITIVE = [] include Aws::Structure end |
#resource_tags ⇒ Array<Types::ResourceTag>
[Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule.
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/aws-sdk-recyclebin/types.rb', line 167 class CreateRuleResponse < Struct.new( :identifier, :retention_period, :description, :tags, :resource_type, :resource_tags, :status, :lock_configuration, :lock_state, :rule_arn, :exclude_resource_tags) SENSITIVE = [] include Aws::Structure end |
#resource_type ⇒ String
The resource type retained by the retention rule.
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/aws-sdk-recyclebin/types.rb', line 167 class CreateRuleResponse < Struct.new( :identifier, :retention_period, :description, :tags, :resource_type, :resource_tags, :status, :lock_configuration, :lock_state, :rule_arn, :exclude_resource_tags) SENSITIVE = [] include Aws::Structure end |
#retention_period ⇒ Types::RetentionPeriod
Information about the retention period for which the retention rule is to retain resources.
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/aws-sdk-recyclebin/types.rb', line 167 class CreateRuleResponse < Struct.new( :identifier, :retention_period, :description, :tags, :resource_type, :resource_tags, :status, :lock_configuration, :lock_state, :rule_arn, :exclude_resource_tags) SENSITIVE = [] include Aws::Structure end |
#rule_arn ⇒ String
The Amazon Resource Name (ARN) of the retention rule.
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/aws-sdk-recyclebin/types.rb', line 167 class CreateRuleResponse < Struct.new( :identifier, :retention_period, :description, :tags, :resource_type, :resource_tags, :status, :lock_configuration, :lock_state, :rule_arn, :exclude_resource_tags) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The state of the retention rule. Only retention rules that are in the ‘available` state retain resources.
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/aws-sdk-recyclebin/types.rb', line 167 class CreateRuleResponse < Struct.new( :identifier, :retention_period, :description, :tags, :resource_type, :resource_tags, :status, :lock_configuration, :lock_state, :rule_arn, :exclude_resource_tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
Information about the tags assigned to the retention rule.
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/aws-sdk-recyclebin/types.rb', line 167 class CreateRuleResponse < Struct.new( :identifier, :retention_period, :description, :tags, :resource_type, :resource_tags, :status, :lock_configuration, :lock_state, :rule_arn, :exclude_resource_tags) SENSITIVE = [] include Aws::Structure end |