LifecyclePolicy - Amazon Data Lifecycle Manager
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

LifecyclePolicy

Information about a lifecycle policy.

Contents

DateCreated

The local date and time when the lifecycle policy was created.

Type: Timestamp

Required: No

DateModified

The local date and time when the lifecycle policy was last modified.

Type: Timestamp

Required: No

DefaultPolicy

Indicates whether the policy is a default lifecycle policy or a custom lifecycle policy.

  • true - the policy is a default policy.

  • false - the policy is a custom policy.

Type: Boolean

Required: No

Description

The description of the lifecycle policy.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 500.

Pattern: [0-9A-Za-z _-]+

Required: No

ExecutionRoleArn

The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 2048.

Pattern: arn:aws(-[a-z]{1,3}){0,2}:iam::\d+:role/.*

Required: No

PolicyArn

The Amazon Resource Name (ARN) of the policy.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 2048.

Pattern: ^arn:aws(-[a-z]{1,3}){0,2}:dlm:[A-Za-z0-9_/.-]{0,63}:\d+:policy/[0-9A-Za-z_-]{1,128}$

Required: No

PolicyDetails

The configuration of the lifecycle policy

Type: PolicyDetails object

Required: No

PolicyId

The identifier of the lifecycle policy.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 64.

Pattern: policy-[a-f0-9]+

Required: No

State

The activation state of the lifecycle policy.

Type: String

Valid Values: ENABLED | DISABLED | ERROR

Required: No

StatusMessage

The description of the status.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 500.

Pattern: [\p{all}]*

Required: No

Tags

The tags.

Type: String to string map

Map Entries: Maximum number of 200 items.

Key Length Constraints: Minimum length of 1. Maximum length of 128.

Key Pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$

Value Length Constraints: Maximum length of 256.

Value Pattern: [\p{all}]*

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: