AWS::DLM::LifecyclePolicy

DLM LifecyclePolicy

Resource Type definition for AWS::DLM::LifecyclePolicy

Properties

12 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
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>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) of the lifecycle policy.
PolicyIdstringThe identifier of the lifecycle policy.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
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"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

dlm:TagResourcedlm:CreateLifecyclePolicyiam:PassRoledlm:GetLifecyclePolicy

read

dlm:GetLifecyclePolicy

update

dlm:UpdateLifecyclePolicyiam:PassRoledlm:TagResourcedlm:UntagResourcedlm:GetLifecyclePolicy

delete

dlm:DeleteLifecyclePolicy

list

dlm:GetLifecyclePolicies

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceDLM
Properties14
Required0
TaggingSupported
Primary IDPolicyId

Supported Operations

CreateReadUpdateDeleteList

External Links