// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/licensemanager_license_configuration aws_licensemanager_license_configuration}
*/
export class LicensemanagerLicenseConfiguration extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_licensemanager_license_configuration";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/licensemanager_license_configuration aws_licensemanager_license_configuration} 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 LicensemanagerLicenseConfigurationConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_licensemanager_license_configuration',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._description = config.description;
        this._licenseCount = config.licenseCount;
        this._licenseCountHardLimit = config.licenseCountHardLimit;
        this._licenseCountingType = config.licenseCountingType;
        this._licenseRules = config.licenseRules;
        this._name = config.name;
        this._tags = config.tags;
        this._tagsAll = config.tagsAll;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // description - computed: false, optional: true, required: false
    _description;
    get description() {
        return this.getStringAttribute('description');
    }
    set description(value) {
        this._description = value;
    }
    resetDescription() {
        this._description = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get descriptionInput() {
        return this._description;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // license_count - computed: false, optional: true, required: false
    _licenseCount;
    get licenseCount() {
        return this.getNumberAttribute('license_count');
    }
    set licenseCount(value) {
        this._licenseCount = value;
    }
    resetLicenseCount() {
        this._licenseCount = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get licenseCountInput() {
        return this._licenseCount;
    }
    // license_count_hard_limit - computed: false, optional: true, required: false
    _licenseCountHardLimit;
    get licenseCountHardLimit() {
        return this.getBooleanAttribute('license_count_hard_limit');
    }
    set licenseCountHardLimit(value) {
        this._licenseCountHardLimit = value;
    }
    resetLicenseCountHardLimit() {
        this._licenseCountHardLimit = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get licenseCountHardLimitInput() {
        return this._licenseCountHardLimit;
    }
    // license_counting_type - computed: false, optional: false, required: true
    _licenseCountingType;
    get licenseCountingType() {
        return this.getStringAttribute('license_counting_type');
    }
    set licenseCountingType(value) {
        this._licenseCountingType = value;
    }
    // Temporarily expose input value. Use with caution.
    get licenseCountingTypeInput() {
        return this._licenseCountingType;
    }
    // license_rules - computed: false, optional: true, required: false
    _licenseRules;
    get licenseRules() {
        return this.getListAttribute('license_rules');
    }
    set licenseRules(value) {
        this._licenseRules = value;
    }
    resetLicenseRules() {
        this._licenseRules = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get licenseRulesInput() {
        return this._licenseRules;
    }
    // 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;
    }
    // owner_account_id - computed: true, optional: false, required: false
    get ownerAccountId() {
        return this.getStringAttribute('owner_account_id');
    }
    // tags - computed: false, 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;
    }
    // tags_all - computed: true, optional: true, required: false
    _tagsAll;
    get tagsAll() {
        return this.getStringMapAttribute('tags_all');
    }
    set tagsAll(value) {
        this._tagsAll = value;
    }
    resetTagsAll() {
        this._tagsAll = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get tagsAllInput() {
        return this._tagsAll;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            description: cdktf.stringToTerraform(this._description),
            license_count: cdktf.numberToTerraform(this._licenseCount),
            license_count_hard_limit: cdktf.booleanToTerraform(this._licenseCountHardLimit),
            license_counting_type: cdktf.stringToTerraform(this._licenseCountingType),
            license_rules: cdktf.listMapper(cdktf.stringToTerraform)(this._licenseRules),
            name: cdktf.stringToTerraform(this._name),
            tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags),
            tags_all: cdktf.hashMapper(cdktf.stringToTerraform)(this._tagsAll),
        };
    }
}
//# sourceMappingURL=licensemanager-license-configuration.js.map