DenyPolicy

class DenyPolicy : KotlinCustomResource

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* {{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 example
$ pulumi import gcp:iam/denyPolicy:DenyPolicy default {{parent}}/{{name}}

Properties

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

The display name of the rule.

Link copied to clipboard
val etag: Output<String>

The hash of the resource. Used internally during updates.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the policy.

Link copied to clipboard
val parent: Output<String>

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val rules: Output<List<DenyPolicyRule>>

Rules to be applied. Structure is documented below.

Link copied to clipboard
val urn: Output<String>