ALIYUN::SAG::CloudConnectNetwork creates a Cloud Connect Network (CCN) instance. CCN is a device matrix that consists of Alibaba Cloud distributed gateways. You can associate a CCN instance with a Cloud Enterprise Network (CEN) instance to connect on-premises networks to Alibaba Cloud.
Syntax
{
"Type": "ALIYUN::SAG::CloudConnectNetwork",
"Properties": {
"Description": String,
"IsDefault": Boolean,
"Name": String,
"Tags": List
}
}
Properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
Description |
String |
No |
Yes |
The description of the CCN instance. |
The description must be 2 to 256 characters in length. It must start with a letter and cannot start with |
|
IsDefault |
Boolean |
No |
No |
Specifies whether the CCN instance is created by the system. |
Valid values:
|
|
Name |
String |
No |
Yes |
The name of the CCN instance. |
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter and cannot start with |
|
Tags |
List |
No |
Yes |
The tags of the CCN instance. |
You can add up to 20 tags. 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 tag key. |
The key must be 1 to 128 characters in length, and cannot start with |
|
Value |
String |
No |
No |
The tag value. |
The value can be up to 128 characters in length, and cannot start with |
Return values
Fn::GetAtt
-
CcnId: the ID of the CCN instance.
-
Arn: the Alibaba Cloud Resource Name (ARN).
Examples
ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
CloudConnectNetwork:
Type: ALIYUN::SAG::CloudConnectNetwork
Properties:
IsDefault: false
Name: DemoCloudConnectNetwork
Outputs:
CcnId:
Description: The ID of the CCN instance.
Value:
Fn::GetAtt:
- CloudConnectNetwork
- CcnId{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
},
"Resources": {
"CloudConnectNetwork": {
"Type": "ALIYUN::SAG::CloudConnectNetwork",
"Properties": {
"IsDefault": false,
"Name": "DemoCloudConnectNetwork"
}
}
},
"Outputs": {
"CcnId": {
"Description": "The ID of the CCN instance.",
"Value": {
"Fn::GetAtt": [
"CloudConnectNetwork",
"CcnId"
]
}
}
}
}