{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/FunctionName", "title": "FunctionName", "type": "string", "pattern": "(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?", "minLength": 1, "maxLength": 140 }