Class: Aws::RecycleBin::Types::UpdateRuleRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::RecycleBin::Types::UpdateRuleRequest
- Defined in:
- gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#description ⇒ String
The retention rule description.
-
#identifier ⇒ String
The unique ID of the retention rule.
-
#resource_tags ⇒ Array<Types::ResourceTag>
Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule.
-
#resource_type ⇒ String
This parameter is currently not supported. -
#retention_period ⇒ Types::RetentionPeriod
Information about the retention period for which the retention rule is to retain resources.
Instance Attribute Details
#description ⇒ String
The retention rule description.
817 818 819 820 821 822 823 824 825 |
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 817 class UpdateRuleRequest < Struct.new( :identifier, :retention_period, :description, :resource_type, :resource_tags) SENSITIVE = [] include Aws::Structure end |
#identifier ⇒ String
The unique ID of the retention rule.
817 818 819 820 821 822 823 824 825 |
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 817 class UpdateRuleRequest < Struct.new( :identifier, :retention_period, :description, :resource_type, :resource_tags) SENSITIVE = [] include Aws::Structure end |
#resource_tags ⇒ Array<Types::ResourceTag>
Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule.
You can add the same tag key and value pair to a maximum or five retention rules.
To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged.
817 818 819 820 821 822 823 824 825 |
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 817 class UpdateRuleRequest < Struct.new( :identifier, :retention_period, :description, :resource_type, :resource_tags) SENSITIVE = [] include Aws::Structure end |
#resource_type ⇒ String
817 818 819 820 821 822 823 824 825 |
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 817 class UpdateRuleRequest < Struct.new( :identifier, :retention_period, :description, :resource_type, :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.
817 818 819 820 821 822 823 824 825 |
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 817 class UpdateRuleRequest < Struct.new( :identifier, :retention_period, :description, :resource_type, :resource_tags) SENSITIVE = [] include Aws::Structure end |