Script
[Custom snapshot policies that target instances only] Information about pre and/or post scripts for a snapshot lifecycle policy that targets instances. For more information, see Automating application-consistent snapshots with pre and post scripts.
Types
Properties
Indicates whether Amazon Data Lifecycle Manager should default to crash-consistent snapshots if the pre script fails.
The SSM document that includes the pre and/or post scripts to run.
Indicates the service used to execute the pre and/or post scripts.
Specifies a timeout period, in seconds, after which Amazon Data Lifecycle Manager fails the script run attempt if it has not completed. If a script does not complete within its timeout period, Amazon Data Lifecycle Manager fails the attempt. The timeout period applies to the pre and post scripts individually.
Specifies the number of times Amazon Data Lifecycle Manager should retry scripts that fail.
Indicate which scripts Amazon Data Lifecycle Manager should run on target instances. Pre scripts run before Amazon Data Lifecycle Manager initiates snapshot creation. Post scripts run after Amazon Data Lifecycle Manager initiates snapshot creation.