@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.747Z") @Stability(value=Stable) public interface CfnAccessPointProps extends software.amazon.jsii.JsiiSerializable
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;
Object policyStatus;
CfnAccessPointProps cfnAccessPointProps = CfnAccessPointProps.builder()
.bucket("bucket")
// the properties below are optional
.name("name")
.policy(policy)
.policyStatus(policyStatus)
.publicAccessBlockConfiguration(PublicAccessBlockConfigurationProperty.builder()
.blockPublicAcls(false)
.blockPublicPolicy(false)
.ignorePublicAcls(false)
.restrictPublicBuckets(false)
.build())
.vpcConfiguration(VpcConfigurationProperty.builder()
.vpcId("vpcId")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAccessPointProps.Builder
A builder for
CfnAccessPointProps |
static class |
CfnAccessPointProps.Jsii$Proxy
An implementation for
CfnAccessPointProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnAccessPointProps.Builder |
builder() |
String |
getBucket()
The name of the bucket associated with this access point.
|
default String |
getName()
The name of this access point.
|
default Object |
getPolicy()
The access point policy associated with this access point.
|
default Object |
getPolicyStatus()
The container element for a bucket's policy status.
|
default Object |
getPublicAccessBlockConfiguration()
The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket.
|
default Object |
getVpcConfiguration()
The Virtual Private Cloud (VPC) configuration for this access point, if one exists.
|
@Stability(value=Stable) @NotNull String getBucket()
@Stability(value=Stable) @Nullable default String getName()
If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.
@Stability(value=Stable) @Nullable default Object getPolicy()
@Stability(value=Stable) @Nullable default Object getPolicyStatus()
@Stability(value=Stable) @Nullable default Object getPublicAccessBlockConfiguration()
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 .
@Stability(value=Stable) @Nullable default Object getVpcConfiguration()
@Stability(value=Stable) static CfnAccessPointProps.Builder builder()
CfnAccessPointProps.Builder of CfnAccessPointPropsCopyright © 2022. All rights reserved.