Deny Policy Args
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:
How-to Guides
Permissions supported in deny policies {{% examples %}}
Example Usage
{{% /examples %}}
Import
DenyPolicy can be imported using any of these accepted formats* {{parent}}/{{name}} In Terraform v1.5.0 and later, use an import block to import DenyPolicy using one of the formats above. For exampletf import { id = "{{parent}}/{{name}}" to = google_iam_deny_policy.default }
$ pulumi import gcp:iam/denyPolicy:DenyPolicy When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), DenyPolicy can be imported using one of the formats above. For exampleContent copied to clipboard
$ pulumi import gcp:iam/denyPolicy:DenyPolicy default {{parent}}/{{name}}Content copied to clipboard
Constructors
Link copied to clipboard
fun DenyPolicyArgs(displayName: Output<String>? = null, name: Output<String>? = null, parent: Output<String>? = null, rules: Output<List<DenyPolicyRuleArgs>>? = null)