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 virtual tape with a user-defined barcode on a Tape Gateway (VTL). A virtual tape is stored in Amazon S3 and can be archived to S3 Glacier or S3 Glacier Deep Archive.
Using getTape
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 getTape(args: GetTapeArgs, opts?: InvokeOptions): Promise<GetTapeResult>
function getTapeOutput(args: GetTapeOutputArgs, opts?: InvokeOutputOptions): Output<GetTapeResult>def get_tape(tape_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTapeResult
def get_tape_output(tape_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetTapeResult]func LookupTape(ctx *Context, args *LookupTapeArgs, opts ...InvokeOption) (*LookupTapeResult, error)
func LookupTapeOutput(ctx *Context, args *LookupTapeOutputArgs, opts ...InvokeOption) LookupTapeResultOutput> Note: This function is named LookupTape in the Go SDK.
public static class GetTape
{
public static Task<GetTapeResult> InvokeAsync(GetTapeArgs args, InvokeOptions? opts = null)
public static Output<GetTapeResult> Invoke(GetTapeInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetTapeResult> Invoke(GetTapeInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetTapeResult> getTape(GetTapeArgs args, InvokeOptions options)
public static Output<GetTapeResult> getTape(GetTapeArgs args, InvokeOptions options)
public static Output<GetTapeResult> getTape(GetTapeArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:storagegateway:getTape
arguments:
# arguments dictionarydata "aws-native_storagegateway_get_tape" "name" {
# arguments
}The following arguments are supported:
- Tape
Arn string - The Amazon Resource Name (ARN) of the virtual tape.
- Tape
Arn string - The Amazon Resource Name (ARN) of the virtual tape.
- tape_
arn string - The Amazon Resource Name (ARN) of the virtual tape.
- tape
Arn String - The Amazon Resource Name (ARN) of the virtual tape.
- tape
Arn string - The Amazon Resource Name (ARN) of the virtual tape.
- tape_
arn str - The Amazon Resource Name (ARN) of the virtual tape.
- tape
Arn String - The Amazon Resource Name (ARN) of the virtual tape.
getTape Result
The following output properties are available:
-
List<Pulumi.
Aws Native. Outputs. Tag> - A list of up to 50 tags to assign to the virtual tape.
- Tape
Arn string - The Amazon Resource Name (ARN) of the virtual tape.
- Tape
Created stringDate - The date and time that the virtual tape was created.
- Tape
Status string - The current status of the virtual tape.
- Tape
Used doubleIn Bytes - The size, in bytes, of data stored on the virtual tape.
- Tag
- A list of up to 50 tags to assign to the virtual tape.
- Tape
Arn string - The Amazon Resource Name (ARN) of the virtual tape.
- Tape
Created stringDate - The date and time that the virtual tape was created.
- Tape
Status string - The current status of the virtual tape.
- Tape
Used float64In Bytes - The size, in bytes, of data stored on the virtual tape.
- list(object)
- A list of up to 50 tags to assign to the virtual tape.
- tape_
arn string - The Amazon Resource Name (ARN) of the virtual tape.
- tape_
created_ stringdate - The date and time that the virtual tape was created.
- tape_
status string - The current status of the virtual tape.
- tape_
used_ numberin_ bytes - The size, in bytes, of data stored on the virtual tape.
- List<Tag>
- A list of up to 50 tags to assign to the virtual tape.
- tape
Arn String - The Amazon Resource Name (ARN) of the virtual tape.
- tape
Created StringDate - The date and time that the virtual tape was created.
- tape
Status String - The current status of the virtual tape.
- tape
Used DoubleIn Bytes - The size, in bytes, of data stored on the virtual tape.
- Tag[]
- A list of up to 50 tags to assign to the virtual tape.
- tape
Arn string - The Amazon Resource Name (ARN) of the virtual tape.
- tape
Created stringDate - The date and time that the virtual tape was created.
- tape
Status string - The current status of the virtual tape.
- tape
Used numberIn Bytes - The size, in bytes, of data stored on the virtual tape.
- Sequence[root_Tag]
- A list of up to 50 tags to assign to the virtual tape.
- tape_
arn str - The Amazon Resource Name (ARN) of the virtual tape.
- tape_
created_ strdate - The date and time that the virtual tape was created.
- tape_
status str - The current status of the virtual tape.
- tape_
used_ floatin_ bytes - The size, in bytes, of data stored on the virtual tape.
- List<Property Map>
- A list of up to 50 tags to assign to the virtual tape.
- tape
Arn String - The Amazon Resource Name (ARN) of the virtual tape.
- tape
Created StringDate - The date and time that the virtual tape was created.
- tape
Status String - The current status of the virtual tape.
- tape
Used NumberIn Bytes - The size, in bytes, of data stored on the virtual tape.
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