OriginAccessIdentityProps

class aws_cdk.aws_cloudfront.OriginAccessIdentityProps(*, comment=None)

Bases: object

Properties of CloudFront OriginAccessIdentity.

Parameters

comment (Optional[str]) – Any comments you want to include about the origin access identity. Default: “Allows CloudFront to reach the bucket”

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_cloudfront as cloudfront

origin_access_identity_props = cloudfront.OriginAccessIdentityProps(
    comment="comment"
)

Attributes

comment

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

Default

“Allows CloudFront to reach the bucket”

Return type

Optional[str]