Class CfnUser.LoginProfileProperty
Creates a password for the specified user, giving the user the ability to access AWS services through the AWS Management Console .
Inheritance
System.Object
CfnUser.LoginProfileProperty
Implements
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LoginProfileProperty : Object, CfnUser.ILoginProfileProperty
Syntax (vb)
Public Class LoginProfileProperty
Inherits Object
Implements CfnUser.ILoginProfileProperty
Remarks
For more information about managing passwords, see Managing Passwords in the IAM User Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IAM;
var loginProfileProperty = new LoginProfileProperty {
Password = "password",
// the properties below are optional
PasswordResetRequired = false
};
Synopsis
Constructors
LoginProfileProperty() |
Properties
Password | The user's password. |
PasswordResetRequired | Specifies whether the user is required to set a new password on next sign-in. |
Constructors
LoginProfileProperty()
public LoginProfileProperty()
Properties
Password
The user's password.
public string Password { get; set; }
Property Value
System.String
Remarks
PasswordResetRequired
Specifies whether the user is required to set a new password on next sign-in.
public object PasswordResetRequired { get; set; }
Property Value
System.Object