Class VpcOriginAttributes
The properties to import from the VPC origin.
Inheritance
System.Object
VpcOriginAttributes
Implements
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VpcOriginAttributes : Object, IVpcOriginAttributes
Syntax (vb)
Public Class VpcOriginAttributes
Inherits Object
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() |
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()
public VpcOriginAttributes()
Properties
DomainName
The domain name of the CloudFront VPC origin endpoint configuration.
public string DomainName { get; set; }
Property Value
System.String
Remarks
Default: - No domain name configured
VpcOriginArn
The ARN of the VPC origin.
public string VpcOriginArn { get; set; }
Property Value
System.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
System.String
Remarks
At least one of vpcOriginArn and vpcOriginId must be provided.
Default: - derived from vpcOriginArn
.