// generated from terraform resource schema
import * as cdktf from 'cdktf';
export class DataAwsBatchSchedulingPolicyFairSharePolicyShareDistribution extends cdktf.ComplexComputedList {
    // share_identifier - computed: true, optional: false, required: false
    get shareIdentifier() {
        return this.getStringAttribute('share_identifier');
    }
    // weight_factor - computed: true, optional: false, required: false
    get weightFactor() {
        return this.getNumberAttribute('weight_factor');
    }
}
export class DataAwsBatchSchedulingPolicyFairSharePolicy extends cdktf.ComplexComputedList {
    // compute_reservation - computed: true, optional: false, required: false
    get computeReservation() {
        return this.getNumberAttribute('compute_reservation');
    }
    // share_decay_seconds - computed: true, optional: false, required: false
    get shareDecaySeconds() {
        return this.getNumberAttribute('share_decay_seconds');
    }
    // share_distribution - computed: true, optional: false, required: false
    get shareDistribution() {
        // Getting the computed value is not yet implemented
        return cdktf.Token.asAny(cdktf.Fn.tolist(this.interpolationForAttribute('share_distribution')));
    }
}
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/d/batch_scheduling_policy aws_batch_scheduling_policy}
*/
export class DataAwsBatchSchedulingPolicy extends cdktf.TerraformDataSource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_batch_scheduling_policy";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/d/batch_scheduling_policy aws_batch_scheduling_policy} Data Source
    *
    * @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 DataAwsBatchSchedulingPolicyConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_batch_scheduling_policy',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._arn = config.arn;
        this._tags = config.tags;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: false, optional: false, required: true
    _arn;
    get arn() {
        return this.getStringAttribute('arn');
    }
    set arn(value) {
        this._arn = value;
    }
    // Temporarily expose input value. Use with caution.
    get arnInput() {
        return this._arn;
    }
    // fair_share_policy - computed: true, optional: false, required: false
    fairSharePolicy(index) {
        return new DataAwsBatchSchedulingPolicyFairSharePolicy(this, 'fair_share_policy', index, false);
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // name - computed: true, optional: false, required: false
    get name() {
        return this.getStringAttribute('name');
    }
    // tags - computed: true, optional: true, required: false
    _tags;
    get tags() {
        return this.getStringMapAttribute('tags');
    }
    set tags(value) {
        this._tags = value;
    }
    resetTags() {
        this._tags = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get tagsInput() {
        return this._tags;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            arn: cdktf.stringToTerraform(this._arn),
            tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags),
        };
    }
}
//# sourceMappingURL=data-aws-batch-scheduling-policy.js.map