構文
{
"Type": "ALIYUN::VPC::Ipv6InternetBandwidth",
"Properties": {
"Bandwidth": Integer,
"Ipv6AddressId": String,
"Ipv6GatewayId": String,
"InternetChargeType": String
}
}
プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
Bandwidth | Integer | はい | はい | IPv6 アドレスのインターネット帯域幅。 | 有効な値: 単位:Mbit/s。 |
Ipv6AddressId | String | はい | いいえ | IPv6 アドレスの ID。 | なし。 |
Ipv6GatewayId | String | はい | いいえ | IPv6 ゲートウェイの ID。 | なし。 |
InternetChargeType | String | いいえ | いいえ | IPv6 アドレスのインターネット帯域幅の課金方法。 | 有効な値: |
戻り値
Fn::GetAtt
InternetBandwidthId:インターネット帯域幅の ID。
例
YAML 形式
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Ipv6AddressId:
Type: String
Description: IPv6 アドレスの ID
Ipv6GatewayId:
Type: String
Description: IPv6 ゲートウェイの ID
Resources:
Ipv6InternetBandwidth:
Type: ALIYUN::VPC::Ipv6InternetBandwidth
Properties:
Bandwidth: 5000
Ipv6AddressId:
Ref: Ipv6AddressId
Ipv6GatewayId:
Ref: Ipv6GatewayId
Outputs:
InternetBandwidthId:
Description: パブリックネットワーク帯域幅の購入
Value:
Fn::GetAtt:
- Ipv6InternetBandwidth
- InternetBandwidthId
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Ipv6AddressId": {
"Type": "String",
"Description": "IPv6 アドレスの ID" // ID of IPv6 address.
},
"Ipv6GatewayId": {
"Type": "String",
"Description": "IPv6 ゲートウェイの ID" // ID of IPv6 gateway.
}
},
"Resources": {
"Ipv6InternetBandwidth": {
"Type": "ALIYUN::VPC::Ipv6InternetBandwidth",
"Properties": {
"Bandwidth": 5000,
"Ipv6AddressId": {
"Ref": "Ipv6AddressId"
},
"Ipv6GatewayId": {
"Ref": "Ipv6GatewayId"
}
}
}
},
"Outputs": {
"InternetBandwidthId": {
"Description": "パブリックネットワーク帯域幅の購入", // Purchase of public network bandwidth.
"Value": {
"Fn::GetAtt": [
"Ipv6InternetBandwidth",
"InternetBandwidthId"
]
}
}
}
}
その他の例については、SnatEntry.json および SnatEntry.yml をご参照ください。例では、ALIYUN::ECS::VPC、ALIYUN::ECS::VSwitch、ALIYUN::VPC::SnatEntry、ALIYUN::VPC::CommonBandwidthPackage、ALIYUN::VPC::CommonBandwidthPackageIp、ALIYUN::VPC::Ipv6Gateway、および ALIYUN::VPC::Ipv6InternetBandwidth のリソースタイプが使用されています。