-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnMultiRegionAccessPointProps.go
49 lines (46 loc) · 2.36 KB
/
CfnMultiRegionAccessPointProps.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
package awss3
// Properties for defining a `CfnMultiRegionAccessPoint`.
//
// 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"
//
// cfnMultiRegionAccessPointProps := &CfnMultiRegionAccessPointProps{
// Regions: []interface{}{
// &RegionProperty{
// Bucket: jsii.String("bucket"),
//
// // the properties below are optional
// BucketAccountId: jsii.String("bucketAccountId"),
// },
// },
//
// // the properties below are optional
// Name: jsii.String("name"),
// PublicAccessBlockConfiguration: &PublicAccessBlockConfigurationProperty{
// BlockPublicAcls: jsii.Boolean(false),
// BlockPublicPolicy: jsii.Boolean(false),
// IgnorePublicAcls: jsii.Boolean(false),
// RestrictPublicBuckets: jsii.Boolean(false),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-multiregionaccesspoint.html
//
type CfnMultiRegionAccessPointProps struct {
// A collection of the Regions and buckets associated with the Multi-Region Access Point.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-multiregionaccesspoint.html#cfn-s3-multiregionaccesspoint-regions
//
Regions interface{} `field:"required" json:"regions" yaml:"regions"`
// The name of the Multi-Region Access Point.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-multiregionaccesspoint.html#cfn-s3-multiregionaccesspoint-name
//
Name *string `field:"optional" json:"name" yaml:"name"`
// The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point.
//
// You can enable the configuration options in any combination. For more information about when Amazon S3 considers an object public, see [The Meaning of "Public"](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status) in the *Amazon S3 User Guide* .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-multiregionaccesspoint.html#cfn-s3-multiregionaccesspoint-publicaccessblockconfiguration
//
PublicAccessBlockConfiguration interface{} `field:"optional" json:"publicAccessBlockConfiguration" yaml:"publicAccessBlockConfiguration"`
}