public static interface CfnApiGatewayManagedOverrides.IntegrationOverridesProperty
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 java.lang.String |
getDescription()
The description of the integration.
|
default java.lang.String |
getIntegrationMethod()
Specifies the integration's HTTP method type.
|
default java.lang.String |
getPayloadFormatVersion()
Specifies the format of the payload sent to an integration.
|
default java.lang.Number |
getTimeoutInMillis()
Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs.
|
default java.lang.String getDescription()
default java.lang.String getIntegrationMethod()
default java.lang.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 .
default java.lang.Number getTimeoutInMillis()
The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.