ALIYUN::NAS::DataFlow is used to create a data flow between a Cloud Parallel File Storage (CPFS) file system and an Object Storage Service (OSS) bucket.
Syntax
{
"Type": "ALIYUN::NAS::DataFlow",
"Properties": {
"FsetId": String,
"SourceStorage": String,
"Description": String,
"SourceSecurityType": String,
"FileSystemId": String,
"Throughput": Integer,
"AutoRefreshs": List,
"AutoRefreshPolicy": String,
"AutoRefreshInterval": Integer
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
FsetId | String | Yes | No | The fileset ID. | None. |
SourceStorage | String | Yes | No | The access path of the OSS bucket. | Value format: Description of the value format:
Note The OSS bucket must be an existing bucket in the specified region. |
Description | String | No | Yes | The description of the data flow. | The following limits apply:
|
SourceSecurityType | String | No | No | The security mechanism type of the OSS bucket. | This property must be specified when the OSS bucket is accessed with a security mechanism. Valid values:
|
FileSystemId | String | Yes | No | The ID of the file system. | None. |
Throughput | Integer | Yes | Yes | The maximum transmission bandwidth of the data flow. | Unit: MB/s. Valid values:
Note The transmission bandwidth of the data flow must be less than the I/O bandwidth of the file system. |
AutoRefreshs | List | No | No | The automatic update configurations. | For more information, see AutoRefreshs property. |
AutoRefreshPolicy | String | No | No | The automatic update policy. | CPFS imports updated data in the OSS bucket to the CPFS file system based on the policy. Valid values:
|
AutoRefreshInterval | Integer | No | No | The interval at which the automatic update operation is performed. | CPFS checks whether updated data exists in the directory at the interval. If updated data exists, CPFS automatically imports the updated data. Unit: minutes. Valid values: 5 to 525600. Default value: 10. |
AutoRefreshs syntax
"AutoRefreshs": [
{
"RefreshPath": String
}
]
AutoRefreshs property
Property | Type | Required | Editable | Description | Constraint |
RefreshPath | String | Yes | No | The automatic update directory. | CPFS registers the data change events of the OSS bucket and checks whether updated data exists in the directory. If updated data exists, CPFS automatically imports the updated data. This property is empty by default. If you leave this property empty, CPFS does not automatically import updated data in the OSS bucket to the CPFS file system. You must import the updated data by running a manual task. The following limits apply:
|
Return values
Fn::GetAtt
FileSystemId: the ID of the file system.
DataFlowId: the ID of the data flow.