Show / Hide Table of Contents

Class InterfaceVpcEndpoint

A interface VPC endpoint.

Inheritance
object
Resource
VpcEndpoint
InterfaceVpcEndpoint
Implements
IInterfaceVpcEndpoint
IVpcEndpoint
IResource
IVPCEndpointRef
IConstruct
IDependable
IEnvironmentAware
IConnectable
Inherited Members
VpcEndpoint.AddToPolicy(PolicyStatement)
VpcEndpoint.VpcEndpointRef
VpcEndpoint.PolicyDocument
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InterfaceVpcEndpoint : VpcEndpoint, IInterfaceVpcEndpoint, IVpcEndpoint, IResource, IVPCEndpointRef, IConstruct, IDependable, IEnvironmentAware, IConnectable
Syntax (vb)
Public Class InterfaceVpcEndpoint Inherits VpcEndpoint Implements IInterfaceVpcEndpoint, IVpcEndpoint, IResource, IVPCEndpointRef, IConstruct, IDependable, IEnvironmentAware, 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(Construct, string, IInterfaceVpcEndpointProps)

A interface VPC endpoint.

Properties

Connections

Access to network connections.

PROPERTY_INJECTION_ID

Uniquely identifies this class.

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(Construct, string, IInterfaceVpcEndpointProps)

A interface VPC endpoint.

public InterfaceVpcEndpoint(Construct scope, string id, IInterfaceVpcEndpointProps props)
Parameters
scope Construct
id string
props IInterfaceVpcEndpointProps
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" }
                 }
             });

Properties

Connections

Access to network connections.

public virtual Connections_ Connections { get; }
Property Value

Connections_

Remarks

Resource: AWS::EC2::VPCEndpoint

ExampleMetadata: infused

PROPERTY_INJECTION_ID

Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

Resource: AWS::EC2::VPCEndpoint

ExampleMetadata: infused

VpcEndpointCreationTimestamp

The date and time the interface VPC endpoint was created.

public virtual string VpcEndpointCreationTimestamp { get; }
Property Value

string

Remarks

Attribute: true

VpcEndpointDnsEntries

The DNS entries for the interface VPC endpoint.

public virtual string[] VpcEndpointDnsEntries { get; }
Property Value

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

string

Overrides
VpcEndpoint.VpcEndpointId
Remarks

Resource: AWS::EC2::VPCEndpoint

ExampleMetadata: infused

VpcEndpointNetworkInterfaceIds

One or more network interfaces for the interface VPC endpoint.

public virtual string[] VpcEndpointNetworkInterfaceIds { get; }
Property Value

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 Construct
id string
attrs IInterfaceVpcEndpointAttributes
Returns

IInterfaceVpcEndpoint

Remarks

Resource: AWS::EC2::VPCEndpoint

ExampleMetadata: infused

Implements

IInterfaceVpcEndpoint
IVpcEndpoint
IResource
IVPCEndpointRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
IConnectable
Back to top Generated by DocFX