aws-cdk-lib.aws_iam.CfnUser.LoginProfileProperty

interface LoginProfileProperty

LanguageType name
.NETAmazon.CDK.AWS.IAM.CfnUser.LoginProfileProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiam#CfnUser_LoginProfileProperty
Javasoftware.amazon.awscdk.services.iam.CfnUser.LoginProfileProperty
Pythonaws_cdk.aws_iam.CfnUser.LoginProfileProperty
TypeScript aws-cdk-lib » aws_iam » CfnUser » LoginProfileProperty

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

// 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

NameTypeDescription
passwordstringThe user's password.
passwordResetRequired?boolean | IResolvableSpecifies whether the user is required to set a new password on next sign-in.

password

Type: string

The user's password.


passwordResetRequired?

Type: boolean | IResolvable (optional)

Specifies whether the user is required to set a new password on next sign-in.