Parameters

ParameterDescription
Output DirectoryDirectory for policy output.
PolicyThe policy to run.
RegionAWS region to target. It is possible to run policies against multiple regions by specifying a comma-separated list of regions.For example: us-east-1, eu-west-1. The special all keyword can be used in place of a region to specify the policy should run againstall applicable regions for the policy’s resource. Note: when running reports against multiple regions the output is placed in a different directory than when running against a single region.
Dry RunDry-run on the policies (no actions executed) to see what resources match each policy.
Working DirectoryWhen a working directory is selected, the filesystem state is preserved across steps that use this directory. Files and changes in the chosen directory persist across steps, ensuring continuity. For more information, refer to the Create Working Directory action documentation for guidance on setting up and selecting working directories.

Workflow Library Example

Cloud Custodian Run Policy and Send Results via Slack

Preview this Automation on desktop