The ALIYUN::CloudStorageGateway::ExpressSync resource creates an ExpressSync.
Syntax
{
"Type": "ALIYUN::CloudStorageGateway::ExpressSync",
"Properties": {
"BucketName": String,
"BucketRegion": String,
"Name": String,
"BucketPrefix": String,
"Description": String
}
}
Properties
|
Parameter |
Type |
Required |
Updatable |
Description |
Constraints |
|
BucketName |
String |
Yes |
No |
The name of the OSS bucket. |
None |
|
BucketRegion |
String |
Yes |
No |
The region of the OSS bucket. |
None |
|
Name |
String |
Yes |
No |
The name of the ExpressSync. |
None |
|
BucketPrefix |
String |
No |
No |
The prefix of the OSS bucket. |
None |
|
Description |
String |
No |
No |
The description of the ExpressSync. |
None |
Return values
Fn::GetAtt
ExpressSyncId: The ID of the ExpressSync.
Examples
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"
]
}
}
}
}