I was wondering what were some valid operations that we can do for mark-for-op in cloud custodian. I know pause and stop are valid operations. However, I am running this on my company's subscription and I would just like to see all my options before I pause a possible resource that could be important to the company.
- type: mark-for-op
tag: c7n_ni_not_allowed
op:
I believe that the
mark-for-opwill allow theopkey to work with anyactionthat corresponds to theresource.For example, see the policy on this page copied below.
This will do the operation
deleteon the resourceazure.resourcegroup. This operation is shown under the actions section of the corresponding resource.Perhaps a better name for the
opkey isaction?