AWS Classic

v5.16.0 published on Saturday, Sep 24, 2022 by Pulumi

Backup

Provides a FSx Backup resource.

Lustre Example

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.fsx.LustreFileSystem;
import com.pulumi.aws.fsx.LustreFileSystemArgs;
import com.pulumi.aws.fsx.Backup;
import com.pulumi.aws.fsx.BackupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var exampleLustreFileSystem = new LustreFileSystem("exampleLustreFileSystem", LustreFileSystemArgs.builder()        
            .storageCapacity(1200)
            .subnetIds(aws_subnet.example().id())
            .deploymentType("PERSISTENT_1")
            .perUnitStorageThroughput(50)
            .build());

        var exampleBackup = new Backup("exampleBackup", BackupArgs.builder()        
            .fileSystemId(exampleLustreFileSystem.id())
            .build());

    }
}
resources:
  exampleBackup:
    type: aws:fsx:Backup
    properties:
      fileSystemId: ${exampleLustreFileSystem.id}
  exampleLustreFileSystem:
    type: aws:fsx:LustreFileSystem
    properties:
      storageCapacity: 1200
      subnetIds:
        - ${aws_subnet.example.id}
      deploymentType: PERSISTENT_1
      perUnitStorageThroughput: 50

Windows Example

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const exampleWindowsFileSystem = new aws.fsx.WindowsFileSystem("exampleWindowsFileSystem", {
    activeDirectoryId: aws_directory_service_directory.eample.id,
    skipFinalBackup: true,
    storageCapacity: 32,
    subnetIds: [aws_subnet.example1.id],
    throughputCapacity: 8,
});
const exampleBackup = new aws.fsx.Backup("exampleBackup", {fileSystemId: exampleWindowsFileSystem.id});
import pulumi
import pulumi_aws as aws

example_windows_file_system = aws.fsx.WindowsFileSystem("exampleWindowsFileSystem",
    active_directory_id=aws_directory_service_directory["eample"]["id"],
    skip_final_backup=True,
    storage_capacity=32,
    subnet_ids=[aws_subnet["example1"]["id"]],
    throughput_capacity=8)
example_backup = aws.fsx.Backup("exampleBackup", file_system_id=example_windows_file_system.id)
using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var exampleWindowsFileSystem = new Aws.Fsx.WindowsFileSystem("exampleWindowsFileSystem", new()
    {
        ActiveDirectoryId = aws_directory_service_directory.Eample.Id,
        SkipFinalBackup = true,
        StorageCapacity = 32,
        SubnetIds = new[]
        {
            aws_subnet.Example1.Id,
        },
        ThroughputCapacity = 8,
    });

    var exampleBackup = new Aws.Fsx.Backup("exampleBackup", new()
    {
        FileSystemId = exampleWindowsFileSystem.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/fsx"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleWindowsFileSystem, err := fsx.NewWindowsFileSystem(ctx, "exampleWindowsFileSystem", &fsx.WindowsFileSystemArgs{
			ActiveDirectoryId: pulumi.Any(aws_directory_service_directory.Eample.Id),
			SkipFinalBackup:   pulumi.Bool(true),
			StorageCapacity:   pulumi.Int(32),
			SubnetIds: pulumi.StringArray{
				pulumi.Any(aws_subnet.Example1.Id),
			},
			ThroughputCapacity: pulumi.Int(8),
		})
		if err != nil {
			return err
		}
		_, err = fsx.NewBackup(ctx, "exampleBackup", &fsx.BackupArgs{
			FileSystemId: exampleWindowsFileSystem.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.fsx.WindowsFileSystem;
import com.pulumi.aws.fsx.WindowsFileSystemArgs;
import com.pulumi.aws.fsx.Backup;
import com.pulumi.aws.fsx.BackupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var exampleWindowsFileSystem = new WindowsFileSystem("exampleWindowsFileSystem", WindowsFileSystemArgs.builder()        
            .activeDirectoryId(aws_directory_service_directory.eample().id())
            .skipFinalBackup(true)
            .storageCapacity(32)
            .subnetIds(aws_subnet.example1().id())
            .throughputCapacity(8)
            .build());

        var exampleBackup = new Backup("exampleBackup", BackupArgs.builder()        
            .fileSystemId(exampleWindowsFileSystem.id())
            .build());

    }
}
resources:
  exampleBackup:
    type: aws:fsx:Backup
    properties:
      fileSystemId: ${exampleWindowsFileSystem.id}
  exampleWindowsFileSystem:
    type: aws:fsx:WindowsFileSystem
    properties:
      activeDirectoryId: ${aws_directory_service_directory.eample.id}
      skipFinalBackup: true
      storageCapacity: 32
      subnetIds:
        - ${aws_subnet.example1.id}
      throughputCapacity: 8

