Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mazyu36 committed Oct 12, 2024
1 parent fb0c440 commit cc0787e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/aws-elasticache/serverless-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,13 +218,15 @@ export interface ServerlessCacheAttributes {
* Represents a ElastiCache Serverless Cache construct in AWS CDK.
*
* @example
* declare const vpc: aws_ec2.IVpc;
*
* const serverlessCache = new ServerlessCache(
* stack,
* 'ServerlessCache',
* {
* serverlessCacheName: 'my-serverlessCache',
* engine: Engine.VALKEY,
* vpc,
* },
* );
*/
Expand Down
3 changes: 2 additions & 1 deletion src/aws-elasticache/user-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,13 @@ export interface UserGroupAttributes {
* Represents an user group construct in AWS CDK.
*
* @example
* declare const user: User;
*
* const userGroup = new UserGroup(
* stack,
* 'UserGroup',
* {
* engine: Engine.VALKEY,
* user: [user],
* },
* );
*/
Expand Down

0 comments on commit cc0787e

Please sign in to comment.