@Generated(value="jsii-pacmak/1.38.0 (build 717bef2)", date="2021-10-08T18:43:53.148Z") @Stability(value=Stable) public interface SecretsManagerSecretOptions extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
SecretsManagerSecretOptions.Builder
A builder for
SecretsManagerSecretOptions |
static class |
SecretsManagerSecretOptions.Jsii$Proxy
An implementation for
SecretsManagerSecretOptions |
Modifier and Type | Method and Description |
---|---|
static SecretsManagerSecretOptions.Builder |
builder() |
default String |
getJsonField()
The key of a JSON field to retrieve.
|
default String |
getVersionId()
Specifies the unique identifier of the version of the secret you want to use.
|
default String |
getVersionStage()
Specifies the secret version that you want to retrieve by the staging label attached to the version.
|
@Stability(value=Stable) @Nullable default String getJsonField()
This can only be used if the secret stores a JSON object.
Default: - returns all the content stored in the Secrets Manager secret.
@Stability(value=Stable) @Nullable default String getVersionId()
Can specify at most one of versionId
and versionStage
.
Default: AWSCURRENT
@Stability(value=Stable) @Nullable default String getVersionStage()
Can specify at most one of versionId
and versionStage
.
Default: AWSCURRENT
@Stability(value=Stable) static SecretsManagerSecretOptions.Builder builder()
Copyright © 2021. All rights reserved.