GetSecretVersionPlainArgs

data class GetSecretVersionPlainArgs(val secretId: String, val versionId: String? = null, val versionStage: String? = null) : ConvertibleToJava<GetSecretVersionPlainArgs>

A collection of arguments for invoking getSecretVersion.

Constructors

Link copied to clipboard
constructor(secretId: String, versionId: String? = null, versionStage: String? = null)

Properties

Link copied to clipboard

Specifies the secret containing the version that you want to retrieve. You can specify either the ARN or the friendly name of the secret.

Link copied to clipboard
val versionId: String? = null

Specifies the unique identifier of the version of the secret that you want to retrieve. Overrides version_stage.

Link copied to clipboard
val versionStage: String? = null

Specifies the secret version that you want to retrieve by the staging label attached to the version. Defaults to AWSCURRENT.

Functions

Link copied to clipboard
open override fun toJava(): GetSecretVersionPlainArgs