Class InterfaceVpcEndpoint
A interface VPC endpoint.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InterfaceVpcEndpoint : VpcEndpoint, IInterfaceVpcEndpoint, IVpcEndpoint, IResource, IConnectable
Syntax (vb)
Public Class InterfaceVpcEndpoint
Inherits VpcEndpoint
Implements IInterfaceVpcEndpoint, IVpcEndpoint, IResource, IConnectable
Remarks
Resource: AWS::EC2::VPCEndpoint
ExampleMetadata: infused
Examples
Vpc vpc;
new InterfaceVpcEndpoint(this, "VPC Endpoint", new InterfaceVpcEndpointProps {
Vpc = vpc,
Service = new InterfaceVpcEndpointService("com.amazonaws.vpce.us-east-1.vpce-svc-uuddlrlrbastrtsvc", 443),
Subnets = new SubnetSelection {
SubnetType = SubnetType.PRIVATE_ISOLATED,
AvailabilityZones = new [] { "us-east-1a", "us-east-1c" }
}
});
Synopsis
Constructors
InterfaceVpcEndpoint(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
InterfaceVpcEndpoint(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
InterfaceVpcEndpoint(Construct, String, IInterfaceVpcEndpointProps) |
Properties
Connections | Access to network connections. |
VpcEndpointCreationTimestamp | The date and time the interface VPC endpoint was created. |
VpcEndpointDnsEntries | The DNS entries for the interface VPC endpoint. |
VpcEndpointId | The interface VPC endpoint identifier. |
VpcEndpointNetworkInterfaceIds | One or more network interfaces for the interface VPC endpoint. |
Methods
FromInterfaceVpcEndpointAttributes(Construct, String, IInterfaceVpcEndpointAttributes) | Imports an existing interface VPC endpoint. |
Constructors
InterfaceVpcEndpoint(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected InterfaceVpcEndpoint(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
InterfaceVpcEndpoint(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected InterfaceVpcEndpoint(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
InterfaceVpcEndpoint(Construct, String, IInterfaceVpcEndpointProps)
public InterfaceVpcEndpoint(Construct scope, string id, IInterfaceVpcEndpointProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IInterfaceVpcEndpointProps
Properties
Connections
Access to network connections.
public virtual Connections_ Connections { get; }
Property Value
VpcEndpointCreationTimestamp
The date and time the interface VPC endpoint was created.
public virtual string VpcEndpointCreationTimestamp { get; }
Property Value
System.String
Remarks
Attribute: true
VpcEndpointDnsEntries
The DNS entries for the interface VPC endpoint.
public virtual string[] VpcEndpointDnsEntries { get; }
Property Value
System.String[]
Remarks
Each entry is a combination of the hosted zone ID and the DNS name. The entries are ordered as follows: regional public DNS, zonal public DNS, private DNS, and wildcard DNS. This order is not enforced for AWS Marketplace services.
The following is an example. In the first entry, the hosted zone ID is Z1HUB23UULQXV and the DNS name is vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com.
["Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com", "Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3-us-east-1a.ec2.us-east-1.vpce.amazonaws.com", "Z1C12344VYDITB0:ec2.us-east-1.amazonaws.com"]
If you update the PrivateDnsEnabled or SubnetIds properties, the DNS entries in the list will change.
Attribute: true
VpcEndpointId
The interface VPC endpoint identifier.
public override string VpcEndpointId { get; }
Property Value
System.String
Overrides
VpcEndpointNetworkInterfaceIds
One or more network interfaces for the interface VPC endpoint.
public virtual string[] VpcEndpointNetworkInterfaceIds { get; }
Property Value
System.String[]
Remarks
Attribute: true
Methods
FromInterfaceVpcEndpointAttributes(Construct, String, IInterfaceVpcEndpointAttributes)
Imports an existing interface VPC endpoint.
public static IInterfaceVpcEndpoint FromInterfaceVpcEndpointAttributes(Construct scope, string id, IInterfaceVpcEndpointAttributes attrs)
Parameters
- scope Constructs.Construct
- id System.String
- attrs IInterfaceVpcEndpointAttributes
Returns