Interface WebSocketRouteIntegrationConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WebSocketRouteIntegrationConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.94.0 (build b380f01)",
date="2024-03-14T22:21:49.748Z")
@Stability(Stable)
public interface WebSocketRouteIntegrationConfig
extends software.amazon.jsii.JsiiSerializable
Config returned back as a result of the bind.
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.*;
import software.amazon.awscdk.services.iam.*;
Role role;
WebSocketRouteIntegrationConfig webSocketRouteIntegrationConfig = WebSocketRouteIntegrationConfig.builder()
.type(WebSocketIntegrationType.AWS_PROXY)
.uri("uri")
// the properties below are optional
.credentialsRole(role)
.method("method")
.passthroughBehavior(PassthroughBehavior.WHEN_NO_MATCH)
.requestParameters(Map.of(
"requestParametersKey", "requestParameters"))
.requestTemplates(Map.of(
"requestTemplatesKey", "requestTemplates"))
.templateSelectionExpression("templateSelectionExpression")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forWebSocketRouteIntegrationConfigstatic final classAn implementation forWebSocketRouteIntegrationConfig -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default IRoleCredentials role.default StringIntegration method.default PassthroughBehaviorIntegration passthrough behaviors.Request parameters.Request template.default StringTemplate selection expression.getType()Integration type.getUri()Integration URI.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
Integration type. -
getUri
Integration URI. -
getCredentialsRole
Credentials role.Default: - No role provided.
-
getMethod
Integration method.Default: - No integration method.
-
getPassthroughBehavior
Integration passthrough behaviors.Default: - No pass through bahavior.
-
getRequestParameters
Request parameters.Default: - No request parameters provided.
-
getRequestTemplates
Request template.Default: - No request template provided.
-
getTemplateSelectionExpression
Template selection expression.Default: - No template selection expression.
-
builder
-