-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnLifecyclePolicy_EventSourceProperty.go
40 lines (37 loc) · 1.48 KB
/
CfnLifecyclePolicy_EventSourceProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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"`
}