Skip to content

Resource: awsMemorydbSnapshot

Provides information about a MemoryDB Snapshot.

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.dataAwsMemorydbSnapshot.DataAwsMemorydbSnapshot(this, "example", {
  name: "my-snapshot",
});

Argument Reference

The following arguments are required:

  • name - (Required) Name of the snapshot.

Attributes Reference

In addition, the following attributes are exported:

  • id - Name of the snapshot.
  • arn - ARN of the snapshot.
  • clusterConfiguration - The configuration of the cluster from which the snapshot was taken.
  • description - Description for the cluster.
  • engineVersion - Version number of the Redis engine used by the cluster.
  • maintenanceWindow - The weekly time range during which maintenance on the cluster is performed.
  • name - Name of the cluster.
  • nodeType - Compute and memory capacity of the nodes in the cluster.
  • numShards - Number of shards in the cluster.
  • parameterGroupName - Name of the parameter group associated with the cluster.
  • port - Port number on which the cluster accepts connections.
  • snapshotRetentionLimit - Number of days for which MemoryDB retains automatic snapshots before deleting them.
  • snapshotWindow - The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of the shard.
  • subnetGroupName - Name of the subnet group used by the cluster.
  • topicArn - ARN of the SNS topic to which cluster notifications are sent.
  • vpcId - The VPC in which the cluster exists.
  • clusterName - Name of the MemoryDB cluster that this snapshot was taken from.
  • kmsKeyArn - ARN of the KMS key used to encrypt the snapshot at rest.
  • source - Whether the snapshot is from an automatic backup (automated) or was created manually (manual).
  • tags - Map of tags assigned to the snapshot.