ONTAP Example

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const exampleOntapVolume = new aws.fsx.OntapVolume("exampleOntapVolume", {
    junctionPath: "/example",
    sizeInMegabytes: 1024,
    storageEfficiencyEnabled: true,
    storageVirtualMachineId: aws_fsx_ontap_storage_virtual_machine.test.id,
});
const exampleBackup = new aws.fsx.Backup("exampleBackup", {volumeId: exampleOntapVolume.id});
import pulumi
import pulumi_aws as aws

example_ontap_volume = aws.fsx.OntapVolume("exampleOntapVolume",
    junction_path="/example",
    size_in_megabytes=1024,
    storage_efficiency_enabled=True,
    storage_virtual_machine_id=aws_fsx_ontap_storage_virtual_machine["test"]["id"])
example_backup = aws.fsx.Backup("exampleBackup", volume_id=example_ontap_volume.id)
using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var exampleOntapVolume = new Aws.Fsx.OntapVolume("exampleOntapVolume", new()
    {
        JunctionPath = "/example",
        SizeInMegabytes = 1024,
        StorageEfficiencyEnabled = true,
        StorageVirtualMachineId = aws_fsx_ontap_storage_virtual_machine.Test.Id,
    });

    var exampleBackup = new Aws.Fsx.Backup("exampleBackup", new()
    {
        VolumeId = exampleOntapVolume.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/fsx"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleOntapVolume, err := fsx.NewOntapVolume(ctx, "exampleOntapVolume", &fsx.OntapVolumeArgs{
			JunctionPath:             pulumi.String("/example"),
			SizeInMegabytes:          pulumi.Int(1024),
			StorageEfficiencyEnabled: pulumi.Bool(true),
			StorageVirtualMachineId:  pulumi.Any(aws_fsx_ontap_storage_virtual_machine.Test.Id),
		})
		if err != nil {
			return err
		}
		_, err = fsx.NewBackup(ctx, "exampleBackup", &fsx.BackupArgs{
			VolumeId: exampleOntapVolume.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.fsx.OntapVolume;
import com.pulumi.aws.fsx.OntapVolumeArgs;
import com.pulumi.aws.fsx.Backup;
import com.pulumi.aws.fsx.BackupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var exampleOntapVolume = new OntapVolume("exampleOntapVolume", OntapVolumeArgs.builder()        
            .junctionPath("/example")
            .sizeInMegabytes(1024)
            .storageEfficiencyEnabled(true)
            .storageVirtualMachineId(aws_fsx_ontap_storage_virtual_machine.test().id())
            .build());

        var exampleBackup = new Backup("exampleBackup", BackupArgs.builder()        
            .volumeId(exampleOntapVolume.id())
            .build());

    }
}
resources:
  exampleBackup:
    type: aws:fsx:Backup
    properties:
      volumeId: ${exampleOntapVolume.id}
  exampleOntapVolume:
    type: aws:fsx:OntapVolume
    properties:
      junctionPath: /example
      sizeInMegabytes: 1024
      storageEfficiencyEnabled: true
      storageVirtualMachineId: ${aws_fsx_ontap_storage_virtual_machine.test.id}

