Try AWS Native preview for resources not in the classic version.
aws.fsx.Backup
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Provides a FSx Backup resource.
Lustre Example
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const exampleLustreFileSystem = new aws.fsx.LustreFileSystem("exampleLustreFileSystem", {
storageCapacity: 1200,
subnetIds: [aws_subnet.example.id],
deploymentType: "PERSISTENT_1",
perUnitStorageThroughput: 50,
});
const exampleBackup = new aws.fsx.Backup("exampleBackup", {fileSystemId: exampleLustreFileSystem.id});
import pulumi
import pulumi_aws as aws
example_lustre_file_system = aws.fsx.LustreFileSystem("exampleLustreFileSystem",
storage_capacity=1200,
subnet_ids=[aws_subnet["example"]["id"]],
deployment_type="PERSISTENT_1",
per_unit_storage_throughput=50)
example_backup = aws.fsx.Backup("exampleBackup", file_system_id=example_lustre_file_system.id)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var exampleLustreFileSystem = new Aws.Fsx.LustreFileSystem("exampleLustreFileSystem", new()
{
StorageCapacity = 1200,
SubnetIds = new[]
{
aws_subnet.Example.Id,
},
DeploymentType = "PERSISTENT_1",
PerUnitStorageThroughput = 50,
});
var exampleBackup = new Aws.Fsx.Backup("exampleBackup", new()
{
FileSystemId = exampleLustreFileSystem.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 {
exampleLustreFileSystem, err := fsx.NewLustreFileSystem(ctx, "exampleLustreFileSystem", &fsx.LustreFileSystemArgs{
StorageCapacity: pulumi.Int(1200),
SubnetIds: pulumi.String{
aws_subnet.Example.Id,
},
DeploymentType: pulumi.String("PERSISTENT_1"),
PerUnitStorageThroughput: pulumi.Int(50),
})
if err != nil {
return err
}
_, err = fsx.NewBackup(ctx, "exampleBackup", &fsx.BackupArgs{
FileSystemId: exampleLustreFileSystem.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.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 System.Linq;
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{
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 System.Linq;
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
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const exampleOpenZfsFileSystem = new aws.fsx.OpenZfsFileSystem("exampleOpenZfsFileSystem", {
storageCapacity: 64,
subnetIds: [aws_subnet.example.id],
deploymentType: "SINGLE_AZ_1",
throughputCapacity: 64,
});
const exampleBackup = new aws.fsx.Backup("exampleBackup", {fileSystemId: exampleOpenZfsFileSystem.id});
import pulumi
import pulumi_aws as aws
example_open_zfs_file_system = aws.fsx.OpenZfsFileSystem("exampleOpenZfsFileSystem",
storage_capacity=64,
subnet_ids=[aws_subnet["example"]["id"]],
deployment_type="SINGLE_AZ_1",
throughput_capacity=64)
example_backup = aws.fsx.Backup("exampleBackup", file_system_id=example_open_zfs_file_system.id)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var exampleOpenZfsFileSystem = new Aws.Fsx.OpenZfsFileSystem("exampleOpenZfsFileSystem", new()
{
StorageCapacity = 64,
SubnetIds = new[]
{
aws_subnet.Example.Id,
},
DeploymentType = "SINGLE_AZ_1",
ThroughputCapacity = 64,
});
var exampleBackup = new Aws.Fsx.Backup("exampleBackup", new()
{
FileSystemId = exampleOpenZfsFileSystem.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 {
exampleOpenZfsFileSystem, err := fsx.NewOpenZfsFileSystem(ctx, "exampleOpenZfsFileSystem", &fsx.OpenZfsFileSystemArgs{
StorageCapacity: pulumi.Int(64),
SubnetIds: pulumi.String{
aws_subnet.Example.Id,
},
DeploymentType: pulumi.String("SINGLE_AZ_1"),
ThroughputCapacity: pulumi.Int(64),
})
if err != nil {
return err
}
_, err = fsx.NewBackup(ctx, "exampleBackup", &fsx.BackupArgs{
FileSystemId: exampleOpenZfsFileSystem.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.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 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:
- File
System stringId The ID of the file system to back up. Required if backing up Lustre or Windows file systems.
- 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 setcopy_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 string The ID of the volume to back up. Required if backing up a ONTAP Volume.
- File
System stringId The ID of the file system to back up. Required if backing up Lustre or Windows file systems.
- 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 setcopy_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 string The ID of the volume to back up. Required if backing up a ONTAP Volume.
- file
System StringId The ID of the file system to back up. Required if backing up Lustre or Windows file systems.
- 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 setcopy_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 String The ID of the volume to back up. Required if backing up a ONTAP Volume.
- file
System stringId The ID of the file system to back up. Required if backing up Lustre or Windows file systems.
- {[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 setcopy_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 string The ID of the volume to back up. Required if backing up a ONTAP Volume.
- file_
system_ strid The ID of the file system to back up. Required if backing up Lustre or Windows file systems.
- 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 setcopy_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.
- file
System StringId The ID of the file system to back up. Required if backing up Lustre or Windows file systems.
- 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 setcopy_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 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.
- Kms
Key stringId 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 string AWS account identifier that created the file system.
- 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.
- Kms
Key stringId 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 string AWS account identifier that created the file system.
- 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.
- kms
Key StringId 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 String AWS account identifier that created the file system.
- 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.
- kms
Key stringId 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 string AWS account identifier that created the file system.
- {[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_ strid 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.
- 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.
- kms
Key StringId 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 String AWS account identifier that created the file system.
- 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 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.
- Arn string
Amazon Resource Name of the backup.
- File
System stringId The ID of the file system to back up. Required if backing up Lustre or Windows file systems.
- Kms
Key stringId 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 string AWS account identifier that created the file system.
- 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 setcopy_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.- 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.
- Volume
Id string The ID of the volume to back up. Required if backing up a ONTAP Volume.
- Arn string
Amazon Resource Name of the backup.
- File
System stringId The ID of the file system to back up. Required if backing up Lustre or Windows file systems.
- Kms
Key stringId 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 string AWS account identifier that created the file system.
- 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 setcopy_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.- 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.
- Volume
Id string The ID of the volume to back up. Required if backing up a ONTAP Volume.
- arn String
Amazon Resource Name of the backup.
- file
System StringId The ID of the file system to back up. Required if backing up Lustre or Windows file systems.
- kms
Key StringId 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 String AWS account identifier that created the file system.
- 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 setcopy_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.- 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.
- volume
Id String The ID of the volume to back up. Required if backing up a ONTAP Volume.
- arn string
Amazon Resource Name of the backup.
- file
System stringId The ID of the file system to back up. Required if backing up Lustre or Windows file systems.
- kms
Key stringId 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 string AWS account identifier that created the file system.
- {[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 setcopy_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.- {[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.
- volume
Id 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_ strid The ID of the file system to back up. Required if backing up Lustre or Windows file systems.
- kms_
key_ strid 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.
- 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 setcopy_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.- 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.
- file
System StringId The ID of the file system to back up. Required if backing up Lustre or Windows file systems.
- kms
Key StringId 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 String AWS account identifier that created the file system.
- 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 setcopy_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.- 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.
- volume
Id 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
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.