Class HttpServiceDiscoveryIntegration
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigatewayv2.HttpRouteIntegration
software.amazon.awscdk.aws_apigatewayv2_integrations.HttpServiceDiscoveryIntegration
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:44.653Z")
@Stability(Stable)
public class HttpServiceDiscoveryIntegration
extends HttpRouteIntegration
The Service Discovery integration resource for HTTP API.
Example:
import software.amazon.awscdk.services.servicediscovery.*;
import software.amazon.awscdk.aws_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();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forHttpServiceDiscoveryIntegration.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionHttpServiceDiscoveryIntegration(String id, IService service) HttpServiceDiscoveryIntegration(String id, IService service, HttpServiceDiscoveryIntegrationProps props) protectedHttpServiceDiscoveryIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedHttpServiceDiscoveryIntegration(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind(HttpRouteIntegrationBindOptions options) Bind this integration to the route.protected HttpConnectionTypeprotected HttpMethodprotected HttpIntegrationTypeprotected PayloadFormatVersionprotected voidprotected voidsetHttpMethod(HttpMethod value) protected voidprotected voidMethods inherited from class software.amazon.awscdk.services.apigatewayv2.HttpRouteIntegration
completeBindMethods 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
-
HttpServiceDiscoveryIntegration
protected HttpServiceDiscoveryIntegration(software.amazon.jsii.JsiiObjectRef objRef) -
HttpServiceDiscoveryIntegration
protected HttpServiceDiscoveryIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
HttpServiceDiscoveryIntegration
@Stability(Stable) 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(Stable) 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(Stable) @NotNull public HttpRouteIntegrationConfig bind(@NotNull HttpRouteIntegrationBindOptions options) Bind this integration to the route.- Specified by:
bindin classHttpRouteIntegration- Parameters:
options- This parameter is required.
-
getConnectionType
-
setConnectionType
-
getHttpMethod
-
setHttpMethod
-
getIntegrationType
-
setIntegrationType
-
getPayloadFormatVersion
-
setPayloadFormatVersion
-