ExpressSyncProps
Properties for defining a ExpressSync.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudstoragegateway-expresssync
Initializer
import ros_cdk_cloudstoragegateway
ros_cdk_cloudstoragegateway.ExpressSyncProps(
bucket_name: typing.Union[str, IResolvable],
bucket_region: typing.Union[str, IResolvable],
name: typing.Union[str, IResolvable],
bucket_prefix: typing.Union[str, IResolvable] = None,
description: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
bucket_name | typing.Union[str, ros_cdk_core.IResolvable] | Property bucketName: The name of the bucket. |
bucket_region | typing.Union[str, ros_cdk_core.IResolvable] | Property bucketRegion: The region of the OSS bucket. |
name | typing.Union[str, ros_cdk_core.IResolvable] | Property name: The name of the express synchronization group. |
bucket_prefix | typing.Union[str, ros_cdk_core.IResolvable] | Property bucketPrefix: The prefix of the OSS bucket. |
description | typing.Union[str, ros_cdk_core.IResolvable] | Property description: The description of the express synchronization group. |
bucket_nameRequired
bucket_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
bucket_regionRequired
bucket_region: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property bucketRegion: The region of the OSS bucket.
nameRequired
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
bucket_prefixOptional
bucket_prefix: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property bucketPrefix: The prefix of the OSS bucket.
descriptionOptional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: The description of the express synchronization group.
The description can be up to 255 characters in length.