阅读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__资源列表_资源编排-阿里云