ALIYUN::SAG::SerialNumberBinding は、Smart Access Gateway(SAG)デバイスを SAG インスタンスに関連付けるために使用されます。
構文
{
"Type": "ALIYUN::SAG::SerialNumberBinding",
"Properties": {
"SerialNumber": String,
"SmartAGId": String
}
}プロパティ
| プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
| SerialNumber | String | Yes | No | SAG デバイスのシリアル番号(SN)。 | 例: sage62x021922****。 |
| SmartAGId | String | Yes | No | SAG インスタンスの ID。 | 例: sag-r79m060r6oy55******。 |
戻り値
Fn::GetAtt
SmartAGId: SAG インスタンスの ID。
例
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"SerialNumber": {
"Type": "String",
"Description": "SAG デバイスのシリアル番号(SN)。", // The serial number (SN) of the SAG device.
"Default": "sage62x021922****"
},
"SmartAGId": {
"Type": "String",
"Description": "SAG インスタンスの ID。", // The ID of the SAG instance.
"Default": "sag-r79m060r6oy55******"
}
},
"Resources": {
"SerialNumberBinding": {
"Type": "ALIYUN::SAG::SerialNumberBinding",
"Properties": {
"SerialNumber": {
"Ref": "SerialNumber"
},
"SmartAGId": {
"Ref": "SmartAGId"
}
}
}
},
"Outputs": {
"SmartAGId": {
"Description": "SAG インスタンスの ID。", // The ID of the SAG instance.
"Value": {
"Fn::GetAtt": [
"SerialNumberBinding",
"SmartAGId"
]
}
}
}
}