@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:48.019Z") @Stability(value=Experimental) public interface SecretAttributes extends software.amazon.jsii.JsiiSerializable
One ARN format (secretArn, secretCompleteArn, secretPartialArn) must be provided.
| Modifier and Type | Interface and Description |
|---|---|
static class |
SecretAttributes.Builder
A builder for
SecretAttributes |
static class |
SecretAttributes.Jsii$Proxy
An implementation for
SecretAttributes |
| Modifier and Type | Method and Description |
|---|---|
static SecretAttributes.Builder |
builder() |
default IKey |
getEncryptionKey()
(experimental) The encryption key that is used to encrypt the secret, unless the default SecretsManager key is used.
|
default String |
getSecretCompleteArn()
(experimental) The complete ARN of the secret in SecretsManager.
|
default String |
getSecretPartialArn()
(experimental) The partial ARN of the secret in SecretsManager.
|
@Stability(value=Experimental) @Nullable default IKey getEncryptionKey()
@Stability(value=Experimental) @Nullable default String getSecretCompleteArn()
This is the ARN including the Secrets Manager 6-character suffix.
Cannot be used with secretArn or secretPartialArn.
@Stability(value=Experimental) @Nullable default String getSecretPartialArn()
This is the ARN without the Secrets Manager 6-character suffix.
Cannot be used with secretArn or secretCompleteArn.
@Stability(value=Experimental) static SecretAttributes.Builder builder()
SecretAttributes.Builder of SecretAttributesCopyright © 2021. All rights reserved.