Skip to content

Latest commit

 

History

History
61 lines (36 loc) · 1.69 KB

File metadata and controls

61 lines (36 loc) · 1.69 KB

Community::CloudFormation::Delay

Resource that waits for a specified time period.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{
    "Type" : "Community::CloudFormation::Delay",
    "Properties" : {
        "Duration" : String
    }
}

YAML

Type: Community::CloudFormation::Delay
Properties:
    Duration: String

Properties

Duration

The length of time that AWS CloudFormation should wait. The maximum time that you can specify is 12 hours. The value must be in ISO8601 duration format, in the form: "PT#H#M#S", where each # is the number of hours, minutes, and seconds, respectively.

Required: No

Type: String

Minimum: 4

Maximum: 15

Pattern: ^PT(?=[0-9])([0-1]?[0-9]H)?([0-9]{1,3}M)?([0-9]{1,5}S)?$

Update requires: No interruption

Return Values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the ResourceId.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

ResourceId

AWS CloudFormation generates a unique identifier for the delay resource.