Skip to content

Resource: awsDaxSubnetGroup

Provides a DAX Subnet Group resource.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.daxSubnetGroup.DaxSubnetGroup(this, "example", {
  name: "example",
  subnetIds: ["${aws_subnet.example1.id}", "${aws_subnet.example2.id}"],
});

Argument Reference

The following arguments are supported:

  • name – (Required) The name of the subnet group.
  • description - (Optional) A description of the subnet group.
  • subnetIds – (Required) A list of VPC subnet IDs for the subnet group.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The name of the subnet group.
  • vpcId – VPC ID of the subnet group.

Import

DAX Subnet Group can be imported using the name, e.g.,

$ terraform import aws_dax_subnet_group.example my_dax_sg