OpenZFS Example

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.fsx.OpenZfsFileSystem;
import com.pulumi.aws.fsx.OpenZfsFileSystemArgs;
import com.pulumi.aws.fsx.Backup;
import com.pulumi.aws.fsx.BackupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var exampleOpenZfsFileSystem = new OpenZfsFileSystem("exampleOpenZfsFileSystem", OpenZfsFileSystemArgs.builder()        
            .storageCapacity(64)
            .subnetIds(aws_subnet.example().id())
            .deploymentType("SINGLE_AZ_1")
            .throughputCapacity(64)
            .build());

        var exampleBackup = new Backup("exampleBackup", BackupArgs.builder()        
            .fileSystemId(exampleOpenZfsFileSystem.id())
            .build());

    }
}
resources:
  exampleBackup:
    type: aws:fsx:Backup
    properties:
      fileSystemId: ${exampleOpenZfsFileSystem.id}
  exampleOpenZfsFileSystem:
    type: aws:fsx:OpenZfsFileSystem
    properties:
      storageCapacity: 64
      subnetIds:
        - ${aws_subnet.example.id}
      deploymentType: SINGLE_AZ_1
      throughputCapacity: 64

Create a Backup Resource

new Backup(name: string, args?: BackupArgs, opts?: CustomResourceOptions);
@overload
def Backup(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           file_system_id: Optional[str] = None,
           tags: Optional[Mapping[str, str]] = None,
           volume_id: Optional[str] = None)
@overload
def Backup(resource_name: str,
           args: Optional[BackupArgs] = None,
           opts: Optional[ResourceOptions] = 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:fsx:Backup
properties: # The arguments to resource properties.
options: # 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.
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

The Backup resource accepts the following input properties:

FileSystemId string

The ID of the file system to back up. Required if backing up Lustre or Windows file systems.

Tags Dictionary<string, string>

A map of tags to assign to the file system. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set copy_tags_to_backups to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.

VolumeId string

The ID of the volume to back up. Required if backing up a ONTAP Volume.

FileSystemId string

The ID of the file system to back up. Required if backing up Lustre or Windows file systems.

Tags map[string]string

A map of tags to assign to the file system. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set copy_tags_to_backups to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.

VolumeId string

The ID of the volume to back up. Required if backing up a ONTAP Volume.

fileSystemId String

The ID of the file system to back up. Required if backing up Lustre or Windows file systems.

tags Map<String,String>

A map of tags to assign to the file system. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set copy_tags_to_backups to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.

volumeId String

The ID of the volume to back up. Required if backing up a ONTAP Volume.

fileSystemId string

The ID of the file system to back up. Required if backing up Lustre or Windows file systems.

tags {[key: string]: string}

A map of tags to assign to the file system. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set copy_tags_to_backups to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.

volumeId string

The ID of the volume to back up. Required if backing up a ONTAP Volume.

file_system_id str

The ID of the file system to back up. Required if backing up Lustre or Windows file systems.

tags Mapping[str, str]

A map of tags to assign to the file system. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set copy_tags_to_backups to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.

volume_id str

The ID of the volume to back up. Required if backing up a ONTAP Volume.

fileSystemId String

The ID of the file system to back up. Required if backing up Lustre or Windows file systems.

tags Map<String>

A map of tags to assign to the file system. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set copy_tags_to_backups to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.

volumeId String

The ID of the volume to back up. Required if backing up a ONTAP Volume.

Outputs

All input properties are implicitly available as output properties. Additionally, the Backup resource produces the following output properties:

Arn string

Amazon Resource Name of the backup.

Id string

The provider-assigned unique ID for this managed resource.

KmsKeyId string

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.

OwnerId string

AWS account identifier that created the file system.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Type string

The type of the file system backup.

Arn string

Amazon Resource Name of the backup.

Id string

The provider-assigned unique ID for this managed resource.

KmsKeyId string

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.

OwnerId string

AWS account identifier that created the file system.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Type string

The type of the file system backup.

arn String

Amazon Resource Name of the backup.

id String

The provider-assigned unique ID for this managed resource.

kmsKeyId String

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.

ownerId String

AWS account identifier that created the file system.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

type String

The type of the file system backup.

arn string

Amazon Resource Name of the backup.

id string

The provider-assigned unique ID for this managed resource.

kmsKeyId string

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.

ownerId string

AWS account identifier that created the file system.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

type string

The type of the file system backup.

arn str

Amazon Resource Name of the backup.

id str

The provider-assigned unique ID for this managed resource.

kms_key_id str

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.

owner_id str

AWS account identifier that created the file system.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

type str

The type of the file system backup.

arn String

Amazon Resource Name of the backup.

id String

The provider-assigned unique ID for this managed resource.

kmsKeyId String

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.

ownerId String

AWS account identifier that created the file system.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

type String

The type of the file system backup.

Look up an 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>, state?: BackupState, opts?: CustomResourceOptions): Backup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        file_system_id: Optional[str] = None,
        kms_key_id: Optional[str] = None,
        owner_id: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        type: Optional[str] = None,
        volume_id: Optional[str] = None) -> Backup
