PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRule constructor

const PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRule({
  1. Input<bool?>? allowAll,
  2. Input<PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleCondition?>? condition,
  3. Input<bool?>? denyAll,
  4. Input<bool?>? enforce,
  5. Input<PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleValues?>? values,
})

Creates a new PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRule. allowAll Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. condition Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. denyAll Setting this to true means that all values are denied. This field can be set only in policies for list constraints. enforce If true, then the policy is enforced. If false, then any configuration is acceptable. values List of values to be used for this policy rule. This field can be set only in policies for list constraints.

Implementation

const PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRule({
  this.allowAll,
  this.condition,
  this.denyAll,
  this.enforce,
  this.values,
});