Class: Aws::DLM::Types::GetLifecyclePoliciesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::DLM::Types::GetLifecyclePoliciesRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-dlm/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#default_policy_type ⇒ String
**[Default policies only]** Specifies the type of default policy to get.
-
#policy_ids ⇒ Array<String>
The identifiers of the data lifecycle policies.
-
#resource_types ⇒ Array<String>
The resource type.
-
#state ⇒ String
The activation state.
-
#tags_to_add ⇒ Array<String>
The tags to add to objects created by the policy.
-
#target_tags ⇒ Array<String>
The target tag for a policy.
Instance Attribute Details
#default_policy_type ⇒ String
**[Default policies only]** Specifies the type of default policy to get. Specify one of the following:
-
‘VOLUME` - To get only the default policy for EBS snapshots
-
‘INSTANCE` - To get only the default policy for EBS-backed AMIs
-
‘ALL` - To get all default policies
720 721 722 723 724 725 726 727 728 729 |
# File 'lib/aws-sdk-dlm/types.rb', line 720 class GetLifecyclePoliciesRequest < Struct.new( :policy_ids, :state, :resource_types, :target_tags, :tags_to_add, :default_policy_type) SENSITIVE = [] include Aws::Structure end |
#policy_ids ⇒ Array<String>
The identifiers of the data lifecycle policies.
720 721 722 723 724 725 726 727 728 729 |
# File 'lib/aws-sdk-dlm/types.rb', line 720 class GetLifecyclePoliciesRequest < Struct.new( :policy_ids, :state, :resource_types, :target_tags, :tags_to_add, :default_policy_type) SENSITIVE = [] include Aws::Structure end |
#resource_types ⇒ Array<String>
The resource type.
720 721 722 723 724 725 726 727 728 729 |
# File 'lib/aws-sdk-dlm/types.rb', line 720 class GetLifecyclePoliciesRequest < Struct.new( :policy_ids, :state, :resource_types, :target_tags, :tags_to_add, :default_policy_type) SENSITIVE = [] include Aws::Structure end |
#state ⇒ String
The activation state.
720 721 722 723 724 725 726 727 728 729 |
# File 'lib/aws-sdk-dlm/types.rb', line 720 class GetLifecyclePoliciesRequest < Struct.new( :policy_ids, :state, :resource_types, :target_tags, :tags_to_add, :default_policy_type) SENSITIVE = [] include Aws::Structure end |
#tags_to_add ⇒ Array<String>
The tags to add to objects created by the policy.
Tags are strings in the format ‘key=value`.
These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.
720 721 722 723 724 725 726 727 728 729 |
# File 'lib/aws-sdk-dlm/types.rb', line 720 class GetLifecyclePoliciesRequest < Struct.new( :policy_ids, :state, :resource_types, :target_tags, :tags_to_add, :default_policy_type) SENSITIVE = [] include Aws::Structure end |
#target_tags ⇒ Array<String>
The target tag for a policy.
Tags are strings in the format ‘key=value`.
720 721 722 723 724 725 726 727 728 729 |
# File 'lib/aws-sdk-dlm/types.rb', line 720 class GetLifecyclePoliciesRequest < Struct.new( :policy_ids, :state, :resource_types, :target_tags, :tags_to_add, :default_policy_type) SENSITIVE = [] include Aws::Structure end |