-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnBucket_ReplicationConfigurationProperty.go
91 lines (88 loc) · 3.19 KB
/
CfnBucket_ReplicationConfigurationProperty.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
package awss3
// A container for replication rules.
//
// You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB.
//
// 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"
//
// replicationConfigurationProperty := &ReplicationConfigurationProperty{
// Role: jsii.String("role"),
// Rules: []interface{}{
// &ReplicationRuleProperty{
// Destination: &ReplicationDestinationProperty{
// Bucket: jsii.String("bucket"),
//
// // the properties below are optional
// AccessControlTranslation: &AccessControlTranslationProperty{
// Owner: jsii.String("owner"),
// },
// Account: jsii.String("account"),
// EncryptionConfiguration: &EncryptionConfigurationProperty{
// ReplicaKmsKeyId: jsii.String("replicaKmsKeyId"),
// },
// Metrics: &MetricsProperty{
// Status: jsii.String("status"),
//
// // the properties below are optional
// EventThreshold: &ReplicationTimeValueProperty{
// Minutes: jsii.Number(123),
// },
// },
// ReplicationTime: &ReplicationTimeProperty{
// Status: jsii.String("status"),
// Time: &ReplicationTimeValueProperty{
// Minutes: jsii.Number(123),
// },
// },
// StorageClass: jsii.String("storageClass"),
// },
// Status: jsii.String("status"),
//
// // the properties below are optional
// DeleteMarkerReplication: &DeleteMarkerReplicationProperty{
// Status: jsii.String("status"),
// },
// Filter: &ReplicationRuleFilterProperty{
// And: &ReplicationRuleAndOperatorProperty{
// Prefix: jsii.String("prefix"),
// TagFilters: []interface{}{
// &TagFilterProperty{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// },
// Prefix: jsii.String("prefix"),
// TagFilter: &TagFilterProperty{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// Id: jsii.String("id"),
// Prefix: jsii.String("prefix"),
// Priority: jsii.Number(123),
// SourceSelectionCriteria: &SourceSelectionCriteriaProperty{
// ReplicaModifications: &ReplicaModificationsProperty{
// Status: jsii.String("status"),
// },
// SseKmsEncryptedObjects: &SseKmsEncryptedObjectsProperty{
// Status: jsii.String("status"),
// },
// },
// },
// },
// }
//
type CfnBucket_ReplicationConfigurationProperty struct {
// The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that Amazon S3 assumes when replicating objects.
//
// For more information, see [How to Set Up Replication](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html) in the *Amazon S3 User Guide* .
Role *string `field:"required" json:"role" yaml:"role"`
// A container for one or more replication rules.
//
// A replication configuration must have at least one rule and can contain a maximum of 1,000 rules.
Rules interface{} `field:"required" json:"rules" yaml:"rules"`
}