UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

24 lines (23 loc) 1.11 kB
import type { HttpPrivateIntegrationOptions } from './base-types'; import { HttpPrivateIntegration } from './private/integration'; import type { HttpRouteIntegrationBindOptions, HttpRouteIntegrationConfig } from '../../../aws-apigatewayv2'; import type { IServiceRef } from '../../../interfaces/generated/aws-servicediscovery-interfaces.generated'; /** * Properties to initialize `HttpServiceDiscoveryIntegration`. */ export interface HttpServiceDiscoveryIntegrationProps extends HttpPrivateIntegrationOptions { } /** * The Service Discovery integration resource for HTTP API */ export declare class HttpServiceDiscoveryIntegration extends HttpPrivateIntegration { private readonly service; private readonly props; /** * @param id id of the underlying integration construct * @param service the service discovery resource to integrate with * @param props properties to configure the integration */ constructor(id: string, service: IServiceRef, props?: HttpServiceDiscoveryIntegrationProps); bind(options: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig; }