deletionPolicy property

Input<String?>? deletionPolicy
final

(Optional) Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.

  • <a name="schema"></a>schema - (Optional) A JSON schema for the table.

~>NOTE: Because this field expects a JSON string, any changes to the string will create a diff, even if the JSON itself hasn't changed. If the API returns a different value for the same schema, e.g. it switched the order of values or replaced a field data type (STRUCT with RECORD, DECIMAL with NUMERIC, etc.), we currently cannot suppress the recurring diff this causes. As a workaround, we recommend using the schema as returned by the API.

~>NOTE: If you use externalDataConfiguration documented below and do not set external_data_configuration.connection_id, schemas must be specified with external_data_configuration.schema. Otherwise, schemas must be specified with this top-level field.

Implementation

final pulumi.Input<String?>? deletionPolicy;