aws-cdk-lib.aws_cognito.CfnUserPool.PoliciesProperty

interface PoliciesProperty

LanguageType name
.NETAmazon.CDK.AWS.Cognito.CfnUserPool.PoliciesProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnUserPool_PoliciesProperty
Javasoftware.amazon.awscdk.services.cognito.CfnUserPool.PoliciesProperty
Pythonaws_cdk.aws_cognito.CfnUserPool.PoliciesProperty
TypeScript aws-cdk-lib » aws_cognito » CfnUserPool » PoliciesProperty

The policy associated with a user pool.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const policiesProperty: cognito.CfnUserPool.PoliciesProperty = {
  passwordPolicy: {
    minimumLength: 123,
    requireLowercase: false,
    requireNumbers: false,
    requireSymbols: false,
    requireUppercase: false,
    temporaryPasswordValidityDays: 123,
  },
};

Properties

NameTypeDescription
passwordPolicy?IResolvable | PasswordPolicyPropertyThe password policy.

passwordPolicy?

Type: IResolvable | PasswordPolicyProperty (optional)

The password policy.