interface PoliciesProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Cognito.CfnUserPool.PoliciesProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnUserPool_PoliciesProperty |
Java | software.amazon.awscdk.services.cognito.CfnUserPool.PoliciesProperty |
Python | aws_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,
passwordHistorySize: 123,
requireLowercase: false,
requireNumbers: false,
requireSymbols: false,
requireUppercase: false,
temporaryPasswordValidityDays: 123,
},
};
Properties
Name | Type | Description |
---|---|---|
password | IResolvable | Password | The password policy. |
passwordPolicy?
Type:
IResolvable
|
Password
(optional)
The password policy.