FileAssetLocation
The location of the published file asset.
This is where the asset can be consumed at runtime.
Initializer
import { FileAssetLocation } from '@alicloud/ros-cdk-core'
const fileAssetLocation: FileAssetLocation = { ... }
Properties
Name | Type | Description |
---|---|---|
bucketName |
string |
The name of the OSS bucket. |
httpUrl |
string |
The HTTP URL of this asset on OSS. |
objectKey |
string |
The path of OSS object. |
region |
string |
The region of the OSS bucket. |
bucketName
Required
public readonly bucketName: string;
- Type: string
The name of the OSS bucket.
httpUrl
Required
public readonly httpUrl: string;
- Type: string
The HTTP URL of this asset on OSS.
This value suitable for inclusion in a ROS template, and may be an encoded token.
Example value: https://${bucketName}.oss-${region}.aliyuncs.com/${objectKey}
objectKey
Required
public readonly objectKey: string;
- Type: string
The path of OSS object.
region
Optional
public readonly region: string;
- Type: string
The region of the OSS bucket.