aws.directory

Filters

Actions

delete

Delete a directory.

example:

policies:
  - name: delete-directory
    resource: aws.directory
    filters:
        - Name: test.example.com
    actions:
      - delete
properties:
  type:
    enum:
    - delete
required:
- type

Permissions - ds:DeleteDirectory