CnameInstanceBaseProps

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

Bases: aws_cdk.aws_servicediscovery.BaseInstanceProps

__init__(*, custom_attributes=None, instance_id=None, instance_cname)
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

  • instance_cname (str) – If the service configuration includes a CNAME record, the domain name that you want Route 53 to return in response to DNS queries, for example, example.com. This value is required if the service specified by ServiceId includes settings for an CNAME record.

Return type

None

Attributes

custom_attributes

Custom attributes of the instance.

default :default: none

Return type

Optional[Mapping[str, str]]

instance_cname

If the service configuration includes a CNAME record, the domain name that you want Route 53 to return in response to DNS queries, for example, example.com. This value is required if the service specified by ServiceId includes settings for an CNAME record.

Return type

str

instance_id

The id of the instance resource.

default :default: Automatically generated name

Return type

Optional[str]