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.101.0 (build b95fe5d)",
date="2024-08-15T01:32:43.150Z")
@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 class
A 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) protected
HttpServiceDiscoveryIntegration
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
HttpServiceDiscoveryIntegration
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind
(HttpRouteIntegrationBindOptions _options) 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(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:
bind
in classHttpRouteIntegration
- Parameters:
_options
- This parameter is required.
-
getConnectionType
-
setConnectionType
-
getHttpMethod
-
setHttpMethod
-
getIntegrationType
-
setIntegrationType
-
getPayloadFormatVersion
-
setPayloadFormatVersion
-