SecretVersionArgs class

The set of arguments for SecretVersion. The set of arguments for SecretVersion.

Constructors

SecretVersionArgs({Input<String?>? region, Input<String?>? secretBinary, required Input<String> secretId, Input<String?>? secretString, Input<String?>? secretStringWo, Input<int?>? secretStringWoVersion, Input<List<String>?>? versionStages})
Creates a new SecretVersionArgs. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. secretBinary Binary data that you want to encrypt and store in this version of the secret. This is required if secretString or secretStringWo is not set. Needs to be encoded to base64. secretId Secret to which you want to add a new version. You can specify either the ARN or the friendly name of the secret. The secret must already exist. secretString Text data that you want to encrypt and store in this version of the secret. This is required if secretBinary or secretStringWo is not set. secretStringWo NOTE: This field is write-only and its value will not be updated in state as part of read operations. secretStringWoVersion Version identifier that works together with secretStringWo to trigger an update. Increment this value when an update to secretStringWo is required. versionStages List of staging labels that are attached to this version of the secret. A staging label must be unique to a single version of the secret. If you specify a staging label that's already associated with a different version of the same secret then that staging label is automatically removed from the other version and attached to this version. If you do not specify a value, then AWS Secrets Manager automatically moves the staging label AWSCURRENT to this new version on creation.
const
SecretVersionArgs.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
secretBinary → Input<String?>?
Binary data that you want to encrypt and store in this version of the secret. This is required if secretString or secretStringWo is not set. Needs to be encoded to base64.
final
secretId → Input<String>
Secret to which you want to add a new version. You can specify either the ARN or the friendly name of the secret. The secret must already exist.
final
secretString → Input<String?>?
Text data that you want to encrypt and store in this version of the secret. This is required if secretBinary or secretStringWo is not set.
final
secretStringWo → Input<String?>?
NOTE: This field is write-only and its value will not be updated in state as part of read operations. Text data that you want to encrypt and store in this version of the secret. This is required if secretBinary or secretString is not set.
final
secretStringWoVersion → Input<int?>?
Version identifier that works together with secretStringWo to trigger an update. Increment this value when an update to secretStringWo is required.
final
versionStages → Input<List<String>?>?
List of staging labels that are attached to this version of the secret. A staging label must be unique to a single version of the secret. If you specify a staging label that's already associated with a different version of the same secret then that staging label is automatically removed from the other version and attached to this version. If you do not specify a value, then AWS Secrets Manager automatically moves the staging label AWSCURRENT to this new version on creation.
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