class Aws::NetworkFirewall::Types::StatelessRulesAndCustomActions
Stateless inspection criteria. Each stateless rule group uses exactly one of these data types to define its stateless rules.
@note When making an API call, you may pass StatelessRulesAndCustomActions
data as a hash: { stateless_rules: [ # required { rule_definition: { # required match_attributes: { # required sources: [ { address_definition: "AddressDefinition", # required }, ], destinations: [ { address_definition: "AddressDefinition", # required }, ], source_ports: [ { from_port: 1, # required to_port: 1, # required }, ], destination_ports: [ { from_port: 1, # required to_port: 1, # required }, ], protocols: [1], tcp_flags: [ { flags: ["FIN"], # required, accepts FIN, SYN, RST, PSH, ACK, URG, ECE, CWR masks: ["FIN"], # accepts FIN, SYN, RST, PSH, ACK, URG, ECE, CWR }, ], }, actions: ["CollectionMember_String"], # required }, priority: 1, # required }, ], custom_actions: [ { action_name: "ActionName", # required action_definition: { # required publish_metric_action: { dimensions: [ # required { value: "DimensionValue", # required }, ], }, }, }, ], }
@!attribute [rw] stateless_rules
Defines the set of stateless rules for use in a stateless rule group. @return [Array<Types::StatelessRule>]
@!attribute [rw] custom_actions
Defines an array of individual custom action definitions that are available for use by the stateless rules in this `StatelessRulesAndCustomActions` specification. You name each custom action that you define, and then you can use it by name in your StatelessRule RuleDefinition `Actions` specification. @return [Array<Types::CustomAction>]
@see docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/StatelessRulesAndCustomActions AWS API Documentation
Constants
- SENSITIVE