We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi
aws-native.workspacesinstances.getVolume
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi
Resource Type definition for AWS::WorkspacesInstances::Volume - Manages WorkSpaces Volume resources
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?: InvokeOptions): Output<GetVolumeResult>
def get_volume(volume_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVolumeResult
def get_volume_output(volume_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = 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 CompletableFuture<GetVolumeResult> getVolume(GetVolumeArgs args, InvokeOptions options)
public static Output<GetVolumeResult> getVolume(GetVolumeArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:workspacesinstances:getVolume
arguments:
# arguments dictionary
The following arguments are supported:
- Volume
Id string - Unique identifier for the volume
- Volume
Id string - Unique identifier for the volume
- volume
Id String - Unique identifier for the volume
- volume
Id string - Unique identifier for the volume
- volume_
id str - Unique identifier for the volume
- volume
Id String - Unique identifier for the volume
getVolume Result
The following output properties are available:
- Volume
Id string - Unique identifier for the volume
- Volume
Id string - Unique identifier for the volume
- volume
Id String - Unique identifier for the volume
- volume
Id string - Unique identifier for the volume
- volume_
id str - Unique identifier for the volume
- volume
Id String - Unique identifier for the volume
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi