すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ALIYUN::VPC::Ipv4Gateway

最終更新日:Jan 16, 2025

ALIYUN::VPC::Ipv4Gateway は、IPv4 ゲートウェイを作成するために使用されます。

構文

{
  "Type": "ALIYUN::VPC::Ipv4Gateway",
  "Properties": {
    "Ipv4GatewayName": String,
    "VpcId": String,
    "Ipv4GatewayDescription": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

Ipv4GatewayName

String

いいえ

はい

IPv4 ゲートウェイの名前。

名前は 1 ~ 128 文字である必要があります。名前は http:// または https:// で始めることはできません。

VpcId

String

はい

いいえ

IPv4 ゲートウェイを作成する仮想プライベートクラウド ( VPC ) の ID。

1 つの VPC に作成できる IPv4 ゲートウェイは 1 つだけです。

Ipv4GatewayDescription

String

いいえ

はい

IPv4 ゲートウェイの説明。

説明は 1 ~ 256 文字である必要があります。説明は http:// または https:// で始めることはできません。

戻り値

Fn::GetAtt

  • Ipv4GatewayName: IPv4 ゲートウェイの名前。

  • Ipv4GatewayRouteTableId: IPv4 ゲートウェイに関連付けられているルートテーブルの ID。

  • Ipv4GatewayId: IPv4 ゲートウェイの ID。

  • VpcId: IPv4 ゲートウェイが作成される VPC の ID。

  • CreateTime: IPv4 ゲートウェイが作成された時刻。

  • Ipv4GatewayDescription: IPv4 ゲートウェイの説明。

  • YAML 形式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      VpcId:
        Type: String
        AssociationProperty: ALIYUN::ECS::VPC::VPCId
        Description: The ID of the VPC associated with the IPv4 Gateway.  // IPv4 ゲートウェイに関連付けられた VPC の ID。
    Resources:
      ExtensionResource:
        Type: ALIYUN::VPC::Ipv4Gateway
        Properties:
          Ipv4GatewayName: TestIpv4GatewayName
          VpcId:
            Ref: VpcId
    Outputs:
      Ipv4GatewayName:
        Description: Resource name. // リソース名。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Ipv4GatewayName
      Ipv4GatewayRouteTableId:
        Description: ID of the route table associated with IPv4 Gateway. // IPv4 ゲートウェイに関連付けられたルートテーブルの ID。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Ipv4GatewayRouteTableId
      Ipv4GatewayId:
        Description: The resource attribute field that represents the resource level 1 ID. // リソースレベル 1 の ID を表すリソース属性フィールド。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Ipv4GatewayId
      VpcId:
        Description: The ID of the VPC associated with the IPv4 Gateway. // IPv4 ゲートウェイに関連付けられた VPC の ID。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - VpcId
      CreateTime:
        Description: The creation time of the resource. // リソースの作成時間。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - CreateTime
      Ipv4GatewayDescription:
        Description: Description information. // 説明情報。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Ipv4GatewayDescription
  • JSON 形式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "VpcId": {
          "Type": "String",
          "AssociationProperty": "ALIYUN::ECS::VPC::VPCId",
          "Description": "The ID of the VPC associated with the IPv4 Gateway." // IPv4 ゲートウェイに関連付けられた VPC の ID。
        }
      },
      "Resources": {
        "ExtensionResource": {
          "Type": "ALIYUN::VPC::Ipv4Gateway",
          "Properties": {
            "Ipv4GatewayName": "TestIpv4GatewayName",
            "VpcId": {
              "Ref": "VpcId"
            }
          }
        }
      },
      "Outputs": {
        "Ipv4GatewayName": {
          "Description": "Resource name.", // リソース名。
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Ipv4GatewayName"
            ]
          }
        },
        "Ipv4GatewayRouteTableId": {
          "Description": "ID of the route table associated with IPv4 Gateway.", // IPv4 ゲートウェイに関連付けられたルートテーブルの ID。
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Ipv4GatewayRouteTableId"
            ]
          }
        },
        "Ipv4GatewayId": {
          "Description": "The resource attribute field that represents the resource level 1 ID.", // リソースレベル 1 の ID を表すリソース属性フィールド。
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Ipv4GatewayId"
            ]
          }
        },
        "VpcId": {
          "Description": "The ID of the VPC associated with the IPv4 Gateway.", // IPv4 ゲートウェイに関連付けられた VPC の ID。
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "VpcId"
            ]
          }
        },
        "CreateTime": {
          "Description": "The creation time of the resource.", // リソースの作成時間。
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "CreateTime"
            ]
          }
        },
        "Ipv4GatewayDescription": {
          "Description": "Description information.", // 説明情報。
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Ipv4GatewayDescription"
            ]
          }
        }
      }
    }