aws-cdk-lib.aws_cloudfront.OriginAccessIdentityProps

interface OriginAccessIdentityProps

LanguageType name
.NETAmazon.CDK.AWS.CloudFront.OriginAccessIdentityProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#OriginAccessIdentityProps
Javasoftware.amazon.awscdk.services.cloudfront.OriginAccessIdentityProps
Pythonaws_cdk.aws_cloudfront.OriginAccessIdentityProps
TypeScript (source)aws-cdk-lib » aws_cloudfront » OriginAccessIdentityProps

Properties of CloudFront OriginAccessIdentity.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const originAccessIdentityProps: cloudfront.OriginAccessIdentityProps = {
  comment: 'comment',
};

Properties

NameTypeDescription
comment?stringAny comments you want to include about the origin access identity.

comment?

Type: string (optional, default: "Allows CloudFront to reach the bucket")

Any comments you want to include about the origin access identity.