Skip to content

SourceConfig

Source information.

Initializer

import { SourceConfig } from '@alicloud/ros-cdk-ossdeployment'
const sourceConfig: SourceConfig = { ... }

Properties

Name Type Description
bucket string | @alicloud/ros-cdk-core.IResolvable The name of source bucket to deploy from.
objectKey string | @alicloud/ros-cdk-core.IResolvable An object key in the source bucket to deploy from.
fileName string The name of source local file to deploy from.

bucketRequired

public readonly bucket: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

The name of source bucket to deploy from.


objectKeyRequired

public readonly objectKey: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

An object key in the source bucket to deploy from.


fileNameOptional

public readonly fileName: string;
  • Type: string

The name of source local file to deploy from.


Classes