DeploymentOptions interface

Configuration options for a function that applies during function deployment.

Signature:

export interface DeploymentOptions extends RuntimeOptions 

Extends: RuntimeOptions

Properties

Property Type Description
omit boolean | Expression<boolean> If true, do not deploy or emulate this function.
regions Array<(typeof SUPPORTED_REGIONS)[number] | string | Expression<string> | ResetValue> Regions where function should be deployed.
schedule Schedule Schedule for the scheduled function.

DeploymentOptions.omit

If true, do not deploy or emulate this function.

Signature:

omit?: boolean | Expression<boolean>;

DeploymentOptions.regions

Regions where function should be deployed.

Signature:

regions?: Array<(typeof SUPPORTED_REGIONS)[number] | string | Expression<string> | ResetValue>;

DeploymentOptions.schedule

Schedule for the scheduled function.

Signature:

schedule?: Schedule;