This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::DLM::LifecyclePolicy EventParameters
[Event-based policies only] Specifies an event that activates an event-based policy.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "DescriptionRegex" :String, "EventType" :String, "SnapshotOwner" :[ String, ... ]}
YAML
DescriptionRegex:StringEventType:StringSnapshotOwner:- String
Properties
- DescriptionRegex
- 
                    The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account. For example, specifying ^.*Created for policy: policy-1234567890abcdef0.*$configures the policy to run only if snapshots created by policypolicy-1234567890abcdef0are shared with your account.Required: No Type: String Pattern: [\p{all}]*Minimum: 0Maximum: 1000Update requires: No interruption 
- EventType
- 
                    The type of event. Currently, only snapshot sharing events are supported. Required: Yes Type: String Allowed values: shareSnapshotUpdate requires: No interruption 
- SnapshotOwner
- 
                    The IDs of the AWS accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified AWS accounts shares a snapshot with your account. Required: Yes Type: Array of String Minimum: 0Maximum: 50Update requires: No interruption