SecurityActionConditionConfig constructor

const SecurityActionConditionConfig({
  1. Input<List<String>?>? accessTokens,
  2. Input<List<String>?>? apiKeys,
  3. Input<List<String>?>? apiProducts,
  4. Input<List<String>?>? asns,
  5. Input<List<String>?>? botReasons,
  6. Input<List<String>?>? developerApps,
  7. Input<List<String>?>? developers,
  8. Input<List<String>?>? httpMethods,
  9. Input<List<String>?>? ipAddressRanges,
  10. Input<List<String>?>? regionCodes,
  11. Input<List<String>?>? userAgents,
})

Creates a new SecurityActionConditionConfig. accessTokens A list of accessTokens. Limit 1000 per action. apiKeys A list of API keys. Limit 1000 per action. apiProducts A list of API Products. Limit 1000 per action. asns A list of ASN numbers to act on, e.g. 23. https://en.wikipedia.org/wiki/Autonomous_system_(Internet) botReasons A list of Bot Reasons. Current options: Flooder, Brute Guessor, Static Content Scraper, developerApps A list of developer apps. Limit 1000 per action. developers A list of developers. Limit 1000 per action. httpMethods Act only on particular HTTP methods. E.g. A read-only API can block POST/PUT/DELETE methods. ipAddressRanges A list of IP addresses. This could be either IPv4 or IPv6. Limited to 100 per action. regionCodes A list of countries/region codes to act on, e.g. US. This follows https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2. userAgents A list of user agents to deny. We look for exact matches. Limit 50 per action.

Implementation

const SecurityActionConditionConfig({
  this.accessTokens,
  this.apiKeys,
  this.apiProducts,
  this.asns,
  this.botReasons,
  this.developerApps,
  this.developers,
  this.httpMethods,
  this.ipAddressRanges,
  this.regionCodes,
  this.userAgents,
});