Interface CfnAccessPointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAccessPointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-14T13:31:17.258Z")
@Stability(Stable)
public interface CfnAccessPointProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnAccessPoint
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.s3.*; Object policy; CfnAccessPointProps cfnAccessPointProps = CfnAccessPointProps.builder() .bucket("bucket") // the properties below are optional .bucketAccountId("bucketAccountId") .name("name") .policy(policy) .publicAccessBlockConfiguration(PublicAccessBlockConfigurationProperty.builder() .blockPublicAcls(false) .blockPublicPolicy(false) .ignorePublicAcls(false) .restrictPublicBuckets(false) .build()) .vpcConfiguration(VpcConfigurationProperty.builder() .vpcId("vpcId") .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAccessPointProps
static final class
An implementation forCfnAccessPointProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAccessPointProps.Builder
builder()
The name of the bucket associated with this access point.default String
The AWS account ID associated with the S3 bucket associated with this access point.default String
getName()
The name of this access point.default Object
The access point policy associated with this access point.default Object
The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket.default Object
The Virtual Private Cloud (VPC) configuration for this access point, if one exists.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
The name of the bucket associated with this access point.- See Also:
-
getBucketAccountId
The AWS account ID associated with the S3 bucket associated with this access point.- See Also:
-
getName
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.
- See Also:
-
getPolicy
The access point policy associated with this access point.- See Also:
-
getPublicAccessBlockConfiguration
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 .
- See Also:
-
getVpcConfiguration
The Virtual Private Cloud (VPC) configuration for this access point, if one exists.- See Also:
-
builder
- Returns:
- a
CfnAccessPointProps.Builder
ofCfnAccessPointProps
-