// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/backup_global_settings aws_backup_global_settings}
*/
export class BackupGlobalSettings extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_backup_global_settings";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/backup_global_settings aws_backup_global_settings} 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 BackupGlobalSettingsConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_backup_global_settings',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._globalSettings = config.globalSettings;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // global_settings - computed: false, optional: false, required: true
    _globalSettings;
    get globalSettings() {
        return this.getStringMapAttribute('global_settings');
    }
    set globalSettings(value) {
        this._globalSettings = value;
    }
    // Temporarily expose input value. Use with caution.
    get globalSettingsInput() {
        return this._globalSettings;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            global_settings: cdktf.hashMapper(cdktf.stringToTerraform)(this._globalSettings),
        };
    }
}
//# sourceMappingURL=backup-global-settings.js.map