KxVolume

class KxVolume : KotlinCustomResource

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

Properties

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name (ARN) identifier of the KX volume.

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
val azMode: Output<String>

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

Link copied to clipboard

The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

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

Description of the volume.

Link copied to clipboard
val environmentId: Output<String>

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

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

Last timestamp at which the volume was updated in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.

Link copied to clipboard
val name: Output<String>

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 pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

The status of volume creation.

Link copied to clipboard
val statusReason: Output<String>

The error message when a failed state occurs.

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

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 tagsAll: Output<Map<String, String>>
Link copied to clipboard
val type: Output<String>

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.

Link copied to clipboard
val urn: Output<String>