func GetBackup(ctx *Context, name string, id IDInput, state *BackupState, opts ...ResourceOption) (*Backup, error)
public static Backup Get(string name, Input<string> id, BackupState? state, CustomResourceOptions? opts = null)
public static Backup get(String name, Output<String> id, BackupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string

Amazon Resource Name of the backup.

FileSystemId string

The ID of the file system to back up. Required if backing up Lustre or Windows file systems.

KmsKeyId string

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.

OwnerId string

AWS account identifier that created the file system.

Tags Dictionary<string, string>

A map of tags to assign to the file system. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set copy_tags_to_backups to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Type string

The type of the file system backup.

VolumeId string

The ID of the volume to back up. Required if backing up a ONTAP Volume.

Arn string

Amazon Resource Name of the backup.

FileSystemId string

The ID of the file system to back up. Required if backing up Lustre or Windows file systems.

KmsKeyId string

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.

OwnerId string

AWS account identifier that created the file system.

Tags map[string]string

A map of tags to assign to the file system. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set copy_tags_to_backups to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Type string

The type of the file system backup.

VolumeId string

The ID of the volume to back up. Required if backing up a ONTAP Volume.

arn String

Amazon Resource Name of the backup.

fileSystemId String

The ID of the file system to back up. Required if backing up Lustre or Windows file systems.

kmsKeyId String

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.

ownerId String

AWS account identifier that created the file system.

tags Map<String,String>

A map of tags to assign to the file system. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set copy_tags_to_backups to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

type String

The type of the file system backup.

volumeId String

The ID of the volume to back up. Required if backing up a ONTAP Volume.

arn string

Amazon Resource Name of the backup.

fileSystemId string

The ID of the file system to back up. Required if backing up Lustre or Windows file systems.

kmsKeyId string

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.

ownerId string

AWS account identifier that created the file system.

tags {[key: string]: string}

A map of tags to assign to the file system. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set copy_tags_to_backups to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

type string

The type of the file system backup.

volumeId string

The ID of the volume to back up. Required if backing up a ONTAP Volume.

arn str

Amazon Resource Name of the backup.

file_system_id str

The ID of the file system to back up. Required if backing up Lustre or Windows file systems.

kms_key_id str

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.

owner_id str

AWS account identifier that created the file system.

tags Mapping[str, str]

A map of tags to assign to the file system. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set copy_tags_to_backups to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

type str

The type of the file system backup.

volume_id str

The ID of the volume to back up. Required if backing up a ONTAP Volume.

arn String

Amazon Resource Name of the backup.

fileSystemId String

The ID of the file system to back up. Required if backing up Lustre or Windows file systems.

kmsKeyId String

The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.

ownerId String

AWS account identifier that created the file system.

tags Map<String>

A map of tags to assign to the file system. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. If you have set copy_tags_to_backups to true, and you specify one or more tags, no existing file system tags are copied from the file system to the backup.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

type String

The type of the file system backup.

volumeId String

The ID of the volume to back up. Required if backing up a ONTAP Volume.

Import

FSx Backups can be imported using the id, e.g.,

 $ pulumi import aws:fsx/backup:Backup example fs-543ab12b1ca672f33

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.