@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.461Z") @Stability(value=Stable) public class InterfaceVpcEndpoint extends VpcEndpoint implements IInterfaceVpcEndpoint
Example:
// Example automatically generated from non-compiling source. May contain errors.
Vpc vpc;
InterfaceVpcEndpoint.Builder.create(this, "VPC Endpoint")
.vpc(vpc)
.service(new InterfaceVpcEndpointService("com.amazonaws.vpce.us-east-1.vpce-svc-uuddlrlrbastrtsvc", 443))
// Choose which availability zones to place the VPC endpoint in, based on
// available AZs
.subnets(SubnetSelection.builder()
.availabilityZones(List.of("us-east-1a", "us-east-1c"))
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
InterfaceVpcEndpoint.Builder
A fluent builder for
InterfaceVpcEndpoint. |
software.amazon.jsii.JsiiObject.InitializationModeIInterfaceVpcEndpoint.Jsii$Default, IInterfaceVpcEndpoint.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
InterfaceVpcEndpoint(software.constructs.Construct scope,
String id,
InterfaceVpcEndpointProps props) |
protected |
InterfaceVpcEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
InterfaceVpcEndpoint(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IInterfaceVpcEndpoint |
fromInterfaceVpcEndpointAttributes(software.constructs.Construct scope,
String id,
InterfaceVpcEndpointAttributes attrs)
Imports an existing interface VPC endpoint.
|
Connections |
getConnections()
Access to network connections.
|
String |
getVpcEndpointCreationTimestamp()
The date and time the interface VPC endpoint was created.
|
List<String> |
getVpcEndpointDnsEntries()
The DNS entries for the interface VPC endpoint.
|
String |
getVpcEndpointId()
The interface VPC endpoint identifier.
|
List<String> |
getVpcEndpointNetworkInterfaceIds()
One or more network interfaces for the interface VPC endpoint.
|
addToPolicy, getPolicyDocument, setPolicyDocumentapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected InterfaceVpcEndpoint(software.amazon.jsii.JsiiObjectRef objRef)
protected InterfaceVpcEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public InterfaceVpcEndpoint(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
InterfaceVpcEndpointProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public static IInterfaceVpcEndpoint fromInterfaceVpcEndpointAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull InterfaceVpcEndpointAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Stable) @NotNull public Connections getConnections()
getConnections in interface IConnectable@Stability(value=Stable) @NotNull public String getVpcEndpointCreationTimestamp()
@Stability(value=Stable) @NotNull public List<String> getVpcEndpointDnsEntries()
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.
@Stability(value=Stable) @NotNull public String getVpcEndpointId()
getVpcEndpointId in interface IVpcEndpointgetVpcEndpointId in class VpcEndpointCopyright © 2022. All rights reserved.