package awsdlm // *[Event-based policies only]* Specifies an event that activates an event-based policy. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // eventSourceProperty := &EventSourceProperty{ // Type: jsii.String("type"), // // // the properties below are optional // Parameters: &EventParametersProperty{ // EventType: jsii.String("eventType"), // SnapshotOwner: []*string{ // jsii.String("snapshotOwner"), // }, // // // the properties below are optional // DescriptionRegex: jsii.String("descriptionRegex"), // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventsource.html // type CfnLifecyclePolicy_EventSourceProperty struct { // The source of the event. // // Currently only managed CloudWatch Events rules are supported. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventsource.html#cfn-dlm-lifecyclepolicy-eventsource-type // Type *string `field:"required" json:"type" yaml:"type"` // Information about the event. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventsource.html#cfn-dlm-lifecyclepolicy-eventsource-parameters // Parameters interface{} `field:"optional" json:"parameters" yaml:"parameters"` }