// generated from terraform resource schema
import * as cdktf from 'cdktf';
export class DataAwsBackupReportPlanReportDeliveryChannel extends cdktf.ComplexComputedList {
    // formats - computed: true, optional: false, required: false
    get formats() {
        return cdktf.Fn.tolist(this.getListAttribute('formats'));
    }
    // s3_bucket_name - computed: true, optional: false, required: false
    get s3BucketName() {
        return this.getStringAttribute('s3_bucket_name');
    }
    // s3_key_prefix - computed: true, optional: false, required: false
    get s3KeyPrefix() {
        return this.getStringAttribute('s3_key_prefix');
    }
}
export class DataAwsBackupReportPlanReportSetting extends cdktf.ComplexComputedList {
    // framework_arns - computed: true, optional: false, required: false
    get frameworkArns() {
        return cdktf.Fn.tolist(this.getListAttribute('framework_arns'));
    }
    // number_of_frameworks - computed: true, optional: false, required: false
    get numberOfFrameworks() {
        return this.getNumberAttribute('number_of_frameworks');
    }
    // report_template - computed: true, optional: false, required: false
    get reportTemplate() {
        return this.getStringAttribute('report_template');
    }
}
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/d/backup_report_plan aws_backup_report_plan}
*/
export class DataAwsBackupReportPlan extends cdktf.TerraformDataSource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_backup_report_plan";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/d/backup_report_plan aws_backup_report_plan} 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 DataAwsBackupReportPlanConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_backup_report_plan',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._name = config.name;
        this._tags = config.tags;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // creation_time - computed: true, optional: false, required: false
    get creationTime() {
        return this.getStringAttribute('creation_time');
    }
    // deployment_status - computed: true, optional: false, required: false
    get deploymentStatus() {
        return this.getStringAttribute('deployment_status');
    }
    // description - computed: true, optional: false, required: false
    get description() {
        return this.getStringAttribute('description');
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // 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;
    }
    // report_delivery_channel - computed: true, optional: false, required: false
    reportDeliveryChannel(index) {
        return new DataAwsBackupReportPlanReportDeliveryChannel(this, 'report_delivery_channel', index, false);
    }
    // report_setting - computed: true, optional: false, required: false
    reportSetting(index) {
        return new DataAwsBackupReportPlanReportSetting(this, 'report_setting', index, false);
    }
    // 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 {
            name: cdktf.stringToTerraform(this._name),
            tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags),
        };
    }
}
//# sourceMappingURL=data-aws-backup-report-plan.js.map