@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:06.477Z") @Stability(value=Experimental) public class GatewayVpcEndpoint extends VpcEndpoint implements IGatewayVpcEndpoint
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
IGatewayVpcEndpointService gatewayVpcEndpointService;
Subnet subnet;
SubnetFilter subnetFilter;
Vpc vpc;
GatewayVpcEndpoint gatewayVpcEndpoint = GatewayVpcEndpoint.Builder.create(this, "MyGatewayVpcEndpoint")
.service(gatewayVpcEndpointService)
.vpc(vpc)
// the properties below are optional
.subnets(List.of(SubnetSelection.builder()
.availabilityZones(List.of("availabilityZones"))
.onePerAz(false)
.subnetFilters(List.of(subnetFilter))
.subnetGroupName("subnetGroupName")
.subnetName("subnetName")
.subnets(List.of(subnet))
.subnetType(SubnetType.ISOLATED)
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
GatewayVpcEndpoint.Builder
(experimental) A fluent builder for
GatewayVpcEndpoint. |
software.amazon.jsii.JsiiObject.InitializationModeIGatewayVpcEndpoint.Jsii$Default, IGatewayVpcEndpoint.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
GatewayVpcEndpoint(software.constructs.Construct scope,
String id,
GatewayVpcEndpointProps props) |
protected |
GatewayVpcEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GatewayVpcEndpoint(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IGatewayVpcEndpoint |
fromGatewayVpcEndpointId(software.constructs.Construct scope,
String id,
String gatewayVpcEndpointId) |
String |
getVpcEndpointCreationTimestamp()
(experimental) The date and time the gateway VPC endpoint was created.
|
List<String> |
getVpcEndpointDnsEntries() |
String |
getVpcEndpointId()
(experimental) The gateway VPC endpoint identifier.
|
List<String> |
getVpcEndpointNetworkInterfaceIds() |
addToPolicy, getPolicyDocument, setPolicyDocumentapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected GatewayVpcEndpoint(software.amazon.jsii.JsiiObjectRef objRef)
protected GatewayVpcEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public GatewayVpcEndpoint(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
GatewayVpcEndpointProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IGatewayVpcEndpoint fromGatewayVpcEndpointId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String gatewayVpcEndpointId)
scope - This parameter is required.id - This parameter is required.gatewayVpcEndpointId - This parameter is required.@Stability(value=Experimental) @NotNull public String getVpcEndpointCreationTimestamp()
@Stability(value=Experimental) @NotNull public List<String> getVpcEndpointDnsEntries()
@Stability(value=Experimental) @NotNull public String getVpcEndpointId()
getVpcEndpointId in interface IVpcEndpointgetVpcEndpointId in class VpcEndpointCopyright © 2022. All rights reserved.