@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:46.983Z") @Stability(value=Experimental) public class InterfaceVpcEndpointService extends software.amazon.jsii.JsiiObject implements IInterfaceVpcEndpointService
Example:
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()
(experimental) The name of the service.
|
Number |
getPort()
(experimental) The port of the service.
|
Boolean |
getPrivateDnsDefault()
(experimental) 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=Experimental)
public InterfaceVpcEndpointService(@NotNull
String name,
@Nullable
Number port)
name - This parameter is required.port - @Stability(value=Experimental)
public InterfaceVpcEndpointService(@NotNull
String name)
name - This parameter is required.@Stability(value=Experimental) @NotNull public String getName()
getName in interface IInterfaceVpcEndpointService@Stability(value=Experimental) @NotNull public Number getPort()
getPort in interface IInterfaceVpcEndpointService@Stability(value=Experimental) @Nullable public Boolean getPrivateDnsDefault()
getPrivateDnsDefault in interface IInterfaceVpcEndpointServiceCopyright © 2022. All rights reserved.