SecurityActionConditionConfig constructor
- Input<
List< ? accessTokens,String> ?> - Input<
List< ? apiKeys,String> ?> - Input<
List< ? apiProducts,String> ?> - Input<
List< ? asns,String> ?> - Input<
List< ? botReasons,String> ?> - Input<
List< ? developerApps,String> ?> - Input<
List< ? developers,String> ?> - Input<
List< ? httpMethods,String> ?> - Input<
List< ? ipAddressRanges,String> ?> - Input<
List< ? regionCodes,String> ?> - Input<
List< ? userAgents,String> ?>
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,
});