Class CfnAccessPointProps
Properties for defining a CfnAccessPoint
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public class CfnAccessPointProps : Object, ICfnAccessPointProps
Syntax (vb)
Public Class CfnAccessPointProps
Inherits Object
Implements ICfnAccessPointProps
Remarks
Link: 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
Constructors
CfnAccessPointProps() |
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. |
Constructors
CfnAccessPointProps()
public CfnAccessPointProps()
Properties
Bucket
The name of the bucket associated with this access point.
public string Bucket { get; set; }
Property Value
System.String
Remarks
BucketAccountId
The AWS account ID associated with the S3 bucket associated with this access point.
public string BucketAccountId { get; set; }
Property Value
System.String
Remarks
Name
The name of this access point.
public string Name { get; set; }
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.
public object Policy { get; set; }
Property Value
System.Object
Remarks
PublicAccessBlockConfiguration
The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket.
public object PublicAccessBlockConfiguration { get; set; }
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.
public object VpcConfiguration { get; set; }
Property Value
System.Object