We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
Creates a cached iSCSI volume on a Storage Gateway. A cached volume stores data in Amazon S3 and retains a copy of frequently accessed data subsets locally.
Using getVolume
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVolume(args: GetVolumeArgs, opts?: InvokeOptions): Promise<GetVolumeResult>
function getVolumeOutput(args: GetVolumeOutputArgs, opts?: InvokeOutputOptions): Output<GetVolumeResult>def get_volume(volume_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVolumeResult
def get_volume_output(volume_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetVolumeResult]func LookupVolume(ctx *Context, args *LookupVolumeArgs, opts ...InvokeOption) (*LookupVolumeResult, error)
func LookupVolumeOutput(ctx *Context, args *LookupVolumeOutputArgs, opts ...InvokeOption) LookupVolumeResultOutput> Note: This function is named LookupVolume in the Go SDK.
public static class GetVolume
{
public static Task<GetVolumeResult> InvokeAsync(GetVolumeArgs args, InvokeOptions? opts = null)
public static Output<GetVolumeResult> Invoke(GetVolumeInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetVolumeResult> Invoke(GetVolumeInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetVolumeResult> getVolume(GetVolumeArgs args, InvokeOptions options)
public static Output<GetVolumeResult> getVolume(GetVolumeArgs args, InvokeOptions options)
public static Output<GetVolumeResult> getVolume(GetVolumeArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:storagegateway:getVolume
arguments:
# arguments dictionarydata "aws-native_storagegateway_get_volume" "name" {
# arguments
}The following arguments are supported:
- Volume
Arn string - The Amazon Resource Name (ARN) of the storage volume.
- Volume
Arn string - The Amazon Resource Name (ARN) of the storage volume.
- volume_
arn string - The Amazon Resource Name (ARN) of the storage volume.
- volume
Arn String - The Amazon Resource Name (ARN) of the storage volume.
- volume
Arn string - The Amazon Resource Name (ARN) of the storage volume.
- volume_
arn str - The Amazon Resource Name (ARN) of the storage volume.
- volume
Arn String - The Amazon Resource Name (ARN) of the storage volume.
getVolume Result
The following output properties are available:
- Created
Date string - The date the volume was created.
-
List<Pulumi.
Aws Native. Outputs. Tag> - A list of up to 50 tags to assign to the volume.
- Target
Arn string - The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI target name.
- Volume
Arn string - The Amazon Resource Name (ARN) of the storage volume.
- Volume
Attachment stringStatus - Indicates whether the storage volume is attached to or detached from the gateway.
- Volume
Id string - The unique identifier of the volume, extracted from the ARN.
- Volume
Status string - The status of the storage volume.
- Volume
Type string - The type of the volume (CACHED iSCSI).
- Volume
Used doubleIn Bytes - The size of the data stored on the volume in bytes.
- Created
Date string - The date the volume was created.
- Tag
- A list of up to 50 tags to assign to the volume.
- Target
Arn string - The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI target name.
- Volume
Arn string - The Amazon Resource Name (ARN) of the storage volume.
- Volume
Attachment stringStatus - Indicates whether the storage volume is attached to or detached from the gateway.
- Volume
Id string - The unique identifier of the volume, extracted from the ARN.
- Volume
Status string - The status of the storage volume.
- Volume
Type string - The type of the volume (CACHED iSCSI).
- Volume
Used float64In Bytes - The size of the data stored on the volume in bytes.
- created_
date string - The date the volume was created.
- list(object)
- A list of up to 50 tags to assign to the volume.
- target_
arn string - The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI target name.
- volume_
arn string - The Amazon Resource Name (ARN) of the storage volume.
- volume_
attachment_ stringstatus - Indicates whether the storage volume is attached to or detached from the gateway.
- volume_
id string - The unique identifier of the volume, extracted from the ARN.
- volume_
status string - The status of the storage volume.
- volume_
type string - The type of the volume (CACHED iSCSI).
- volume_
used_ numberin_ bytes - The size of the data stored on the volume in bytes.
- created
Date String - The date the volume was created.
- List<Tag>
- A list of up to 50 tags to assign to the volume.
- target
Arn String - The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI target name.
- volume
Arn String - The Amazon Resource Name (ARN) of the storage volume.
- volume
Attachment StringStatus - Indicates whether the storage volume is attached to or detached from the gateway.
- volume
Id String - The unique identifier of the volume, extracted from the ARN.
- volume
Status String - The status of the storage volume.
- volume
Type String - The type of the volume (CACHED iSCSI).
- volume
Used DoubleIn Bytes - The size of the data stored on the volume in bytes.
- created
Date string - The date the volume was created.
- Tag[]
- A list of up to 50 tags to assign to the volume.
- target
Arn string - The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI target name.
- volume
Arn string - The Amazon Resource Name (ARN) of the storage volume.
- volume
Attachment stringStatus - Indicates whether the storage volume is attached to or detached from the gateway.
- volume
Id string - The unique identifier of the volume, extracted from the ARN.
- volume
Status string - The status of the storage volume.
- volume
Type string - The type of the volume (CACHED iSCSI).
- volume
Used numberIn Bytes - The size of the data stored on the volume in bytes.
- created_
date str - The date the volume was created.
- Sequence[root_Tag]
- A list of up to 50 tags to assign to the volume.
- target_
arn str - The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI target name.
- volume_
arn str - The Amazon Resource Name (ARN) of the storage volume.
- volume_
attachment_ strstatus - Indicates whether the storage volume is attached to or detached from the gateway.
- volume_
id str - The unique identifier of the volume, extracted from the ARN.
- volume_
status str - The status of the storage volume.
- volume_
type str - The type of the volume (CACHED iSCSI).
- volume_
used_ floatin_ bytes - The size of the data stored on the volume in bytes.
- created
Date String - The date the volume was created.
- List<Property Map>
- A list of up to 50 tags to assign to the volume.
- target
Arn String - The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI target name.
- volume
Arn String - The Amazon Resource Name (ARN) of the storage volume.
- volume
Attachment StringStatus - Indicates whether the storage volume is attached to or detached from the gateway.
- volume
Id String - The unique identifier of the volume, extracted from the ARN.
- volume
Status String - The status of the storage volume.
- volume
Type String - The type of the volume (CACHED iSCSI).
- volume
Used NumberIn Bytes - The size of the data stored on the volume in bytes.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi