Skip to content

SleepProps

Properties for defining a Sleep.

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

Initializer

import ros_cdk_ros
ros_cdk_ros.SleepProps(
  create_duration: typing.Union[typing.Union[int, float], IResolvable] = None,
  delete_duration: typing.Union[typing.Union[int, float], IResolvable] = None,
  triggers: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
  update_duration: typing.Union[typing.Union[int, float], IResolvable] = None,
  update_rollback_duration: typing.Union[typing.Union[int, float], IResolvable] = None
)

Properties

Name Type Description
create_duration typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property createDuration: The number of seconds to wait before resource creation.
delete_duration typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property deleteDuration: The number of seconds to wait before resource deletion.
triggers typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property triggers: Arbitrary map of values that, when changed, will run update or update rollback delays again.
update_duration typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property updateDuration: The number of seconds to wait before resource update.
update_rollback_duration typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property updateRollbackDuration: The number of seconds to wait before resource update rollback.

create_durationOptional

create_duration: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

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


delete_durationOptional

delete_duration: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

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


triggersOptional

triggers: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

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


update_durationOptional

update_duration: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], 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.


update_rollback_durationOptional

update_rollback_duration: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], 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.