public static final class CfnAccessPoint.Builder
extends java.lang.Object
CfnAccessPoint
.Modifier and Type | Method and Description |
---|---|
CfnAccessPoint.Builder |
bucket(java.lang.String bucket)
The name of the bucket associated with this access point.
|
CfnAccessPoint |
build() |
static CfnAccessPoint.Builder |
create(Construct scope,
java.lang.String id) |
CfnAccessPoint.Builder |
name(java.lang.String name)
The name of this access point.
|
CfnAccessPoint.Builder |
policy(java.lang.Object policy)
The access point policy associated with this access point.
|
CfnAccessPoint.Builder |
policyStatus(java.lang.Object policyStatus)
The container element for a bucket's policy status.
|
CfnAccessPoint.Builder |
publicAccessBlockConfiguration(CfnAccessPoint.PublicAccessBlockConfigurationProperty publicAccessBlockConfiguration)
The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket.
|
CfnAccessPoint.Builder |
publicAccessBlockConfiguration(IResolvable publicAccessBlockConfiguration)
The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket.
|
CfnAccessPoint.Builder |
vpcConfiguration(CfnAccessPoint.VpcConfigurationProperty vpcConfiguration)
The Virtual Private Cloud (VPC) configuration for this access point, if one exists.
|
CfnAccessPoint.Builder |
vpcConfiguration(IResolvable vpcConfiguration)
The Virtual Private Cloud (VPC) configuration for this access point, if one exists.
|
public static CfnAccessPoint.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnAccessPoint.PublicAccessBlockConfigurationProperty.Builder
.public CfnAccessPoint.Builder bucket(java.lang.String bucket)
bucket
- The name of the bucket associated with this access point. This parameter is required.this
public CfnAccessPoint.Builder name(java.lang.String name)
If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.
name
- The name of this access point. This parameter is required.this
public CfnAccessPoint.Builder policy(java.lang.Object policy)
policy
- The access point policy associated with this access point. This parameter is required.this
public CfnAccessPoint.Builder policyStatus(java.lang.Object policyStatus)
policyStatus
- The container element for a bucket's policy status. This parameter is required.this
public CfnAccessPoint.Builder publicAccessBlockConfiguration(IResolvable publicAccessBlockConfiguration)
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 .
publicAccessBlockConfiguration
- The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. This parameter is required.this
public CfnAccessPoint.Builder publicAccessBlockConfiguration(CfnAccessPoint.PublicAccessBlockConfigurationProperty publicAccessBlockConfiguration)
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 .
publicAccessBlockConfiguration
- The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. This parameter is required.this
public CfnAccessPoint.Builder vpcConfiguration(IResolvable vpcConfiguration)
vpcConfiguration
- The Virtual Private Cloud (VPC) configuration for this access point, if one exists. This parameter is required.this
public CfnAccessPoint.Builder vpcConfiguration(CfnAccessPoint.VpcConfigurationProperty vpcConfiguration)
vpcConfiguration
- The Virtual Private Cloud (VPC) configuration for this access point, if one exists. This parameter is required.this
public CfnAccessPoint build()