All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::VPC::Ipv6Gateway

Last Updated:Mar 28, 2026

ALIYUN::VPC::Ipv6Gateway is used to create an IPv6 gateway.

Syntax

{
  "Type": "ALIYUN::VPC::Ipv6Gateway",
  "Properties": {
    "Description": String,
    "VpcId": String,
    "Spec": String,
    "Name": String,
    "Tags": List,
    "ResourceGroupId": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

Description

String

No

Yes

The description of the IPv6 gateway.

The description must be 2 to 256 characters long. It must start with a letter or a Chinese character, but not withhttp:// orhttps://. It can contain letters, Chinese characters, digits, periods (.), underscores (_), and hyphens (-).

VpcId

String

Yes

No

The ID of the virtual private cloud (VPC) in which you want to create the IPv6 gateway.

None.

Spec

String

No

Yes

The edition of the IPv6 gateway.

Valid values:

  • Small (default): Free Edition.

  • Medium: Enterprise Edition.

  • Large: Enhanced Enterprise Edition.

ResourceGroupId

String

No

No

The ID of the resource group.

None

Name

String

No

Yes

The name of the IPv6 gateway.

The name must be 2 to 256 characters long. It must start with a letter or a Chinese character, but not withhttp:// orhttps://. It can contain letters, Chinese characters, digits, periods (.), underscores (_), and hyphens (-).

Tags

List

No

Yes

The tags.

You can add up to 20 tags.

For more information, see Tags properties.

Tags syntax

"Tags": [
  {
    "Key": String,
    "Value": String
  }
]  

Tags properties

Property

Type

Required

Editable

Description

Constraint

Key

String

Yes

No

The tag key.

The tag key must be 1 to 128 characters long. It cannot start withaliyun oracs:, nor can it containhttp:// orhttps://.

Value

String

No

No

The tag value.

The tag value must be 0 to 128 characters long. It cannot start withaliyun oracs:, nor can it containhttp:// orhttps://.

Return values

Fn::GetAtt

  • Ipv6GatewayId: the ID of the IPv6 gateway.

  • Arn: the Alibaba Cloud Resource Name (ARN).

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  VPC:
    AssociationProperty: ALIYUN::ECS::VPC::VPCId
    Type: String
    Description: Please search the ID starts with (vpc-xxx)from console-Virtual Private Cloud
    Label: Existing VPC Instance ID
Resources:
  Ipv6Gateway:
    Type: ALIYUN::VPC::Ipv6Gateway
    Properties:
      VpcId:
        Ref: VPC
      Spec: Small
Outputs:
  Ipv6GatewayId:
    Description: ID IPv6 gateway.
    Value:
      Fn::GetAtt:
        - Ipv6Gateway
        - Ipv6GatewayId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "VPC": {
      "AssociationProperty": "ALIYUN::ECS::VPC::VPCId",
      "Type": "String",
      "Description": "Please search the ID starts with (vpc-xxx)from console-Virtual Private Cloud",
      "Label": "Existing VPC Instance ID"
    }
  },
  "Resources": {
    "Ipv6Gateway": {
      "Type": "ALIYUN::VPC::Ipv6Gateway",
      "Properties": {
        "VpcId": {
          "Ref": "VPC"
        },
        "Spec": "Small"
      }
    }
  },
  "Outputs": {
    "Ipv6GatewayId": {
      "Description": "ID IPv6 gateway.",
      "Value": {
        "Fn::GetAtt": [
          "Ipv6Gateway",
          "Ipv6GatewayId"
        ]
      }
    }
  }
}