PolicyDetails - Amazon Data Lifecycle Manager

PolicyDetails

Specifies the configuration of a lifecycle policy.

Contents

Parameters

A set of optional parameters for the policy.

Type: Parameters object

Required: No

PolicyType

The valid target resource types and actions a policy can manage. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. The default is EBS_SNAPSHOT_MANAGEMENT.

Type: String

Valid Values: EBS_SNAPSHOT_MANAGEMENT | IMAGE_MANAGEMENT

Required: No

ResourceTypes

The resource type. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.

Type: Array of strings

Array Members: Fixed number of 1 item.

Valid Values: VOLUME | INSTANCE

Required: No

Schedules

The schedules of policy-defined actions. A policy can have up to four schedules - one mandatory schedule and up to three optional schedules.

Type: Array of Schedule objects

Array Members: Minimum number of 1 item. Maximum number of 4 items.

Required: No

TargetTags

The single tag that identifies targeted resources for this policy.

Type: Array of Tag objects

Array Members: Minimum number of 1 item. Maximum number of 50 items.

Required: No

See Also

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