-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnAccessPointProps.go
63 lines (60 loc) · 3.23 KB
/
CfnAccessPointProps.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
package awss3
// Properties for defining a `CfnAccessPoint`.
//
// 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"
//
// var policy interface{}
//
// cfnAccessPointProps := &CfnAccessPointProps{
// Bucket: jsii.String("bucket"),
//
// // the properties below are optional
// BucketAccountId: jsii.String("bucketAccountId"),
// Name: jsii.String("name"),
// Policy: policy,
// PublicAccessBlockConfiguration: &PublicAccessBlockConfigurationProperty{
// BlockPublicAcls: jsii.Boolean(false),
// BlockPublicPolicy: jsii.Boolean(false),
// IgnorePublicAcls: jsii.Boolean(false),
// RestrictPublicBuckets: jsii.Boolean(false),
// },
// VpcConfiguration: &VpcConfigurationProperty{
// VpcId: jsii.String("vpcId"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html
//
type CfnAccessPointProps struct {
// The name of the bucket associated with this access point.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-bucket
//
Bucket *string `field:"required" json:"bucket" yaml:"bucket"`
// The AWS account ID associated with the S3 bucket associated with this access point.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-bucketaccountid
//
BucketAccountId *string `field:"optional" json:"bucketAccountId" yaml:"bucketAccountId"`
// The name of this access point.
//
// If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-name
//
Name *string `field:"optional" json:"name" yaml:"name"`
// The access point policy associated with this access point.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-policy
//
Policy interface{} `field:"optional" json:"policy" yaml:"policy"`
// The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket.
//
// You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or 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-accesspoint.html#cfn-s3-accesspoint-publicaccessblockconfiguration
//
PublicAccessBlockConfiguration interface{} `field:"optional" json:"publicAccessBlockConfiguration" yaml:"publicAccessBlockConfiguration"`
// The Virtual Private Cloud (VPC) configuration for this access point, if one exists.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-vpcconfiguration
//
VpcConfiguration interface{} `field:"optional" json:"vpcConfiguration" yaml:"vpcConfiguration"`
}