Authorization Policy Args
data class AuthorizationPolicyArgs(val action: Output<AuthorizationPolicyAction>? = null, val authorizationPolicyId: Output<String>? = null, val description: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val rules: Output<List<RuleArgs>>? = null) : ConvertibleToJava<AuthorizationPolicyArgs>
Creates a new AuthorizationPolicy in a given project and location.
Constructors
Link copied to clipboard
constructor(action: Output<AuthorizationPolicyAction>? = null, authorizationPolicyId: Output<String>? = null, description: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, rules: Output<List<RuleArgs>>? = null)
Properties
Link copied to clipboard
The action to take when a rule match is found. Possible values are "ALLOW" or "DENY".
Link copied to clipboard
Required. Short name of the AuthorizationPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy".
Link copied to clipboard
Optional. Free-text description of the resource.
Link copied to clipboard
Optional. List of rules to match. Note that at least one of the rules must match in order for the action specified in the 'action' field to be taken. A rule is a match if there is a matching source and destination. If left blank, the action specified in the action
field will be applied on every request.