Todos os produtos
Search
Central de documentação

:ALIYUN::DataLakeFormation::VpcConfig

Última atualização: Jun 27, 2026

O tipo ALIYUN::DataLakeFormation::VpcConfig configure uma lista de permissões de VPC.

Sintaxe

{
  "Type": "ALIYUN::DataLakeFormation::VpcConfig",
  "Properties": {
    "VpcId": String
  }
}

Propriedades

Nome da propriedade

Tipo

Obrigatória

Atualizável

Descrição

Restrições

VpcId

String

Sim

Não

ID da Virtual Private Cloud (VPC).

Nenhuma

Valores de retorno

Fn::GetAtt

VpcId: o ID da VPC.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  VpcId:
    AssociationProperty: ALIYUN::ECS::VPC::VPCId
    Type: String
    Description:
      en: The ID of the VPC to configure.
    Required: true
Resources:
  VpcConfig:
    Type: ALIYUN::DataLakeFormation::VpcConfig
    Properties:
      VpcId:
        Ref: VpcId
Outputs:
  VpcId:
    Description: VPC ID.
    Value:
      Fn::GetAtt:
        - VpcConfig
        - VpcId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "VpcId": {
      "AssociationProperty": "ALIYUN::ECS::VPC::VPCId",
      "Type": "String",
      "Description": {
        "en": "The ID of the VPC to configure."
      },
      "Required": true
    }
  },
  "Resources": {
    "VpcConfig": {
      "Type": "ALIYUN::DataLakeFormation::VpcConfig",
      "Properties": {
        "VpcId": {
          "Ref": "VpcId"
        }
      }
    }
  },
  "Outputs": {
    "VpcId": {
      "Description": "VPC ID.",
      "Value": {
        "Fn::GetAtt": [
          "VpcConfig",
          "VpcId"
        ]
      }
    }
  }
}