Interface IHttpRouteIntegrationConfig
(experimental) Config returned back as a result of the bind.
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public interface IHttpRouteIntegrationConfig
Syntax (vb)
Public Interface IHttpRouteIntegrationConfig
Remarks
Stability: Experimental
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;
IntegrationCredentials integrationCredentials;
ParameterMapping parameterMapping;
PayloadFormatVersion payloadFormatVersion;
var httpRouteIntegrationConfig = new HttpRouteIntegrationConfig {
PayloadFormatVersion = payloadFormatVersion,
Type = HttpIntegrationType.HTTP_PROXY,
// the properties below are optional
ConnectionId = "connectionId",
ConnectionType = HttpConnectionType.VPC_LINK,
Credentials = integrationCredentials,
Method = HttpMethod.ANY,
ParameterMapping = parameterMapping,
SecureServerName = "secureServerName",
Subtype = HttpIntegrationSubtype.EVENTBRIDGE_PUT_EVENTS,
Uri = "uri"
};
Synopsis
Properties
ConnectionId | (experimental) The ID of the VPC link for a private integration. |
ConnectionType | (experimental) The type of the network connection to the integration endpoint. |
Credentials | (experimental) The credentials with which to invoke the integration. |
Method | (experimental) The HTTP method that must be used to invoke the underlying proxy. |
ParameterMapping | (experimental) Specifies how to transform HTTP requests before sending them to the backend. |
PayloadFormatVersion | (experimental) Payload format version in the case of lambda proxy integration. |
SecureServerName | (experimental) Specifies the server name to verified by HTTPS when calling the backend integration. |
Subtype | (experimental) Integration subtype. |
Type | (experimental) Integration type. |
Uri | (experimental) Integration URI. |
Properties
ConnectionId
(experimental) The ID of the VPC link for a private integration.
virtual string ConnectionId { get; }
Property Value
System.String
Remarks
Supported only for HTTP APIs.
Default: - undefined
Stability: Experimental
ConnectionType
(experimental) The type of the network connection to the integration endpoint.
virtual Nullable<HttpConnectionType> ConnectionType { get; }
Property Value
System.Nullable<HttpConnectionType>
Remarks
Default: HttpConnectionType.INTERNET
Stability: Experimental
Credentials
(experimental) The credentials with which to invoke the integration.
virtual IntegrationCredentials Credentials { get; }
Property Value
Remarks
Default: - no credentials, use resource-based permissions on supported AWS services
Stability: Experimental
Method
(experimental) The HTTP method that must be used to invoke the underlying proxy.
virtual Nullable<HttpMethod> Method { get; }
Property Value
System.Nullable<HttpMethod>
Remarks
Required for HttpIntegrationType.HTTP_PROXY
Default: - undefined
Stability: Experimental
ParameterMapping
(experimental) Specifies how to transform HTTP requests before sending them to the backend.
virtual ParameterMapping ParameterMapping { get; }
Property Value
Remarks
Default: undefined requests are sent to the backend unmodified
Stability: Experimental
See: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
PayloadFormatVersion
(experimental) Payload format version in the case of lambda proxy integration.
PayloadFormatVersion PayloadFormatVersion { get; }
Property Value
Remarks
Default: - undefined
Stability: Experimental
SecureServerName
(experimental) Specifies the server name to verified by HTTPS when calling the backend integration.
virtual string SecureServerName { get; }
Property Value
System.String
Remarks
Default: undefined private integration traffic will use HTTP protocol
Stability: Experimental
Subtype
(experimental) Integration subtype.
virtual Nullable<HttpIntegrationSubtype> Subtype { get; }
Property Value
System.Nullable<HttpIntegrationSubtype>
Remarks
Default: - none, required if no integrationUri
is defined.
Stability: Experimental
Type
(experimental) Integration type.
HttpIntegrationType Type { get; }
Property Value
Remarks
Stability: Experimental
Uri
(experimental) Integration URI.
virtual string Uri { get; }
Property Value
System.String
Remarks
Default: - none, required if no integrationSubtype
is defined.
Stability: Experimental