Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::GPDB::SupabaseProject

Última atualização: Jun 27, 2026

Crie um projeto Supabase.

Sintaxe

{
  "Type": "ALIYUN::GPDB::SupabaseProject",
  "Properties": {
    "AccountPassword": String,
    "ProjectSpec": String,
    "ProjectName": String,
    "SecurityIPList": String,
    "VpcId": String,
    "VSwitchId": String,
    "ZoneId": String,
    "Period": String,
    "UsedTime": Integer,
    "PayType": String,
    "DiskPerformanceLevel": String,
    "StorageSize": Integer,
    "DatabaseIPList": String
  }
}

Propriedades

Parâmetro

Tipo

Obrigatório

Atualizável

Descrição

Restrições

AccountPassword

String

Sim

Não

Senha inicial da conta.

A senha deve atender aos seguintes requisitos:

  • Conter caracteres de pelo menos três dos seguintes tipos: letras maiúsculas, letras minúsculas, dígitos e caracteres especiais.

  • Caracteres especiais permitidos: !@#$%^&*()_+-=

  • Ter entre 8 e 32 caracteres.

ProjectName

String

Sim

Não

Nome do projeto Supabase.

O nome deve atender aos seguintes requisitos:

  • Ter entre 1 e 128 caracteres.

  • Conter apenas letras, dígitos, hifens (-) e sublinhados (_).

  • Começar com uma letra ou um sublinhado (_).

ProjectSpec

String

Sim

Não

Tipo de instância do projeto Supabase.

Valor padrão: 1C1G.

SecurityIPList

String

Sim

Não

Lista de permissões de endereços IP da instância.

O valor 127.0.0.1 bloqueia o acesso de todos os endereços IP externos à instância.

VpcId

String

Sim

Não

ID da VPC onde o projeto Supabase será criado.

Nenhuma

VSwitchId

String

Sim

Não

ID do vSwitch na VPC especificada.

Nenhuma

ZoneId

String

Sim

Não

ID da zona do projeto Supabase.

Nenhuma

DatabaseIPList

String

Não

Não

Lista de permissões de endereços IP do banco de dados.

Nenhuma

DiskPerformanceLevel

String

Não

Não

Nível de desempenho do disco da instância.

Valor padrão: PL0. Valores válidos:

  • PL0

  • PL1

PayType

String

Não

Não

Método de faturamento da instância.

Valores válidos:

  • Postpaid: pagamento conforme o uso.

  • Prepaid: assinatura.

  • Free: gratuito.

Period

String

Não

Não

Unidade de duração da assinatura. Obrigatório apenas quando PayType estiver definido como Prepaid.

Nenhuma

StorageSize

Integer

Não

Não

Tamanho de armazenamento da instância.

Unidade: GB. Valor padrão: 1.

UsedTime

Integer

Não

Não

Duração da assinatura. Obrigatório apenas quando PayType estiver definido como Prepaid.

Nenhuma

Valores de retorno

Fn::GetAtt

  • ProjectId: ID do projeto Supabase

  • ApiKeys: Chaves de API do projeto Supabase

  • Eni: ID da interface de rede elástica

  • PublicConnectUrl: URL de conexão pública para o Supabase Dashboard

  • PrivateConnectUrl: URL de conexão privada para o Supabase Dashboard

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  ProjectSpec:
    Type: String
    Description: 'The instance type of the Supabase project. Default value: 1C1G.'
    Required: true
  VpcId:
    AssociationProperty: ALIYUN::ECS::VPC::VPCId
    Type: String
    Description: |-
      The VPC ID.
      Note: You can call the DescribeRdsVpcs operation to query the available VPC IDs.
      This parameter is required.
    Required: true
  ZoneId:
    AssociationProperty: ZoneId
    Type: String
    Description: |-
      The availability zone ID.
      Note: You can call the DescribeRegions operation to query the available availability zone IDs.
    Required: true
  ProjectName:
    Type: String
    Description: |-
      The name of the project.
      The name must meet the following requirements:
      - The length must be 1 to 128 characters.
      - Can contain only letters, digits, hyphens (-), and underscores (_).
      - Must start with a letter or an underscore (_).
    AllowedPattern: ^[a-zA-Z_][a-zA-Z0-9_-]{0,127}$
    Required: true
  SecurityIPList:
    Type: String
    Description: |-
      The IP address whitelist.
      A value of 127.0.0.1 prohibits external IP addresses from accessing the instance. After the instance is created, you can call the ModifySecurityIps operation to modify the IP address whitelist.
    Required: true
  VSwitchId:
    AssociationPropertyMetadata:
      VpcId: ${VpcId}
      ZoneId: ${ZoneId}
    AssociationProperty: ALIYUN::VPC::VSwitch::VSwitchId
    Type: String
    Description: |-
      The vSwitch ID.
      Note: This parameter is required. The vSwitch must be in the same availability zone as specified by ZoneId.
    Required: true
  AccountPassword:
    Type: String
    Description: |-
      The password for the initial account.
      The password must be 8 to 32 characters in length and contain characters from at least three of the following types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).
    AllowedPattern: ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*()_+=-]).{8,32}$
    Required: true
