Skip to content

FileAssetLocation

The location of the published file asset.

This is where the asset can be consumed at runtime.

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore"
&alicloudroscdkcore.FileAssetLocation {
    BucketName: *string,
    HttpUrl: *string,
    ObjectKey: *string,
    Region: *string,
}

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.

BucketNameRequired

BucketName *string
  • Type: *string

The name of the OSS bucket.


HttpUrlRequired

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}


ObjectKeyRequired

ObjectKey *string
  • Type: *string

The path of OSS object.


RegionOptional

Region *string
  • Type: *string

The region of the OSS bucket.