Class VpcOriginAttributes
The properties to import from the VPC origin.
Implements
Inherited Members
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
Remarks
Default: - No domain name configured
VpcOriginArn
The ARN of the VPC origin.
public string? VpcOriginArn { get; set; }
Property Value
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
Remarks
At least one of vpcOriginArn and vpcOriginId must be provided.
Default: - derived from vpcOriginArn.