Interface CfnLifecyclePolicy.ScriptProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLifecyclePolicy.ScriptProperty.Jsii$Proxy
Enclosing class:
CfnLifecyclePolicy

@Stability(Stable) public static interface CfnLifecyclePolicy.ScriptProperty extends software.amazon.jsii.JsiiSerializable
[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 .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.dlm.*;
 ScriptProperty scriptProperty = ScriptProperty.builder()
         .executeOperationOnScriptFailure(false)
         .executionHandler("executionHandler")
         .executionHandlerService("executionHandlerService")
         .executionTimeout(123)
         .maximumRetryCount(123)
         .stages(List.of("stages"))
         .build();
 

See Also: