Class WebSocketIntegration
(experimental) The integration for an API route.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public class WebSocketIntegration : Resource, IWebSocketIntegration, IIntegration, IResource, IConstruct, IDependable
Syntax (vb)
Public Class WebSocketIntegration
Inherits Resource
Implements IWebSocketIntegration, IIntegration, IResource, IConstruct, IDependable
Remarks
Stability: Experimental
Resource: AWS::ApiGatewayV2::Integration
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGatewayv2;
WebSocketApi webSocketApi;
var webSocketIntegration = new WebSocketIntegration(this, "MyWebSocketIntegration", new WebSocketIntegrationProps {
IntegrationType = WebSocketIntegrationType.AWS_PROXY,
IntegrationUri = "integrationUri",
WebSocketApi = webSocketApi
});
Synopsis
Constructors
WebSocketIntegration(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
WebSocketIntegration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
WebSocketIntegration(Construct, String, IWebSocketIntegrationProps) |
Properties
IntegrationId | (experimental) Id of the integration. |
WebSocketApi | (experimental) The WebSocket API associated with this integration. |
Constructors
WebSocketIntegration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected WebSocketIntegration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
WebSocketIntegration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected WebSocketIntegration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
WebSocketIntegration(Construct, String, IWebSocketIntegrationProps)
public WebSocketIntegration(Construct scope, string id, IWebSocketIntegrationProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IWebSocketIntegrationProps
Remarks
Stability: Experimental
Properties
IntegrationId
(experimental) Id of the integration.
public virtual string IntegrationId { get; }
Property Value
System.String
Remarks
Stability: Experimental
WebSocketApi
(experimental) The WebSocket API associated with this integration.
public virtual IWebSocketApi WebSocketApi { get; }
Property Value
Remarks
Stability: Experimental