Class InterfaceVpcEndpoint
- All Implemented Interfaces:
IEnvironmentAware,IResource,IConnectable,IInterfaceVpcEndpoint,IVpcEndpoint,IVPCEndpointRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
Example:
Vpc vpc;
InterfaceVpcEndpoint.Builder.create(this, "VPC Endpoint")
.vpc(vpc)
.service(new InterfaceVpcEndpointService("com.amazonaws.vpce.us-east-1.vpce-svc-uuddlrlrbastrtsvc", 443))
.subnets(SubnetSelection.builder()
.subnetType(SubnetType.PRIVATE_ISOLATED)
.availabilityZones(List.of("us-east-1a", "us-east-1c"))
.build())
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IInterfaceVpcEndpoint
IInterfaceVpcEndpoint.Jsii$Default, IInterfaceVpcEndpoint.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IVpcEndpoint
IVpcEndpoint.Jsii$Default -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInterfaceVpcEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedInterfaceVpcEndpoint(software.amazon.jsii.JsiiObjectRef objRef) InterfaceVpcEndpoint(software.constructs.Construct scope, String id, InterfaceVpcEndpointProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IInterfaceVpcEndpointfromInterfaceVpcEndpointAttributes(software.constructs.Construct scope, String id, InterfaceVpcEndpointAttributes attrs) Imports an existing interface VPC endpoint.Access to network connections.The date and time the interface VPC endpoint was created.The DNS entries for the interface VPC endpoint.The interface VPC endpoint identifier.One or more network interfaces for the interface VPC endpoint.Methods inherited from class software.amazon.awscdk.services.ec2.VpcEndpoint
addToPolicy, getPolicyDocument, getVpcEndpointRef, setPolicyDocumentMethods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.awscdk.services.ec2.IVpcEndpoint
getEnv, getNodeMethods inherited from interface software.amazon.awscdk.services.ec2.IVPCEndpointRef
getVpcEndpointRefMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
Constructor Details
-
InterfaceVpcEndpoint
protected InterfaceVpcEndpoint(software.amazon.jsii.JsiiObjectRef objRef) -
InterfaceVpcEndpoint
protected InterfaceVpcEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
InterfaceVpcEndpoint
@Stability(Stable) public InterfaceVpcEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull InterfaceVpcEndpointProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromInterfaceVpcEndpointAttributes
@Stability(Stable) @NotNull public static IInterfaceVpcEndpoint fromInterfaceVpcEndpointAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull InterfaceVpcEndpointAttributes attrs) Imports an existing interface VPC endpoint.- Parameters:
scope- This parameter is required.id- This parameter is required.attrs- This parameter is required.
-
getConnections
Access to network connections.- Specified by:
getConnectionsin interfaceIConnectable
-
getVpcEndpointCreationTimestamp
The date and time the interface VPC endpoint was created. -
getVpcEndpointDnsEntries
The DNS entries for the interface VPC endpoint.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.
-
getVpcEndpointId
The interface VPC endpoint identifier.- Specified by:
getVpcEndpointIdin interfaceIVpcEndpoint- Specified by:
getVpcEndpointIdin classVpcEndpoint
-
getVpcEndpointNetworkInterfaceIds
One or more network interfaces for the interface VPC endpoint.
-