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.95.0 (build f1ff514)", date="2024-03-26T18:09:22.816Z") @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();
 
  • Constructor Details

    • InterfaceVpcEndpointService

      protected InterfaceVpcEndpointService(software.amazon.jsii.JsiiObjectRef objRef)
    • InterfaceVpcEndpointService

      protected InterfaceVpcEndpointService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • InterfaceVpcEndpointService

      @Stability(Stable) public InterfaceVpcEndpointService(@NotNull String name, @Nullable Number port)
      Parameters:
      name - The name of the service. This parameter is required.
      port - The port of the service.
    • InterfaceVpcEndpointService

      @Stability(Stable) public InterfaceVpcEndpointService(@NotNull String name)
      Parameters:
      name - The name of the service. This parameter is required.
  • Method Details