diff --git a/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/bedrock/invoke-model.ts b/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/bedrock/invoke-model.ts index 3e3cce1935de5..3759fa71391af 100644 --- a/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/bedrock/invoke-model.ts +++ b/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/bedrock/invoke-model.ts @@ -275,7 +275,6 @@ export class BedrockInvokeModel extends sfn.TaskStateBase { Output: this.props.output?.s3Location ? { S3Uri: `s3://${this.props.output.s3Location.bucketName}/${this.props.output.s3Location.objectKey}`, } : this.props.outputPath ? { S3Uri: this.props.outputPath }: undefined, - }), GuardrailIdentifier: this.props.guardrail?.guardrailIdentifier, GuardrailVersion: this.props.guardrail?.guardrailVersion, Trace: this.props.traceEnabled === undefined @@ -283,6 +282,7 @@ export class BedrockInvokeModel extends sfn.TaskStateBase { : this.props.traceEnabled ? 'ENABLED' : 'DISABLED', + }), }; }; }