Skip to content

SleepProps

Properties for defining a Sleep.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkros"
&alicloudroscdkros.SleepProps {
    CreateDuration: interface{},
    DeleteDuration: interface{},
    Triggers: interface{},
    UpdateDuration: interface{},
    UpdateRollbackDuration: interface{},
}

Properties

Name Type Description
CreateDuration interface{} Property createDuration: The number of seconds to wait before resource creation.
DeleteDuration interface{} Property deleteDuration: The number of seconds to wait before resource deletion.
Triggers interface{} Property triggers: Arbitrary map of values that, when changed, will run update or update rollback delays again.
UpdateDuration interface{} Property updateDuration: The number of seconds to wait before resource update.
UpdateRollbackDuration interface{} Property updateRollbackDuration: The number of seconds to wait before resource update rollback.

CreateDurationOptional

CreateDuration interface{}
  • Type: interface{}

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


DeleteDurationOptional

DeleteDuration interface{}
  • Type: interface{}

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


TriggersOptional

Triggers interface{}
  • Type: interface{}

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


UpdateDurationOptional

UpdateDuration interface{}
  • Type: interface{}

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

UpdateRollbackDuration interface{}
  • Type: interface{}

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

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