Class: Aws::NetworkFirewall::Types::StatelessRulesAndCustomActions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb

Overview

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
            },
          ],
        },
      },
    },
  ],
}

Stateless inspection criteria. Each stateless rule group uses exactly one of these data types to define its stateless rules.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#custom_actionsArray<Types::CustomAction>

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.

Returns:



4228
4229
4230
4231
4232
4233
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 4228

class StatelessRulesAndCustomActions < Struct.new(
  :stateless_rules,
  :custom_actions)
  SENSITIVE = []
  include Aws::Structure
end

#stateless_rulesArray<Types::StatelessRule>

Defines the set of stateless rules for use in a stateless rule group.

Returns:



4228
4229
4230
4231
4232
4233
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 4228

class StatelessRulesAndCustomActions < Struct.new(
  :stateless_rules,
  :custom_actions)
  SENSITIVE = []
  include Aws::Structure
end