// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/iam_user_login_profile aws_iam_user_login_profile}
*/
export class IamUserLoginProfile extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_iam_user_login_profile";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/iam_user_login_profile aws_iam_user_login_profile} Resource
    *
    * @param scope The scope in which to define this construct
    * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
    * @param options IamUserLoginProfileConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_iam_user_login_profile',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._passwordLength = config.passwordLength;
        this._passwordResetRequired = config.passwordResetRequired;
        this._pgpKey = config.pgpKey;
        this._user = config.user;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // encrypted_password - computed: true, optional: false, required: false
    get encryptedPassword() {
        return this.getStringAttribute('encrypted_password');
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // key_fingerprint - computed: true, optional: false, required: false
    get keyFingerprint() {
        return this.getStringAttribute('key_fingerprint');
    }
    // password - computed: true, optional: false, required: false
    get password() {
        return this.getStringAttribute('password');
    }
    // password_length - computed: false, optional: true, required: false
    _passwordLength;
    get passwordLength() {
        return this.getNumberAttribute('password_length');
    }
    set passwordLength(value) {
        this._passwordLength = value;
    }
    resetPasswordLength() {
        this._passwordLength = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get passwordLengthInput() {
        return this._passwordLength;
    }
    // password_reset_required - computed: true, optional: true, required: false
    _passwordResetRequired;
    get passwordResetRequired() {
        return this.getBooleanAttribute('password_reset_required');
    }
    set passwordResetRequired(value) {
        this._passwordResetRequired = value;
    }
    resetPasswordResetRequired() {
        this._passwordResetRequired = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get passwordResetRequiredInput() {
        return this._passwordResetRequired;
    }
    // pgp_key - computed: false, optional: true, required: false
    _pgpKey;
    get pgpKey() {
        return this.getStringAttribute('pgp_key');
    }
    set pgpKey(value) {
        this._pgpKey = value;
    }
    resetPgpKey() {
        this._pgpKey = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get pgpKeyInput() {
        return this._pgpKey;
    }
    // user - computed: false, optional: false, required: true
    _user;
    get user() {
        return this.getStringAttribute('user');
    }
    set user(value) {
        this._user = value;
    }
    // Temporarily expose input value. Use with caution.
    get userInput() {
        return this._user;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            password_length: cdktf.numberToTerraform(this._passwordLength),
            password_reset_required: cdktf.booleanToTerraform(this._passwordResetRequired),
            pgp_key: cdktf.stringToTerraform(this._pgpKey),
            user: cdktf.stringToTerraform(this._user),
        };
    }
}
//# sourceMappingURL=iam-user-login-profile.js.map