ClusterArgs

data class ClusterArgs(val availabilityZones: Output<List<String>>? = null, val clusterEndpointEncryptionType: Output<String>? = null, val clusterName: Output<String>? = null, val description: Output<String>? = null, val iamRoleArn: Output<String>? = null, val maintenanceWindow: Output<String>? = null, val nodeType: Output<String>? = null, val notificationTopicArn: Output<String>? = null, val parameterGroupName: Output<String>? = null, val replicationFactor: Output<Int>? = null, val securityGroupIds: Output<List<String>>? = null, val serverSideEncryption: Output<ClusterServerSideEncryptionArgs>? = null, val subnetGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ClusterArgs>

Provides a DAX Cluster resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const bar = new aws.dax.Cluster("bar", {
clusterName: "cluster-example",
iamRoleArn: example.arn,
nodeType: "dax.r4.large",
replicationFactor: 1,
});
import pulumi
import pulumi_aws as aws
bar = aws.dax.Cluster("bar",
cluster_name="cluster-example",
iam_role_arn=example["arn"],
node_type="dax.r4.large",
replication_factor=1)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var bar = new Aws.Dax.Cluster("bar", new()
{
ClusterName = "cluster-example",
IamRoleArn = example.Arn,
NodeType = "dax.r4.large",
ReplicationFactor = 1,
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dax"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dax.NewCluster(ctx, "bar", &dax.ClusterArgs{
ClusterName: pulumi.String("cluster-example"),
IamRoleArn: pulumi.Any(example.Arn),
NodeType: pulumi.String("dax.r4.large"),
ReplicationFactor: pulumi.Int(1),
})
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.dax.Cluster;
import com.pulumi.aws.dax.ClusterArgs;
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 bar = new Cluster("bar", ClusterArgs.builder()
.clusterName("cluster-example")
.iamRoleArn(example.arn())
.nodeType("dax.r4.large")
.replicationFactor(1)
.build());
}
}
resources:
bar:
type: aws:dax:Cluster
properties:
clusterName: cluster-example
iamRoleArn: ${example.arn}
nodeType: dax.r4.large
replicationFactor: 1

Import

Using pulumi import, import DAX Clusters using the cluster_name. For example:

$ pulumi import aws:dax/cluster:Cluster my_cluster my_cluster

Constructors

Link copied to clipboard
constructor(availabilityZones: Output<List<String>>? = null, clusterEndpointEncryptionType: Output<String>? = null, clusterName: Output<String>? = null, description: Output<String>? = null, iamRoleArn: Output<String>? = null, maintenanceWindow: Output<String>? = null, nodeType: Output<String>? = null, notificationTopicArn: Output<String>? = null, parameterGroupName: Output<String>? = null, replicationFactor: Output<Int>? = null, securityGroupIds: Output<List<String>>? = null, serverSideEncryption: Output<ClusterServerSideEncryptionArgs>? = null, subnetGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

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

List of Availability Zones in which the nodes will be created

Link copied to clipboard

The type of encryption the cluster's endpoint should support. Valid values are: NONE and TLS. Default value is NONE.

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

Group identifier. DAX converts this name to lowercase

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

Description for the cluster

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

A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX will assume this role and use the role's permissions to access DynamoDB on your behalf

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

Specifies the weekly time range for when maintenance on the cluster is performed. The format is ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: sun:05:00-sun:09:00

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

The compute and memory capacity of the nodes. See Nodes for supported node types

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

An Amazon Resource Name (ARN) of an SNS topic to send DAX notifications to. Example: arn:aws:sns:us-east-1:012345678999:my_sns_topic

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

Name of the parameter group to associate with this DAX cluster

Link copied to clipboard
val replicationFactor: Output<Int>? = null

The number of nodes in the DAX cluster. A replication factor of 1 will create a single-node cluster, without any read replicas

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

One or more VPC security groups associated with the cluster

Link copied to clipboard

Encrypt at rest options

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

Name of the subnet group to be used for the cluster

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

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

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