Validates the Lambda tool source of a gateway target: a lambdaArn and a toolSchema with
exactly one of inlinePayload (non-empty, each tool with a non-empty name and description) or
s3 (with a uri, and — when set explicitly — a well-formed bucketOwnerAccountId).
These fail-fast at synth so a config mistake surfaces here (naming the target) rather than as an
opaque CloudFormation pattern violation at deploy time.
Validates the Lambda tool source of a gateway target: a
lambdaArnand atoolSchemawith exactly one ofinlinePayload(non-empty, each tool with a non-empty name and description) ors3(with auri, and — when set explicitly — a well-formedbucketOwnerAccountId).These fail-fast at synth so a config mistake surfaces here (naming the target) rather than as an opaque CloudFormation pattern violation at deploy time.