// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/storagegateway_upload_buffer aws_storagegateway_upload_buffer}
*/
export class StoragegatewayUploadBuffer extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_storagegateway_upload_buffer";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/storagegateway_upload_buffer aws_storagegateway_upload_buffer} 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 StoragegatewayUploadBufferConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_storagegateway_upload_buffer',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._diskId = config.diskId;
        this._diskPath = config.diskPath;
        this._gatewayArn = config.gatewayArn;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // disk_id - computed: true, optional: true, required: false
    _diskId;
    get diskId() {
        return this.getStringAttribute('disk_id');
    }
    set diskId(value) {
        this._diskId = value;
    }
    resetDiskId() {
        this._diskId = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get diskIdInput() {
        return this._diskId;
    }
    // disk_path - computed: true, optional: true, required: false
    _diskPath;
    get diskPath() {
        return this.getStringAttribute('disk_path');
    }
    set diskPath(value) {
        this._diskPath = value;
    }
    resetDiskPath() {
        this._diskPath = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get diskPathInput() {
        return this._diskPath;
    }
    // gateway_arn - computed: false, optional: false, required: true
    _gatewayArn;
    get gatewayArn() {
        return this.getStringAttribute('gateway_arn');
    }
    set gatewayArn(value) {
        this._gatewayArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get gatewayArnInput() {
        return this._gatewayArn;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            disk_id: cdktf.stringToTerraform(this._diskId),
            disk_path: cdktf.stringToTerraform(this._diskPath),
            gateway_arn: cdktf.stringToTerraform(this._gatewayArn),
        };
    }
}
//# sourceMappingURL=storagegateway-upload-buffer.js.map