BaseInstanceProps

class aws_cdk.aws_servicediscovery.BaseInstanceProps(*, custom_attributes=None, instance_id=None)

Bases: object

Used when the resource that’s associated with the service instance is accessible using values other than an IP address or a domain name (CNAME), i.e. for non-ip-instances.

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

Attributes

custom_attributes

Custom attributes of the instance.

Default

none

Return type

Optional[Mapping[str, str]]

instance_id

The id of the instance resource.

Default

Automatically generated name

Return type

Optional[str]