OpenZfsVolume

class OpenZfsVolume : KotlinCustomResource

Manages an Amazon FSx for OpenZFS volume. 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.OpenZfsVolume;
import com.pulumi.aws.fsx.OpenZfsVolumeArgs;
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 OpenZfsVolume("test", OpenZfsVolumeArgs.builder()
.parentVolumeId(aws_fsx_openzfs_file_system.test().root_volume_id())
.build());
}
}

Import

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

$ pulumi import aws:fsx/openZfsVolume:OpenZfsVolume example fsvol-543ab12b1ca672f33

Properties

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name of the file system.

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

Method used to compress the data on the volume. Valid values are NONE or ZSTD. Child volumes that don't specify compression option will inherit from parent volume. This option on file system applies to the root volume.

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

The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.

Link copied to clipboard

NFS export configuration for the root volume. Exactly 1 item. See NFS Exports Below.

Link copied to clipboard

The ARN of the source snapshot to create the volume from.

Link copied to clipboard
val parentVolumeId: Output<String>

The volume id of volume that will be the parent volume for the volume being created, this could be the root volume created from the aws.fsx.OpenZfsFileSystem resource with the root_volume_id or the id property of another aws.fsx.OpenZfsVolume.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val readOnly: Output<Boolean>

specifies whether the volume is read-only. Default is false.

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

The record size of an OpenZFS volume, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB.

Link copied to clipboard

The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent.

Link copied to clipboard

The amount of storage in gibibytes (GiB) to reserve from the parent volume.

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 urn: Output<String>
Link copied to clipboard

Specify how much storage users or groups can use on the volume. Maximum of 100 items. See User and Group Quotas Below.

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