FileDestination
Where in OSS bucket a file asset needs to be published.
Initializer
import { FileDestination } from '@alicloud/ros-cdk-assembly-schema'
const fileDestination: FileDestination = { ... }
Properties
Name | Type | Description |
---|---|---|
region |
string |
The region where this asset will need to be published. |
bucketName |
string |
The name of the bucket. |
objectKey |
string |
The destination object key. |
region
Optional
public readonly region: string;
- Type: string
- Default: Current region
The region where this asset will need to be published.
bucketName
Required
public readonly bucketName: string;
- Type: string
The name of the bucket.
objectKey
Required
public readonly objectKey: string;
- Type: string
The destination object key.