Interface SecretVersionInfo

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

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-25T14:21:11.030Z") @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