Skip to content

FileAssetLocation

The location of the published file asset.

This is where the asset can be consumed at runtime.

Initializer

using AlibabaCloud.SDK.ROS.CDK.Core;
new FileAssetLocation {
    string BucketName,
    string HttpUrl,
    string ObjectKey,
    string Region = null
};

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

public string BucketName { get; set; }
  • Type: string

The name of the OSS bucket.


HttpUrlRequired

public string HttpUrl { get; set; }
  • 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

public string ObjectKey { get; set; }
  • Type: string

The path of OSS object.


RegionOptional

public string Region { get; set; }
  • Type: string

The region of the OSS bucket.