Class HttpNlbIntegration
(experimental) The Network 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 HttpNlbIntegration : HttpRouteIntegration
Syntax (vb)
Public Class HttpNlbIntegration
Inherits HttpRouteIntegration
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.APIGatewayv2.Integrations;
var vpc = new Vpc(this, "VPC");
var lb = new NetworkLoadBalancer(this, "lb", new NetworkLoadBalancerProps { Vpc = vpc });
var listener = lb.AddListener("listener", new BaseNetworkListenerProps { Port = 80 });
listener.AddTargets("target", new AddNetworkTargetsProps {
Port = 80
});
var httpEndpoint = new HttpApi(this, "HttpProxyPrivateApi", new HttpApiProps {
DefaultIntegration = new HttpNlbIntegration("DefaultIntegration", listener)
});
Synopsis
Constructors
HttpNlbIntegration(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
HttpNlbIntegration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
HttpNlbIntegration(String, INetworkListener, IHttpNlbIntegrationProps) |
Properties
ConnectionType | |
HttpMethod | |
IntegrationType | |
PayloadFormatVersion |
Methods
Bind(IHttpRouteIntegrationBindOptions) | (experimental) Bind this integration to the route. |
Constructors
HttpNlbIntegration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected HttpNlbIntegration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
HttpNlbIntegration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected HttpNlbIntegration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
HttpNlbIntegration(String, INetworkListener, IHttpNlbIntegrationProps)
public HttpNlbIntegration(string id, INetworkListener listener, IHttpNlbIntegrationProps props = null)
Parameters
- id System.String
id of the underlying integration construct.
- listener INetworkListener
the ELB network listener.
- props IHttpNlbIntegrationProps
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