Skip to content

Commit 018e105

Browse files
author
aws-amplify-bot
committed
update to source naming
1 parent 08c3180 commit 018e105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@aws-cdk/mixins-preview/scripts/spec2mixins/logsBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export class VendedLogsMixin extends ClassType {
299299
construct,
300300
expr.binOp(expr.str('CDKSource'), '+', expr.sym(new ThingSymbol('cdkLib.Names.uniqueId', this.scope)).call(construct)),
301301
expr.object({
302-
name: expr.binOp(expr.str(`cdk-${this.resource.name.toLowerCase()}-source-`), '+', expr.sym(new ThingSymbol('cdkLib.Names.uniqueResourceName', this.scope)).call(construct, expr.object({maxLength: expr.num(15)}))),
302+
name: expr.binOp(expr.str(`cdk-${this.resource.name.toLowerCase()}-source-${$this.logType}`), '+', expr.sym(new ThingSymbol('cdkLib.Names.uniqueResourceName', this.scope)).call(construct, expr.object({maxLength: expr.num(15)}))),
303303
resourceArn: arnVar,
304304
logType: $this.logType,
305305
}),

0 commit comments

Comments
 (0)