{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-lookout-for-metrics/refs/heads/main/json-schema/amazon-lookout-for-metrics-lambda-configuration-schema.json",
"title": "LambdaConfiguration",
"description": "Contains information about a Lambda configuration.",
"type": "object",
"properties": {
"RoleArn": {
"allOf": [
{
"$ref": "#/components/schemas/Arn"
},
{
"description": "The ARN of an IAM role that has permission to invoke the Lambda function."
}
]
},
"LambdaArn": {
"allOf": [
{
"$ref": "#/components/schemas/Arn"
},
{
"description": "The ARN of the Lambda function."
}
]
}
},
"required": [
"RoleArn",
"LambdaArn"
]
}