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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forHttpServiceDiscoveryIntegration
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionHttpServiceDiscoveryIntegration
(String id, IService service) HttpServiceDiscoveryIntegration
(String id, IService service, HttpServiceDiscoveryIntegrationProps props) protected
HttpServiceDiscoveryIntegration
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
HttpServiceDiscoveryIntegration
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescription(experimental) Bind this integration to the route.protected HttpConnectionType
protected HttpMethod
protected HttpIntegrationType
protected PayloadFormatVersion
protected void
protected void
setHttpMethod
(HttpMethod value) protected void
protected void
Methods inherited from class software.amazon.awscdk.services.apigatewayv2.HttpRouteIntegration
completeBind
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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(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 classHttpRouteIntegration
- Parameters:
__
- This parameter is required._
- This parameter is required.
-
getConnectionType
-
setConnectionType
-
getHttpMethod
-
setHttpMethod
-
getIntegrationType
-
setIntegrationType
-
getPayloadFormatVersion
-
setPayloadFormatVersion
@Stability(Experimental) protected void setPayloadFormatVersion(@NotNull PayloadFormatVersion value)
-