AWS::S3::AccessPointThe AWS::S3::AccessPoint resource is an Amazon S3 resource type that you can use to access buckets.
import { CfnAccessPoint } from 'aws-cdk-lib/aws-s3';Or use the module namespace:
import * as s3 from 'aws-cdk-lib/aws-s3';
// s3.CfnAccessPointConfiguration passed to the constructor as CfnAccessPointProps.
bucketRequiredstring | IBucketRefThe name of the bucket associated with this access point.
bucketAccountIdOptionalstringThe AWS account ID associated with the S3 bucket associated with this access point.
nameOptionalstringThe 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.
policyOptionalanyThe access point policy associated with this access point.
publicAccessBlockConfigurationOptionalIResolvable | PublicAccessBlockConfigurationPropertyThe 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"](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status) in the *Amazon S3 User Guide* .
tagsOptionalCfnTag[]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)](https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#using-tags-for-abac) .
vpcConfigurationOptionalIResolvable | VpcConfigurationPropertyThe Virtual Private Cloud (VPC) configuration for this access point, if one exists.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon S3 on one page. HD quality, print-friendly.
Download Free Infographicaws-s3AWS::S3::AccessPoint