Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EventPattern property missing from EventBridge Rule schema #59

Open
jaychung-aws opened this issue Oct 31, 2024 · 0 comments
Open

EventPattern property missing from EventBridge Rule schema #59

jaychung-aws opened this issue Oct 31, 2024 · 0 comments

Comments

@jaychung-aws
Copy link

In the EventBridge Rule schema, the property EventPattern is not present. Update the schema to include the EventPattern property and all its nested properties.

However, the Config-discovered JSON data for EventBridge Rule does include EventPattern. For example:

"configuration": {
    "EventBusName": "default",
    "EventPattern": {
        "detail-type": [
            "CodeGuru Profiler Recommendations State Change"
        ],
        "source": [
            "aws.codeguru-profiler"
        ],
        "region": [
            "us-east-1"
        ],
        "account": [
            "111222233333"
        ]
    },
    "Description": "This rule is used to route aws.codeguru-profiler Events to DevOps-Guru",
    "State": "ENABLED",
    "Targets": [
        {
            "Id": "DevOps-Guru",
            "Arn": "arn:aws:devops-guru-prod-3:us-east-1:::"
        }
    ],
    "Id": "DevOpsGuruManagedRuleForCodeGuruProfiler",
    "Arn": "arn:aws:events:us-east-1:111222233333:rule/DevOpsGuruManagedRuleForCodeGuruProfiler",
    "Name": "DevOpsGuruManagedRuleForCodeGuruProfiler"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant