Interface RemovalPolicyOptions

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:33:56.402Z") @Stability(Stable) public interface RemovalPolicyOptions extends

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 RemovalPolicyOptions removalPolicyOptions = RemovalPolicyOptions.builder()
  • Method Details

    • getApplyToUpdateReplacePolicy

      @Stability(Stable) @Nullable default Boolean getApplyToUpdateReplacePolicy()
      Apply the same deletion policy to the resource's "UpdateReplacePolicy".

      Default: true

    • getDefaultValue

      @Stability(Stable) @Nullable default RemovalPolicy getDefaultValue()
      The default policy to apply in case the removal policy is not defined.

      Default: - Default value is resource specific. To determine the default value for a resource, please consult that specific resource's documentation.

    • builder

      @Stability(Stable) static RemovalPolicyOptions.Builder builder()
      a RemovalPolicyOptions.Builder of RemovalPolicyOptions