Class VpcOriginEndpoint
Represents the VPC origin endpoint.
Inheritance
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class VpcOriginEndpoint : DeputyBase
Syntax (vb)
Public MustInherit Class VpcOriginEndpoint
Inherits DeputyBase
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;
using Amazon.CDK.AWS.ElasticLoadBalancingV2;
ApplicationLoadBalancer applicationLoadBalancer;
var vpcOriginEndpoint = VpcOriginEndpoint.ApplicationLoadBalancer(applicationLoadBalancer);
Synopsis
Constructors
VpcOriginEndpoint() | |
VpcOriginEndpoint(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
VpcOriginEndpoint(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
DomainName | The domain name of the CloudFront VPC origin endpoint configuration. |
EndpointArn | The ARN of the CloudFront VPC origin endpoint configuration. |
Methods
ApplicationLoadBalancer(IApplicationLoadBalancer) | A VPC origin endpoint from an Application Load Balancer. |
Ec2Instance(IInstance) | A VPC origin endpoint from an EC2 instance. |
NetworkLoadBalancer(INetworkLoadBalancer) | A VPC origin endpoint from an Network Load Balancer. |
Constructors
VpcOriginEndpoint()
protected VpcOriginEndpoint()
VpcOriginEndpoint(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected VpcOriginEndpoint(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
VpcOriginEndpoint(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected VpcOriginEndpoint(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
DomainName
The domain name of the CloudFront VPC origin endpoint configuration.
public abstract string DomainName { get; }
Property Value
System.String
Remarks
Default: - No domain name configured
EndpointArn
The ARN of the CloudFront VPC origin endpoint configuration.
public abstract string EndpointArn { get; }
Property Value
System.String
Methods
ApplicationLoadBalancer(IApplicationLoadBalancer)
A VPC origin endpoint from an Application Load Balancer.
public static VpcOriginEndpoint ApplicationLoadBalancer(IApplicationLoadBalancer alb)
Parameters
Returns
Ec2Instance(IInstance)
A VPC origin endpoint from an EC2 instance.
public static VpcOriginEndpoint Ec2Instance(IInstance instance)
Parameters
- instance IInstance
Returns
NetworkLoadBalancer(INetworkLoadBalancer)
A VPC origin endpoint from an Network Load Balancer.
public static VpcOriginEndpoint NetworkLoadBalancer(INetworkLoadBalancer nlb)
Parameters
Returns