Skip to content

Commit

Permalink
fix(core): docs refer to "createNamingScheme" which was renamed to "a…
Browse files Browse the repository at this point in the history
…llocateLogicalId" (#7840)

Fixes #7527
  • Loading branch information
Elad Ben-Israel committed May 7, 2020
1 parent 21b4055 commit d79595d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/core/lib/stack.ts
Expand Up @@ -331,7 +331,7 @@ export class Stack extends Construct implements ITaggable {
* Rename a generated logical identities
*
* To modify the naming scheme strategy, extend the `Stack` class and
* override the `createNamingScheme` method.
* override the `allocateLogicalId` method.
*/
public renameLogicalId(oldId: string, newId: string) {
this._logicalIds.addRename(oldId, newId);
Expand Down

0 comments on commit d79595d

Please sign in to comment.