Skip to content

AccountPasswordPolicy

Source: src/AWS/IAM/AccountPasswordPolicy.ts

The singleton IAM account password policy.

AccountPasswordPolicy manages the account-wide password requirements that apply to IAM users with console passwords.

const policy = yield* AccountPasswordPolicy("PasswordPolicy", {
MinimumPasswordLength: 16,
RequireSymbols: true,
RequireNumbers: true,
RequireUppercaseCharacters: true,
RequireLowercaseCharacters: true,
AllowUsersToChangePassword: true,
});