Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

aws:sleep – Delay an automation

Focus mode
aws:sleep – Delay an automation - AWS Systems Manager

Delays an automation for a specified amount of time. This action uses the International Organization for Standardization (ISO) 8601 date and time format. For more information about this date and time format, see ISO 8601.

Input

You can delay an automation for a specified duration.

YAML
name: sleep action: aws:sleep inputs: Duration: PT10M
JSON
{ "name":"sleep", "action":"aws:sleep", "inputs":{ "Duration":"PT10M" } }
name: sleep action: aws:sleep inputs: Duration: PT10M

You can also delay an automation until a specified date and time. If the specified date and time has passed, the action proceeds immediately.

YAML
name: sleep action: aws:sleep inputs: Timestamp: '2020-01-01T01:00:00Z'
JSON
{ "name": "sleep", "action": "aws:sleep", "inputs": { "Timestamp": "2020-01-01T01:00:00Z" } }
name: sleep action: aws:sleep inputs: Timestamp: '2020-01-01T01:00:00Z'
Note

Automation supports a maximum delay of 604799 seconds (7 days).

Duration

An ISO 8601 duration. You can't specify a negative duration.

Type: String

Required: No

Timestamp

An ISO 8601 timestamp. If you don't specify a value for this parameter, then you must specify a value for the Duration parameter.

Type: String

Required: No

Output
None

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.