Generates a temporary URL for accessing an Object Storage Service (OSS) object.
Action
ACS::OSS::GenerateUrl
Description
Generates a temporary URL of an Object Storage Service (OSS) object.
Syntax
Action: Generate temporary OSS Url
Properties:
regionId: String
bucketName: String
objectName: String
validTime: Number
isInternal: Boolean
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
bucketName |
The name of the OSS bucket. |
String |
Yes |
||
|
objectName |
The name of the OSS object. |
String |
Yes |
||
|
validTime |
The validity period of the temporary URL. Unit: seconds. |
Number |
No |
6000 |
|
|
isInternal |
Specifies whether to generate an internal endpoint URL. |
Boolean |
No |
False |
Output
|
Output item |
Description |
Type |
|
temporaryUrl |
The generated temporary URL of the OSS object. |
String |
References
For more information, see ACS::OSS::GenerateUrl.yml at GitHub.