Skip to content

Resource: awsMemorydbSubnetGroup

Provides information about a MemoryDB Subnet Group.

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.dataAwsMemorydbSubnetGroup.DataAwsMemorydbSubnetGroup(this, "example", {
  name: "my-subnet-group",
});

Argument Reference

The following arguments are required:

  • name - (Required) Name of the subnet group.

Attributes Reference

In addition, the following attributes are exported:

  • id - Name of the subnet group.
  • arn - ARN of the subnet group.
  • description - Description of the subnet group.
  • subnetIds - Set of VPC Subnet ID-s of the subnet group.
  • vpcId - VPC in which the subnet group exists.
  • tags - Map of tags assigned to the subnet group.