// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/shield_protection_group aws_shield_protection_group}
*/
export class ShieldProtectionGroup extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_shield_protection_group";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/shield_protection_group aws_shield_protection_group} 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 ShieldProtectionGroupConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_shield_protection_group',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._aggregation = config.aggregation;
        this._members = config.members;
        this._pattern = config.pattern;
        this._protectionGroupId = config.protectionGroupId;
        this._resourceType = config.resourceType;
        this._tags = config.tags;
        this._tagsAll = config.tagsAll;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // aggregation - computed: false, optional: false, required: true
    _aggregation;
    get aggregation() {
        return this.getStringAttribute('aggregation');
    }
    set aggregation(value) {
        this._aggregation = value;
    }
    // Temporarily expose input value. Use with caution.
    get aggregationInput() {
        return this._aggregation;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // members - computed: false, optional: true, required: false
    _members;
    get members() {
        return this.getListAttribute('members');
    }
    set members(value) {
        this._members = value;
    }
    resetMembers() {
        this._members = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get membersInput() {
        return this._members;
    }
    // pattern - computed: false, optional: false, required: true
    _pattern;
    get pattern() {
        return this.getStringAttribute('pattern');
    }
    set pattern(value) {
        this._pattern = value;
    }
    // Temporarily expose input value. Use with caution.
    get patternInput() {
        return this._pattern;
    }
    // protection_group_arn - computed: true, optional: false, required: false
    get protectionGroupArn() {
        return this.getStringAttribute('protection_group_arn');
    }
    // protection_group_id - computed: false, optional: false, required: true
    _protectionGroupId;
    get protectionGroupId() {
        return this.getStringAttribute('protection_group_id');
    }
    set protectionGroupId(value) {
        this._protectionGroupId = value;
    }
    // Temporarily expose input value. Use with caution.
    get protectionGroupIdInput() {
        return this._protectionGroupId;
    }
    // resource_type - computed: false, optional: true, required: false
    _resourceType;
    get resourceType() {
        return this.getStringAttribute('resource_type');
    }
    set resourceType(value) {
        this._resourceType = value;
    }
    resetResourceType() {
        this._resourceType = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get resourceTypeInput() {
        return this._resourceType;
    }
    // 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 {
            aggregation: cdktf.stringToTerraform(this._aggregation),
            members: cdktf.listMapper(cdktf.stringToTerraform)(this._members),
            pattern: cdktf.stringToTerraform(this._pattern),
            protection_group_id: cdktf.stringToTerraform(this._protectionGroupId),
            resource_type: cdktf.stringToTerraform(this._resourceType),
            tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags),
            tags_all: cdktf.hashMapper(cdktf.stringToTerraform)(this._tagsAll),
        };
    }
}
//# sourceMappingURL=shield-protection-group.js.map