VpcOriginReference

class aws_cdk.aws_cloudfront.VpcOriginReference(*, vpc_origin_arn, vpc_origin_id)

Bases: object

A reference to a VpcOrigin resource.

Parameters:
  • vpc_origin_arn (str) – The ARN of the VpcOrigin resource.

  • vpc_origin_id (str) – The Id of the VpcOrigin resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront

vpc_origin_reference = cloudfront.VpcOriginReference(
    vpc_origin_arn="vpcOriginArn",
    vpc_origin_id="vpcOriginId"
)

Attributes

vpc_origin_arn

The ARN of the VpcOrigin resource.

vpc_origin_id

The Id of the VpcOrigin resource.