@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:38.288Z") @Stability(value=Experimental) public interface SecretStringGenerator extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
SecretStringGenerator.Builder
A builder for
SecretStringGenerator |
static class |
SecretStringGenerator.Jsii$Proxy
An implementation for
SecretStringGenerator |
| Modifier and Type | Method and Description |
|---|---|
static SecretStringGenerator.Builder |
builder() |
default String |
getExcludeCharacters()
(experimental) A string that includes characters that shouldn't be included in the generated password.
|
default Boolean |
getExcludeLowercase()
(experimental) Specifies that the generated password shouldn't include lowercase letters.
|
default Boolean |
getExcludeNumbers()
(experimental) Specifies that the generated password shouldn't include digits.
|
default Boolean |
getExcludePunctuation()
(experimental) Specifies that the generated password shouldn't include punctuation characters.
|
default Boolean |
getExcludeUppercase()
(experimental) Specifies that the generated password shouldn't include uppercase letters.
|
default String |
getGenerateStringKey()
(experimental) The JSON key name that's used to add the generated password to the JSON structure specified by the ``secretStringTemplate`` parameter.
|
default Boolean |
getIncludeSpace()
(experimental) Specifies that the generated password can include the space character.
|
default Number |
getPasswordLength()
(experimental) The desired length of the generated password.
|
default Boolean |
getRequireEachIncludedType()
(experimental) Specifies whether the generated password must include at least one of every allowed character type.
|
default String |
getSecretStringTemplate()
(experimental) A properly structured JSON string that the generated password can be added to.
|
@Stability(value=Experimental) @Nullable default String getExcludeCharacters()
The string can be a minimum
of 0 and a maximum of 4096 characters long.
Default: no exclusions
@Stability(value=Experimental) @Nullable default Boolean getExcludeLowercase()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getExcludeNumbers()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getExcludePunctuation()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getExcludeUppercase()
Default: false
@Stability(value=Experimental) @Nullable default String getGenerateStringKey()
If you specify generateStringKey then secretStringTemplate
must be also be specified.
@Stability(value=Experimental) @Nullable default Boolean getIncludeSpace()
Default: false
@Stability(value=Experimental) @Nullable default Number getPasswordLength()
Default: 32
@Stability(value=Experimental) @Nullable default Boolean getRequireEachIncludedType()
Default: true
@Stability(value=Experimental) @Nullable default String getSecretStringTemplate()
The generateStringKey is
combined with the generated random string and inserted into the JSON structure that's specified by this parameter.
The merged JSON string is returned as the completed SecretString of the secret. If you specify secretStringTemplate
then generateStringKey must be also be specified.
@Stability(value=Experimental) static SecretStringGenerator.Builder builder()
SecretStringGenerator.Builder of SecretStringGeneratorCopyright © 2021. All rights reserved.