阅读469 返回首页    go 阿里云


ALIYUN::ECS::EIP__资源列表_资源编排-阿里云

ALIYUN::ECS::EIP 类型可用于申请弹性公网 IP。

语法

{
   "Type" : "ALIYUN::ECS::EIP",
   "Properties" : {
         "Bandwidth" : String,
      "InternetChargeType" : String,
   }
}

属性

Bandwidth

弹性公网 IP 的限速,如果不指定,默认为 5Mbps。

InternetChargeType

PayByBandwidth 和 PayByTraffic,默认是 PayByBandwidth

返回值

Fn::GetAtt

  • EipAddress 分配的弹性公网 IP

  • AllocationId 弹性公网 IP 的实例 Id

示例

{
  "ROSTemplateFormatVersion" : "2015-09-01",
  "Resources" : {
    "NewEip": {
      "Type": "ALIYUN::ECS::EIP"
    }
  },
  "Outputs": {
    "EipAddress": {
         "Value" : {"get_attr": ["EipAddress"]}
    },
    "AllocationId": {
         "Value" : {"get_attr": ["AllocationId"]}
    }
  }
}

最后更新:2016-11-23 16:04:02

  上一篇:go ALIYUN::ECS::DiskAttachment__资源列表_资源编排-阿里云
  下一篇:go ALIYUN::ECS::EIPAssociation__资源列表_资源编排-阿里云