Interface SecretVersionInfo

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
SecretVersionInfo.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:03.465Z") @Stability(Stable) public interface SecretVersionInfo extends software.amazon.jsii.JsiiSerializable
Specify the secret's version id or version stage.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.batch.*;
 SecretVersionInfo secretVersionInfo = SecretVersionInfo.builder()
         .versionId("versionId")
         .versionStage("versionStage")
         .build();
 
  • Method Details

    • getVersionId

      @Stability(Stable) @Nullable default String getVersionId()
      version id of the secret.

      Default: - use default version id

    • getVersionStage

      @Stability(Stable) @Nullable default String getVersionStage()
      version stage of the secret.

      Default: - use default version stage

    • builder

      @Stability(Stable) static SecretVersionInfo.Builder builder()
      Returns:
      a SecretVersionInfo.Builder of SecretVersionInfo