Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::CloudStorageGateway::ExpressSync

Última atualização: Jun 27, 2026

Cria um grupo ExpressSync para o Cloud Storage Gateway.

Sintaxe

{
  "Type": "ALIYUN::CloudStorageGateway::ExpressSync",
  "Properties": {
    "BucketName": String,
    "BucketRegion": String,
    "Name": String,
    "BucketPrefix": String,
    "Description": String
  }
}

Propriedades

Parâmetro

Tipo

Obrigatório

Atualizável

Descrição

Restrições

BucketName

String

Sim

Não

Nome do bucket do OSS.

Nenhuma

BucketRegion

String

Sim

Não

Região do bucket do OSS.

Nenhuma

Name

String

Sim

Não

Nome do ExpressSync.

Nenhuma

BucketPrefix

String

Não

Não

Prefixo do bucket do OSS.

Nenhuma

Description

String

Não

Não

Descrição do ExpressSync.

Nenhuma

Valores de retorno

Fn::GetAtt

ExpressSyncId: ID do ExpressSync.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  BucketName:
    Type: String
    Description: The name of the OSS bucket.
    Required: true
  BucketRegion:
    Type: String
    Description: The region of the OSS bucket.
    Required: true
  Name:
    Type: String
    Description: The name of the ExpressSync.
    Required: true
Resources:
  ExpressSync:
    Type: ALIYUN::CloudStorageGateway::ExpressSync
    Properties:
      BucketName:
        Ref: BucketName
      BucketRegion:
        Ref: BucketRegion
      Name:
        Ref: Name
Outputs:
  ExpressSyncId:
    Description: The ID of the ExpressSync.
    Value:
      Fn::GetAtt:
        - ExpressSync
        - ExpressSyncId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "BucketName": {
      "Type": "String",
      "Description": "The name of the OSS bucket.",
      "Required": true
    },
    "BucketRegion": {
      "Type": "String",
      "Description": "The region of the OSS bucket.",
      "Required": true
    },
    "Name": {
      "Type": "String",
      "Description": "The name of the ExpressSync.",
      "Required": true
    }
  },
  "Resources": {
    "ExpressSync": {
      "Type": "ALIYUN::CloudStorageGateway::ExpressSync",
      "Properties": {
        "BucketName": {
          "Ref": "BucketName"
        },
        "BucketRegion": {
          "Ref": "BucketRegion"
        },
        "Name": {
          "Ref": "Name"
        }
      }
    }
  },
  "Outputs": {
    "ExpressSyncId": {
      "Description": "The ID of the ExpressSync.",
      "Value": {
        "Fn::GetAtt": [
          "ExpressSync",
          "ExpressSyncId"
        ]
      }
    }
  }
}