ALIYUN::OSS::Directory is used to create a directory for a specified bucket.
Syntax
{
"Type": "ALIYUN::OSS::Directory",
"Properties": {
"BucketName": String,
"DeletionForce": Boolean,
"DirectoryName": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
BucketName | String | Yes | No | The bucket name. | None. |
DeletionForce | Boolean | No | Yes | Specifies whether to forcibly delete the relative object in the directory. | Valid values:
|
DirectoryName | String | Yes | No | The directory name. | Naming conventions:
|
Return values
Fn::GetAtt
BucketName: the bucket name.
DirectoryName: the directory name.