AliasTargetInstanceProps

class aws_cdk.aws_servicediscovery.AliasTargetInstanceProps(*, custom_attributes=None, instance_id=None, dns_name, service)

Bases: aws_cdk.aws_servicediscovery.BaseInstanceProps

__init__(*, custom_attributes=None, instance_id=None, dns_name, service)
Parameters
  • custom_attributes (Optional[Mapping[str, str]]) – Custom attributes of the instance. Default: none

  • instance_id (Optional[str]) – The id of the instance resource. Default: Automatically generated name

  • dns_name (str) – DNS name of the target.

  • service (IService) – The Cloudmap service this resource is registered to.

Return type

None

Attributes

custom_attributes

Custom attributes of the instance.

default :default: none

Return type

Optional[Mapping[str, str]]

dns_name

DNS name of the target.

Return type

str

instance_id

The id of the instance resource.

default :default: Automatically generated name

Return type

Optional[str]

service

The Cloudmap service this resource is registered to.

Return type

IService