AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::CloudFront::VpcOrigin

CfnVpcOrigin

An Amazon CloudFront VPC origin.

Import

import { CfnVpcOrigin } from 'aws-cdk-lib/aws-cloudfront';

Or use the module namespace:

import * as cloudfront from 'aws-cdk-lib/aws-cloudfront';
// cloudfront.CfnVpcOrigin

Properties

Configuration passed to the constructor as CfnVpcOriginProps.

vpcOriginEndpointConfigRequired
IResolvable | VpcOriginEndpointConfigProperty

The VPC origin endpoint configuration.

tagsOptional
CfnTag[]

A complex type that contains zero or more `Tag` elements.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon CloudFront Cheat Sheet

Everything you need to know about Amazon CloudFront on one page. HD quality, print-friendly.

Download Free Infographic