|
47 | 47 | "maxLength": 48, |
48 | 48 | "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,47}$" |
49 | 49 | }, |
| 50 | + "description": { |
| 51 | + "type": "string", |
| 52 | + "maxLength": 200 |
| 53 | + }, |
50 | 54 | "build": { |
51 | 55 | "type": "string", |
52 | 56 | "enum": ["CodeZip", "Container"] |
|
272 | 276 | "additionalProperties": false |
273 | 277 | } |
274 | 278 | }, |
275 | | - "required": ["name", "build", "entrypoint", "codeLocation", "runtimeVersion"], |
| 279 | + "required": ["name", "build", "entrypoint", "codeLocation"], |
276 | 280 | "additionalProperties": false |
277 | 281 | } |
278 | 282 | }, |
|
342 | 346 | "maxLength": 256, |
343 | 347 | "pattern": "^[\\p{L}\\p{N}\\s_.:/=+\\-@]*$" |
344 | 348 | } |
| 349 | + }, |
| 350 | + "encryptionKeyArn": { |
| 351 | + "type": "string" |
| 352 | + }, |
| 353 | + "executionRoleArn": { |
| 354 | + "type": "string" |
345 | 355 | } |
346 | 356 | }, |
347 | 357 | "required": ["name", "eventExpiryDuration"], |
|
494 | 504 | }, |
495 | 505 | "required": ["model", "instructions", "ratingScale"], |
496 | 506 | "additionalProperties": false |
| 507 | + }, |
| 508 | + "codeBased": { |
| 509 | + "type": "object", |
| 510 | + "properties": { |
| 511 | + "managed": { |
| 512 | + "type": "object", |
| 513 | + "properties": { |
| 514 | + "codeLocation": { |
| 515 | + "type": "string", |
| 516 | + "minLength": 1 |
| 517 | + }, |
| 518 | + "entrypoint": { |
| 519 | + "default": "lambda_function.handler", |
| 520 | + "type": "string", |
| 521 | + "minLength": 1 |
| 522 | + }, |
| 523 | + "timeoutSeconds": { |
| 524 | + "default": 60, |
| 525 | + "type": "integer", |
| 526 | + "minimum": 1, |
| 527 | + "maximum": 300 |
| 528 | + }, |
| 529 | + "additionalPolicies": { |
| 530 | + "type": "array", |
| 531 | + "items": { |
| 532 | + "type": "string", |
| 533 | + "minLength": 1 |
| 534 | + } |
| 535 | + } |
| 536 | + }, |
| 537 | + "required": ["codeLocation"], |
| 538 | + "additionalProperties": false |
| 539 | + }, |
| 540 | + "external": { |
| 541 | + "type": "object", |
| 542 | + "properties": { |
| 543 | + "lambdaArn": { |
| 544 | + "type": "string", |
| 545 | + "minLength": 1, |
| 546 | + "pattern": "^arn:aws[a-z-]*:lambda:[a-z0-9-]+:\\d{12}:function:.+$" |
| 547 | + } |
| 548 | + }, |
| 549 | + "required": ["lambdaArn"], |
| 550 | + "additionalProperties": false |
| 551 | + } |
| 552 | + }, |
| 553 | + "additionalProperties": false |
497 | 554 | } |
498 | 555 | }, |
499 | | - "required": ["llmAsAJudge"], |
500 | 556 | "additionalProperties": false |
501 | 557 | }, |
502 | 558 | "tags": { |
|
0 commit comments