Class HttpAlbIntegration
(experimental) The Application Load Balancer integration resource for HTTP API.
Inherited Members
Namespace: Amazon.CDK.AWS.APIGatewayv2.Integrations
Assembly: Amazon.CDK.AWS.APIGatewayv2.Integrations.dll
Syntax (csharp)
public class HttpAlbIntegration : HttpRouteIntegration
Syntax (vb)
Public Class HttpAlbIntegration
Inherits HttpRouteIntegration
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.APIGatewayv2.Integrations;
ApplicationLoadBalancer lb;
var listener = lb.AddListener("listener", new BaseApplicationListenerProps { Port = 80 });
listener.AddTargets("target", new AddApplicationTargetsProps {
Port = 80
});
var httpEndpoint = new HttpApi(this, "HttpProxyPrivateApi", new HttpApiProps {
DefaultIntegration = new HttpAlbIntegration("DefaultIntegration", listener, new HttpAlbIntegrationProps {
ParameterMapping = new ParameterMapping().Custom("myKey", "myValue")
})
});
Synopsis
Constructors
HttpAlbIntegration(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
HttpAlbIntegration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
HttpAlbIntegration(String, IApplicationListener, IHttpAlbIntegrationProps) |
Properties
ConnectionType | |
HttpMethod | |
IntegrationType | |
PayloadFormatVersion |
Methods
Bind(IHttpRouteIntegrationBindOptions) | (experimental) Bind this integration to the route. |
Constructors
HttpAlbIntegration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected HttpAlbIntegration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
HttpAlbIntegration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected HttpAlbIntegration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
HttpAlbIntegration(String, IApplicationListener, IHttpAlbIntegrationProps)
public HttpAlbIntegration(string id, IApplicationListener listener, IHttpAlbIntegrationProps props = null)
Parameters
- id System.String
id of the underlying integration construct.
- listener IApplicationListener
the ELB application listener.
- props IHttpAlbIntegrationProps
properties to configure the integration.
Remarks
Stability: Experimental
Properties
ConnectionType
protected virtual HttpConnectionType ConnectionType { get; set; }
Property Value
Remarks
Stability: Experimental
HttpMethod
protected virtual HttpMethod HttpMethod { get; set; }
Property Value
Remarks
Stability: Experimental
IntegrationType
protected virtual HttpIntegrationType IntegrationType { get; set; }
Property Value
Remarks
Stability: Experimental
PayloadFormatVersion
protected virtual PayloadFormatVersion PayloadFormatVersion { get; set; }
Property Value
Remarks
Stability: Experimental
Methods
Bind(IHttpRouteIntegrationBindOptions)
(experimental) Bind this integration to the route.
public override IHttpRouteIntegrationConfig Bind(IHttpRouteIntegrationBindOptions options)
Parameters
- options IHttpRouteIntegrationBindOptions
Returns
Overrides
Remarks
Stability: Experimental