RemovalPolicyOptions

class aws_cdk.core.RemovalPolicyOptions(*, apply_to_update_replace_policy=None, default=None)

Bases: object

__init__(*, apply_to_update_replace_policy=None, default=None)
Parameters
  • apply_to_update_replace_policy (Optional[bool]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: true

  • default (Optional[RemovalPolicy]) – 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 resoure, please consult that specific resource’s documentation.

Attributes

apply_to_update_replace_policy

Apply the same deletion policy to the resource’s “UpdateReplacePolicy”.

default :default: true

Return type

Optional[bool]

default

The default policy to apply in case the removal policy is not defined.

default :default:

  • Default value is resource specific. To determine the default value for a resoure, please consult that specific resource’s documentation.

Return type

Optional[RemovalPolicy]