interface VpcOriginAttributes
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudFront.VpcOriginAttributes |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#VpcOriginAttributes |
![]() | software.amazon.awscdk.services.cloudfront.VpcOriginAttributes |
![]() | aws_cdk.aws_cloudfront.VpcOriginAttributes |
![]() | aws-cdk-lib » aws_cloudfront » VpcOriginAttributes |
The properties to import from the VPC origin.
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 vpcOriginAttributes: cloudfront.VpcOriginAttributes = {
domainName: 'domainName',
vpcOriginArn: 'vpcOriginArn',
vpcOriginId: 'vpcOriginId',
};
Properties
Name | Type | Description |
---|---|---|
domain | string | The domain name of the CloudFront VPC origin endpoint configuration. |
vpc | string | The ARN of the VPC origin. |
vpc | string | The ID of the VPC origin. |
domainName?
Type:
string
(optional, default: No domain name configured)
The domain name of the CloudFront VPC origin endpoint configuration.
vpcOriginArn?
Type:
string
(optional, default: derived from vpcOriginId
.)
The ARN of the VPC origin.
At least one of vpcOriginArn and vpcOriginId must be provided.
vpcOriginId?
Type:
string
(optional, default: derived from vpcOriginArn
.)
The ID of the VPC origin.
At least one of vpcOriginArn and vpcOriginId must be provided.