Class CfnAccessPoint.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnAccessPoint.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPoint>
- Enclosing class:
CfnAccessPoint
@Stability(Stable)
public static final class CfnAccessPoint.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPoint>
A fluent builder for
CfnAccessPoint
.-
Method Summary
Modifier and TypeMethodDescriptionThe name of the bucket associated with this access point.bucketAccountId
(String bucketAccountId) The AWS account ID associated with the S3 bucket associated with this access point.build()
static CfnAccessPoint.Builder
The name of this access point.The access point policy associated with this access point.publicAccessBlockConfiguration
(IResolvable publicAccessBlockConfiguration) The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket.publicAccessBlockConfiguration
(CfnAccessPoint.PublicAccessBlockConfigurationProperty publicAccessBlockConfiguration) The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket.vpcConfiguration
(IResolvable vpcConfiguration) The Virtual Private Cloud (VPC) configuration for this access point, if one exists.vpcConfiguration
(CfnAccessPoint.VpcConfigurationProperty vpcConfiguration) The Virtual Private Cloud (VPC) configuration for this access point, if one exists.
-
Method Details
-
create
@Stability(Stable) public static CfnAccessPoint.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAccessPoint.Builder
.
-
bucket
The name of the bucket associated with this access point.- Parameters:
bucket
- The name of the bucket associated with this access point. This parameter is required.- Returns:
this
- See Also:
-
bucketAccountId
The AWS account ID associated with the S3 bucket associated with this access point.- Parameters:
bucketAccountId
- The AWS account ID associated with the S3 bucket associated with this access point. This parameter is required.- Returns:
this
- See Also:
-
name
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.
- Parameters:
name
- The name of this access point. This parameter is required.- Returns:
this
- See Also:
-
policy
The access point policy associated with this access point.- Parameters:
policy
- The access point policy associated with this access point. This parameter is required.- Returns:
this
- See Also:
-
publicAccessBlockConfiguration
@Stability(Stable) public CfnAccessPoint.Builder publicAccessBlockConfiguration(IResolvable publicAccessBlockConfiguration) 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" in the Amazon S3 User Guide .
- Parameters:
publicAccessBlockConfiguration
- The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. This parameter is required.- Returns:
this
- See Also:
-
publicAccessBlockConfiguration
@Stability(Stable) public CfnAccessPoint.Builder publicAccessBlockConfiguration(CfnAccessPoint.PublicAccessBlockConfigurationProperty publicAccessBlockConfiguration) 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" in the Amazon S3 User Guide .
- Parameters:
publicAccessBlockConfiguration
- The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. This parameter is required.- Returns:
this
- See Also:
-
vpcConfiguration
The Virtual Private Cloud (VPC) configuration for this access point, if one exists.- Parameters:
vpcConfiguration
- The Virtual Private Cloud (VPC) configuration for this access point, if one exists. This parameter is required.- Returns:
this
- See Also:
-
vpcConfiguration
@Stability(Stable) public CfnAccessPoint.Builder vpcConfiguration(CfnAccessPoint.VpcConfigurationProperty vpcConfiguration) The Virtual Private Cloud (VPC) configuration for this access point, if one exists.- Parameters:
vpcConfiguration
- The Virtual Private Cloud (VPC) configuration for this access point, if one exists. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessPoint>
- Returns:
- a newly built instance of
CfnAccessPoint
.
-