DenyPolicyArgs

data class DenyPolicyArgs(val displayName: Output<String>? = null, val name: Output<String>? = null, val parent: Output<String>? = null, val rules: Output<List<DenyPolicyRuleArgs>>? = null) : ConvertibleToJava<DenyPolicyArgs>

Represents a collection of denial policies to apply to a given resource. To get more information about DenyPolicy, see:

Example Usage

{{% /examples %}}

Import

DenyPolicy can be imported using any of these accepted formats:

$ pulumi import gcp:iam/denyPolicy:DenyPolicy default {{parent}}/{{name}}

Constructors

Link copied to clipboard
constructor(displayName: Output<String>? = null, name: Output<String>? = null, parent: Output<String>? = null, rules: Output<List<DenyPolicyRuleArgs>>? = null)

Properties

Link copied to clipboard
val displayName: Output<String>? = null

The display name of the rule.

Link copied to clipboard
val name: Output<String>? = null

The name of the policy.

Link copied to clipboard
val parent: Output<String>? = null

The attachment point is identified by its URL-encoded full resource name.

Link copied to clipboard
val rules: Output<List<DenyPolicyRuleArgs>>? = null

Rules to be applied. Structure is documented below.

Functions

Link copied to clipboard
open override fun toJava(): DenyPolicyArgs