- Newest
- Most votes
- Most comments
Hello.
I think "aws.ec2" is the event source for TransitGateway events.
If you want to change attachment settings, etc., you can get it using the "ModifyTransitGatewayVpcAttachment" event.
However, as far as I can see from the document below, it seems that the status of the TransitGateway attachment is not delivered as an event.
https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html
Therefore, I don't think it is possible to obtain the TransitGateway attachment status with EventBridge.
As another method, how about linking the EventBridge scheduler with Lambda, etc., and periodically executing describe_transit_gateway_attachments() to obtain the status?
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ec2/client/describe_transit_gateway_attachments.html#
