-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnLifecyclePolicy_ActionProperty.go
44 lines (41 loc) · 1.63 KB
/
CfnLifecyclePolicy_ActionProperty.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
40
41
42
43
package awsdlm
// *[Event-based policies only]* Specifies an action for 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"
//
// actionProperty := &ActionProperty{
// CrossRegionCopy: []interface{}{
// &CrossRegionCopyActionProperty{
// EncryptionConfiguration: &EncryptionConfigurationProperty{
// Encrypted: jsii.Boolean(false),
//
// // the properties below are optional
// CmkArn: jsii.String("cmkArn"),
// },
// Target: jsii.String("target"),
//
// // the properties below are optional
// RetainRule: &CrossRegionCopyRetainRuleProperty{
// Interval: jsii.Number(123),
// IntervalUnit: jsii.String("intervalUnit"),
// },
// },
// },
// Name: jsii.String("name"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-action.html
//
type CfnLifecyclePolicy_ActionProperty struct {
// The rule for copying shared snapshots across Regions.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-action.html#cfn-dlm-lifecyclepolicy-action-crossregioncopy
//
CrossRegionCopy interface{} `field:"required" json:"crossRegionCopy" yaml:"crossRegionCopy"`
// A descriptive name for the action.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-action.html#cfn-dlm-lifecyclepolicy-action-name
//
Name *string `field:"required" json:"name" yaml:"name"`
}