Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::SAG::GrantCcnToCen

Última atualização: Jun 27, 2026

O recurso ALIYUN::SAG::GrantCcnToCen autoriza uma instância do Cloud Enterprise Network (CEN) a acessar uma instância do Cloud Connect Network (CCN).

Sintaxe

{
  "Type": "ALIYUN::SAG::GrantCcnToCen",
  "Properties": {
    "CenInstanceId": String,
    "CenUid": String,
    "CcnInstanceId": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

CenInstanceId

String

Sim

Não

ID da instância CEN.

Nenhuma.

CenUid

String

Sim

Não

ID da conta à qual a instância CEN pertence.

Nenhuma.

CcnInstanceId

String

Sim

Não

ID da instância CCN.

Nenhuma.

Parâmetros de resposta

Fn::GetAtt

  • CenInstanceId: ID da instância CEN.

  • CcnInstanceId: ID da instância CCN.

Exemplos

Formato JSON

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "GrantCcnToCen": {
      "Type": "ALIYUN::SAG::GrantCcnToCen",
      "Properties": {
        "CenInstanceId": {
          "Ref": "CenInstanceId"
        },
        "CenUid": {
          "Ref": "CenUid"
        },
        "CcnInstanceId": {
          "Ref": "CcnInstanceId"
        }
      }
    }
  },
  "Parameters": {
    "CenInstanceId": {
      "Type": "String",
      "Description": "The ID of the CEN instance."
    },
    "CenUid": {
      "Type": "String",
      "Description": "The ID of the account to which the CEN instance belongs."
    },
    "CcnInstanceId": {
      "Type": "String",
      "Description": "The ID of the CCN instance."
    }
  },
  "Outputs": {
    "CenInstanceId": {
      "Description": "The ID of the CEN instance.",
      "Value": {
        "Fn::GetAtt": [
          "GrantCcnToCen",
          "CenInstanceId"
        ]
      }
    },
    "CcnInstanceId": {
      "Description": "The ID of the CCN instance.",
      "Value": {
        "Fn::GetAtt": [
          "GrantCcnToCen",
          "CcnInstanceId"
        ]
      }
    }
  }
}

Formato YAML

ROSTemplateFormatVersion: '2015-09-01'
Resources:
  GrantCcnToCen:
    Type: ALIYUN::SAG::GrantCcnToCen
    Properties:
      CenInstanceId:
        Ref: CenInstanceId
      CenUid:
        Ref: CenUid
      CcnInstanceId:
        Ref: CcnInstanceId
Parameters:
  CenInstanceId:
    Type: String
    Description: The ID of the CEN instance.
  CenUid:
    Type: String
    Description: The ID of the account to which the CEN instance belongs.
  CcnInstanceId:
    Type: String
    Description: The ID of the CCN instance.
Outputs:
  CenInstanceId:
    Description: The ID of the CEN instance.
    Value:
      Fn::GetAtt:
      - GrantCcnToCen
      - CenInstanceId
  CcnInstanceId:
    Description: The ID of the CCN instance.
    Value:
      Fn::GetAtt:
      - GrantCcnToCen
      - CcnInstanceId