38 lines
1.1 KiB
TypeScript
38 lines
1.1 KiB
TypeScript
import type { Construct } from 'constructs';
|
|
import type { BaseInstanceProps } from './instance';
|
|
import { InstanceBase } from './instance';
|
|
import type { IService } from './service';
|
|
export interface AliasTargetInstanceProps extends BaseInstanceProps {
|
|
/**
|
|
* DNS name of the target
|
|
*/
|
|
readonly dnsName: string;
|
|
/**
|
|
* The Cloudmap service this resource is registered to.
|
|
*/
|
|
readonly service: IService;
|
|
}
|
|
/**
|
|
* Instance that uses Route 53 Alias record type. Currently, the only resource types supported are Elastic Load
|
|
* Balancers.
|
|
*
|
|
* @resource AWS::ServiceDiscovery::Instance
|
|
*/
|
|
export declare class AliasTargetInstance extends InstanceBase {
|
|
/** Uniquely identifies this class. */
|
|
static readonly PROPERTY_INJECTION_ID: string;
|
|
/**
|
|
* The Id of the instance
|
|
*/
|
|
readonly instanceId: string;
|
|
/**
|
|
* The Cloudmap service to which the instance is registered.
|
|
*/
|
|
readonly service: IService;
|
|
/**
|
|
* The Route53 DNS name of the alias target
|
|
*/
|
|
readonly dnsName: string;
|
|
constructor(scope: Construct, id: string, props: AliasTargetInstanceProps);
|
|
}
|