@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.309Z") @Stability(value=Experimental) public interface PasswordPolicy extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
PasswordPolicy.Builder
A builder for
PasswordPolicy |
static class |
PasswordPolicy.Jsii$Proxy
An implementation for
PasswordPolicy |
Modifier and Type | Method and Description |
---|---|
static PasswordPolicy.Builder |
builder() |
default Number |
getMinLength()
(experimental) Minimum length required for a user's password.
|
default Boolean |
getRequireDigits()
(experimental) Whether the user is required to have digits in their password.
|
default Boolean |
getRequireLowercase()
(experimental) Whether the user is required to have lowercase characters in their password.
|
default Boolean |
getRequireSymbols()
(experimental) Whether the user is required to have symbols in their password.
|
default Boolean |
getRequireUppercase()
(experimental) Whether the user is required to have uppercase characters in their password.
|
default Duration |
getTempPasswordValidity()
(experimental) The length of time the temporary password generated by an admin is valid.
|
@Stability(value=Experimental) @Nullable default Number getMinLength()
Default: 8
@Stability(value=Experimental) @Nullable default Boolean getRequireDigits()
Default: true
@Stability(value=Experimental) @Nullable default Boolean getRequireLowercase()
Default: true
@Stability(value=Experimental) @Nullable default Boolean getRequireSymbols()
Default: true
@Stability(value=Experimental) @Nullable default Boolean getRequireUppercase()
Default: true
@Stability(value=Experimental) @Nullable default Duration getTempPasswordValidity()
This must be provided as whole days, like Duration.days(3) or Duration.hours(48). Fractional days, such as Duration.hours(20), will generate an error.
Default: Duration.days(7)
@Stability(value=Experimental) static PasswordPolicy.Builder builder()
PasswordPolicy.Builder
of PasswordPolicy
Copyright © 2021. All rights reserved.