DeploymentOptions interface

Configuration options for a function that applies during function deployment.

Signature:

exportinterfaceDeploymentOptionsextendsRuntimeOptions

Extends:RuntimeOptions

Properties

PropertyTypeDescription
omitboolean | Expression<boolean>If true, do not deploy or emulate this function.
regionsArray<(typeof SUPPORTED_REGIONS)[number] | string | Expression<string> | ResetValue>Regions where function should be deployed.
scheduleScheduleSchedule 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<(typeofSUPPORTED_REGIONS)[number]|string|Expression<string>|ResetValue>;

DeploymentOptions.schedule

Schedule for the scheduled function.

Signature:

schedule?:Schedule;