@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.464Z") @Stability(value=Stable) public class InterfaceVpcEndpointService extends software.amazon.jsii.JsiiObject implements IInterfaceVpcEndpointService
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();
software.amazon.jsii.JsiiObject.InitializationModeIInterfaceVpcEndpointService.Jsii$Default, IInterfaceVpcEndpointService.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
InterfaceVpcEndpointService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
InterfaceVpcEndpointService(software.amazon.jsii.JsiiObjectRef objRef) |
|
InterfaceVpcEndpointService(String name) |
|
InterfaceVpcEndpointService(String name,
Number port) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The name of the service.
|
Number |
getPort()
The port of the service.
|
Boolean |
getPrivateDnsDefault()
Whether Private DNS is supported by default.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected InterfaceVpcEndpointService(software.amazon.jsii.JsiiObjectRef objRef)
protected InterfaceVpcEndpointService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public InterfaceVpcEndpointService(@NotNull
String name,
@Nullable
Number port)
name - This parameter is required.port - @Stability(value=Stable)
public InterfaceVpcEndpointService(@NotNull
String name)
name - This parameter is required.@Stability(value=Stable) @NotNull public String getName()
getName in interface IInterfaceVpcEndpointService@Stability(value=Stable) @NotNull public Number getPort()
getPort in interface IInterfaceVpcEndpointService@Stability(value=Stable) @Nullable public Boolean getPrivateDnsDefault()
getPrivateDnsDefault in interface IInterfaceVpcEndpointServiceCopyright © 2022. All rights reserved.