An Origin Access Control for Amazon S3 origins.
import { S3OriginAccessControl } from 'aws-cdk-lib/aws-cloudfront';Or use the module namespace:
import * as cloudfront from 'aws-cdk-lib/aws-cloudfront';
// cloudfront.S3OriginAccessControlConfiguration passed to the constructor as S3OriginAccessControlProps.
OriginAccessControlBasePropsdescriptionOptionalinherited from OriginAccessControlBasePropsstringA description of the origin access control.
Default: - no description
originAccessControlNameOptionalinherited from OriginAccessControlBasePropsstringA name to identify the origin access control, with a maximum length of 64 characters.
Default: - a generated name
signingOptionalinherited from OriginAccessControlBasePropsSigningSpecifies which requests CloudFront signs and the signing protocol.
Default: SIGV4_ALWAYS
Everything you need to know about Amazon CloudFront on one page. HD quality, print-friendly.
Download Free Infographicaws-cloudfront