Interface ICfnAccessPointProps
Properties for defining a CfnAccessPoint
.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnAccessPointProps
Syntax (vb)
Public Interface ICfnAccessPointProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;
var policy;
var cfnAccessPointProps = new CfnAccessPointProps {
Bucket = "bucket",
// the properties below are optional
BucketAccountId = "bucketAccountId",
Name = "name",
Policy = policy,
PublicAccessBlockConfiguration = new PublicAccessBlockConfigurationProperty {
BlockPublicAcls = false,
BlockPublicPolicy = false,
IgnorePublicAcls = false,
RestrictPublicBuckets = false
},
VpcConfiguration = new VpcConfigurationProperty {
VpcId = "vpcId"
}
};
Synopsis
Properties
Bucket | The name of the bucket associated with this access point. |
BucketAccountId | The AWS account ID associated with the S3 bucket associated with this access point. |
Name | The name of this access point. |
Policy | The access point policy associated with this access point. |
PublicAccessBlockConfiguration | The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. |
VpcConfiguration | The Virtual Private Cloud (VPC) configuration for this access point, if one exists. |
Properties
Bucket
The name of the bucket associated with this access point.
string Bucket { get; }
Property Value
System.String
Remarks
BucketAccountId
The AWS account ID associated with the S3 bucket associated with this access point.
virtual string BucketAccountId { get; }
Property Value
System.String
Remarks
Name
The name of this access point.
virtual string Name { get; }
Property Value
System.String
Remarks
If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.
Policy
The access point policy associated with this access point.
virtual object Policy { get; }
Property Value
System.Object
Remarks
PublicAccessBlockConfiguration
The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket.
virtual object PublicAccessBlockConfiguration { get; }
Property Value
System.Object
Remarks
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" in the Amazon S3 User Guide .
VpcConfiguration
The Virtual Private Cloud (VPC) configuration for this access point, if one exists.
virtual object VpcConfiguration { get; }
Property Value
System.Object