Skip to content

Commit 04ff904

Browse files
dineshSajwanDinesh Sajwan
and
Dinesh Sajwan
authored
feat(bugfix): updated maxlength value from 32 to 63 (#568)
Co-authored-by: Dinesh Sajwan <[email protected]>
1 parent fba09ea commit 04ff904

File tree

1 file changed

+3
-3
lines changed
  • src/patterns/gen-ai/aws-summarization-appsync-stepfn

1 file changed

+3
-3
lines changed

src/patterns/gen-ai/aws-summarization-appsync-stepfn/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ export class SummarizationAppsyncStepfn extends BaseClass {
380380

381381
const apiName = props.summaryApiName || generatePhysicalNameV2(this,
382382
'summaryApi'+this.stage,
383-
{ maxLength: 32, lower: true });
383+
{ maxLength: 63, lower: true });
384384

385385
// graphql api for summary. client invoke this api with given schema and cognito user pool auth.
386386
const summarizationGraphqlApi = new appsync.GraphqlApi(this, apiName,
@@ -679,7 +679,7 @@ export class SummarizationAppsyncStepfn extends BaseClass {
679679

680680
const functionName = generatePhysicalNameV2(this,
681681
'summary_generator'+this.stage,
682-
{ maxLength: 32, lower: true });
682+
{ maxLength: 63, lower: true });
683683
const construct_generate_summary_lambda_props = {
684684
functionName: functionName,
685685
description: 'Lambda function to generate the summary',
@@ -754,7 +754,7 @@ export class SummarizationAppsyncStepfn extends BaseClass {
754754
const dlq: sqs.Queue = new sqs.Queue(this, 'dlq', {
755755
queueName: generatePhysicalNameV2(this,
756756
'summarydlq'+this.stage,
757-
{ maxLength: 32, lower: true }),
757+
{ maxLength: 63, lower: true }),
758758
retentionPeriod: Duration.days(7),
759759
enforceSSL: true,
760760
});

0 commit comments

Comments
 (0)