AWS::CloudFront::CloudFrontOriginAccessIdentityThe request to create a new origin access identity (OAI). An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see [Restricting Access to Amazon S3 Content by Using an Origin Access Identity](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html) in the *Amazon CloudFront Developer Guide* .
import { CfnCloudFrontOriginAccessIdentity } from 'aws-cdk-lib/aws-cloudfront';Or use the module namespace:
import * as cloudfront from 'aws-cdk-lib/aws-cloudfront';
// cloudfront.CfnCloudFrontOriginAccessIdentityConfiguration passed to the constructor as CfnCloudFrontOriginAccessIdentityProps.
cloudFrontOriginAccessIdentityConfigRequiredIResolvable | CloudFrontOriginAccessIdentityConfigPropertyThe current configuration information for the identity.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon CloudFront on one page. HD quality, print-friendly.
Download Free Infographicaws-cloudfrontAWS::CloudFront::CloudFrontOriginAccessIdentity