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< ? versionStages})String> ?> -
Creates a new SecretVersionState.
arn(Deprecated) ARN of the secret. UsesecretArninstead.hasSecretStringWoWhether a write-only secret string value is set.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.secretArnARN of the secret.secretBinaryBinary data that you want to encrypt and store in this version of the secret. This is required ifsecretStringorsecretStringWois not set. Needs to be encoded to base64.secretIdSecret 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.secretStringText data that you want to encrypt and store in this version of the secret. This is required ifsecretBinaryorsecretStringWois not set.secretStringWoNOTE: This field is write-only and its value will not be updated in state as part of read operations.secretStringWoVersionVersion identifier that works together withsecretStringWoto trigger an update. Increment this value when an update tosecretStringWois required.versionIdUnique identifier of the version of the secret.versionStagesList 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 labelAWSCURRENTto this new version on creation.const -
SecretVersionState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
(Deprecated) ARN of the secret. Use
secretArninstead.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
secretStringorsecretStringWois 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
secretBinaryorsecretStringWois 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
secretBinaryorsecretStringis not set.final -
secretStringWoVersion
→ Input<
int?> ? -
Version identifier that works together with
secretStringWoto trigger an update. Increment this value when an update tosecretStringWois 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
AWSCURRENTto 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