Skip to content

IUploadMedia

Represents a UploadMedia.

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node for this construct.
Env AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment The environment this resource belongs to.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
AttrFileUrl object Attribute FileURL: The OSS URL of the file.
AttrMediaId object Attribute MediaId: The ID of the media asset.
AttrMediaUrl object Attribute MediaURL: The URL of the media asset.
AttrUploadAddress object Attribute UploadAddress: The upload URL.
AttrUploadAuth object Attribute UploadAuth: The upload credential.
Props UploadMediaProps No description.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node for this construct.


EnvRequired

public IResourceEnvironment Env { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


StackRequired

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


AttrFileUrlRequired

public object AttrFileUrl { get; }
  • Type: object

Attribute FileURL: The OSS URL of the file.

The URL does not contain the information used for authentication.


AttrMediaIdRequired

public object AttrMediaId { get; }
  • Type: object

Attribute MediaId: The ID of the media asset.


AttrMediaUrlRequired

public object AttrMediaUrl { get; }
  • Type: object

Attribute MediaURL: The URL of the media asset.

Note If a domain name for Alibaba Cloud CDN (CDN) is specified, a CDN URL is returned. Otherwise, an OSS URL is returned. If the HTTP status code 403 is returned when you access the URL from your browser, the URL authentication feature of ApsaraVideo VOD is enabled. To resolve this issue, disable URL authentication or generate an authentication signature.


AttrUploadAddressRequired

public object AttrUploadAddress { get; }
  • Type: object

Attribute UploadAddress: The upload URL.

Note The returned upload URL is a Base64-encoded URL. You must decode the Base64-encoded upload URL before you use an SDK or call an API operation to upload media files. You need to parse UploadAddress only if you use OSS SDK or call an OSS API operation to upload media files.


AttrUploadAuthRequired

public object AttrUploadAuth { get; }
  • Type: object

Attribute UploadAuth: The upload credential.

Note The returned upload credential is a Base64-encoded value. You must decode the Base64-encoded upload URL before you use an SDK or call an API operation to upload media files. You need to parse UploadAuth only if you use OSS SDK or call an OSS API operation to upload media files.


PropsRequired

public UploadMediaProps Props { get; }