Class InterfaceVpcEndpoint
- All Implemented Interfaces:
IResource
,IConnectable
,IInterfaceVpcEndpoint
,IVpcEndpoint
,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.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IInterfaceVpcEndpoint
IInterfaceVpcEndpoint.Jsii$Default, IInterfaceVpcEndpoint.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IVpcEndpoint
IVpcEndpoint.Jsii$Default
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
InterfaceVpcEndpoint
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
InterfaceVpcEndpoint
(software.amazon.jsii.JsiiObjectRef objRef) InterfaceVpcEndpoint
(software.constructs.Construct scope, String id, InterfaceVpcEndpointProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IInterfaceVpcEndpoint
fromInterfaceVpcEndpointAttributes
(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, setPolicyDocument
Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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:
getConnections
in 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:
getVpcEndpointId
in interfaceIVpcEndpoint
- Specified by:
getVpcEndpointId
in classVpcEndpoint
-
getVpcEndpointNetworkInterfaceIds
One or more network interfaces for the interface VPC endpoint.
-