ALIYUN::SAG::GrantCcnToCen は、クラウド接続ネットワーク (CCN) インスタンスに対する権限をクラウドエンタープライズネットワーク (CEN) インスタンスに付与するために使用されます。
構文
{
"Type": "ALIYUN::SAG::GrantCcnToCen",
"Properties": {
"CenInstanceId": String,
"CenUid": String,
"CcnInstanceId": String
}
}
プロパティ
| プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
| CenInstanceId | String | はい | いいえ | CEN インスタンスの ID。 | なし。 |
| CenUid | String | はい | いいえ | CEN インスタンスが属するアカウントの ID。 | なし。 |
| CcnInstanceId | String | はい | いいえ | CCN インスタンスの ID。 | なし。 |
レスポンスパラメーター
Fn::GetAtt
- CenInstanceId: CEN インスタンスの ID。
- CcnInstanceId: CCN インスタンスの ID。
例
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." // CEN インスタンスの ID。
},
"CenUid": {
"Type": "String",
"Description": "The ID of the account to which the CEN instance belongs." // CEN インスタンスが属するアカウントの ID。
},
"CcnInstanceId": {
"Type": "String",
"Description": "The ID of the CCN instance." // CCN インスタンスの ID。
}
},
"Outputs": {
"CenInstanceId": {
"Description": "The ID of the CEN instance.", // CEN インスタンスの ID。
"Value": {
"Fn::GetAtt": [
"GrantCcnToCen",
"CenInstanceId"
]
}
},
"CcnInstanceId": {
"Description": "The ID of the CCN instance.", // CCN インスタンスの ID。
"Value": {
"Fn::GetAtt": [
"GrantCcnToCen",
"CcnInstanceId"
]
}
}
}
}
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. # CEN インスタンスの ID。
CenUid:
Type: String
Description: The ID of the account to which the CEN instance belongs. # CEN インスタンスが属するアカウントの ID。
CcnInstanceId:
Type: String
Description: The ID of the CCN instance. # CCN インスタンスの ID。
Outputs:
CenInstanceId:
Description: The ID of the CEN instance. # CEN インスタンスの ID。
Value:
Fn::GetAtt:
- GrantCcnToCen
- CenInstanceId
CcnInstanceId:
Description: The ID of the CCN instance. # CCN インスタンスの ID。
Value:
Fn::GetAtt:
- GrantCcnToCen
- CcnInstanceId