// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/iam_account_alias aws_iam_account_alias}
*/
export class IamAccountAlias extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_iam_account_alias";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/iam_account_alias aws_iam_account_alias} 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 IamAccountAliasConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_iam_account_alias',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._accountAlias = config.accountAlias;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // account_alias - computed: false, optional: false, required: true
    _accountAlias;
    get accountAlias() {
        return this.getStringAttribute('account_alias');
    }
    set accountAlias(value) {
        this._accountAlias = value;
    }
    // Temporarily expose input value. Use with caution.
    get accountAliasInput() {
        return this._accountAlias;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            account_alias: cdktf.stringToTerraform(this._accountAlias),
        };
    }
}
//# sourceMappingURL=iam-account-alias.js.map