Class: Aws::DLM::Types::GetLifecyclePoliciesRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-dlm/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_policy_typeString

**[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

Returns:

  • (String)


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_idsArray<String>

The identifiers of the data lifecycle policies.

Returns:

  • (Array<String>)


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_typesArray<String>

The resource type.

Returns:

  • (Array<String>)


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

#stateString

The activation state.

Returns:

  • (String)


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_addArray<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.

Returns:

  • (Array<String>)


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_tagsArray<String>

The target tag for a policy.

Tags are strings in the format ‘key=value`.

Returns:

  • (Array<String>)


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