CfnVpcOriginProps

class aws_cdk.aws_cloudfront.CfnVpcOriginProps(*, vpc_origin_endpoint_config, tags=None)

Bases: object

Properties for defining a CfnVpcOrigin.

Parameters:
  • vpc_origin_endpoint_config (Union[IResolvable, VpcOriginEndpointConfigProperty, Dict[str, Any]]) – The VPC origin endpoint configuration.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A complex type that contains zero or more Tag elements.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-vpcorigin.html

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

cfn_vpc_origin_props = cloudfront.CfnVpcOriginProps(
    vpc_origin_endpoint_config=cloudfront.CfnVpcOrigin.VpcOriginEndpointConfigProperty(
        arn="arn",
        name="name",

        # the properties below are optional
        http_port=123,
        https_port=123,
        origin_protocol_policy="originProtocolPolicy",
        origin_ssl_protocols=["originSslProtocols"]
    ),

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

tags

A complex type that contains zero or more Tag elements.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-vpcorigin.html#cfn-cloudfront-vpcorigin-tags

vpc_origin_endpoint_config

The VPC origin endpoint configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-vpcorigin.html#cfn-cloudfront-vpcorigin-vpcoriginendpointconfig