ResourcePolicy interface
A resource policy.
Properties
| action | Policy action to be taken on the resources. This is optional, and defaults to allow |
| filter | Optional. When specified, this expression is used to filter the resources. |
| resources | Resources that are included and shared as a part of a project policy. |
| resource |
Optional. The resource type being restricted or allowed by a project policy. Used with a given action to restrict or allow access to a resource type. |
Property Details
action
Policy action to be taken on the resources. This is optional, and defaults to allow
action?: string
Property Value
string
filter
Optional. When specified, this expression is used to filter the resources.
filter?: string
Property Value
string
resources
Resources that are included and shared as a part of a project policy.
resources?: string
Property Value
string
resourceType
Optional. The resource type being restricted or allowed by a project policy. Used with a given action to restrict or allow access to a resource type.
resourceType?: string
Property Value
string