RegionNetworkPolicyTrafficClassificationRuleArgs constructor

const RegionNetworkPolicyTrafficClassificationRuleArgs({
  1. Input<RegionNetworkPolicyTrafficClassificationRuleAction?>? action,
  2. Input<String?>? deletionPolicy,
  3. Input<String?>? description,
  4. Input<bool?>? disabled,
  5. required Input<RegionNetworkPolicyTrafficClassificationRuleMatch> match,
  6. required Input<String> networkPolicy,
  7. required Input<int> priority,
  8. Input<String?>? project,
  9. Input<String?>? region,
  10. Input<String?>? ruleName,
  11. Input<List<RegionNetworkPolicyTrafficClassificationRuleTargetSecureTag>?>? targetSecureTags,
  12. Input<List<String>?>? targetServiceAccounts,
})

Creates a new RegionNetworkPolicyTrafficClassificationRuleArgs. action The Action to perform when the client connection triggers the rule. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description for this resource. disabled Denotes whether the network policy rule is disabled. match A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. networkPolicy The firewall policy of the resource. priority An integer indicating the priority of a rule in the list. The priority must be a positive value between 1 and 2147482647. project The ID of the project in which the resource belongs. region The location of this resource. ruleName An optional name for the rule. This field is not a unique identifier and can be updated. targetSecureTags A list of secure tags that controls which instances the traffic classification rule applies to. targetServiceAccounts A list of service accounts indicating the sets of instances that are applied with this rule.

Implementation

const RegionNetworkPolicyTrafficClassificationRuleArgs({
  this.action,
  this.deletionPolicy,
  this.description,
  this.disabled,
  required this.match,
  required this.networkPolicy,
  required this.priority,
  this.project,
  this.region,
  this.ruleName,
  this.targetSecureTags,
  this.targetServiceAccounts,
});