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 backup of an existing Amazon FSx for Windows File Server file system, Amazon FSx for Lustre file system, Amazon FSx for NetApp ONTAP volume, or Amazon FSx for OpenZFS file system.
Using getBackup
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 getBackup(args: GetBackupArgs, opts?: InvokeOptions): Promise<GetBackupResult>
function getBackupOutput(args: GetBackupOutputArgs, opts?: InvokeOutputOptions): Output<GetBackupResult>def get_backup(resource_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBackupResult
def get_backup_output(resource_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetBackupResult]func LookupBackup(ctx *Context, args *LookupBackupArgs, opts ...InvokeOption) (*LookupBackupResult, error)
func LookupBackupOutput(ctx *Context, args *LookupBackupOutputArgs, opts ...InvokeOption) LookupBackupResultOutput> Note: This function is named LookupBackup in the Go SDK.
public static class GetBackup
{
public static Task<GetBackupResult> InvokeAsync(GetBackupArgs args, InvokeOptions? opts = null)
public static Output<GetBackupResult> Invoke(GetBackupInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetBackupResult> Invoke(GetBackupInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetBackupResult> getBackup(GetBackupArgs args, InvokeOptions options)
public static Output<GetBackupResult> getBackup(GetBackupArgs args, InvokeOptions options)
public static Output<GetBackupResult> getBackup(GetBackupArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:fsx:getBackup
arguments:
# arguments dictionarydata "aws-native_fsx_get_backup" "name" {
# arguments
}The following arguments are supported:
- Resource
Arn string - The Amazon Resource Name (ARN) of the backup.
- Resource
Arn string - The Amazon Resource Name (ARN) of the backup.
- resource_
arn string - The Amazon Resource Name (ARN) of the backup.
- resource
Arn String - The Amazon Resource Name (ARN) of the backup.
- resource
Arn string - The Amazon Resource Name (ARN) of the backup.
- resource_
arn str - The Amazon Resource Name (ARN) of the backup.
- resource
Arn String - The Amazon Resource Name (ARN) of the backup.
getBackup Result
The following output properties are available:
- Backup
Id string - The ID of the backup.
- Creation
Time string - The time when the backup was created.
- Lifecycle
Pulumi.
Aws Native. FSx. Backup Lifecycle - The lifecycle status of the backup.
- Resource
Arn string - The Amazon Resource Name (ARN) of the backup.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags to apply to the backup at backup creation.
- Type
Pulumi.
Aws Native. FSx. Backup Type - The type of the backup.
- Backup
Id string - The ID of the backup.
- Creation
Time string - The time when the backup was created.
- Lifecycle
Backup
Lifecycle - The lifecycle status of the backup.
- Resource
Arn string - The Amazon Resource Name (ARN) of the backup.
- Tag
- The tags to apply to the backup at backup creation.
- Type
Backup
Type - The type of the backup.
- backup_
id string - The ID of the backup.
- creation_
time string - The time when the backup was created.
- lifecycle "AVAILABLE" | "CREATING" | "TRANSFERRING" | "DELETED" | "FAILED" | "PENDING" | "COPYING"
- The lifecycle status of the backup.
- resource_
arn string - The Amazon Resource Name (ARN) of the backup.
- list(object)
- The tags to apply to the backup at backup creation.
- type "AUTOMATIC" | "USER_INITIATED" | "AWS_BACKUP"
- The type of the backup.
- backup
Id String - The ID of the backup.
- creation
Time String - The time when the backup was created.
- lifecycle
Backup
Lifecycle - The lifecycle status of the backup.
- resource
Arn String - The Amazon Resource Name (ARN) of the backup.
- List<Tag>
- The tags to apply to the backup at backup creation.
- type
Backup
Type - The type of the backup.
- backup
Id string - The ID of the backup.
- creation
Time string - The time when the backup was created.
- lifecycle
Backup
Lifecycle - The lifecycle status of the backup.
- resource
Arn string - The Amazon Resource Name (ARN) of the backup.
- Tag[]
- The tags to apply to the backup at backup creation.
- type
Backup
Type - The type of the backup.
- backup_
id str - The ID of the backup.
- creation_
time str - The time when the backup was created.
- lifecycle
Backup
Lifecycle - The lifecycle status of the backup.
- resource_
arn str - The Amazon Resource Name (ARN) of the backup.
- Sequence[root_Tag]
- The tags to apply to the backup at backup creation.
- type
Backup
Type - The type of the backup.
- backup
Id String - The ID of the backup.
- creation
Time String - The time when the backup was created.
- lifecycle "AVAILABLE" | "CREATING" | "TRANSFERRING" | "DELETED" | "FAILED" | "PENDING" | "COPYING"
- The lifecycle status of the backup.
- resource
Arn String - The Amazon Resource Name (ARN) of the backup.
- List<Property Map>
- The tags to apply to the backup at backup creation.
- type "AUTOMATIC" | "USER_INITIATED" | "AWS_BACKUP"
- The type of the backup.
Supporting Types
BackupLifecycle
BackupType
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