Documentation
¶
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 {
awsapigatewayv2.HttpRouteIntegration
// Experimental.
ConnectionType() awsapigatewayv2.HttpConnectionType
// Experimental.
SetConnectionType(val awsapigatewayv2.HttpConnectionType)
// Experimental.
HttpMethod() awsapigatewayv2.HttpMethod
// Experimental.
SetHttpMethod(val awsapigatewayv2.HttpMethod)
// Experimental.
IntegrationType() awsapigatewayv2.HttpIntegrationType
// Experimental.
SetIntegrationType(val awsapigatewayv2.HttpIntegrationType)
// Experimental.
PayloadFormatVersion() awsapigatewayv2.PayloadFormatVersion
// Experimental.
SetPayloadFormatVersion(val awsapigatewayv2.PayloadFormatVersion)
// Bind this integration to the route.
// Experimental.
Bind(options *awsapigatewayv2.HttpRouteIntegrationBindOptions) *awsapigatewayv2.HttpRouteIntegrationConfig
// Complete the binding of the integration to the route.
//
// In some cases, there is
// some additional work to do, such as adding permissions for the API to access
// the target. This work is necessary whether the integration has just been
// created for this route or it is an existing one, previously created for other
// routes. In most cases, however, concrete implementations do not need to
// override this method.
// Experimental.
CompleteBind(_options *awsapigatewayv2.HttpRouteIntegrationBindOptions)
}
The Application Load Balancer integration resource for HTTP API.
Example:
import "github.com/aws/aws-cdk-go/awscdk"
var lb applicationLoadBalancer
listener := lb.addListener(jsii.String("listener"), &baseApplicationListenerProps{
port: jsii.Number(80),
})
listener.addTargets(jsii.String("target"), &addApplicationTargetsProps{
port: jsii.Number(80),
})
httpEndpoint := apigwv2.NewHttpApi(this, jsii.String("HttpProxyPrivateApi"), &httpApiProps{
defaultIntegration: awscdk.NewHttpAlbIntegration(jsii.String("DefaultIntegration"), listener, &httpAlbIntegrationProps{
parameterMapping: apigwv2.NewParameterMapping().custom(jsii.String("myKey"), jsii.String("myValue")),
}),
})
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 awsapigatewayv2.HttpMethod `field:"optional" 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 awsapigatewayv2.ParameterMapping `field:"optional" 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 `field:"optional" json:"secureServerName" yaml:"secureServerName"`
// The vpc link to be used for the private integration.
// Experimental.
VpcLink awsapigatewayv2.IVpcLink `field:"optional" json:"vpcLink" yaml:"vpcLink"`
}
Properties to initialize `HttpAlbIntegration`.
Example:
import "github.com/aws/aws-cdk-go/awscdk"
var lb applicationLoadBalancer
listener := lb.addListener(jsii.String("listener"), &baseApplicationListenerProps{
port: jsii.Number(80),
})
listener.addTargets(jsii.String("target"), &addApplicationTargetsProps{
port: jsii.Number(80),
})
httpEndpoint := apigwv2.NewHttpApi(this, jsii.String("HttpProxyPrivateApi"), &httpApiProps{
defaultIntegration: awscdk.NewHttpAlbIntegration(jsii.String("DefaultIntegration"), listener, &httpAlbIntegrationProps{
parameterMapping: apigwv2.NewParameterMapping().appendHeader(jsii.String("header2"), apigwv2.mappingValue.requestHeader(jsii.String("header1"))).removeHeader(jsii.String("header1")),
}),
})
Experimental.
type HttpLambdaIntegration ¶
type HttpLambdaIntegration interface {
awsapigatewayv2.HttpRouteIntegration
// Bind this integration to the route.
// Experimental.
Bind(_arg *awsapigatewayv2.HttpRouteIntegrationBindOptions) *awsapigatewayv2.HttpRouteIntegrationConfig
// Complete the binding of the integration to the route.
//
// In some cases, there is
// some additional work to do, such as adding permissions for the API to access
// the target. This work is necessary whether the integration has just been
// created for this route or it is an existing one, previously created for other
// routes. In most cases, however, concrete implementations do not need to
// override this method.
// Experimental.
CompleteBind(options *awsapigatewayv2.HttpRouteIntegrationBindOptions)
}
The Lambda Proxy integration resource for HTTP API.
Example:
import "github.com/aws/aws-cdk-go/awscdk"
var booksDefaultFn function
booksIntegration := awscdk.NewHttpLambdaIntegration(jsii.String("BooksIntegration"), booksDefaultFn)
httpApi := apigwv2.NewHttpApi(this, jsii.String("HttpApi"))
httpApi.addRoutes(&addRoutesOptions{
path: jsii.String("/books"),
methods: []httpMethod{
apigwv2.*httpMethod_GET,
},
integration: booksIntegration,
})
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 awsapigatewayv2.ParameterMapping `field:"optional" 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 awsapigatewayv2.PayloadFormatVersion `field:"optional" json:"payloadFormatVersion" yaml:"payloadFormatVersion"`
}
Lambda Proxy integration properties.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"
var parameterMapping parameterMapping
var payloadFormatVersion payloadFormatVersion
httpLambdaIntegrationProps := &httpLambdaIntegrationProps{
parameterMapping: parameterMapping,
payloadFormatVersion: payloadFormatVersion,
}
Experimental.
type HttpNlbIntegration ¶
type HttpNlbIntegration interface {
awsapigatewayv2.HttpRouteIntegration
// Experimental.
ConnectionType() awsapigatewayv2.HttpConnectionType
// Experimental.
SetConnectionType(val awsapigatewayv2.HttpConnectionType)
// Experimental.
HttpMethod() awsapigatewayv2.HttpMethod
// Experimental.
SetHttpMethod(val awsapigatewayv2.HttpMethod)
// Experimental.
IntegrationType() awsapigatewayv2.HttpIntegrationType
// Experimental.
SetIntegrationType(val awsapigatewayv2.HttpIntegrationType)
// Experimental.
PayloadFormatVersion() awsapigatewayv2.PayloadFormatVersion
// Experimental.
SetPayloadFormatVersion(val awsapigatewayv2.PayloadFormatVersion)
// Bind this integration to the route.
// Experimental.
Bind(options *awsapigatewayv2.HttpRouteIntegrationBindOptions) *awsapigatewayv2.HttpRouteIntegrationConfig
// Complete the binding of the integration to the route.
//
// In some cases, there is
// some additional work to do, such as adding permissions for the API to access
// the target. This work is necessary whether the integration has just been
// created for this route or it is an existing one, previously created for other
// routes. In most cases, however, concrete implementations do not need to
// override this method.
// Experimental.
CompleteBind(_options *awsapigatewayv2.HttpRouteIntegrationBindOptions)
}
The Network Load Balancer integration resource for HTTP API.
Example:
import "github.com/aws/aws-cdk-go/awscdk"
vpc := ec2.NewVpc(this, jsii.String("VPC"))
lb := elbv2.NewNetworkLoadBalancer(this, jsii.String("lb"), &networkLoadBalancerProps{
vpc: vpc,
})
listener := lb.addListener(jsii.String("listener"), &baseNetworkListenerProps{
port: jsii.Number(80),
})
listener.addTargets(jsii.String("target"), &addNetworkTargetsProps{
port: jsii.Number(80),
})
httpEndpoint := apigwv2.NewHttpApi(this, jsii.String("HttpProxyPrivateApi"), &httpApiProps{
defaultIntegration: awscdk.NewHttpNlbIntegration(jsii.String("DefaultIntegration"), listener),
})
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 awsapigatewayv2.HttpMethod `field:"optional" 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 awsapigatewayv2.ParameterMapping `field:"optional" 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 `field:"optional" json:"secureServerName" yaml:"secureServerName"`
// The vpc link to be used for the private integration.
// Experimental.
VpcLink awsapigatewayv2.IVpcLink `field:"optional" json:"vpcLink" yaml:"vpcLink"`
}
Properties to initialize `HttpNlbIntegration`.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"
var parameterMapping parameterMapping
var vpcLink vpcLink
httpNlbIntegrationProps := &httpNlbIntegrationProps{
method: awscdk.Aws_apigatewayv2.httpMethod_ANY,
parameterMapping: parameterMapping,
secureServerName: jsii.String("secureServerName"),
vpcLink: vpcLink,
}
Experimental.
type HttpPrivateIntegrationOptions ¶
type HttpPrivateIntegrationOptions struct {
// The HTTP method that must be used to invoke the underlying HTTP proxy.
// Experimental.
Method awsapigatewayv2.HttpMethod `field:"optional" 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 awsapigatewayv2.ParameterMapping `field:"optional" 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 `field:"optional" json:"secureServerName" yaml:"secureServerName"`
// The vpc link to be used for the private integration.
// Experimental.
VpcLink awsapigatewayv2.IVpcLink `field:"optional" json:"vpcLink" yaml:"vpcLink"`
}
Base options for private integration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"
var parameterMapping parameterMapping
var vpcLink vpcLink
httpPrivateIntegrationOptions := &httpPrivateIntegrationOptions{
method: awscdk.Aws_apigatewayv2.httpMethod_ANY,
parameterMapping: parameterMapping,
secureServerName: jsii.String("secureServerName"),
vpcLink: vpcLink,
}
Experimental.
type HttpServiceDiscoveryIntegration ¶
type HttpServiceDiscoveryIntegration interface {
awsapigatewayv2.HttpRouteIntegration
// Experimental.
ConnectionType() awsapigatewayv2.HttpConnectionType
// Experimental.
SetConnectionType(val awsapigatewayv2.HttpConnectionType)
// Experimental.
HttpMethod() awsapigatewayv2.HttpMethod
// Experimental.
SetHttpMethod(val awsapigatewayv2.HttpMethod)
// Experimental.
IntegrationType() awsapigatewayv2.HttpIntegrationType
// Experimental.
SetIntegrationType(val awsapigatewayv2.HttpIntegrationType)
// Experimental.
PayloadFormatVersion() awsapigatewayv2.PayloadFormatVersion
// Experimental.
SetPayloadFormatVersion(val awsapigatewayv2.PayloadFormatVersion)
// Bind this integration to the route.
// Experimental.
Bind(_arg *awsapigatewayv2.HttpRouteIntegrationBindOptions) *awsapigatewayv2.HttpRouteIntegrationConfig
// Complete the binding of the integration to the route.
//
// In some cases, there is
// some additional work to do, such as adding permissions for the API to access
// the target. This work is necessary whether the integration has just been
// created for this route or it is an existing one, previously created for other
// routes. In most cases, however, concrete implementations do not need to
// override this method.
// Experimental.
CompleteBind(_options *awsapigatewayv2.HttpRouteIntegrationBindOptions)
}
The Service Discovery integration resource for HTTP API.
Example:
import servicediscovery "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"
vpc := ec2.NewVpc(this, jsii.String("VPC"))
vpcLink := apigwv2.NewVpcLink(this, jsii.String("VpcLink"), &vpcLinkProps{
vpc: vpc,
})
namespace := servicediscovery.NewPrivateDnsNamespace(this, jsii.String("Namespace"), &privateDnsNamespaceProps{
name: jsii.String("boobar.com"),
vpc: vpc,
})
service := namespace.createService(jsii.String("Service"))
httpEndpoint := apigwv2.NewHttpApi(this, jsii.String("HttpProxyPrivateApi"), &httpApiProps{
defaultIntegration: awscdk.NewHttpServiceDiscoveryIntegration(jsii.String("DefaultIntegration"), service, &httpServiceDiscoveryIntegrationProps{
vpcLink: vpcLink,
}),
})
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 awsapigatewayv2.HttpMethod `field:"optional" 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 awsapigatewayv2.ParameterMapping `field:"optional" 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 `field:"optional" json:"secureServerName" yaml:"secureServerName"`
// The vpc link to be used for the private integration.
// Experimental.
VpcLink awsapigatewayv2.IVpcLink `field:"optional" json:"vpcLink" yaml:"vpcLink"`
}
Properties to initialize `HttpServiceDiscoveryIntegration`.
Example:
import servicediscovery "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"
vpc := ec2.NewVpc(this, jsii.String("VPC"))
vpcLink := apigwv2.NewVpcLink(this, jsii.String("VpcLink"), &vpcLinkProps{
vpc: vpc,
})
namespace := servicediscovery.NewPrivateDnsNamespace(this, jsii.String("Namespace"), &privateDnsNamespaceProps{
name: jsii.String("boobar.com"),
vpc: vpc,
})
service := namespace.createService(jsii.String("Service"))
httpEndpoint := apigwv2.NewHttpApi(this, jsii.String("HttpProxyPrivateApi"), &httpApiProps{
defaultIntegration: awscdk.NewHttpServiceDiscoveryIntegration(jsii.String("DefaultIntegration"), service, &httpServiceDiscoveryIntegrationProps{
vpcLink: vpcLink,
}),
})
Experimental.
type HttpUrlIntegration ¶
type HttpUrlIntegration interface {
awsapigatewayv2.HttpRouteIntegration
// Bind this integration to the route.
// Experimental.
Bind(_arg *awsapigatewayv2.HttpRouteIntegrationBindOptions) *awsapigatewayv2.HttpRouteIntegrationConfig
// Complete the binding of the integration to the route.
//
// In some cases, there is
// some additional work to do, such as adding permissions for the API to access
// the target. This work is necessary whether the integration has just been
// created for this route or it is an existing one, previously created for other
// routes. In most cases, however, concrete implementations do not need to
// override this method.
// Experimental.
CompleteBind(_options *awsapigatewayv2.HttpRouteIntegrationBindOptions)
}
The HTTP Proxy integration resource for HTTP API.
Example:
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"
// This function handles your auth logic
var authHandler function
authorizer := awscdk.NewHttpLambdaAuthorizer(jsii.String("BooksAuthorizer"), authHandler, &httpLambdaAuthorizerProps{
responseTypes: []httpLambdaResponseType{
awscdk.HttpLambdaResponseType_SIMPLE,
},
})
api := apigwv2.NewHttpApi(this, jsii.String("HttpApi"))
api.addRoutes(&addRoutesOptions{
integration: awscdk.NewHttpUrlIntegration(jsii.String("BooksIntegration"), jsii.String("https://get-books-proxy.myproxy.internal")),
path: jsii.String("/books"),
authorizer: authorizer,
})
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 awsapigatewayv2.HttpMethod `field:"optional" 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 awsapigatewayv2.ParameterMapping `field:"optional" json:"parameterMapping" yaml:"parameterMapping"`
}
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 "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"
var parameterMapping parameterMapping
httpUrlIntegrationProps := &httpUrlIntegrationProps{
method: awscdk.Aws_apigatewayv2.httpMethod_ANY,
parameterMapping: parameterMapping,
}
Experimental.
type WebSocketLambdaIntegration ¶
type WebSocketLambdaIntegration interface {
awsapigatewayv2.WebSocketRouteIntegration
// Bind this integration to the route.
// Experimental.
Bind(options *awsapigatewayv2.WebSocketRouteIntegrationBindOptions) *awsapigatewayv2.WebSocketRouteIntegrationConfig
}
Lambda WebSocket Integration.
Example:
import "github.com/aws/aws-cdk-go/awscdk"
var messageHandler function
webSocketApi := apigwv2.NewWebSocketApi(this, jsii.String("mywsapi"))
apigwv2.NewWebSocketStage(this, jsii.String("mystage"), &webSocketStageProps{
webSocketApi: webSocketApi,
stageName: jsii.String("dev"),
autoDeploy: jsii.Boolean(true),
})
webSocketApi.addRoute(jsii.String("sendmessage"), &webSocketRouteOptions{
integration: awscdk.NewWebSocketLambdaIntegration(jsii.String("SendMessageIntegration"), messageHandler),
})
Experimental.
func NewWebSocketLambdaIntegration ¶
func NewWebSocketLambdaIntegration(id *string, handler awslambda.IFunction) WebSocketLambdaIntegration
Experimental.
type WebSocketMockIntegration ¶
type WebSocketMockIntegration interface {
awsapigatewayv2.WebSocketRouteIntegration
// Bind this integration to the route.
// Experimental.
Bind(options *awsapigatewayv2.WebSocketRouteIntegrationBindOptions) *awsapigatewayv2.WebSocketRouteIntegrationConfig
}
Mock WebSocket Integration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
webSocketMockIntegration := awscdk.Aws_apigatewayv2_integrations.NewWebSocketMockIntegration(jsii.String("id"))
Experimental.
func NewWebSocketMockIntegration ¶
func NewWebSocketMockIntegration(id *string) WebSocketMockIntegration
Experimental.