| Package | Description |
|---|---|
| com.amazonaws.services.dlm.model |
| Modifier and Type | Method and Description |
|---|---|
Script |
Script.clone() |
Script |
Script.withExecuteOperationOnScriptFailure(Boolean executeOperationOnScriptFailure)
Indicates whether Amazon Data Lifecycle Manager should default to crash-consistent snapshots if the pre script
fails.
|
Script |
Script.withExecutionHandler(String executionHandler)
The SSM document that includes the pre and/or post scripts to run.
|
Script |
Script.withExecutionHandlerService(ExecutionHandlerServiceValues executionHandlerService)
Indicates the service used to execute the pre and/or post scripts.
|
Script |
Script.withExecutionHandlerService(String executionHandlerService)
Indicates the service used to execute the pre and/or post scripts.
|
Script |
Script.withExecutionTimeout(Integer executionTimeout)
Specifies a timeout period, in seconds, after which Amazon Data Lifecycle Manager fails the script run attempt if
it has not completed.
|
Script |
Script.withMaximumRetryCount(Integer maximumRetryCount)
Specifies the number of times Amazon Data Lifecycle Manager should retry scripts that fail.
|
Script |
Script.withStages(Collection<String> stages)
Indicate which scripts Amazon Data Lifecycle Manager should run on target instances.
|
Script |
Script.withStages(StageValues... stages)
Indicate which scripts Amazon Data Lifecycle Manager should run on target instances.
|
Script |
Script.withStages(String... stages)
Indicate which scripts Amazon Data Lifecycle Manager should run on target instances.
|
| Modifier and Type | Method and Description |
|---|---|
List<Script> |
CreateRule.getScripts()
[Custom snapshot policies that target instances only] Specifies pre and/or post scripts for a snapshot
lifecycle policy that targets instances.
|
| Modifier and Type | Method and Description |
|---|---|
CreateRule |
CreateRule.withScripts(Script... scripts)
[Custom snapshot policies that target instances only] Specifies pre and/or post scripts for a snapshot
lifecycle policy that targets instances.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CreateRule.setScripts(Collection<Script> scripts)
[Custom snapshot policies that target instances only] Specifies pre and/or post scripts for a snapshot
lifecycle policy that targets instances.
|
CreateRule |
CreateRule.withScripts(Collection<Script> scripts)
[Custom snapshot policies that target instances only] Specifies pre and/or post scripts for a snapshot
lifecycle policy that targets instances.
|
Copyright © 2023. All rights reserved.