VpcOriginAttributes Struct
The properties to import from the VPC origin.
Example
ts
// 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 vpcOriginAttributes: cloudfront.VpcOriginAttributes = {
domainName: 'domainName',
vpcOriginArn: 'vpcOriginArn',
vpcOriginId: 'vpcOriginId',
};
Properties
domainNameoptionalstringdomain_nameoptionalstrdomainNameoptionalStringDomainNameoptionalstringDomainNameoptional*string#The domain name of the CloudFront VPC origin endpoint configuration.
Default: No domain name configured
vpcOriginArnoptionalstringvpc_origin_arnoptionalstrvpcOriginArnoptionalStringVpcOriginArnoptionalstringVpcOriginArnoptional*string#The ARN of the VPC origin.
Default: derived from vpcOriginId.
At least one of vpcOriginArn and vpcOriginId must be provided.
vpcOriginIdoptionalstringvpc_origin_idoptionalstrvpcOriginIdoptionalStringVpcOriginIdoptionalstringVpcOriginIdoptional*string#The ID of the VPC origin.
Default: derived from vpcOriginArn.
At least one of vpcOriginArn and vpcOriginId must be provided.