// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/shield_protection_health_check_association aws_shield_protection_health_check_association}
*/
export class ShieldProtectionHealthCheckAssociation extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_shield_protection_health_check_association";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/shield_protection_health_check_association aws_shield_protection_health_check_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 ShieldProtectionHealthCheckAssociationConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_shield_protection_health_check_association',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._healthCheckArn = config.healthCheckArn;
        this._shieldProtectionId = config.shieldProtectionId;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // health_check_arn - computed: false, optional: false, required: true
    _healthCheckArn;
    get healthCheckArn() {
        return this.getStringAttribute('health_check_arn');
    }
    set healthCheckArn(value) {
        this._healthCheckArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get healthCheckArnInput() {
        return this._healthCheckArn;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // shield_protection_id - computed: false, optional: false, required: true
    _shieldProtectionId;
    get shieldProtectionId() {
        return this.getStringAttribute('shield_protection_id');
    }
    set shieldProtectionId(value) {
        this._shieldProtectionId = value;
    }
    // Temporarily expose input value. Use with caution.
    get shieldProtectionIdInput() {
        return this._shieldProtectionId;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            health_check_arn: cdktf.stringToTerraform(this._healthCheckArn),
            shield_protection_id: cdktf.stringToTerraform(this._shieldProtectionId),
        };
    }
}
//# sourceMappingURL=shield-protection-health-check-association.js.map