Amazon web services 当AWS Glue工作流完成时,是否有办法发布到SNS?
我目前正在使用一个事件规则在粘合作业成功时将消息发布到SNS主题,如下所示:Amazon web services 当AWS Glue工作流完成时,是否有办法发布到SNS?,amazon-web-services,aws-glue,Amazon Web Services,Aws Glue,我目前正在使用一个事件规则在粘合作业成功时将消息发布到SNS主题,如下所示: JobCompletedEventRule: Type: AWS::Events::Rule Properties: Description: Sends glue job completed events to SNS topic EventPattern: source: - aws.glue detail-type:
JobCompletedEventRule:
Type: AWS::Events::Rule
Properties:
Description: Sends glue job completed events to SNS topic
EventPattern:
source:
- aws.glue
detail-type:
- Glue Job State Change
detail:
jobName:
- !Ref Job
state:
- SUCCEEDED
State: ENABLED
Targets:
- Arn: !Ref SnsTopic
Id: !GetAtt SnsTopic.TopicName
这很有效。但是,此作业即将成为glue工作流的一部分,我现在希望在工作流成功时发布SNS消息,而不是单个作业。但是我找不到一个方法来做这件事
显示了AWS Glue生成的CloudWatch事件,但没有任何工作流事件