// generated from terraform resource schema
import * as cdktf from 'cdktf';
export class DataAwsAutoscalingGroupLaunchTemplate extends cdktf.ComplexComputedList {
    // id - computed: true, optional: false, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // name - computed: true, optional: false, required: false
    get name() {
        return this.getStringAttribute('name');
    }
    // version - computed: true, optional: false, required: false
    get version() {
        return this.getStringAttribute('version');
    }
}
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/d/autoscaling_group aws_autoscaling_group}
*/
export class DataAwsAutoscalingGroup extends cdktf.TerraformDataSource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_autoscaling_group";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/d/autoscaling_group aws_autoscaling_group} 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 DataAwsAutoscalingGroupConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_autoscaling_group',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._name = config.name;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // availability_zones - computed: true, optional: false, required: false
    get availabilityZones() {
        return cdktf.Fn.tolist(this.getListAttribute('availability_zones'));
    }
    // default_cooldown - computed: true, optional: false, required: false
    get defaultCooldown() {
        return this.getNumberAttribute('default_cooldown');
    }
    // desired_capacity - computed: true, optional: false, required: false
    get desiredCapacity() {
        return this.getNumberAttribute('desired_capacity');
    }
    // health_check_grace_period - computed: true, optional: false, required: false
    get healthCheckGracePeriod() {
        return this.getNumberAttribute('health_check_grace_period');
    }
    // health_check_type - computed: true, optional: false, required: false
    get healthCheckType() {
        return this.getStringAttribute('health_check_type');
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // launch_configuration - computed: true, optional: false, required: false
    get launchConfiguration() {
        return this.getStringAttribute('launch_configuration');
    }
    // launch_template - computed: true, optional: false, required: false
    launchTemplate(index) {
        return new DataAwsAutoscalingGroupLaunchTemplate(this, 'launch_template', index, false);
    }
    // load_balancers - computed: true, optional: false, required: false
    get loadBalancers() {
        return cdktf.Fn.tolist(this.getListAttribute('load_balancers'));
    }
    // max_size - computed: true, optional: false, required: false
    get maxSize() {
        return this.getNumberAttribute('max_size');
    }
    // min_size - computed: true, optional: false, required: false
    get minSize() {
        return this.getNumberAttribute('min_size');
    }
    // name - computed: false, optional: false, required: true
    _name;
    get name() {
        return this.getStringAttribute('name');
    }
    set name(value) {
        this._name = value;
    }
    // Temporarily expose input value. Use with caution.
    get nameInput() {
        return this._name;
    }
    // new_instances_protected_from_scale_in - computed: true, optional: false, required: false
    get newInstancesProtectedFromScaleIn() {
        return this.getBooleanAttribute('new_instances_protected_from_scale_in');
    }
    // placement_group - computed: true, optional: false, required: false
    get placementGroup() {
        return this.getStringAttribute('placement_group');
    }
    // service_linked_role_arn - computed: true, optional: false, required: false
    get serviceLinkedRoleArn() {
        return this.getStringAttribute('service_linked_role_arn');
    }
    // status - computed: true, optional: false, required: false
    get status() {
        return this.getStringAttribute('status');
    }
    // target_group_arns - computed: true, optional: false, required: false
    get targetGroupArns() {
        return cdktf.Fn.tolist(this.getListAttribute('target_group_arns'));
    }
    // termination_policies - computed: true, optional: false, required: false
    get terminationPolicies() {
        return cdktf.Fn.tolist(this.getListAttribute('termination_policies'));
    }
    // vpc_zone_identifier - computed: true, optional: false, required: false
    get vpcZoneIdentifier() {
        return this.getStringAttribute('vpc_zone_identifier');
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            name: cdktf.stringToTerraform(this._name),
        };
    }
}
//# sourceMappingURL=data-aws-autoscaling-group.js.map