1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. storagegateway
  6. getTape

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.81.0
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 dictionary
    data "aws-native_storagegateway_get_tape" "name" {
        # arguments
    }

    The following arguments are supported:

    TapeArn string
    The Amazon Resource Name (ARN) of the virtual tape.
    TapeArn string
    The Amazon Resource Name (ARN) of the virtual tape.
    tape_arn string
    The Amazon Resource Name (ARN) of the virtual tape.
    tapeArn String
    The Amazon Resource Name (ARN) of the virtual tape.
    tapeArn string
    The Amazon Resource Name (ARN) of the virtual tape.
    tape_arn str
    The Amazon Resource Name (ARN) of the virtual tape.
    tapeArn String
    The Amazon Resource Name (ARN) of the virtual tape.

    getTape Result

    The following output properties are available:

    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A list of up to 50 tags to assign to the virtual tape.
    TapeArn string
    The Amazon Resource Name (ARN) of the virtual tape.
    TapeCreatedDate string
    The date and time that the virtual tape was created.
    TapeStatus string
    The current status of the virtual tape.
    TapeUsedInBytes double
    The size, in bytes, of data stored on the virtual tape.
    Tags Tag
    A list of up to 50 tags to assign to the virtual tape.
    TapeArn string
    The Amazon Resource Name (ARN) of the virtual tape.
    TapeCreatedDate string
    The date and time that the virtual tape was created.
    TapeStatus string
    The current status of the virtual tape.
    TapeUsedInBytes float64
    The size, in bytes, of data stored on the virtual tape.
    tags 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_date string
    The date and time that the virtual tape was created.
    tape_status string
    The current status of the virtual tape.
    tape_used_in_bytes number
    The size, in bytes, of data stored on the virtual tape.
    tags List<Tag>
    A list of up to 50 tags to assign to the virtual tape.
    tapeArn String
    The Amazon Resource Name (ARN) of the virtual tape.
    tapeCreatedDate String
    The date and time that the virtual tape was created.
    tapeStatus String
    The current status of the virtual tape.
    tapeUsedInBytes Double
    The size, in bytes, of data stored on the virtual tape.
    tags Tag[]
    A list of up to 50 tags to assign to the virtual tape.
    tapeArn string
    The Amazon Resource Name (ARN) of the virtual tape.
    tapeCreatedDate string
    The date and time that the virtual tape was created.
    tapeStatus string
    The current status of the virtual tape.
    tapeUsedInBytes number
    The size, in bytes, of data stored on the virtual tape.
    tags 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_date str
    The date and time that the virtual tape was created.
    tape_status str
    The current status of the virtual tape.
    tape_used_in_bytes float
    The size, in bytes, of data stored on the virtual tape.
    tags List<Property Map>
    A list of up to 50 tags to assign to the virtual tape.
    tapeArn String
    The Amazon Resource Name (ARN) of the virtual tape.
    tapeCreatedDate String
    The date and time that the virtual tape was created.
    tapeStatus String
    The current status of the virtual tape.
    tapeUsedInBytes Number
    The size, in bytes, of data stored on the virtual tape.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.81.0
    published on Monday, Sep 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial