Skip to content

ExpressSyncProps

Properties for defining a ExpressSync.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudstoragegateway-expresssync

Initializer

import { ExpressSyncProps } from '@alicloud/ros-cdk-cloudstoragegateway'
const expressSyncProps: ExpressSyncProps = { ... }

Properties

Name Type Description
bucketName string | @alicloud/ros-cdk-core.IResolvable Property bucketName: The name of the bucket.
bucketRegion string | @alicloud/ros-cdk-core.IResolvable Property bucketRegion: The region of the OSS bucket.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the express synchronization group.
bucketPrefix string | @alicloud/ros-cdk-core.IResolvable Property bucketPrefix: The prefix of the OSS bucket.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the express synchronization group.

bucketNameRequired

public readonly bucketName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property bucketName: The name of the bucket.

Note: - You can specify only one OSS bucket for a synchronization group. All data changes in the bucket are synchronized to your on-premises environment. - If you have not created a share for the OSS bucket, you must first create a share between the file gateway and the OSS bucket.


bucketRegionRequired

public readonly bucketRegion: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property bucketRegion: The region of the OSS bucket.


nameRequired

public readonly name: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property name: The name of the express synchronization group.

The name must be 1 to 128 characters in length and can contain letters, Chinese characters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter or a Chinese character.


bucketPrefixOptional

public readonly bucketPrefix: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property bucketPrefix: The prefix of the OSS bucket.


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property description: The description of the express synchronization group.

The description can be up to 255 characters in length.