how can i clearly delete the CloudWatch Rule

0

There is always a rule CW-Rule-CloudWatchLog exist even I deleted all group in console of CloudWatch. And each month has a billing for a rule 'CW-Rule-CloudWatchLog'. how can i clearly delete the CW-Rule-CloudWatchLog?

Henry
질문됨 2달 전443회 조회
2개 답변
0

The CloudWatch rule you are referring to, should be an Event Bridge Rule (formerly known as CloudWatch Rule). Remember, a rule runs when an event matches the defined event pattern. EventBridge sends the event to the specified target.

To find out, go to your AWS management console and search for Amazon EventBridge -> Rules. You will see a list of Rules and check if matches with the one you are trying to delete.

You can check this by running CloudShell:

  1. AWS Management Console, start a Cloudshell session and issue the following command: "aws events list-rules --query 'Rules[*].Name'"
  2. Then, issue the following command to delete the rule: "aws events delete-rule --name <value>"

As matter of fact, ensure to delete the right rule to avoid unexpected behavior within your services.

Hope that helps !

AWS
Takeda
답변함 2달 전
profile picture
전문가
검토됨 2달 전
  • Thanks for reply. But I have checked that there Just a default bus with no rules. Should I checked for all region by switch the menu on top-right?

0

Hi,

Yes, it is worth to check the billing report and the region the service is provisioned. If you want to check using aws command line, you may append the "--region <region_name>" to your command (example: aws events list-rules --query 'Rules[*].Name' --region <region_name>) like

aws events list-rules --query 'Rules[*].Name' --region us-east-1

hope that helps to find that resource

AWS
Takeda
답변함 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