ALIYUN::SAG::CloudConnectNetwork is used to create a Cloud Connect Network (CCN) instance. CNN is a device access matrix composed of Alibaba Cloud distributed Smart Access Gateways (SAGs). You can add multiple SAGs to a CCN instance and then attach the CCN instance to a Cloud Enterprise Network (CEN) instance. In this way, you can connect your local branches to Alibaba Cloud.

Syntax

{
  "Type": "ALIYUN::SAG::CloudConnectNetwork",
  "Properties": {
    "Description": String,
    "IsDefault": Boolean,
    "Name": String,
    "Tags": List
  }
}

Properties

PropertyTypeRequiredEditableDescriptionConstraint
DescriptionStringNoYesThe 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 http:// or https://.
IsDefaultBooleanNoNoIndicates whether the CCN instance is created by the system. Default value: false. Valid values:
  • true
  • false
NameStringNoYesThe name of the CCN instance. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter but cannot start with http:// or https://. It can contain letters, digits, periods (.), underscores (_), and hyphens (-).
TagsListNoYesThe tags of the instance. A maximum of 20 tags can be specified.

For more information, see the Tags properties section in this topic.

Tags syntax

"Tags": [
  {
    "Key": String,
    "Value": String
  }
]  

Tags properties

PropertyTypeRequiredEditableDescriptionConstraint
KeyStringYesNoThe tag key. The tag key must be 1 to 128 characters in length and cannot contain http:// or https://. It cannot start with acs: or aliyun.
ValueStringNoNoThe tag value. The tag value must be 0 to 128 characters in length and cannot contain http:// or https://. It cannot start with acs: or aliyun.

Response parameters

Fn::GetAtt

CcnId: the ID of the CCN instance.

Examples

  • YAMLformat

    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
  • JSONformat

    {
      "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"
            ]
          }
        }
      }
    }

For more examples, visit Cen.json and Cen.yml. The ALIYUN::CEN::CenInstance, ALIYUN::CEN::CenBandwidthPackage, ALIYUN::CEN::CenBandwidthPackageAssociation, ALIYUN::CEN::CenInstanceAttachment, ALIYUN::CEN::CenBandwidthLimit, ALIYUN::CEN::RouteEntry, ALIYUN::SAG::CloudConnectNetwork, ALIYUN::SAG::GrantCcnToCen, and ALIYUN::VPC::GrantInstanceToCen resource types are involved.