We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 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.
Create Backup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Backup(name: string, args?: BackupArgs, opts?: CustomResourceOptions);@overload
def Backup(resource_name: str,
args: Optional[BackupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Backup(resource_name: str,
opts: Optional[ResourceOptions] = None,
file_system_id: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewBackup(ctx *Context, name string, args *BackupArgs, opts ...ResourceOption) (*Backup, error)public Backup(string name, BackupArgs? args = null, CustomResourceOptions? opts = null)
public Backup(String name, BackupArgs args)
public Backup(String name, BackupArgs args, CustomResourceOptions options)
type: aws-native:fsx:Backup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_fsx_backup" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args BackupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BackupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BackupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BackupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Backup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Backup resource accepts the following input properties:
- File
System stringId - The ID of the file system to back up.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags to apply to the backup at backup creation.
- File
System stringId - The ID of the file system to back up.
-
Tag
Args - The tags to apply to the backup at backup creation.
- file_
system_ stringid - The ID of the file system to back up.
- list(object)
- The tags to apply to the backup at backup creation.
- file
System StringId - The ID of the file system to back up.
- List<Tag>
- The tags to apply to the backup at backup creation.
- file
System stringId - The ID of the file system to back up.
- Tag[]
- The tags to apply to the backup at backup creation.
- file_
system_ strid - The ID of the file system to back up.
-
Sequence[Tag
Args] - The tags to apply to the backup at backup creation.
- file
System StringId - The ID of the file system to back up.
- List<Property Map>
- The tags to apply to the backup at backup creation.
Outputs
All input properties are implicitly available as output properties. Additionally, the Backup resource produces the following output properties:
- Backup
Id string - The ID of the backup.
- Creation
Time string - The time when the backup was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Pulumi.
Aws Native. FSx. Backup Lifecycle - The lifecycle status of the backup.
- Resource
Arn string - The Amazon Resource Name (ARN) of the backup.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Backup
Lifecycle - The lifecycle status of the backup.
- Resource
Arn string - The Amazon Resource Name (ARN) of the backup.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Backup
Lifecycle - The lifecycle status of the backup.
- resource
Arn String - The Amazon Resource Name (ARN) of the backup.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Backup
Lifecycle - The lifecycle status of the backup.
- resource
Arn string - The Amazon Resource Name (ARN) of the backup.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle
Backup
Lifecycle - The lifecycle status of the backup.
- resource_
arn str - The Amazon Resource Name (ARN) of the backup.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- type "AUTOMATIC" | "USER_INITIATED" | "AWS_BACKUP"
- The type of the backup.
Look up Existing Backup Resource
Get an existing Backup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Backup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Backupfunc GetBackup(ctx *Context, name string, id IDInput, state *BackupState, opts ...ResourceOption) (*Backup, error)public static Backup Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Backup get(String name, Output<String> id, CustomResourceOptions options)resources: existingBackup: type: aws-native:fsx:Backup get: id: ${id}import {
to = aws-native_fsx_backup.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state BackupState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
BackupLifecycle
The lifecycle status of the backup.
| Name | Value |
|---|---|
| Available | AVAILABLE |
| Creating | CREATING |
| Transferring | TRANSFERRING |
| Deleted | DELETED |
| Failed | FAILED |
| Pending | PENDING |
| Copying | COPYING |
| Name | Value |
|---|---|
| Backup | AVAILABLE |
| Backup | CREATING |
| Backup | TRANSFERRING |
| Backup | DELETED |
| Backup | FAILED |
| Backup | PENDING |
| Backup | COPYING |
| Value |
|---|
AVAILABLE |
CREATING |
TRANSFERRING |
DELETED |
FAILED |
PENDING |
COPYING |
| Name | Value |
|---|---|
| Available | AVAILABLE |
| Creating | CREATING |
| Transferring | TRANSFERRING |
| Deleted | DELETED |
| Failed | FAILED |
| Pending | PENDING |
| Copying | COPYING |
| Name | Value |
|---|---|
| Available | AVAILABLE |
| Creating | CREATING |
| Transferring | TRANSFERRING |
| Deleted | DELETED |
| Failed | FAILED |
| Pending | PENDING |
| Copying | COPYING |
| Name | Value |
|---|---|
| AVAILABLE | AVAILABLE |
| CREATING | CREATING |
| TRANSFERRING | TRANSFERRING |
| DELETED | DELETED |
| FAILED | FAILED |
| PENDING | PENDING |
| COPYING | COPYING |
| Value |
|---|
AVAILABLE |
CREATING |
TRANSFERRING |
DELETED |
FAILED |
PENDING |
COPYING |
BackupType
The type of the backup.
| Name | Value |
|---|---|
| Automatic | AUTOMATIC |
| User | USER_INITIATED |
| Aws | AWS_BACKUP |
| Name | Value |
|---|---|
| Backup | AUTOMATIC |
| Backup | USER_INITIATED |
| Backup | AWS_BACKUP |
| Value |
|---|
AUTOMATIC |
USER_INITIATED |
AWS_BACKUP |
| Name | Value |
|---|---|
| Automatic | AUTOMATIC |
| User | USER_INITIATED |
| Aws | AWS_BACKUP |
| Name | Value |
|---|---|
| Automatic | AUTOMATIC |
| User | USER_INITIATED |
| Aws | AWS_BACKUP |
| Name | Value |
|---|---|
| AUTOMATIC | AUTOMATIC |
| USER_INITIATED | USER_INITIATED |
| AWS_BACKUP | AWS_BACKUP |
| Value |
|---|
AUTOMATIC |
USER_INITIATED |
AWS_BACKUP |
Tag, TagArgs
A set of tags to apply to the resource.
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 Wednesday, Nov 18, 2026 by Pulumi