Skip to content

SleepProps

Properties for defining a Sleep.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ros-sleep

Initializer

import { SleepProps } from '@alicloud/ros-cdk-ros'
const sleepProps: SleepProps = { ... }

Properties

Name Type Description
createDuration number | @alicloud/ros-cdk-core.IResolvable Property createDuration: The number of seconds to wait before resource creation.
deleteDuration number | @alicloud/ros-cdk-core.IResolvable Property deleteDuration: The number of seconds to wait before resource deletion.
triggers @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property triggers: Arbitrary map of values that, when changed, will run update or update rollback delays again.
updateDuration number | @alicloud/ros-cdk-core.IResolvable Property updateDuration: The number of seconds to wait before resource update.
updateRollbackDuration number | @alicloud/ros-cdk-core.IResolvable Property updateRollbackDuration: The number of seconds to wait before resource update rollback.

createDurationOptional

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

Property createDuration: The number of seconds to wait before resource creation.


deleteDurationOptional

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

Property deleteDuration: The number of seconds to wait before resource deletion.


triggersOptional

public readonly triggers: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property triggers: Arbitrary map of values that, when changed, will run update or update rollback delays again.


updateDurationOptional

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

Property updateDuration: The number of seconds to wait before resource update.

It only triggers when the property Triggers change and the status of stack is UPDATE_IN_PROGRESS.


updateRollbackDurationOptional

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

Property updateRollbackDuration: The number of seconds to wait before resource update rollback.

It only triggers when stack update failed and resource was updated.