Class CfnAccessPointPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3express.CfnAccessPointPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPointPropsMixin>
- Enclosing class:
CfnAccessPointPropsMixin
@Stability(Stable)
public static final class CfnAccessPointPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPointPropsMixin>
A fluent builder for
CfnAccessPointPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe name of the bucket that you want to associate the access point with.bucketAccountId(String bucketAccountId) The AWS account ID that owns the bucket associated with this access point.build()create()create(CfnPropertyMixinOptions options) An access point name consists of a base name you provide, followed by the zoneID ( AWS Local Zone) followed by the prefix--xa-s3.The access point policy associated with the specified access point.publicAccessBlockConfiguration(CfnAccessPointPropsMixin.PublicAccessBlockConfigurationProperty publicAccessBlockConfiguration) Public access is blocked by default to access points for directory buckets.publicAccessBlockConfiguration(IResolvable publicAccessBlockConfiguration) Public access is blocked by default to access points for directory buckets.You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both.scope(IResolvable scope) You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both.An array of tags that you can apply to access points.vpcConfiguration(CfnAccessPointPropsMixin.VpcConfigurationProperty vpcConfiguration) If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).vpcConfiguration(IResolvable vpcConfiguration) If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).
-
Method Details
-
create
@Stability(Stable) public static CfnAccessPointPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAccessPointPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAccessPointPropsMixin.Builder.
-
bucket
The name of the bucket that you want to associate the access point with.- Parameters:
bucket- The name of the bucket that you want to associate the access point with. This parameter is required.- Returns:
this- See Also:
-
bucketAccountId
The AWS account ID that owns the bucket associated with this access point.- Parameters:
bucketAccountId- The AWS account ID that owns the bucket associated with this access point. This parameter is required.- Returns:
this- See Also:
-
name
An access point name consists of a base name you provide, followed by the zoneID ( AWS Local Zone) followed by the prefix--xa-s3.For example, accesspointname--zoneID--xa-s3.
- Parameters:
name- An access point name consists of a base name you provide, followed by the zoneID ( AWS Local Zone) followed by the prefix--xa-s3. This parameter is required.- Returns:
this- See Also:
-
policy
The access point policy associated with the specified access point.- Parameters:
policy- The access point policy associated with the specified access point. This parameter is required.- Returns:
this- See Also:
-
publicAccessBlockConfiguration
@Stability(Stable) public CfnAccessPointPropsMixin.Builder publicAccessBlockConfiguration(IResolvable publicAccessBlockConfiguration) Public access is blocked by default to access points for directory buckets.- Parameters:
publicAccessBlockConfiguration- Public access is blocked by default to access points for directory buckets. This parameter is required.- Returns:
this- See Also:
-
publicAccessBlockConfiguration
@Stability(Stable) public CfnAccessPointPropsMixin.Builder publicAccessBlockConfiguration(CfnAccessPointPropsMixin.PublicAccessBlockConfigurationProperty publicAccessBlockConfiguration) Public access is blocked by default to access points for directory buckets.- Parameters:
publicAccessBlockConfiguration- Public access is blocked by default to access points for directory buckets. This parameter is required.- Returns:
this- See Also:
-
scope
You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both.For more information, see Manage the scope of your access points for directory buckets.
- Parameters:
scope- You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both. This parameter is required.- Returns:
this- See Also:
-
scope
@Stability(Stable) public CfnAccessPointPropsMixin.Builder scope(CfnAccessPointPropsMixin.ScopeProperty scope) You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both.For more information, see Manage the scope of your access points for directory buckets.
- Parameters:
scope- You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both. This parameter is required.- Returns:
this- See Also:
-
tags
An array of tags that you can apply to access points.Tags are key-value pairs of metadata used to categorize your access points and control access. For more information, see Using tags for attribute-based access control (ABAC) .
- Parameters:
tags- An array of tags that you can apply to access points. This parameter is required.- Returns:
this- See Also:
-
vpcConfiguration
@Stability(Stable) public CfnAccessPointPropsMixin.Builder vpcConfiguration(IResolvable vpcConfiguration) If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).- Parameters:
vpcConfiguration- If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC). This parameter is required.- Returns:
this- See Also:
-
vpcConfiguration
@Stability(Stable) public CfnAccessPointPropsMixin.Builder vpcConfiguration(CfnAccessPointPropsMixin.VpcConfigurationProperty vpcConfiguration) If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).- Parameters:
vpcConfiguration- If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC). This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccessPointPropsMixin>- Returns:
- a newly built instance of
CfnAccessPointPropsMixin.
-