KxVolumeArgs

data class KxVolumeArgs(val availabilityZones: Output<List<String>>? = null, val azMode: Output<String>? = null, val description: Output<String>? = null, val environmentId: Output<String>? = null, val name: Output<String>? = null, val nas1Configurations: Output<List<KxVolumeNas1ConfigurationArgs>>? = null, val tags: Output<Map<String, String>>? = null, val type: Output<String>? = null) : ConvertibleToJava<KxVolumeArgs>

Resource for managing an AWS FinSpace Kx Volume.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.finspace.KxVolume("example", {
name: "my-tf-kx-volume",
environmentId: exampleAwsFinspaceKxEnvironment.id,
availabilityZones: "use1-az2",
azMode: "SINGLE",
type: "NAS_1",
nas1Configurations: [{
size: 1200,
type: "SSD_250",
}],
});
import pulumi
import pulumi_aws as aws
example = aws.finspace.KxVolume("example",
name="my-tf-kx-volume",
environment_id=example_aws_finspace_kx_environment["id"],
availability_zones="use1-az2",
az_mode="SINGLE",
type="NAS_1",
nas1_configurations=[{
"size": 1200,
"type": "SSD_250",
}])
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.FinSpace.KxVolume("example", new()
{
Name = "my-tf-kx-volume",
EnvironmentId = exampleAwsFinspaceKxEnvironment.Id,
AvailabilityZones = "use1-az2",
AzMode = "SINGLE",
Type = "NAS_1",
Nas1Configurations = new[]
{
new Aws.FinSpace.Inputs.KxVolumeNas1ConfigurationArgs
{
Size = 1200,
Type = "SSD_250",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/finspace"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := finspace.NewKxVolume(ctx, "example", &finspace.KxVolumeArgs{
Name: pulumi.String("my-tf-kx-volume"),
EnvironmentId: pulumi.Any(exampleAwsFinspaceKxEnvironment.Id),
AvailabilityZones: pulumi.StringArray("use1-az2"),
AzMode: pulumi.String("SINGLE"),
Type: pulumi.String("NAS_1"),
Nas1Configurations: finspace.KxVolumeNas1ConfigurationArray{
&finspace.KxVolumeNas1ConfigurationArgs{
Size: pulumi.Int(1200),
Type: pulumi.String("SSD_250"),
},
},
})
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.finspace.KxVolume;
import com.pulumi.aws.finspace.KxVolumeArgs;
import com.pulumi.aws.finspace.inputs.KxVolumeNas1ConfigurationArgs;
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 example = new KxVolume("example", KxVolumeArgs.builder()
.name("my-tf-kx-volume")
.environmentId(exampleAwsFinspaceKxEnvironment.id())
.availabilityZones("use1-az2")
.azMode("SINGLE")
.type("NAS_1")
.nas1Configurations(KxVolumeNas1ConfigurationArgs.builder()
.size(1200)
.type("SSD_250")
.build())
.build());
}
}
resources:
example:
type: aws:finspace:KxVolume
properties:
name: my-tf-kx-volume
environmentId: ${exampleAwsFinspaceKxEnvironment.id}
availabilityZones: use1-az2
azMode: SINGLE
type: NAS_1
nas1Configurations:
- size: 1200
type: SSD_250

Import

Using pulumi import, import an AWS FinSpace Kx Volume using the id (environment ID and volume name, comma-delimited). For example:

$ pulumi import aws:finspace/kxVolume:KxVolume example n3ceo7wqxoxcti5tujqwzs,my-tf-kx-volume

Constructors

Link copied to clipboard
constructor(availabilityZones: Output<List<String>>? = null, azMode: Output<String>? = null, description: Output<String>? = null, environmentId: Output<String>? = null, name: Output<String>? = null, nas1Configurations: Output<List<KxVolumeNas1ConfigurationArgs>>? = null, tags: Output<Map<String, String>>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val availabilityZones: Output<List<String>>? = null

The identifier of the AWS Availability Zone IDs. The following arguments are optional:

Link copied to clipboard
val azMode: Output<String>? = null

The number of availability zones you want to assign per volume. Currently, Finspace only support SINGLE for volumes.

Link copied to clipboard
val description: Output<String>? = null

Description of the volume.

Link copied to clipboard
val environmentId: Output<String>? = null

A unique identifier for the kdb environment, whose clusters can attach to the volume.

Link copied to clipboard
val name: Output<String>? = null

Unique name for the volumr that you want to create.

Link copied to clipboard

Specifies the configuration for the Network attached storage (NAS_1) file system volume. This parameter is required when volume_type is NAS_1. See nas1_configuration Argument Reference below.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A list of key-value pairs to label the volume. You can add up to 50 tags to a volume

Link copied to clipboard
val type: Output<String>? = null

The type of file system volume. Currently, FinSpace only supports the NAS_1 volume type. When you select the NAS_1 volume type, you must also provide nas1_configuration.

Functions

Link copied to clipboard
open override fun toJava(): KxVolumeArgs