Class HttpIntegration
(experimental) The integration for an API route.
Inherited Members
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public class HttpIntegration : Resource, IHttpIntegration, IIntegration, IResource, IConstruct, IDependable
Syntax (vb)
Public Class HttpIntegration
Inherits Resource
Implements IHttpIntegration, 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;
HttpApi httpApi;
IntegrationCredentials integrationCredentials;
ParameterMapping parameterMapping;
PayloadFormatVersion payloadFormatVersion;
var httpIntegration = new HttpIntegration(this, "MyHttpIntegration", new HttpIntegrationProps {
HttpApi = httpApi,
IntegrationType = HttpIntegrationType.HTTP_PROXY,
// the properties below are optional
ConnectionId = "connectionId",
ConnectionType = HttpConnectionType.VPC_LINK,
Credentials = integrationCredentials,
IntegrationSubtype = HttpIntegrationSubtype.EVENTBRIDGE_PUT_EVENTS,
IntegrationUri = "integrationUri",
Method = HttpMethod.ANY,
ParameterMapping = parameterMapping,
PayloadFormatVersion = payloadFormatVersion,
SecureServerName = "secureServerName"
});
Synopsis
Constructors
HttpIntegration(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
HttpIntegration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
HttpIntegration(Construct, String, IHttpIntegrationProps) |
Properties
HttpApi | (experimental) The HTTP API associated with this integration. |
IntegrationId | (experimental) Id of the integration. |
Constructors
HttpIntegration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected HttpIntegration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
HttpIntegration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected HttpIntegration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
HttpIntegration(Construct, String, IHttpIntegrationProps)
public HttpIntegration(Construct scope, string id, IHttpIntegrationProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IHttpIntegrationProps
Remarks
Stability: Experimental
Properties
HttpApi
(experimental) The HTTP API associated with this integration.
public virtual IHttpApi HttpApi { get; }
Property Value
Remarks
Stability: Experimental
IntegrationId
(experimental) Id of the integration.
public virtual string IntegrationId { get; }
Property Value
System.String
Remarks
Stability: Experimental