AWS::DLM::LifecyclePolicyResource Type definition for AWS::DLM::LifecyclePolicy
12 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
CopyTags | boolean | |
CreateInterval | integer | |
CrossRegionCopyTargets | array | |
DefaultPolicy | string | |
Description | string | |
Exclusions | Exclusions | |
ExecutionRoleArn | string | |
ExtendDeletion | boolean | |
PolicyDetails | PolicyDetails | |
RetainInterval | integer | |
State | string | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the lifecycle policy. |
PolicyId | string | The identifier of the lifecycle policy. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::DLM::LifecyclePolicy
Resources:
MyResource:
Type: AWS::DLM::LifecyclePolicy
Properties:
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
dlm:TagResourcedlm:CreateLifecyclePolicyiam:PassRoledlm:GetLifecyclePolicydlm:GetLifecyclePolicydlm:UpdateLifecyclePolicyiam:PassRoledlm:TagResourcedlm:UntagResourcedlm:GetLifecyclePolicydlm:DeleteLifecyclePolicydlm:GetLifecyclePoliciesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterPolicyId