Data Source: awsStoragegatewayLocalDisk
Retrieve information about a Storage Gateway local disk. The disk identifier is useful for adding the disk as a cache or upload buffer to a gateway.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsStoragegatewayLocalDisk.DataAwsStoragegatewayLocalDisk(
this,
"test",
{
diskPath: "${aws_volume_attachment.test.device_name}",
gatewayArn: "${aws_storagegateway_gateway.test.arn}",
}
);
Argument Reference
gatewayArn
- (Required) ARN of the gateway.diskNode
- (Optional) Device node of the local disk to retrieve. For example,/dev/sdb
.diskPath
- (Optional) Device path of the local disk to retrieve. For example,/dev/xvdb
or/dev/nvme1N1
.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
diskId
- Disk identifierE.g.,pci0000:03:000Scsi0:0:0:0
id
- Disk identifierE.g.,pci0000:03:000Scsi0:0:0:0