Show / Hide Table of Contents

Class VpcOriginAttributes

The properties to import from the VPC origin.

Inheritance
object
VpcOriginAttributes
Implements
IVpcOriginAttributes
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VpcOriginAttributes : IVpcOriginAttributes
Syntax (vb)
Public Class VpcOriginAttributes Implements IVpcOriginAttributes
Remarks

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;

            var vpcOriginAttributes = new VpcOriginAttributes {
                DomainName = "domainName",
                VpcOriginArn = "vpcOriginArn",
                VpcOriginId = "vpcOriginId"
            };

Synopsis

Constructors

VpcOriginAttributes()

The properties to import from the VPC origin.

Properties

DomainName

The domain name of the CloudFront VPC origin endpoint configuration.

VpcOriginArn

The ARN of the VPC origin.

VpcOriginId

The ID of the VPC origin.

Constructors

VpcOriginAttributes()

The properties to import from the VPC origin.

public VpcOriginAttributes()
Remarks

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;

            var vpcOriginAttributes = new VpcOriginAttributes {
                DomainName = "domainName",
                VpcOriginArn = "vpcOriginArn",
                VpcOriginId = "vpcOriginId"
            };

Properties

DomainName

The domain name of the CloudFront VPC origin endpoint configuration.

public string? DomainName { get; set; }
Property Value

string

Remarks

Default: - No domain name configured

VpcOriginArn

The ARN of the VPC origin.

public string? VpcOriginArn { get; set; }
Property Value

string

Remarks

At least one of vpcOriginArn and vpcOriginId must be provided.

Default: - derived from vpcOriginId.

VpcOriginId

The ID of the VPC origin.

public string? VpcOriginId { get; set; }
Property Value

string

Remarks

At least one of vpcOriginArn and vpcOriginId must be provided.

Default: - derived from vpcOriginArn.

Implements

IVpcOriginAttributes
Back to top Generated by DocFX