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

feat(events): add filter rules for prefixEqualsIgnoreCase, suffixEqualsIgnoreCase, wildcard, and anythingBut* matches #32063

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@
"notPrefixedBy": [
{
"anything-but": {
"prefix": "sensitive-"
"prefix": [
"sensitive-"
]
}
}
],
Expand Down Expand Up @@ -148,6 +150,88 @@
},
"State": "ENABLED"
}
},
"MyWildcardRule477FB0F9": {
"Type": "AWS::Events::Rule",
"Properties": {
"EventPattern": {
"account": [
{
"wildcard": "account*"
}
]
},
"State": "ENABLED"
}
},
"MyAnythingButPrefixRule756FC7C6": {
"Type": "AWS::Events::Rule",
"Properties": {
"EventPattern": {
"account": [
{
"anything-but": {
"prefix": [
"prefix-"
]
}
}
]
},
"State": "ENABLED"
}
},
"MyAnythingButSuffixRuleB1E496DF": {
"Type": "AWS::Events::Rule",
"Properties": {
"EventPattern": {
"account": [
{
"anything-but": {
"suffix": [
"-suffix"
]
}
}
]
},
"State": "ENABLED"
}
},
"MyAnythingButWildcardRuleEED7F44B": {
"Type": "AWS::Events::Rule",
"Properties": {
"EventPattern": {
"account": [
{
"anything-but": {
"wildcard": [
"account*"
]
}
}
]
},
"State": "ENABLED"
}
},
"MyAnythingButEqualsIgnoreCaseEBE7F91F": {
"Type": "AWS::Events::Rule",
"Properties": {
"EventPattern": {
"account": [
{
"anything-but": {
"equals-ignore-case": [
"account1",
"account2"
]
}
}
]
},
"State": "ENABLED"
}
}
},
"Parameters": {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading