Cluster Args
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
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(data.aws_iam_role().example().arn())
.nodeType("dax.r4.large")
.replicationFactor(1)
.build());
}
}
Content copied to clipboard
Import
Using pulumi import
, import DAX Clusters using the cluster_name
. For example:
$ pulumi import aws:dax/cluster:Cluster my_cluster my_cluster
Content copied to clipboard
Constructors
Link copied to clipboard
fun ClusterArgs(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)