Skip to content
v2.275.0

LoginProfileProperty Struct ​

Creates a password for the specified user, giving the user the ability to access AWS services through the AWS Management Console .

For more information about managing passwords, see Managing Passwords in the IAM User Guide .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iam as iam } from 'aws-cdk-lib';
const loginProfileProperty: iam.CfnUser.LoginProfileProperty = {
  password: 'password',

  // the properties below are optional
  passwordResetRequired: false,
};

Properties ​

passwordstringpasswordstrpasswordStringPasswordstringPassword*stringrequired#
The user's password.
passwordResetRequiredoptionalboolean | IResolvablepassword_reset_requiredoptionaltyping.Union[bool, IResolvable]passwordResetRequiredoptionalBooleanPasswordResetRequiredoptionalboolPasswordResetRequiredoptionalinterface{}#
Specifies whether the user is required to set a new password on next sign-in.