Data Source: awsDbSubnetGroup
Use this data source to get information about an RDS 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.dataAwsDbSubnetGroup.DataAwsDbSubnetGroup(this, "database", {
name: "my-test-database-subnet-group",
});
Argument Reference
The following arguments are supported:
name
- (Required) Name of the RDS database subnet group.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn
- ARN for the DB subnet group.description
- Provides the description of the DB subnet group.status
- Provides the status of the DB subnet group.subnetIds
- Contains a list of subnet identifiers.supportedNetworkTypes
- The network type of the DB subnet group.vpcId
- Provides the VPC ID of the DB subnet group.