A CloudFront VPC Origin configuration.
import { VpcOrigin } from 'aws-cdk-lib/aws-cloudfront';Or use the module namespace:
import * as cloudfront from 'aws-cdk-lib/aws-cloudfront';
// cloudfront.VpcOriginConfiguration passed to the constructor as VpcOriginProps.
endpointRequiredVpcOriginEndpointThe VPC origin endpoint.
VpcOriginOptionshttpPortOptionalinherited from VpcOriginOptionsnumberThe HTTP port for the CloudFront VPC origin endpoint configuration.
Default: 80
httpsPortOptionalinherited from VpcOriginOptionsnumberThe HTTPS port of the CloudFront VPC origin endpoint configuration.
Default: 443
originSslProtocolsOptionalinherited from VpcOriginOptionsOriginSslPolicy[]A list that contains allowed SSL/TLS protocols for this distribution.
Default: - TLSv1.2
protocolPolicyOptionalinherited from VpcOriginOptionsOriginProtocolPolicyThe origin protocol policy for the CloudFront VPC origin endpoint configuration.
Default: OriginProtocolPolicy.MATCH_VIEWER
vpcOriginNameOptionalinherited from VpcOriginOptionsstringThe name of the CloudFront VPC origin endpoint configuration.
Default: - generated from the `id`
Everything you need to know about Amazon CloudFront on one page. HD quality, print-friendly.
Download Free Infographicaws-cloudfront