Class HttpServiceDiscoveryIntegration

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigatewayv2.HttpRouteIntegration
software.amazon.awscdk.services.apigatewayv2.integrations.HttpServiceDiscoveryIntegration
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.687Z") @Stability(Experimental) public class HttpServiceDiscoveryIntegration extends HttpRouteIntegration
(experimental) The Service Discovery integration resource for HTTP API.

Example:

 import software.amazon.awscdk.services.servicediscovery.*;
 import software.amazon.awscdk.services.apigatewayv2.integrations.HttpServiceDiscoveryIntegration;
 Vpc vpc = new Vpc(this, "VPC");
 VpcLink vpcLink = VpcLink.Builder.create(this, "VpcLink").vpc(vpc).build();
 PrivateDnsNamespace namespace = PrivateDnsNamespace.Builder.create(this, "Namespace")
         .name("boobar.com")
         .vpc(vpc)
         .build();
 Service service = namespace.createService("Service");
 HttpApi httpEndpoint = HttpApi.Builder.create(this, "HttpProxyPrivateApi")
         .defaultIntegration(HttpServiceDiscoveryIntegration.Builder.create("DefaultIntegration", service)
                 .vpcLink(vpcLink)
                 .build())
         .build();
 
  • Constructor Details

    • HttpServiceDiscoveryIntegration

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

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

      @Stability(Experimental) public HttpServiceDiscoveryIntegration(@NotNull String id, @NotNull IService service, @Nullable HttpServiceDiscoveryIntegrationProps props)
      Parameters:
      id - id of the underlying integration construct. This parameter is required.
      service - the service discovery resource to integrate with. This parameter is required.
      props - properties to configure the integration.
    • HttpServiceDiscoveryIntegration

      @Stability(Experimental) public HttpServiceDiscoveryIntegration(@NotNull String id, @NotNull IService service)
      Parameters:
      id - id of the underlying integration construct. This parameter is required.
      service - the service discovery resource to integrate with. This parameter is required.
  • Method Details

    • bind

      @Stability(Experimental) @NotNull public HttpRouteIntegrationConfig bind(@NotNull HttpRouteIntegrationBindOptions __)
      (experimental) Bind this integration to the route.

      Specified by:
      bind in class HttpRouteIntegration
      Parameters:
      __ - This parameter is required.
      _ - This parameter is required.
    • getConnectionType

      @Stability(Experimental) @NotNull protected HttpConnectionType getConnectionType()
    • setConnectionType

      @Stability(Experimental) protected void setConnectionType(@NotNull HttpConnectionType value)
    • getHttpMethod

      @Stability(Experimental) @NotNull protected HttpMethod getHttpMethod()
    • setHttpMethod

      @Stability(Experimental) protected void setHttpMethod(@NotNull HttpMethod value)
    • getIntegrationType

      @Stability(Experimental) @NotNull protected HttpIntegrationType getIntegrationType()
    • setIntegrationType

      @Stability(Experimental) protected void setIntegrationType(@NotNull HttpIntegrationType value)
    • getPayloadFormatVersion

      @Stability(Experimental) @NotNull protected PayloadFormatVersion getPayloadFormatVersion()
    • setPayloadFormatVersion

      @Stability(Experimental) protected void setPayloadFormatVersion(@NotNull PayloadFormatVersion value)