ALIYUN::PVTZ::Zone is used to create a private zone.
For more information about private zones, see What is Alibaba Cloud DNS PrivateZone?
Syntax
{
"Type": "ALIYUN::PVTZ::Zone",
"Properties": {
"ProxyPattern": String,
"Remark": String,
"ZoneName": String,
"ZoneTag": String,
"ZoneType": String,
"ResourceGroupId": String,
"Tags": List,
"IgnoredStackTagKeys": List
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
ProxyPattern | String | No | Yes | Specifies whether to enable the recursive DNS proxy. | Valid values:
|
Remark | String | No | Yes | The description of the private zone. | None |
ResourceGroupId | String | No | Yes | The ID of the resource group to which the private zone belongs. | None |
ZoneName | String | Yes | No | The name of the private zone. | None |
ZoneTag | String | No | No | The tag of the private zone. | This property is ignored if the ZoneType property is set to AUTH_ZONE. |
ZoneType | String | No | No | The type of the private zone. | Valid values:
|
Tags | List | No | Yes | The custom tags. | For more information, see Tags properties. |
IgnoredStackTagKeys | List | No | No | The custom tags that are ignored in the stack generated when the private zone is created. | None |
Tags syntax
"Tags": [
{
"Key": String,
"Value": String
}
]
Tags properties
Property | Type | Required | Editable | Description | Constraint |
Key | String | Yes | No | The key of the tag. | The tag key must be 1 to 128 characters in length and cannot contain |
Value | String | No | No | The value of the tag. | The tag value can be up to 128 characters in length and cannot contain |
Response parameters
Fn::GetAtt
ZoneName: the name of the private zone.
ZoneId: the ID of the private zone.
ZoneType: the type of the private zone.
ZoneTag: the tag of the private zone.
Examples
For more information, see PVTZ.json and PVTZ.yml. In the examples, the ALIYUN::PVTZ::Zone, ALIYUN::PVTZ::ZoneRecord, and ALIYUN::PVTZ::ZoneVpcBinder resource types are used.