AccountPasswordPolicyState constructor
- Input<
bool?> ? allowUsersToChangePassword, - Input<
bool?> ? expirePasswords, - Input<
bool?> ? hardExpiry, - Input<
int?> ? maxPasswordAge, - Input<
int?> ? minimumPasswordLength, - Input<
int?> ? passwordReusePrevention, - Input<
bool?> ? requireLowercaseCharacters, - Input<
bool?> ? requireNumbers, - Input<
bool?> ? requireSymbols, - Input<
bool?> ? requireUppercaseCharacters,
Creates a new AccountPasswordPolicyState.
allowUsersToChangePassword Whether to allow users to change their own password
expirePasswords Indicates whether passwords in the account expire. Returns true if maxPasswordAge contains a value greater than 0. Returns false if it is 0 or not present.
hardExpiry Whether users are prevented from setting a new password after their password has expired (i.e., require administrator reset)
maxPasswordAge The number of days that an user password is valid.
minimumPasswordLength Minimum length to require for user passwords.
passwordReusePrevention The number of previous passwords that users are prevented from reusing.
requireLowercaseCharacters Whether to require lowercase characters for user passwords.
requireNumbers Whether to require numbers for user passwords.
requireSymbols Whether to require symbols for user passwords.
requireUppercaseCharacters Whether to require uppercase characters for user passwords.
Implementation
const AccountPasswordPolicyState({
this.allowUsersToChangePassword,
this.expirePasswords,
this.hardExpiry,
this.maxPasswordAge,
this.minimumPasswordLength,
this.passwordReusePrevention,
this.requireLowercaseCharacters,
this.requireNumbers,
this.requireSymbols,
this.requireUppercaseCharacters,
});