Skip to content

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.

regionOptional

public readonly region: string;
  • Type: string
  • Default: Current region

The region where this asset will need to be published.


bucketNameRequired

public readonly bucketName: string;
  • Type: string

The name of the bucket.


objectKeyRequired

public readonly objectKey: string;
  • Type: string

The destination object key.