Class HttpServiceDiscoveryIntegration
(experimental) The Service Discovery integration resource for HTTP API.
Inherited Members
Namespace: Amazon.CDK.AWS.APIGatewayv2.Integrations
Assembly: Amazon.CDK.AWS.APIGatewayv2.Integrations.dll
Syntax (csharp)
public class HttpServiceDiscoveryIntegration : HttpRouteIntegration
Syntax (vb)
Public Class HttpServiceDiscoveryIntegration
Inherits HttpRouteIntegration
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.ServiceDiscovery;
using Amazon.CDK.AWS.APIGatewayv2.Integrations;
var vpc = new Vpc(this, "VPC");
var vpcLink = new VpcLink(this, "VpcLink", new VpcLinkProps { Vpc = vpc });
var namespace = new PrivateDnsNamespace(this, "Namespace", new PrivateDnsNamespaceProps {
Name = "boobar.com",
Vpc = vpc
});
var service = namespace.CreateService("Service");
var httpEndpoint = new HttpApi(this, "HttpProxyPrivateApi", new HttpApiProps {
DefaultIntegration = new HttpServiceDiscoveryIntegration("DefaultIntegration", service, new HttpServiceDiscoveryIntegrationProps {
VpcLink = vpcLink
})
});
Synopsis
Constructors
HttpServiceDiscoveryIntegration(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
HttpServiceDiscoveryIntegration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
HttpServiceDiscoveryIntegration(String, IService, IHttpServiceDiscoveryIntegrationProps) |
Properties
ConnectionType | |
HttpMethod | |
IntegrationType | |
PayloadFormatVersion |
Methods
Bind(IHttpRouteIntegrationBindOptions) | (experimental) Bind this integration to the route. |
Constructors
HttpServiceDiscoveryIntegration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected HttpServiceDiscoveryIntegration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
HttpServiceDiscoveryIntegration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected HttpServiceDiscoveryIntegration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
HttpServiceDiscoveryIntegration(String, IService, IHttpServiceDiscoveryIntegrationProps)
public HttpServiceDiscoveryIntegration(string id, IService service, IHttpServiceDiscoveryIntegrationProps props = null)
Parameters
- id System.String
id of the underlying integration construct.
- service IService
the service discovery resource to integrate with.
- props IHttpServiceDiscoveryIntegrationProps
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 _)
Parameters
Returns
Overrides
Remarks
Stability: Experimental