VaultLockState constructor

const VaultLockState({
  1. Input<bool?>? completeLock,
  2. Input<bool?>? ignoreDeletionError,
  3. Input<String?>? policy,
  4. Input<String?>? region,
  5. Input<String?>? vaultName,
})

Creates a new VaultLockState. completeLock Boolean whether to permanently apply this Glacier Lock Policy. Once completed, this cannot be undone. If set to false, the Glacier Lock Policy remains in a testing mode for 24 hours. After that time, the Glacier Lock Policy is automatically removed by Glacier and the this provider resource will show as needing recreation. Changing this from false to true will show as resource recreation, which is expected. Changing this from true to false is not possible unless the Glacier Vault is recreated at the same time. ignoreDeletionError Allow this provider to ignore the error returned when attempting to delete the Glacier Lock Policy. This can be used to delete or recreate the Glacier Vault via this provider, for example, if the Glacier Vault Lock policy permits that action. This should only be used in conjunction with completeLock being set to true. policy JSON string containing the IAM policy to apply as the Glacier Vault Lock policy. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. vaultName The name of the Glacier Vault.

Implementation

const VaultLockState({
  this.completeLock,
  this.ignoreDeletionError,
  this.policy,
  this.region,
  this.vaultName,
});