Show / Hide Table of Contents

Class VpcOrigin

A CloudFront VPC Origin configuration.

Inheritance
object
Resource
VpcOrigin
Implements
IVpcOrigin
IResource
IConstruct
IDependable
ITaggableV2
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VpcOrigin : Resource, IVpcOrigin, IResource, IConstruct, IDependable, ITaggableV2
Syntax (vb)
Public Class VpcOrigin Inherits Resource Implements IVpcOrigin, IResource, IConstruct, IDependable, ITaggableV2
Remarks

Resource: AWS::CloudFront::VpcOrigin

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CloudFront;

             VpcOriginEndpoint vpcOriginEndpoint;

             var vpcOrigin = new VpcOrigin(this, "MyVpcOrigin", new VpcOriginProps {
                 Endpoint = vpcOriginEndpoint,

                 // the properties below are optional
                 HttpPort = 123,
                 HttpsPort = 123,
                 OriginSslProtocols = new [] { OriginSslPolicy.SSL_V3 },
                 ProtocolPolicy = OriginProtocolPolicy.HTTP_ONLY,
                 VpcOriginName = "vpcOriginName"
             });

Synopsis

Constructors

VpcOrigin(Construct, string, IVpcOriginProps)

A CloudFront VPC Origin configuration.

Properties

CdkTagManager

TagManager to set, remove and format tags.

DomainName

The domain name of the CloudFront VPC origin endpoint configuration.

PROPERTY_INJECTION_ID

Uniquely identifies this class.

VpcOriginArn

The VPC origin ARN.

VpcOriginId

The VPC origin ID.

Methods

FromVpcOriginArn(Construct, string, string)

Import an existing VPC origin from its ARN.

FromVpcOriginAttributes(Construct, string, IVpcOriginAttributes)

Import an existing VPC origin from its attributes.

FromVpcOriginId(Construct, string, string)

Import an existing VPC origin from its ID.

Constructors

VpcOrigin(Construct, string, IVpcOriginProps)

A CloudFront VPC Origin configuration.

public VpcOrigin(Construct scope, string id, IVpcOriginProps props)
Parameters
scope Construct
id string
props IVpcOriginProps
Remarks

Resource: AWS::CloudFront::VpcOrigin

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CloudFront;

             VpcOriginEndpoint vpcOriginEndpoint;

             var vpcOrigin = new VpcOrigin(this, "MyVpcOrigin", new VpcOriginProps {
                 Endpoint = vpcOriginEndpoint,

                 // the properties below are optional
                 HttpPort = 123,
                 HttpsPort = 123,
                 OriginSslProtocols = new [] { OriginSslPolicy.SSL_V3 },
                 ProtocolPolicy = OriginProtocolPolicy.HTTP_ONLY,
                 VpcOriginName = "vpcOriginName"
             });

Properties

CdkTagManager

TagManager to set, remove and format tags.

public virtual TagManager CdkTagManager { get; }
Property Value

TagManager

Remarks

Resource: AWS::CloudFront::VpcOrigin

ExampleMetadata: fixture=_generated

DomainName

The domain name of the CloudFront VPC origin endpoint configuration.

public virtual string? DomainName { get; }
Property Value

string

Remarks

Resource: AWS::CloudFront::VpcOrigin

ExampleMetadata: fixture=_generated

PROPERTY_INJECTION_ID

Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

Resource: AWS::CloudFront::VpcOrigin

ExampleMetadata: fixture=_generated

VpcOriginArn

The VPC origin ARN.

public virtual string VpcOriginArn { get; }
Property Value

string

Remarks

Attribute: true

VpcOriginId

The VPC origin ID.

public virtual string VpcOriginId { get; }
Property Value

string

Remarks

Attribute: true

Methods

FromVpcOriginArn(Construct, string, string)

Import an existing VPC origin from its ARN.

public static IVpcOrigin FromVpcOriginArn(Construct scope, string id, string vpcOriginArn)
Parameters
scope Construct
id string
vpcOriginArn string
Returns

IVpcOrigin

Remarks

Resource: AWS::CloudFront::VpcOrigin

ExampleMetadata: fixture=_generated

FromVpcOriginAttributes(Construct, string, IVpcOriginAttributes)

Import an existing VPC origin from its attributes.

public static IVpcOrigin FromVpcOriginAttributes(Construct scope, string id, IVpcOriginAttributes attrs)
Parameters
scope Construct
id string
attrs IVpcOriginAttributes
Returns

IVpcOrigin

Remarks

Resource: AWS::CloudFront::VpcOrigin

ExampleMetadata: fixture=_generated

FromVpcOriginId(Construct, string, string)

Import an existing VPC origin from its ID.

public static IVpcOrigin FromVpcOriginId(Construct scope, string id, string vpcOriginId)
Parameters
scope Construct
id string
vpcOriginId string
Returns

IVpcOrigin

Remarks

Resource: AWS::CloudFront::VpcOrigin

ExampleMetadata: fixture=_generated

Implements

IVpcOrigin
IResource
Constructs.IConstruct
Constructs.IDependable
ITaggableV2
Back to top Generated by DocFX