@aws-cdk_aws-apigatewayv2-integrations-alpha.HttpUrlIntegrationProps
interface HttpUrlIntegrationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.Integrations.Alpha.HttpUrlIntegrationProps |
![]() | github.com/aws/aws-cdk-go/awscdkapigatewayv2integrationsalpha/v2#HttpUrlIntegrationProps |
![]() | software.amazon.awscdk.services.apigatewayv2.integrations.alpha.HttpUrlIntegrationProps |
![]() | aws_cdk.aws_apigatewayv2_integrations_alpha.HttpUrlIntegrationProps |
![]() | @aws-cdk/aws-apigatewayv2-integrations-alpha ยป HttpUrlIntegrationProps |
Properties to initialize a new HttpProxyIntegration
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apigatewayv2_alpha from '@aws-cdk/aws-apigatewayv2-alpha';
import * as apigatewayv2_integrations_alpha from '@aws-cdk/aws-apigatewayv2-integrations-alpha';
declare const parameterMapping: apigatewayv2_alpha.ParameterMapping;
const httpUrlIntegrationProps: apigatewayv2_integrations_alpha.HttpUrlIntegrationProps = {
method: apigatewayv2_alpha.HttpMethod.ANY,
parameterMapping: parameterMapping,
};
Properties
Name | Type | Description |
---|---|---|
method? | Http | The HTTP method that must be used to invoke the underlying HTTP proxy. |
parameter | Parameter | Specifies how to transform HTTP requests before sending them to the backend. |
method?
Type:
Http
(optional, default: HttpMethod.ANY)
The HTTP method that must be used to invoke the underlying HTTP proxy.
parameterMapping?
Type:
Parameter
(optional, default: undefined requests are sent to the backend unmodified)
Specifies how to transform HTTP requests before sending them to the backend.
See also: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html