OrganizationSecurityPolicyRuleState constructor

const OrganizationSecurityPolicyRuleState({
  1. Input<String?>? action,
  2. Input<String?>? deletionPolicy,
  3. Input<String?>? description,
  4. Input<String?>? direction,
  5. Input<bool?>? enableLogging,
  6. Input<OrganizationSecurityPolicyRuleHeaderAction?>? headerAction,
  7. Input<OrganizationSecurityPolicyRuleMatch?>? match,
  8. Input<String?>? policyId,
  9. Input<OrganizationSecurityPolicyRulePreconfiguredWafConfig?>? preconfiguredWafConfig,
  10. Input<bool?>? preview,
  11. Input<int?>? priority,
  12. Input<OrganizationSecurityPolicyRuleRedirectOptions?>? redirectOptions,
  13. Input<List<String>?>? targetResources,
  14. Input<List<String>?>? targetServiceAccounts,
})

Creates a new OrganizationSecurityPolicyRuleState. action The Action to perform when the client connection triggers the rule. Valid actions are: deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description A description of the rule. direction (Optional, Beta) enableLogging (Optional, Beta) headerAction Optional, additional actions that are performed on headers. match A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. policyId The ID of the OrganizationSecurityPolicy this rule applies to. preconfiguredWafConfig Preconfigured WAF configuration to be applied for the rule. preview If set to true, the specified action is not enforced. priority An integer indicating the priority of a rule in the list. The priority must be a value redirectOptions Parameters defining the redirect action. Cannot be specified for any other actions. targetResources (Optional, Beta) targetServiceAccounts (Optional, Beta)

Implementation

const OrganizationSecurityPolicyRuleState({
  this.action,
  this.deletionPolicy,
  this.description,
  this.direction,
  this.enableLogging,
  this.headerAction,
  this.match,
  this.policyId,
  this.preconfiguredWafConfig,
  this.preview,
  this.priority,
  this.redirectOptions,
  this.targetResources,
  this.targetServiceAccounts,
});