Skip to main content

Initializer

import cdktn

cdktn.TerraformResourceLifecycle(
  create_before_destroy: bool = None,
  ignore_changes: typing.List[str] | str = None,
  postcondition: typing.List[Postcondition] = None,
  precondition: typing.List[Precondition] = None,
  prevent_destroy: bool = None,
  replace_triggered_by: typing.List[str | ITerraformDependable] = None
)

Properties

NameTypeDescription
create_before_destroyboolNo description.
ignore_changestyping.List[str] | strNo description.
postconditiontyping.List[Postcondition]No description.
preconditiontyping.List[Precondition]No description.
prevent_destroyboolNo description.
replace_triggered_bytyping.List[str | ITerraformDependable]No description.

create_before_destroyOptional

create_before_destroy: bool
  • Type: bool

ignore_changesOptional

ignore_changes: typing.List[str] | str
  • Type: typing.List[str] | str

postconditionOptional

postcondition: typing.List[Postcondition]

preconditionOptional

precondition: typing.List[Precondition]

prevent_destroyOptional

prevent_destroy: bool
  • Type: bool

replace_triggered_byOptional

replace_triggered_by: typing.List[str | ITerraformDependable]