Cluster
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());
}
}
Import
DAX Clusters can be imported using the cluster_name
, e.g.,
$ pulumi import aws:dax/cluster:Cluster my_cluster my_cluster
1http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.concepts.cluster.html#DAX.concepts.nodes
Properties
List of Availability Zones in which the nodes will be created
The DNS name of the DAX cluster without the port appended
The type of encryption the cluster's endpoint should support. Valid values are: NONE
and TLS
. Default value is NONE
.
Group identifier. DAX converts this name to lowercase
The configuration endpoint for this DAX cluster, consisting of a DNS name and a port number
Description for the cluster
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
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
List of node objects including id
, address
, port
and availability_zone
. Referenceable e.g., as ${aws_dax_cluster.test.nodes.0.address}
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
Name of the parameter group to associate with this DAX cluster
The number of nodes in the DAX cluster. A replication factor of 1 will create a single-node cluster, without any read replicas
One or more VPC security groups associated with the cluster
Encrypt at rest options
Name of the subnet group to be used for the cluster