SecretVersionState class

Input properties used for looking up and filtering SecretVersion resources.

Constructors

SecretVersionState({Input<String?>? arn, Input<bool?>? hasSecretStringWo, Input<String?>? region, Input<String?>? secretArn, Input<String?>? secretBinary, Input<String?>? secretId, Input<String?>? secretString, Input<String?>? secretStringWo, Input<int?>? secretStringWoVersion, Input<String?>? versionId, Input<List<String>?>? versionStages})
Creates a new SecretVersionState. arn (Deprecated) ARN of the secret. Use secretArn instead. hasSecretStringWo Whether a write-only secret string value is set. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. secretArn ARN of the secret. 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. versionId Unique identifier of the version of the secret. 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
SecretVersionState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
(Deprecated) ARN of the secret. Use secretArn instead.
final
hashCode → int
The hash code for this object.
no setterinherited
hasSecretStringWo → Input<bool?>?
Whether a write-only secret string value is set.
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
secretArn → Input<String?>?
ARN of the secret.
final
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
versionId → Input<String?>?
Unique identifier of the version of the secret.
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