Skip to content

CloudFront  >  Operations  >  create_vpc_origin

create_vpc_origin

Operation

create_vpc_origin async

create_vpc_origin(input: CreateVpcOriginInput, plugins: list[Plugin] | None = None) -> CreateVpcOriginOutput

Create an Amazon CloudFront VPC origin.

Parameters:

Name Type Description Default
input CreateVpcOriginInput

An instance of CreateVpcOriginInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
CreateVpcOriginOutput

An instance of CreateVpcOriginOutput.

Input

CreateVpcOriginInput dataclass

Bases: _SerdeShape

Dataclass for CreateVpcOriginInput structure.

Attributes

tags class-attribute instance-attribute
tags: Tags | None = ...

A complex type that contains zero or more Tag elements.

vpc_origin_endpoint_config class-attribute instance-attribute
vpc_origin_endpoint_config: VpcOriginEndpointConfig | None = ...

The VPC origin endpoint configuration.

Output

CreateVpcOriginOutput dataclass

Bases: _SerdeShape

Dataclass for CreateVpcOriginOutput structure.

Attributes

e_tag class-attribute instance-attribute
e_tag: str | None = ...

The VPC origin ETag.

location class-attribute instance-attribute
location: str | None = ...

The VPC origin location.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

vpc_origin class-attribute instance-attribute
vpc_origin: VpcOrigin | None = ...

The VPC origin.