I am trying to target all the buckets in my account that have name like Prod-** with my custodian policy.
The custodian policy basically checks if replication is enabled and if not then goes ahead and enables the replication.
I am able to write the policy that targets all the buckets but what if i want to only target specific buckets. In the official documentation of [Cloud Custodian][1] i do not see any option for specifying name of the bucket.
Here is what my policy looks like -
- name: s3-replication
resource: s3
filters:
- type: value
key: Replication.ReplicationConfiguration.Rules[].Destination.Account
value: absent
actions:
- type: set-replication
state: enable ```