-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnReplicationSetProps.go
52 lines (49 loc) · 1.97 KB
/
CfnReplicationSetProps.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
44
45
46
47
48
49
50
51
package awsssmincidents
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnReplicationSet`.
//
// 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"
//
// cfnReplicationSetProps := &CfnReplicationSetProps{
// Regions: []interface{}{
// &ReplicationRegionProperty{
// RegionConfiguration: &RegionConfigurationProperty{
// SseKmsKeyId: jsii.String("sseKmsKeyId"),
// },
// RegionName: jsii.String("regionName"),
// },
// },
//
// // the properties below are optional
// DeletionProtected: jsii.Boolean(false),
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-replicationset.html
//
type CfnReplicationSetProps struct {
// Specifies the Regions of the replication set.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-replicationset.html#cfn-ssmincidents-replicationset-regions
//
Regions interface{} `field:"required" json:"regions" yaml:"regions"`
// Determines if the replication set deletion protection is enabled or not.
//
// If deletion protection is enabled, you can't delete the last Region in the replication set.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-replicationset.html#cfn-ssmincidents-replicationset-deletionprotected
//
DeletionProtected interface{} `field:"optional" json:"deletionProtected" yaml:"deletionProtected"`
// A list of tags to add to the replication set.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-replicationset.html#cfn-ssmincidents-replicationset-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}