Policy: GCP > Pub/Sub > Subscription > Approved > Usage
Determine whether the GCP Pub/Sub subscription is allowed to exist.
This policy will be evaluated by the Approved control. If a GCP Pub/Sub subscription is not approved, it will be subject to the action specified in the GCP > Pub/Sub > Subscription > Approved
policy.
See Approved for more information.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceApproved
- tmod:@turbot/gcp-pubsub#/policy/types/subscriptionApprovedUsage
- turbot graphql policy-type --id "tmod:@turbot/gcp-pubsub#/policy/types/subscriptionApprovedUsage"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-pubsub#/policy/types/subscriptionApprovedUsage"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI