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.
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: BackupArgs,
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, 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.
Supporting Types
BackupLifecycle, BackupLifecycleArgs
- Available
AVAILABLE- Creating
CREATING- Transferring
TRANSFERRING- Deleted
DELETED- Failed
FAILED- Pending
PENDING- Copying
COPYING
- Backup
Lifecycle Available AVAILABLE- Backup
Lifecycle Creating CREATING- Backup
Lifecycle Transferring TRANSFERRING- Backup
Lifecycle Deleted DELETED- Backup
Lifecycle Failed FAILED- Backup
Lifecycle Pending PENDING- Backup
Lifecycle Copying COPYING
- "AVAILABLE"
AVAILABLE- "CREATING"
CREATING- "TRANSFERRING"
TRANSFERRING- "DELETED"
DELETED- "FAILED"
FAILED- "PENDING"
PENDING- "COPYING"
COPYING
- Available
AVAILABLE- Creating
CREATING- Transferring
TRANSFERRING- Deleted
DELETED- Failed
FAILED- Pending
PENDING- Copying
COPYING
- Available
AVAILABLE- Creating
CREATING- Transferring
TRANSFERRING- Deleted
DELETED- Failed
FAILED- Pending
PENDING- Copying
COPYING
- AVAILABLE
AVAILABLE- CREATING
CREATING- TRANSFERRING
TRANSFERRING- DELETED
DELETED- FAILED
FAILED- PENDING
PENDING- COPYING
COPYING
- "AVAILABLE"
AVAILABLE- "CREATING"
CREATING- "TRANSFERRING"
TRANSFERRING- "DELETED"
DELETED- "FAILED"
FAILED- "PENDING"
PENDING- "COPYING"
COPYING
BackupType, BackupTypeArgs
- Automatic
AUTOMATIC- User
Initiated USER_INITIATED- Aws
Backup AWS_BACKUP
- Backup
Type Automatic AUTOMATIC- Backup
Type User Initiated USER_INITIATED- Backup
Type Aws Backup AWS_BACKUP
- "AUTOMATIC"
AUTOMATIC- "USER_INITIATED"
USER_INITIATED- "AWS_BACKUP"
AWS_BACKUP
- Automatic
AUTOMATIC- User
Initiated USER_INITIATED- Aws
Backup AWS_BACKUP
- Automatic
AUTOMATIC- User
Initiated USER_INITIATED- Aws
Backup AWS_BACKUP
- AUTOMATIC
AUTOMATIC- USER_INITIATED
USER_INITIATED- AWS_BACKUP
AWS_BACKUP
- "AUTOMATIC"
AUTOMATIC- "USER_INITIATED"
USER_INITIATED- "AWS_BACKUP"
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 Monday, Sep 28, 2026 by Pulumi