LifecyclePolicyPolicyDetailsScheduleCreateRuleScripts constructor

const LifecyclePolicyPolicyDetailsScheduleCreateRuleScripts({
  1. Input<bool?>? executeOperationOnScriptFailure,
  2. required Input<String> executionHandler,
  3. Input<String?>? executionHandlerService,
  4. Input<int?>? executionTimeout,
  5. Input<int?>? maximumRetryCount,
  6. Input<List<String>?>? stages,
})

Creates a new LifecyclePolicyPolicyDetailsScheduleCreateRuleScripts. executeOperationOnScriptFailure Indicates whether Amazon Data Lifecycle Manager should default to crash-consistent snapshots if the pre script fails. The default is true. executionHandler The SSM document that includes the pre and/or post scripts to run. In case automating VSS backups, specify AWS_VSS_BACKUP. In case automating application-consistent snapshots for SAP HANA workloads, specify AWSSystemsManagerSAP-CreateDLMSnapshotForSAPHANA. If you are using a custom SSM document that you own, specify either the name or ARN of the SSM document. executionHandlerService Indicates the service used to execute the pre and/or post scripts. If using custom SSM documents or automating application-consistent snapshots of SAP HANA workloads, specify AWS_SYSTEMS_MANAGER. In case automating VSS Backups, omit this parameter. The default is AWS_SYSTEMS_MANAGER. executionTimeout Specifies a timeout period, in seconds, after which Amazon Data Lifecycle Manager fails the script run attempt if it has not completed. In case automating VSS Backups, omit this parameter. The default is 10. maximumRetryCount Specifies the number of times Amazon Data Lifecycle Manager should retry scripts that fail. Must be an integer between 0 and 3. The default is 0. stages List to 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. Valid values: PRE and POST. The default is PRE and POST

Implementation

const LifecyclePolicyPolicyDetailsScheduleCreateRuleScripts({
  this.executeOperationOnScriptFailure,
  required this.executionHandler,
  this.executionHandlerService,
  this.executionTimeout,
  this.maximumRetryCount,
  this.stages,
});