Interface CfnApiGatewayManagedOverrides.IntegrationOverridesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApiGatewayManagedOverrides.IntegrationOverridesProperty.Jsii$Proxy
- Enclosing class:
- CfnApiGatewayManagedOverrides
@Stability(Stable)
public static interface CfnApiGatewayManagedOverrides.IntegrationOverridesProperty
extends software.amazon.jsii.JsiiSerializable
The
IntegrationOverrides property overrides the integration settings for an API Gateway-managed integration.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnApiGatewayManagedOverrides.IntegrationOverridesProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe description of the integration.default StringSpecifies the integration's HTTP method type.default StringSpecifies the format of the payload sent to an integration.default NumberCustom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
The description of the integration. -
getIntegrationMethod
Specifies the integration's HTTP method type. -
getPayloadFormatVersion
Specifies the format of the payload sent to an integration.Required for HTTP APIs. For HTTP APIs, supported values for Lambda proxy integrations are
1.0and2.0. For all other integrations,1.0is the only supported value. To learn more, see Working with AWS Lambda proxy integrations for HTTP APIs . -
getTimeoutInMillis
Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs.The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
-
builder
@Stability(Stable) static CfnApiGatewayManagedOverrides.IntegrationOverridesProperty.Builder builder()
-