ALIYUN::CEN::CenInstance creates a Cloud Enterprise Network (CEN) instance.
Syntax
{
"Type": "ALIYUN::CEN::CenInstance",
"Properties": {
"Description": String,
"Name": String,
"ProtectionLevel": String,
"ResourceGroupId": String,
"Tags": List
}
}
Properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
Description |
String |
No |
Yes |
The CEN instance description. |
2 to 256 characters. Must start with a letter. Cannot start with |
|
Name |
String |
No |
Yes |
The CEN instance name. |
2 to 128 characters. Must start with a letter. Cannot start with |
|
ProtectionLevel |
String |
No |
No |
The CIDR block overlap level. |
Valid value: REDUCED. CIDR blocks can overlap but cannot be identical. |
|
ResourceGroupId |
String |
No |
Yes |
The resource group ID. |
None. |
|
Tags |
List |
No |
Yes |
The CEN instance tags. |
Maximum: 20. |
Tags syntax
"Tags": [
{
"Key": String,
"Value": String
}
]
Tags properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
Key |
String |
Yes |
No |
The tag key. |
1 to 128 characters. Cannot contain |
|
Value |
String |
No |
No |
The tag value. |
Up to 128 characters. Cannot contain |
Return values
Fn::GetAtt
-
CenId: the CEN instance ID.
-
Arn: the Alibaba Cloud Resource Name (ARN).
Examples
YAML format
ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
CenInstance:
Type: ALIYUN::CEN::CenInstance
Properties:
Name: TestCen
Outputs:
CenId:
Description: The ID of the request.
Value:
Fn::GetAtt:
- CenInstance
- CenId
JSON format
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
},
"Resources": {
"CenInstance": {
"Type": "ALIYUN::CEN::CenInstance",
"Properties": {
"Name": "TestCen"
}
}
},
"Outputs": {
"CenId": {
"Description": "The ID of the request.",
"Value": {
"Fn::GetAtt": [
"CenInstance",
"CenId"
]
}
}
}
}