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

PropertyTypeRequiredEditableDescriptionConstraint
DescriptionStringNoYesThe 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://.
NameStringNoYesThe 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 (-).
ResourceGroupIdStringNoYesThe ID of the resource group. None
ProtectionLevelStringNoNoThe 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.
TagsListNoYesThe 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

PropertyTypeRequiredEditableDescriptionConstraint
KeyStringYesNoThe 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:.
ValueStringNoNoThe 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

  • YAMLformat

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

    {
      "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.