// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/cur_report_definition aws_cur_report_definition}
*/
export class CurReportDefinition extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_cur_report_definition";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/cur_report_definition aws_cur_report_definition} 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 CurReportDefinitionConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_cur_report_definition',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._additionalArtifacts = config.additionalArtifacts;
        this._additionalSchemaElements = config.additionalSchemaElements;
        this._compression = config.compression;
        this._format = config.format;
        this._refreshClosedReports = config.refreshClosedReports;
        this._reportName = config.reportName;
        this._reportVersioning = config.reportVersioning;
        this._s3Bucket = config.s3Bucket;
        this._s3Prefix = config.s3Prefix;
        this._s3Region = config.s3Region;
        this._timeUnit = config.timeUnit;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // additional_artifacts - computed: false, optional: true, required: false
    _additionalArtifacts;
    get additionalArtifacts() {
        return cdktf.Fn.tolist(this.getListAttribute('additional_artifacts'));
    }
    set additionalArtifacts(value) {
        this._additionalArtifacts = value;
    }
    resetAdditionalArtifacts() {
        this._additionalArtifacts = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get additionalArtifactsInput() {
        return this._additionalArtifacts;
    }
    // additional_schema_elements - computed: false, optional: false, required: true
    _additionalSchemaElements;
    get additionalSchemaElements() {
        return cdktf.Fn.tolist(this.getListAttribute('additional_schema_elements'));
    }
    set additionalSchemaElements(value) {
        this._additionalSchemaElements = value;
    }
    // Temporarily expose input value. Use with caution.
    get additionalSchemaElementsInput() {
        return this._additionalSchemaElements;
    }
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // compression - computed: false, optional: false, required: true
    _compression;
    get compression() {
        return this.getStringAttribute('compression');
    }
    set compression(value) {
        this._compression = value;
    }
    // Temporarily expose input value. Use with caution.
    get compressionInput() {
        return this._compression;
    }
    // format - computed: false, optional: false, required: true
    _format;
    get format() {
        return this.getStringAttribute('format');
    }
    set format(value) {
        this._format = value;
    }
    // Temporarily expose input value. Use with caution.
    get formatInput() {
        return this._format;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // refresh_closed_reports - computed: false, optional: true, required: false
    _refreshClosedReports;
    get refreshClosedReports() {
        return this.getBooleanAttribute('refresh_closed_reports');
    }
    set refreshClosedReports(value) {
        this._refreshClosedReports = value;
    }
    resetRefreshClosedReports() {
        this._refreshClosedReports = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get refreshClosedReportsInput() {
        return this._refreshClosedReports;
    }
    // report_name - computed: false, optional: false, required: true
    _reportName;
    get reportName() {
        return this.getStringAttribute('report_name');
    }
    set reportName(value) {
        this._reportName = value;
    }
    // Temporarily expose input value. Use with caution.
    get reportNameInput() {
        return this._reportName;
    }
    // report_versioning - computed: false, optional: true, required: false
    _reportVersioning;
    get reportVersioning() {
        return this.getStringAttribute('report_versioning');
    }
    set reportVersioning(value) {
        this._reportVersioning = value;
    }
    resetReportVersioning() {
        this._reportVersioning = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get reportVersioningInput() {
        return this._reportVersioning;
    }
    // s3_bucket - computed: false, optional: false, required: true
    _s3Bucket;
    get s3Bucket() {
        return this.getStringAttribute('s3_bucket');
    }
    set s3Bucket(value) {
        this._s3Bucket = value;
    }
    // Temporarily expose input value. Use with caution.
    get s3BucketInput() {
        return this._s3Bucket;
    }
    // s3_prefix - computed: false, optional: true, required: false
    _s3Prefix;
    get s3Prefix() {
        return this.getStringAttribute('s3_prefix');
    }
    set s3Prefix(value) {
        this._s3Prefix = value;
    }
    resetS3Prefix() {
        this._s3Prefix = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get s3PrefixInput() {
        return this._s3Prefix;
    }
    // s3_region - computed: false, optional: false, required: true
    _s3Region;
    get s3Region() {
        return this.getStringAttribute('s3_region');
    }
    set s3Region(value) {
        this._s3Region = value;
    }
    // Temporarily expose input value. Use with caution.
    get s3RegionInput() {
        return this._s3Region;
    }
    // time_unit - computed: false, optional: false, required: true
    _timeUnit;
    get timeUnit() {
        return this.getStringAttribute('time_unit');
    }
    set timeUnit(value) {
        this._timeUnit = value;
    }
    // Temporarily expose input value. Use with caution.
    get timeUnitInput() {
        return this._timeUnit;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            additional_artifacts: cdktf.listMapper(cdktf.stringToTerraform)(this._additionalArtifacts),
            additional_schema_elements: cdktf.listMapper(cdktf.stringToTerraform)(this._additionalSchemaElements),
            compression: cdktf.stringToTerraform(this._compression),
            format: cdktf.stringToTerraform(this._format),
            refresh_closed_reports: cdktf.booleanToTerraform(this._refreshClosedReports),
            report_name: cdktf.stringToTerraform(this._reportName),
            report_versioning: cdktf.stringToTerraform(this._reportVersioning),
            s3_bucket: cdktf.stringToTerraform(this._s3Bucket),
            s3_prefix: cdktf.stringToTerraform(this._s3Prefix),
            s3_region: cdktf.stringToTerraform(this._s3Region),
            time_unit: cdktf.stringToTerraform(this._timeUnit),
        };
    }
}
//# sourceMappingURL=cur-report-definition.js.map