You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetLifecyclePoliciesRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  policy_ids: ["PolicyId"],
  state: "ENABLED", # accepts ENABLED, DISABLED, ERROR
  resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
  target_tags: ["TagFilter"],
  tags_to_add: ["TagFilter"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#policy_idsArray<String>

The identifiers of the data lifecycle policies.

Returns:

  • (Array<String>)

    The identifiers of the data lifecycle policies.

#resource_typesArray<String>

The resource type.

Returns:

  • (Array<String>)

    The resource type.

#stateString

The activation state.

Possible values:

  • ENABLED
  • DISABLED
  • ERROR

Returns:

  • (String)

    The activation state.

#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 AWS-added lifecycle tags.

Returns:

  • (Array<String>)

    The tags to add to objects created by the policy.

#target_tagsArray<String>

The target tag for a policy.

Tags are strings in the format key=value.

Returns:

  • (Array<String>)

    The target tag for a policy.