Class GetSecretVersionArgs


  • public final class GetSecretVersionArgs
    extends com.pulumi.resources.InvokeArgs
    • Method Detail

      • secretId

        public com.pulumi.core.Output<java.lang.String> secretId()
        Returns:
        Specifies the secret containing the version that you want to retrieve. You can specify either the ARN or the friendly name of the secret.
      • versionId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> versionId()
        Returns:
        Specifies the unique identifier of the version of the secret that you want to retrieve. Overrides `version_stage`.
      • versionStage

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> versionStage()
        Returns:
        Specifies the secret version that you want to retrieve by the staging label attached to the version. Defaults to `AWSCURRENT`.