ALIYUN::CEN::CenInstance is used to create 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 description of the CEN instance. | The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https:// . |
Name | String | No | Yes | The name of the CEN instance. | The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http:// or https:// . The name can contain letters, digits, periods (.), underscores (_), and hyphens (-). |
ResourceGroupId | String | No | Yes | The ID of the resource group. | None |
ProtectionLevel | String | No | No | The level of CIDR block overlapping. | Set the value to REDUCED. This value indicates that CIDR blocks can overlap with each other but cannot be the same. |
Tags | List | No | Yes | The tags of the CEN instance. | You can add up to 20 tags at a time. For more information, see Tags properties. |
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 http:// or https:// . The tag key cannot start with aliyun or acs: . |
Value | String | No | No | The value of the tag. | The tag value can be up to 128 characters in length, and cannot contain http:// or https:// . The tag value cannot start with aliyun or acs: . |
Response parameters
Fn::GetAtt
CenId: the ID of the CEN instance.
Examples
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" ] } } } }
For more information, see Cen.json and Cen.yml. In the examples, the ALIYUN::CEN::CenInstance, ALIYUN::CEN::CenInstanceAttachment, ALIYUN::CEN::CenBandwidthPackage, ALIYUN::CEN::CenBandwidthPackageAssociation, ALIYUN::CEN::CenBandwidthLimit, ALIYUN::CEN::RouteEntry, ALIYUN::SAG::CloudConnectNetwork, ALIYUN::SAG::GrantCcnToCen, and ALIYUN::VPC::GrantInstanceToCen resource types are involved.