aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
37 lines (36 loc) • 1.1 kB
TypeScript
import { Construct } from 'constructs';
import { BaseInstanceProps, InstanceBase } from './instance';
import { 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);
}