Skip to content

Data Source: awsElasticacheUser

Use this data source to get information about an ElastiCache User.

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.dataAwsElasticacheUser.DataAwsElasticacheUser(this, "bar", {
  userId: "example",
});

Argument Reference

The following arguments are supported:

  • userId – (Required) Identifier for the user.

Attributes Reference

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

  • userId - Identifier for the user.
  • userName - User name of the user.
  • accessString - String for what access a user possesses within the associated ElastiCache replication groups or clusters.