Class InterfaceVpcEndpointService
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.InterfaceVpcEndpointService
- All Implemented Interfaces:
IInterfaceVpcEndpointService,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.437Z")
@Stability(Stable)
public class InterfaceVpcEndpointService
extends software.amazon.jsii.JsiiObject
implements IInterfaceVpcEndpointService
A custom-hosted service for an interface VPC endpoint.
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();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IInterfaceVpcEndpointService
IInterfaceVpcEndpointService.Jsii$Default, IInterfaceVpcEndpointService.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionInterfaceVpcEndpointService(String name, Number port) protectedInterfaceVpcEndpointService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedInterfaceVpcEndpointService(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
InterfaceVpcEndpointService
protected InterfaceVpcEndpointService(software.amazon.jsii.JsiiObjectRef objRef) -
InterfaceVpcEndpointService
protected InterfaceVpcEndpointService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
InterfaceVpcEndpointService
- Parameters:
name- This parameter is required.port-
-
InterfaceVpcEndpointService
- Parameters:
name- This parameter is required.
-
-
Method Details
-
getName
The name of the service.- Specified by:
getNamein interfaceIInterfaceVpcEndpointService
-
getPort
The port of the service.- Specified by:
getPortin interfaceIInterfaceVpcEndpointService
-
getPrivateDnsDefault
Whether Private DNS is supported by default.- Specified by:
getPrivateDnsDefaultin interfaceIInterfaceVpcEndpointService
-