Interface CfnAccessPointProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAccessPointProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-31T18:44:09.202Z") @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;
 Object policyStatus;
 CfnAccessPointProps cfnAccessPointProps = CfnAccessPointProps.builder()
         .bucket("bucket")
         // the properties below are optional
         .bucketAccountId("bucketAccountId")
         .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();
 
  • Method Details

    • getBucket

      @Stability(Stable) @NotNull String getBucket()
      The name of the bucket associated with this access point.
    • getBucketAccountId

      @Stability(Stable) @Nullable default String getBucketAccountId()
      The AWS account ID associated with the S3 bucket associated with this access point.
    • getName

      @Stability(Stable) @Nullable default String 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.

    • getPolicy

      @Stability(Stable) @Nullable default Object getPolicy()
      The access point policy associated with this access point.
    • getPolicyStatus

      @Stability(Stable) @Nullable default Object getPolicyStatus()
      `AWS::S3::AccessPoint.PolicyStatus`.
    • getPublicAccessBlockConfiguration

      @Stability(Stable) @Nullable default Object 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 .

    • getVpcConfiguration

      @Stability(Stable) @Nullable default Object getVpcConfiguration()
      The Virtual Private Cloud (VPC) configuration for this access point, if one exists.
    • builder

      @Stability(Stable) static CfnAccessPointProps.Builder builder()
      Returns:
      a CfnAccessPointProps.Builder of CfnAccessPointProps