

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# 규칙을 사용하여 Amazon Chime SDK 메시징용 Amazon EventBridge에 이벤트 전송
<a name="event-bridge-alerts"></a>

Amazon Chime SDK는 오류로 인해 Amazon Lex V2 봇을 호출할 수 없는 경우 EventBridge 이벤트를 전달합니다. 이러한 이벤트를 인식하고 규칙이 일치하면 자동으로 조치를 취하는 EventBridge 규칙을 생성할 수 있습니다. 자세한 정보는 Amazon EventBridge 사용 설명서**의 [Amazon EventBridge 규칙](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-rules.html)을 참조하세요.

다음 예는 일반적인 실패 이벤트를 보여줍니다.

```
{
  version: '0',
  id: '{{12345678-1234-1234-1234-111122223333}}',
  'detail-type': '{{Chime Messaging AppInstanceBot Lex Failure}}',
  source: 'aws.chime',
  account: '{{aws-account-id}}',
  time: '{{yyyy-mm-ddThh:mm:ssZ}}',
  region: "{{region}}",
  resources: [],
  detail: {    
    resourceArn: 'arn:aws:chime:{{region}}:{{aws-account-id}}:app-instance/{{app-instance-id}}/bot/{{app-instance-bot-id}}',
    failureReason: "1 validation error detected: Value at 'text' failed to satisfy constraint: Member must have length less than or equal to 1024 (Service: LexRuntimeV2, Status Code: 400, Request ID: {{request-id}})"
  }
}
```