VaultLockArgs class
The set of arguments for VaultLock. The set of arguments for VaultLock.
Constructors
-
VaultLockArgs({required Input<
bool> completeLock, Input<bool?> ? ignoreDeletionError, required Input<String> policy, Input<String?> ? region, required Input<String> vaultName}) -
Creates a new VaultLockArgs.
completeLockBoolean whether to permanently apply this Glacier Lock Policy. Once completed, this cannot be undone. If set tofalse, 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 fromfalsetotruewill show as resource recreation, which is expected. Changing this fromtruetofalseis not possible unless the Glacier Vault is recreated at the same time.ignoreDeletionErrorAllow 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 withcompleteLockbeing set totrue.policyJSON string containing the IAM policy to apply as the Glacier Vault Lock policy.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.vaultNameThe name of the Glacier Vault.const -
VaultLockArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
completeLock
→ Input<
bool> -
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 fromfalsetotruewill show as resource recreation, which is expected. Changing this fromtruetofalseis not possible unless the Glacier Vault is recreated at the same time.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
ignoreDeletionError
→ Input<
bool?> ? -
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
completeLockbeing set totrue.final -
policy
→ Input<
String> -
JSON string containing the IAM policy to apply as the Glacier Vault Lock policy.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
vaultName
→ Input<
String> -
The name of the Glacier Vault.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited