Replies: 1 comment
-
c7n doesn't support library usage, its intended for use an an application. the region attribute is a legacy attribute, policy conditions are the modern mechanism to support region and other conditions (time, account, etc). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the feature
Using c7n as a library, I'd like to be able to ask a Policy object for the regions it is restricted to running against.
There are at least two ways to express this:
Being able to have a method on the Policy itself would keep the code in c7n.
Extra information or context
No response
Beta Was this translation helpful? Give feedback.
All reactions