确保您的Amazon Elasticache和RedShift集群与EventBridge在同一AWS区域中。
确保您具备在Amazon EventBridge中配置Elasticache和Redshift事件的权限。
配置CloudWatch日志组,并启用您要监视的事件的CloudWatch日志。
创建EventBridge规则,以便将事件路由到SNS主题、Lambda函数或Kinesis流中。以下是将Elasticache事件发送到SNS主题的示例代码:
{ "source": ["aws.cache"], "detail-type": ["ElastiCache Event"], "detail": { "eventName": [ "ModifyCacheCluster" ] } }
创建SNS主题,并订阅该主题以接收Elasticache事件通知。
在Amazon Elasticache和Redshift中进行常规系统保养,以确保它们正常工作,从而确保您可以及时收到事件通知。