閱讀847 返回首頁    go 阿裏雲


ALIYUN::ECS::SNatEntry__資源列表_資源編排-阿裏雲

ALIYUN::ECS::SNatEntry 類型可用於配置 NAT 網關中的源地址轉換表

語法

  1. {
  2. "Type" : "ALIYUN::ECS::SNatEntry",
  3. "Properties" : {
  4. "SNatTableId" : String,
  5. "SNatIp" : String,
  6. "SourceVSwitchId" : String
  7. }
  8. }

屬性

屬性名稱 類型 必須 描述 約束
SNatTableId string 指定源地址轉換表 ID
SNatIp string 用於源地址轉換的公網 IP 必須是 NAT 網關中的帶寬包的 IP;每個 NAT Gateway上的公網IP,不能既存在於端口轉發表中,也存在與SNAT表中
SourceVSwitchId string 指定允許哪個 VSwitch 下的 ECS 通過 NAT 網關的 SNAT 功能訪問互聯網

返回值

Fn::GetAtt

  • SNatEntryId 源地址轉換表中的表項 ID

示例

  1. {
  2. "ROSTemplateFormatVersion" : "2015-09-01",
  3. "Resources" : {
  4. "SNatEntry": {
  5. "Type": "ALIYUN::ECS::SNatEntry",
  6. "Properties": {
  7. "SNatTableId": "stb-3er41e05p",
  8. "SourceVSwitchId": "vsw-25rc1y5t9",
  9. "SNatIp": "101.201.34.162"
  10. }
  11. }
  12. },
  13. "Outputs": {
  14. "SNatEntryId": {
  15. "Value" : {"Fn::GetAttr": ["SNatEntry","SNatEntryId"]}
  16. }
  17. }

最後更新:2016-12-20 17:12:21

  上一篇:go ALIYUN::ECS::NatGateway__資源列表_資源編排-阿裏雲
  下一篇:go ALIYUN::MarketPlace::Order__資源列表_資源編排-阿裏雲