Resources:
  SupabaseProject:
    Type: ALIYUN::GPDB::SupabaseProject
    Properties:
      ProjectSpec:
        Ref: ProjectSpec
      VpcId:
        Ref: VpcId
      ZoneId:
        Ref: ZoneId
      ProjectName:
        Ref: ProjectName
      SecurityIPList:
        Ref: SecurityIPList
      VSwitchId:
        Ref: VSwitchId
      AccountPassword:
        Ref: AccountPassword
Outputs:
  ProjectId:
    Description: The ID of the Supabase project.
    Value:
      Fn::GetAtt:
        - SupabaseProject
        - ProjectId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "ProjectSpec": {
      "Type": "String",
      "Description": "The instance type of the Supabase project. Default value: 1C1G.",
      "Required": true
    },
    "VpcId": {
      "AssociationProperty": "ALIYUN::ECS::VPC::VPCId",
      "Type": "String",
      "Description": "The VPC ID.\nNote: You can call the DescribeRdsVpcs operation to query the available VPC IDs.\nThis parameter is required.",
      "Required": true
    },
    "ZoneId": {
      "AssociationProperty": "ZoneId",
      "Type": "String",
      "Description": "The availability zone ID.\nNote: You can call the DescribeRegions operation to query the available availability zone IDs.",
      "Required": true
    },
    "ProjectName": {
      "Type": "String",
      "Description": "The name of the project.\nThe name must meet the following requirements:\n- The length must be 1 to 128 characters.\n- Can contain only letters, digits, hyphens (-), and underscores (_).\n- Must start with a letter or an underscore (_).",
      "AllowedPattern": "^[a-zA-Z_][a-zA-Z0-9_-]{0,127}$",
      "Required": true
    },
    "SecurityIPList": {
      "Type": "String",
      "Description": "The IP address whitelist.\nA value of 127.0.0.1 prohibits external IP addresses from accessing the instance. After the instance is created, you can call the ModifySecurityIps operation to modify the IP address whitelist.",
      "Required": true
    },
    "VSwitchId": {
      "AssociationPropertyMetadata": {
        "VpcId": "${VpcId}",
        "ZoneId": "${ZoneId}"
      },
      "AssociationProperty": "ALIYUN::VPC::VSwitch::VSwitchId",
      "Type": "String",
      "Description": "The vSwitch ID.\nNote: This parameter is required. The vSwitch must be in the same availability zone as specified by ZoneId.",
      "Required": true
    },
    "AccountPassword": {
      "Type": "String",
      "Description": "The password for the initial account.\nThe password must be 8 to 32 characters in length and contain characters from at least three of the following types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).",
      "AllowedPattern": "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[!@#$%^&*()_+=-]).{8,32}$",
      "Required": true
    }
  },
  "Resources": {
    "SupabaseProject": {
      "Type": "ALIYUN::GPDB::SupabaseProject",
      "Properties": {
        "ProjectSpec": {
          "Ref": "ProjectSpec"
        },
        "VpcId": {
          "Ref": "VpcId"
        },
        "ZoneId": {
          "Ref": "ZoneId"
        },
        "ProjectName": {
          "Ref": "ProjectName"
        },
        "SecurityIPList": {
          "Ref": "SecurityIPList"
        },
        "VSwitchId": {
          "Ref": "VSwitchId"
        },
        "AccountPassword": {
          "Ref": "AccountPassword"
        }
      }
    }
  },
  "Outputs": {
    "ProjectId": {
      "Description": "The ID of the Supabase project.",
      "Value": {
        "Fn::GetAtt": [
          "SupabaseProject",
          "ProjectId"
        ]
      }
    }
  }
}