Documentation ¶
Overview ¶
Integrations for AWS APIGateway V2
Index ¶
- func NewHttpAlbIntegration_Override(h HttpAlbIntegration, id *string, ...)
- func NewHttpLambdaIntegration_Override(h HttpLambdaIntegration, id *string, handler awslambda.IFunction, ...)
- func NewHttpNlbIntegration_Override(h HttpNlbIntegration, id *string, ...)
- func NewHttpServiceDiscoveryIntegration_Override(h HttpServiceDiscoveryIntegration, id *string, ...)
- func NewHttpUrlIntegration_Override(h HttpUrlIntegration, id *string, url *string, props *HttpUrlIntegrationProps)
- func NewWebSocketLambdaIntegration_Override(w WebSocketLambdaIntegration, id *string, handler awslambda.IFunction)
- func NewWebSocketMockIntegration_Override(w WebSocketMockIntegration, id *string)
- type HttpAlbIntegration
- type HttpAlbIntegrationProps
- type HttpLambdaIntegration
- type HttpLambdaIntegrationProps
- type HttpNlbIntegration
- type HttpNlbIntegrationProps
- type HttpPrivateIntegrationOptions
- type HttpServiceDiscoveryIntegration
- type HttpServiceDiscoveryIntegrationProps
- type HttpUrlIntegration
- type HttpUrlIntegrationProps
- type WebSocketLambdaIntegration
- type WebSocketMockIntegration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttpAlbIntegration_Override ¶
func NewHttpAlbIntegration_Override(h HttpAlbIntegration, id *string, listener awselasticloadbalancingv2.IApplicationListener, props *HttpAlbIntegrationProps)
Experimental.
func NewHttpLambdaIntegration_Override ¶
func NewHttpLambdaIntegration_Override(h HttpLambdaIntegration, id *string, handler awslambda.IFunction, props *HttpLambdaIntegrationProps)
Experimental.
func NewHttpNlbIntegration_Override ¶
func NewHttpNlbIntegration_Override(h HttpNlbIntegration, id *string, listener awselasticloadbalancingv2.INetworkListener, props *HttpNlbIntegrationProps)
Experimental.
func NewHttpServiceDiscoveryIntegration_Override ¶
func NewHttpServiceDiscoveryIntegration_Override(h HttpServiceDiscoveryIntegration, id *string, service awsservicediscovery.IService, props *HttpServiceDiscoveryIntegrationProps)
Experimental.
func NewHttpUrlIntegration_Override ¶
func NewHttpUrlIntegration_Override(h HttpUrlIntegration, id *string, url *string, props *HttpUrlIntegrationProps)
Experimental.
func NewWebSocketLambdaIntegration_Override ¶
func NewWebSocketLambdaIntegration_Override(w WebSocketLambdaIntegration, id *string, handler awslambda.IFunction)
Experimental.
func NewWebSocketMockIntegration_Override ¶
func NewWebSocketMockIntegration_Override(w WebSocketMockIntegration, id *string)
Experimental.
Types ¶
type HttpAlbIntegration ¶
type HttpAlbIntegration interface { awscdkapigatewayv2alpha.HttpRouteIntegration ConnectionType() awscdkapigatewayv2alpha.HttpConnectionType SetConnectionType(val awscdkapigatewayv2alpha.HttpConnectionType) HttpMethod() awscdkapigatewayv2alpha.HttpMethod SetHttpMethod(val awscdkapigatewayv2alpha.HttpMethod) IntegrationType() awscdkapigatewayv2alpha.HttpIntegrationType SetIntegrationType(val awscdkapigatewayv2alpha.HttpIntegrationType) PayloadFormatVersion() awscdkapigatewayv2alpha.PayloadFormatVersion SetPayloadFormatVersion(val awscdkapigatewayv2alpha.PayloadFormatVersion) Bind(options *awscdkapigatewayv2alpha.HttpRouteIntegrationBindOptions) *awscdkapigatewayv2alpha.HttpRouteIntegrationConfig CompleteBind(_options *awscdkapigatewayv2alpha.HttpRouteIntegrationBindOptions) }
The Application Load Balancer integration resource for HTTP API.
TODO: EXAMPLE
Experimental.
func NewHttpAlbIntegration ¶
func NewHttpAlbIntegration(id *string, listener awselasticloadbalancingv2.IApplicationListener, props *HttpAlbIntegrationProps) HttpAlbIntegration
Experimental.
type HttpAlbIntegrationProps ¶
type HttpAlbIntegrationProps struct { // The HTTP method that must be used to invoke the underlying HTTP proxy. // Experimental. Method awscdkapigatewayv2alpha.HttpMethod `json:"method" yaml:"method"` // Specifies how to transform HTTP requests before sending them to the backend. // See: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html // // Experimental. ParameterMapping awscdkapigatewayv2alpha.ParameterMapping `json:"parameterMapping" yaml:"parameterMapping"` // Specifies the server name to verified by HTTPS when calling the backend integration. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-tlsconfig.html // // Experimental. SecureServerName *string `json:"secureServerName" yaml:"secureServerName"` // The vpc link to be used for the private integration. // Experimental. VpcLink awscdkapigatewayv2alpha.IVpcLink `json:"vpcLink" yaml:"vpcLink"` }
Properties to initialize `HttpAlbIntegration`.
TODO: EXAMPLE
Experimental.
type HttpLambdaIntegration ¶
type HttpLambdaIntegration interface { awscdkapigatewayv2alpha.HttpRouteIntegration Bind(_arg *awscdkapigatewayv2alpha.HttpRouteIntegrationBindOptions) *awscdkapigatewayv2alpha.HttpRouteIntegrationConfig CompleteBind(options *awscdkapigatewayv2alpha.HttpRouteIntegrationBindOptions) }
The Lambda Proxy integration resource for HTTP API.
TODO: EXAMPLE
Experimental.
func NewHttpLambdaIntegration ¶
func NewHttpLambdaIntegration(id *string, handler awslambda.IFunction, props *HttpLambdaIntegrationProps) HttpLambdaIntegration
Experimental.
type HttpLambdaIntegrationProps ¶
type HttpLambdaIntegrationProps struct { // Specifies how to transform HTTP requests before sending them to the backend. // See: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html // // Experimental. ParameterMapping awscdkapigatewayv2alpha.ParameterMapping `json:"parameterMapping" yaml:"parameterMapping"` // Version of the payload sent to the lambda handler. // See: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html // // Experimental. PayloadFormatVersion awscdkapigatewayv2alpha.PayloadFormatVersion `json:"payloadFormatVersion" yaml:"payloadFormatVersion"` }
Lambda Proxy integration properties.
TODO: EXAMPLE
Experimental.
type HttpNlbIntegration ¶
type HttpNlbIntegration interface { awscdkapigatewayv2alpha.HttpRouteIntegration ConnectionType() awscdkapigatewayv2alpha.HttpConnectionType SetConnectionType(val awscdkapigatewayv2alpha.HttpConnectionType) HttpMethod() awscdkapigatewayv2alpha.HttpMethod SetHttpMethod(val awscdkapigatewayv2alpha.HttpMethod) IntegrationType() awscdkapigatewayv2alpha.HttpIntegrationType SetIntegrationType(val awscdkapigatewayv2alpha.HttpIntegrationType) PayloadFormatVersion() awscdkapigatewayv2alpha.PayloadFormatVersion SetPayloadFormatVersion(val awscdkapigatewayv2alpha.PayloadFormatVersion) Bind(options *awscdkapigatewayv2alpha.HttpRouteIntegrationBindOptions) *awscdkapigatewayv2alpha.HttpRouteIntegrationConfig CompleteBind(_options *awscdkapigatewayv2alpha.HttpRouteIntegrationBindOptions) }
The Network Load Balancer integration resource for HTTP API.
TODO: EXAMPLE
Experimental.
func NewHttpNlbIntegration ¶
func NewHttpNlbIntegration(id *string, listener awselasticloadbalancingv2.INetworkListener, props *HttpNlbIntegrationProps) HttpNlbIntegration
Experimental.
type HttpNlbIntegrationProps ¶
type HttpNlbIntegrationProps struct { // The HTTP method that must be used to invoke the underlying HTTP proxy. // Experimental. Method awscdkapigatewayv2alpha.HttpMethod `json:"method" yaml:"method"` // Specifies how to transform HTTP requests before sending them to the backend. // See: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html // // Experimental. ParameterMapping awscdkapigatewayv2alpha.ParameterMapping `json:"parameterMapping" yaml:"parameterMapping"` // Specifies the server name to verified by HTTPS when calling the backend integration. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-tlsconfig.html // // Experimental. SecureServerName *string `json:"secureServerName" yaml:"secureServerName"` // The vpc link to be used for the private integration. // Experimental. VpcLink awscdkapigatewayv2alpha.IVpcLink `json:"vpcLink" yaml:"vpcLink"` }
Properties to initialize `HttpNlbIntegration`.
TODO: EXAMPLE
Experimental.
type HttpPrivateIntegrationOptions ¶
type HttpPrivateIntegrationOptions struct { // The HTTP method that must be used to invoke the underlying HTTP proxy. // Experimental. Method awscdkapigatewayv2alpha.HttpMethod `json:"method" yaml:"method"` // Specifies how to transform HTTP requests before sending them to the backend. // See: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html // // Experimental. ParameterMapping awscdkapigatewayv2alpha.ParameterMapping `json:"parameterMapping" yaml:"parameterMapping"` // Specifies the server name to verified by HTTPS when calling the backend integration. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-tlsconfig.html // // Experimental. SecureServerName *string `json:"secureServerName" yaml:"secureServerName"` // The vpc link to be used for the private integration. // Experimental. VpcLink awscdkapigatewayv2alpha.IVpcLink `json:"vpcLink" yaml:"vpcLink"` }
Base options for private integration.
TODO: EXAMPLE
Experimental.
type HttpServiceDiscoveryIntegration ¶
type HttpServiceDiscoveryIntegration interface { awscdkapigatewayv2alpha.HttpRouteIntegration ConnectionType() awscdkapigatewayv2alpha.HttpConnectionType SetConnectionType(val awscdkapigatewayv2alpha.HttpConnectionType) HttpMethod() awscdkapigatewayv2alpha.HttpMethod SetHttpMethod(val awscdkapigatewayv2alpha.HttpMethod) IntegrationType() awscdkapigatewayv2alpha.HttpIntegrationType SetIntegrationType(val awscdkapigatewayv2alpha.HttpIntegrationType) PayloadFormatVersion() awscdkapigatewayv2alpha.PayloadFormatVersion SetPayloadFormatVersion(val awscdkapigatewayv2alpha.PayloadFormatVersion) Bind(_arg *awscdkapigatewayv2alpha.HttpRouteIntegrationBindOptions) *awscdkapigatewayv2alpha.HttpRouteIntegrationConfig CompleteBind(_options *awscdkapigatewayv2alpha.HttpRouteIntegrationBindOptions) }
The Service Discovery integration resource for HTTP API.
TODO: EXAMPLE
Experimental.
func NewHttpServiceDiscoveryIntegration ¶
func NewHttpServiceDiscoveryIntegration(id *string, service awsservicediscovery.IService, props *HttpServiceDiscoveryIntegrationProps) HttpServiceDiscoveryIntegration
Experimental.
type HttpServiceDiscoveryIntegrationProps ¶
type HttpServiceDiscoveryIntegrationProps struct { // The HTTP method that must be used to invoke the underlying HTTP proxy. // Experimental. Method awscdkapigatewayv2alpha.HttpMethod `json:"method" yaml:"method"` // Specifies how to transform HTTP requests before sending them to the backend. // See: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html // // Experimental. ParameterMapping awscdkapigatewayv2alpha.ParameterMapping `json:"parameterMapping" yaml:"parameterMapping"` // Specifies the server name to verified by HTTPS when calling the backend integration. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-tlsconfig.html // // Experimental. SecureServerName *string `json:"secureServerName" yaml:"secureServerName"` // The vpc link to be used for the private integration. // Experimental. VpcLink awscdkapigatewayv2alpha.IVpcLink `json:"vpcLink" yaml:"vpcLink"` }
Properties to initialize `HttpServiceDiscoveryIntegration`.
TODO: EXAMPLE
Experimental.
type HttpUrlIntegration ¶
type HttpUrlIntegration interface { awscdkapigatewayv2alpha.HttpRouteIntegration Bind(_arg *awscdkapigatewayv2alpha.HttpRouteIntegrationBindOptions) *awscdkapigatewayv2alpha.HttpRouteIntegrationConfig CompleteBind(_options *awscdkapigatewayv2alpha.HttpRouteIntegrationBindOptions) }
The HTTP Proxy integration resource for HTTP API.
TODO: EXAMPLE
Experimental.
func NewHttpUrlIntegration ¶
func NewHttpUrlIntegration(id *string, url *string, props *HttpUrlIntegrationProps) HttpUrlIntegration
Experimental.
type HttpUrlIntegrationProps ¶
type HttpUrlIntegrationProps struct { // The HTTP method that must be used to invoke the underlying HTTP proxy. // Experimental. Method awscdkapigatewayv2alpha.HttpMethod `json:"method" yaml:"method"` // Specifies how to transform HTTP requests before sending them to the backend. // See: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html // // Experimental. ParameterMapping awscdkapigatewayv2alpha.ParameterMapping `json:"parameterMapping" yaml:"parameterMapping"` }
Properties to initialize a new `HttpProxyIntegration`.
TODO: EXAMPLE
Experimental.
type WebSocketLambdaIntegration ¶
type WebSocketLambdaIntegration interface {
awscdkapigatewayv2alpha.WebSocketRouteIntegration
Bind(options *awscdkapigatewayv2alpha.WebSocketRouteIntegrationBindOptions) *awscdkapigatewayv2alpha.WebSocketRouteIntegrationConfig
}
Lambda WebSocket Integration.
TODO: EXAMPLE
Experimental.
func NewWebSocketLambdaIntegration ¶
func NewWebSocketLambdaIntegration(id *string, handler awslambda.IFunction) WebSocketLambdaIntegration
Experimental.
type WebSocketMockIntegration ¶
type WebSocketMockIntegration interface {
awscdkapigatewayv2alpha.WebSocketRouteIntegration
Bind(options *awscdkapigatewayv2alpha.WebSocketRouteIntegrationBindOptions) *awscdkapigatewayv2alpha.WebSocketRouteIntegrationConfig
}
Mock WebSocket Integration.
TODO: EXAMPLE
Experimental.
func NewWebSocketMockIntegration ¶
func NewWebSocketMockIntegration(id *string) WebSocketMockIntegration
Experimental.