azure.postgresql-database¶
PostgreSQL Database Resource
The azure.postgresql-database
resource is a child resource of the PostgreSQL Server
resource, and the PostgreSQL Server parent id is available as the c7n:parent-id
property.
- example:
Finds all PostgreSQL Databases that are children of PostgreSQL Servers with the environment:dev tag
policies:
- name: find-all-dev-postgresql-databases
resource: azure.postgresql-database
filters:
- type: parent
filter:
type: value
key: tags.environment
value: dev