aws.opswork-stack

Actions

delete

Action to delete Opswork Stack

It is recommended to use a filter to avoid unwanted deletion of stacks

example

policies:
  - name: opswork-delete
    resource: opswork-stack
    actions:
      - delete
properties:
  type:
    enum:
    - delete
required:
- type

Permissions - opsworks:DescribeApps, opsworks:DescribeLayers, opsworks:DescribeInstances, opsworks:DeleteStack, opsworks:DeleteApp, opsworks:DeleteLayer, opsworks:DeleteInstance

stop

Action to stop Opswork Stack (Stops all instances under stack)

It is recommended to use a filter to avoid unwanted stopping of stacks

example

policies:
  - name: opswork-stop
    resource: opswork-stack
    actions:
      - stop
properties:
  type:
    enum:
    - stop
required:
- type

Permissions - opsworks:StopStack