Class VpcOrigin
A CloudFront VPC Origin configuration.
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VpcOrigin : Resource, IVpcOrigin, IResource, ITaggableV2
Syntax (vb)
Public Class VpcOrigin
Inherits Resource
Implements IVpcOrigin, IResource, 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
Vpc |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Vpc |
Used by jsii to construct an instance of this class from DeputyProps |
Vpc |
Properties
Cdk |
TagManager to set, remove and format tags. |
Domain |
The domain name of the CloudFront VPC origin endpoint configuration. |
Vpc |
The VPC origin ARN. |
Vpc |
The VPC origin ID. |
Methods
From |
Import an existing VPC origin from its ARN. |
From |
Import an existing VPC origin from its attributes. |
From |
Import an existing VPC origin from its ID. |
Constructors
VpcOrigin(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected VpcOrigin(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
VpcOrigin(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected VpcOrigin(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
VpcOrigin(Construct, String, IVpcOriginProps)
public VpcOrigin(Construct scope, string id, IVpcOriginProps props)
Parameters
- scope Constructs.
Construct - id System.
String - props IVpc
Origin Props
Properties
CdkTagManager
TagManager to set, remove and format tags.
public virtual TagManager CdkTagManager { get; }
Property Value
DomainName
The domain name of the CloudFront VPC origin endpoint configuration.
public virtual string DomainName { get; }
Property Value
System.
VpcOriginArn
The VPC origin ARN.
public virtual string VpcOriginArn { get; }
Property Value
System.
Remarks
Attribute: true
VpcOriginId
The VPC origin ID.
public virtual string VpcOriginId { get; }
Property Value
System.
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 Constructs.
Construct - id System.
String - vpcOriginArn System.
String
Returns
FromVpcOriginAttributes(Construct, String, IVpcOriginAttributes)
Import an existing VPC origin from its attributes.
public static IVpcOrigin FromVpcOriginAttributes(Construct scope, string id, IVpcOriginAttributes attrs)
Parameters
- scope Constructs.
Construct - id System.
String - attrs IVpc
Origin Attributes
Returns
FromVpcOriginId(Construct, String, String)
Import an existing VPC origin from its ID.
public static IVpcOrigin FromVpcOriginId(Construct scope, string id, string vpcOriginId)
Parameters
- scope Constructs.
Construct - id System.
String - vpcOriginId System.
String
Returns