SecretVersionState constructor

const SecretVersionState({
  1. Input<String?>? arn,
  2. Input<bool?>? hasSecretStringWo,
  3. Input<String?>? region,
  4. Input<String?>? secretArn,
  5. Input<String?>? secretBinary,
  6. Input<String?>? secretId,
  7. Input<String?>? secretString,
  8. Input<String?>? secretStringWo,
  9. Input<int?>? secretStringWoVersion,
  10. Input<String?>? versionId,
  11. 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.

Implementation

const SecretVersionState({
  this.arn,
  this.hasSecretStringWo,
  this.region,
  this.secretArn,
  this.secretBinary,
  this.secretId,
  this.secretString,
  this.secretStringWo,
  this.secretStringWoVersion,
  this.versionId,
  this.versionStages,
});