Interface SecretVersionInfo
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SecretVersionInfo.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:15.521Z")
@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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSecretVersionInfostatic final classAn implementation forSecretVersionInfo -
Method Summary
Modifier and TypeMethodDescriptionstatic SecretVersionInfo.Builderbuilder()default Stringversion id of the secret.default Stringversion stage of the secret.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVersionId
version id of the secret.Default: - use default version id
-
getVersionStage
version stage of the secret.Default: - use default version stage
-
builder
- Returns:
- a
SecretVersionInfo.BuilderofSecretVersionInfo
-