Creates 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: Format details:
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 for accessing the OSS bucket. |
Required when the OSS bucket is accessed by using a security mechanism. Valid values:
|
|
FileSystemId |
String |
Yes |
No |
The ID of the file system. |
None. |
|
Throughput |
Integer |
Yes |
Yes |
The maximum data flow bandwidth. |
Unit: MB/s. Valid values:
Note
The data flow bandwidth 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. |
Specifies how CPFS imports updated data from the OSS bucket to the CPFS file system. Valid values:
|
|
AutoRefreshInterval |
Integer |
No |
No |
The interval at which automatic updates are performed. |
At each interval, CPFS checks the directory for updated data and automatically imports any changes. 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 monitors data change events in the OSS bucket and checks this directory for updates. If updates exist, CPFS automatically imports them. Empty by default. If left empty, CPFS does not automatically import updated data from the OSS bucket. You must run a manual task to import the data. The following limits apply:
|
Return values
Fn::GetAtt
-
FileSystemId: the ID of the file system.
-
DataFlowId: the ID of the data flow.