24 lines
1.1 KiB
TypeScript
24 lines
1.1 KiB
TypeScript
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;
|
|
}
|