// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/storagegateway_tape_pool aws_storagegateway_tape_pool}
*/
export class StoragegatewayTapePool extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_storagegateway_tape_pool";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/storagegateway_tape_pool aws_storagegateway_tape_pool} 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 StoragegatewayTapePoolConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_storagegateway_tape_pool',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._poolName = config.poolName;
        this._retentionLockTimeInDays = config.retentionLockTimeInDays;
        this._retentionLockType = config.retentionLockType;
        this._storageClass = config.storageClass;
        this._tags = config.tags;
        this._tagsAll = config.tagsAll;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // pool_name - computed: false, optional: false, required: true
    _poolName;
    get poolName() {
        return this.getStringAttribute('pool_name');
    }
    set poolName(value) {
        this._poolName = value;
    }
    // Temporarily expose input value. Use with caution.
    get poolNameInput() {
        return this._poolName;
    }
    // retention_lock_time_in_days - computed: false, optional: true, required: false
    _retentionLockTimeInDays;
    get retentionLockTimeInDays() {
        return this.getNumberAttribute('retention_lock_time_in_days');
    }
    set retentionLockTimeInDays(value) {
        this._retentionLockTimeInDays = value;
    }
    resetRetentionLockTimeInDays() {
        this._retentionLockTimeInDays = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get retentionLockTimeInDaysInput() {
        return this._retentionLockTimeInDays;
    }
    // retention_lock_type - computed: false, optional: true, required: false
    _retentionLockType;
    get retentionLockType() {
        return this.getStringAttribute('retention_lock_type');
    }
    set retentionLockType(value) {
        this._retentionLockType = value;
    }
    resetRetentionLockType() {
        this._retentionLockType = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get retentionLockTypeInput() {
        return this._retentionLockType;
    }
    // storage_class - computed: false, optional: false, required: true
    _storageClass;
    get storageClass() {
        return this.getStringAttribute('storage_class');
    }
    set storageClass(value) {
        this._storageClass = value;
    }
    // Temporarily expose input value. Use with caution.
    get storageClassInput() {
        return this._storageClass;
    }
    // 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 {
            pool_name: cdktf.stringToTerraform(this._poolName),
            retention_lock_time_in_days: cdktf.numberToTerraform(this._retentionLockTimeInDays),
            retention_lock_type: cdktf.stringToTerraform(this._retentionLockType),
            storage_class: cdktf.stringToTerraform(this._storageClass),
            tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags),
            tags_all: cdktf.hashMapper(cdktf.stringToTerraform)(this._tagsAll),
        };
    }
}
//# sourceMappingURL=storagegateway-tape-pool.js.map