// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/msk_scram_secret_association aws_msk_scram_secret_association}
*/
export class MskScramSecretAssociation extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_msk_scram_secret_association";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/msk_scram_secret_association aws_msk_scram_secret_association} 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 MskScramSecretAssociationConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_msk_scram_secret_association',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._clusterArn = config.clusterArn;
        this._secretArnList = config.secretArnList;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // cluster_arn - computed: false, optional: false, required: true
    _clusterArn;
    get clusterArn() {
        return this.getStringAttribute('cluster_arn');
    }
    set clusterArn(value) {
        this._clusterArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get clusterArnInput() {
        return this._clusterArn;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // secret_arn_list - computed: false, optional: false, required: true
    _secretArnList;
    get secretArnList() {
        return cdktf.Fn.tolist(this.getListAttribute('secret_arn_list'));
    }
    set secretArnList(value) {
        this._secretArnList = value;
    }
    // Temporarily expose input value. Use with caution.
    get secretArnListInput() {
        return this._secretArnList;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            cluster_arn: cdktf.stringToTerraform(this._clusterArn),
            secret_arn_list: cdktf.listMapper(cdktf.stringToTerraform)(this._secretArnList),
        };
    }
}
//# sourceMappingURL=msk-scram-secret-association.js.map