Documentation ¶
Overview ¶
Integrations for AWS APIGateway V2
Index ¶
- func NewHttpAlbIntegration_Override(h HttpAlbIntegration, props *HttpAlbIntegrationProps)
- func NewHttpNlbIntegration_Override(h HttpNlbIntegration, props *HttpNlbIntegrationProps)
- func NewHttpProxyIntegration_Override(h HttpProxyIntegration, props *HttpProxyIntegrationProps)
- func NewHttpServiceDiscoveryIntegration_Override(h HttpServiceDiscoveryIntegration, props *HttpServiceDiscoveryIntegrationProps)
- func NewLambdaProxyIntegration_Override(l LambdaProxyIntegration, props *LambdaProxyIntegrationProps)
- func NewLambdaWebSocketIntegration_Override(l LambdaWebSocketIntegration, props *LambdaWebSocketIntegrationProps)
- type HttpAlbIntegration
- type HttpAlbIntegrationProps
- type HttpNlbIntegration
- type HttpNlbIntegrationProps
- type HttpPrivateIntegrationOptions
- type HttpProxyIntegration
- type HttpProxyIntegrationProps
- type HttpServiceDiscoveryIntegration
- type HttpServiceDiscoveryIntegrationProps
- type LambdaProxyIntegration
- type LambdaProxyIntegrationProps
- type LambdaWebSocketIntegration
- type LambdaWebSocketIntegrationProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttpAlbIntegration_Override ¶
func NewHttpAlbIntegration_Override(h HttpAlbIntegration, props *HttpAlbIntegrationProps)
Experimental.
func NewHttpNlbIntegration_Override ¶
func NewHttpNlbIntegration_Override(h HttpNlbIntegration, props *HttpNlbIntegrationProps)
Experimental.
func NewHttpProxyIntegration_Override ¶
func NewHttpProxyIntegration_Override(h HttpProxyIntegration, props *HttpProxyIntegrationProps)
Experimental.
func NewHttpServiceDiscoveryIntegration_Override ¶
func NewHttpServiceDiscoveryIntegration_Override(h HttpServiceDiscoveryIntegration, props *HttpServiceDiscoveryIntegrationProps)
Experimental.
func NewLambdaProxyIntegration_Override ¶
func NewLambdaProxyIntegration_Override(l LambdaProxyIntegration, props *LambdaProxyIntegrationProps)
Experimental.
func NewLambdaWebSocketIntegration_Override ¶
func NewLambdaWebSocketIntegration_Override(l LambdaWebSocketIntegration, props *LambdaWebSocketIntegrationProps)
Experimental.
Types ¶
type HttpAlbIntegration ¶
type HttpAlbIntegration interface { awscdkapigatewayv2alpha.IHttpRouteIntegration 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 }
The Application Load Balancer integration resource for HTTP API.
TODO: EXAMPLE
Experimental.
func NewHttpAlbIntegration ¶
func NewHttpAlbIntegration(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"` // 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"` // 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"` // The vpc link to be used for the private integration. // Experimental. VpcLink awscdkapigatewayv2alpha.IVpcLink `json:"vpcLink"` // The listener to the application load balancer used for the integration. // Experimental. Listener awselasticloadbalancingv2.IApplicationListener `json:"listener"` }
Properties to initialize `HttpAlbIntegration`.
TODO: EXAMPLE
Experimental.
type HttpNlbIntegration ¶
type HttpNlbIntegration interface { awscdkapigatewayv2alpha.IHttpRouteIntegration 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 }
The Network Load Balancer integration resource for HTTP API.
TODO: EXAMPLE
Experimental.
func NewHttpNlbIntegration ¶
func NewHttpNlbIntegration(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"` // 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"` // 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"` // The vpc link to be used for the private integration. // Experimental. VpcLink awscdkapigatewayv2alpha.IVpcLink `json:"vpcLink"` // The listener to the network load balancer used for the integration. // Experimental. Listener awselasticloadbalancingv2.INetworkListener `json:"listener"` }
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"` // 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"` // 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"` // The vpc link to be used for the private integration. // Experimental. VpcLink awscdkapigatewayv2alpha.IVpcLink `json:"vpcLink"` }
Base options for private integration.
TODO: EXAMPLE
Experimental.
type HttpProxyIntegration ¶
type HttpProxyIntegration interface {
awscdkapigatewayv2alpha.IHttpRouteIntegration
Bind(_arg *awscdkapigatewayv2alpha.HttpRouteIntegrationBindOptions) *awscdkapigatewayv2alpha.HttpRouteIntegrationConfig
}
The HTTP Proxy integration resource for HTTP API.
TODO: EXAMPLE
Experimental.
func NewHttpProxyIntegration ¶
func NewHttpProxyIntegration(props *HttpProxyIntegrationProps) HttpProxyIntegration
Experimental.
type HttpProxyIntegrationProps ¶
type HttpProxyIntegrationProps struct { // The full-qualified HTTP URL for the HTTP integration. // Experimental. Url *string `json:"url"` // The HTTP method that must be used to invoke the underlying HTTP proxy. // Experimental. Method awscdkapigatewayv2alpha.HttpMethod `json:"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"` }
Properties to initialize a new `HttpProxyIntegration`.
TODO: EXAMPLE
Experimental.
type HttpServiceDiscoveryIntegration ¶
type HttpServiceDiscoveryIntegration interface { awscdkapigatewayv2alpha.IHttpRouteIntegration 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 }
The Service Discovery integration resource for HTTP API.
TODO: EXAMPLE
Experimental.
func NewHttpServiceDiscoveryIntegration ¶
func NewHttpServiceDiscoveryIntegration(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"` // 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"` // 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"` // The vpc link to be used for the private integration. // Experimental. VpcLink awscdkapigatewayv2alpha.IVpcLink `json:"vpcLink"` // The discovery service used for the integration. // Experimental. Service awsservicediscovery.IService `json:"service"` }
Properties to initialize `HttpServiceDiscoveryIntegration`.
TODO: EXAMPLE
Experimental.
type LambdaProxyIntegration ¶
type LambdaProxyIntegration interface {
awscdkapigatewayv2alpha.IHttpRouteIntegration
Bind(options *awscdkapigatewayv2alpha.HttpRouteIntegrationBindOptions) *awscdkapigatewayv2alpha.HttpRouteIntegrationConfig
}
The Lambda Proxy integration resource for HTTP API.
TODO: EXAMPLE
Experimental.
func NewLambdaProxyIntegration ¶
func NewLambdaProxyIntegration(props *LambdaProxyIntegrationProps) LambdaProxyIntegration
Experimental.
type LambdaProxyIntegrationProps ¶
type LambdaProxyIntegrationProps struct { // The handler for this integration. // Experimental. Handler awslambda.IFunction `json:"handler"` // 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"` // 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"` }
Lambda Proxy integration properties.
TODO: EXAMPLE
Experimental.
type LambdaWebSocketIntegration ¶
type LambdaWebSocketIntegration interface {
awscdkapigatewayv2alpha.IWebSocketRouteIntegration
Bind(options *awscdkapigatewayv2alpha.WebSocketRouteIntegrationBindOptions) *awscdkapigatewayv2alpha.WebSocketRouteIntegrationConfig
}
Lambda WebSocket Integration.
TODO: EXAMPLE
Experimental.
func NewLambdaWebSocketIntegration ¶
func NewLambdaWebSocketIntegration(props *LambdaWebSocketIntegrationProps) LambdaWebSocketIntegration
Experimental.
type LambdaWebSocketIntegrationProps ¶
type LambdaWebSocketIntegrationProps struct { // The handler for this integration. // Experimental. Handler awslambda.IFunction `json:"handler"` }
Lambda WebSocket Integration props.
TODO: EXAMPLE
Experimental.