Skip to content

DomainProps

Properties for defining a Domain.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-domain

Initializer

import ros_cdk_dns
ros_cdk_dns.DomainProps(
  domain_name: typing.Union[str, IResolvable],
  group_id: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
domain_name typing.Union[str, ros_cdk_core.IResolvable] Property domainName: Domain name.
group_id typing.Union[str, ros_cdk_core.IResolvable] Property groupId: The ID of the domain name group.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: Resource group id.
tags typing.List[TagsProperty] Property tags: Tags to attach to instance.

domain_nameRequired

domain_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property domainName: Domain name.


group_idOptional

group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property groupId: The ID of the domain name group.

If you do not specify this parameter, pass an empty string, or pass defaultGroup, the domain name is added to the default group. You can call the AddDomainGroup operation to obtain the group ID.


resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceGroupId: Resource group id.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.