OpenZfsFileSystem

class OpenZfsFileSystem : KotlinCustomResource

Manages an Amazon FSx for OpenZFS file system. See the FSx OpenZFS User Guide for more information.

Example Usage

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 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 test = new OpenZfsFileSystem("test", OpenZfsFileSystemArgs.builder()
.storageCapacity(64)
.subnetIds(aws_subnet.test1().id())
.deploymentType("SINGLE_AZ_1")
.throughputCapacity(64)
.build());
}
}

Import

FSx File Systems can be imported using the id, e.g.,

$ pulumi import aws:fsx/openZfsFileSystem:OpenZfsFileSystem example fs-543ab12b1ca672f33

Certain resource arguments, like security_group_ids, do not have a FSx API method for reading the information after creation. If the argument is set in the provider configuration on an imported resource, the provider will always show a difference. To workaround this behavior, either omit the argument from the provider configuration or use ignore_changes to hide the difference, e.g., terraform resource "aws_fsx_openzfs_file_system" "example" {

... other configuration ...

security_group_ids = aws_security_group.example.id

There is no FSx API for reading security_group_ids

lifecycle { ignore_changes = security_group_ids } }

Properties

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name of the file system.

Link copied to clipboard

The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days.

Link copied to clipboard
val backupId: Output<String>?

The ID of the source backup to create the filesystem from.

Link copied to clipboard

A boolean flag indicating whether tags for the file system should be copied to backups. The default value is false.

Link copied to clipboard

A boolean flag indicating whether tags for the file system should be copied to snapshots. The default value is false.

Link copied to clipboard

A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. Requires automatic_backup_retention_days to be set.

Link copied to clipboard
val deploymentType: Output<String>

The filesystem deployment type. Valid values: SINGLE_AZ_1 and SINGLE_AZ_2.

Link copied to clipboard

The SSD IOPS configuration for the Amazon FSx for OpenZFS file system. See Disk Iops Configuration Below.

Link copied to clipboard
val dnsName: Output<String>

DNS name for the file system, e.g., fs-12345678.fsx.us-west-2.amazonaws.com

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val kmsKeyId: Output<String>

ARN for the KMS Key to encrypt the file system at rest, Defaults to an AWS managed KMS Key.

Link copied to clipboard

Set of Elastic Network Interface identifiers from which the file system is accessible The first network interface returned is the primary network interface.

Link copied to clipboard
val ownerId: Output<String>

AWS account identifier that created the file system.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The configuration for the root volume of the file system. All other volumes are children or the root volume. See Root Volume Configuration Below.

Link copied to clipboard
val rootVolumeId: Output<String>

Identifier of the root volume, e.g., fsvol-12345678

Link copied to clipboard

A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.

Link copied to clipboard
val storageCapacity: Output<Int>?

The storage capacity (GiB) of the file system. Valid values between 64 and 524288.

Link copied to clipboard
val storageType: Output<String>?

The filesystem storage type. Only SSD is supported.

Link copied to clipboard
val subnetIds: Output<String>

A list of IDs for the subnets that the file system will be accessible from. Exactly 1 subnet need to be provided.

Link copied to clipboard
val tags: Output<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.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

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

Link copied to clipboard
val throughputCapacity: Output<Int>

Throughput (MB/s) of the file system. Valid values depend on deployment_type. Must be one of 64, 128, 256, 512, 1024, 2048, 3072, 4096 for SINGLE_AZ_1. Must be one of 160, 320, 640, 1280, 2560, 3840, 5120, 7680, 10240 for SINGLE_AZ_2.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcId: Output<String>

Identifier of the Virtual Private Cloud for the file system.

Link copied to clipboard

The preferred start time (in d:HH:MM format) to perform weekly maintenance, in the UTC time zone.