@Stability(value=Stable)
public static interface CfnApiGatewayManagedOverrides.IntegrationOverridesProperty
extends software.amazon.jsii.JsiiSerializable
If you remove this property, API Gateway restores the default values.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigatewayv2.*;
IntegrationOverridesProperty integrationOverridesProperty = IntegrationOverridesProperty.builder()
.description("description")
.integrationMethod("integrationMethod")
.payloadFormatVersion("payloadFormatVersion")
.timeoutInMillis(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApiGatewayManagedOverrides.IntegrationOverridesProperty.Builder
|
static class |
CfnApiGatewayManagedOverrides.IntegrationOverridesProperty.Jsii$Proxy
An implementation for
CfnApiGatewayManagedOverrides.IntegrationOverridesProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApiGatewayManagedOverrides.IntegrationOverridesProperty.Builder |
builder() |
default String |
getDescription()
The description of the integration.
|
default String |
getIntegrationMethod()
Specifies the integration's HTTP method type.
|
default String |
getPayloadFormatVersion()
Specifies the format of the payload sent to an integration.
|
default Number |
getTimeoutInMillis()
Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs.
|
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getIntegrationMethod()
@Stability(value=Stable) @Nullable default String getPayloadFormatVersion()
Required for HTTP APIs. For HTTP APIs, supported values for Lambda proxy integrations are 1.0 and 2.0 . For all other integrations, 1.0 is the only supported value. To learn more, see Working with AWS Lambda proxy integrations for HTTP APIs .
@Stability(value=Stable) @Nullable default Number getTimeoutInMillis()
The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
@Stability(value=Stable) static CfnApiGatewayManagedOverrides.IntegrationOverridesProperty.Builder builder()
Copyright © 2022. All rights reserved.