Class: Aws::FMS::Types::App

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-fms/types.rb

Overview

Note:

When making an API call, you may pass App data as a hash:

{
  app_name: "ResourceName", # required
  protocol: "Protocol", # required
  port: 1, # required
}

An individual AWS Firewall Manager application.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_nameString

The application’s name.

Returns:

  • (String)


44
45
46
47
48
49
50
# File 'lib/aws-sdk-fms/types.rb', line 44

class App < Struct.new(
  :app_name,
  :protocol,
  :port)
  SENSITIVE = []
  include Aws::Structure
end

#portInteger

The application’s port number, for example ‘80`.

Returns:

  • (Integer)


44
45
46
47
48
49
50
# File 'lib/aws-sdk-fms/types.rb', line 44

class App < Struct.new(
  :app_name,
  :protocol,
  :port)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

The IP protocol name or number. The name can be one of ‘tcp`, `udp`, or `icmp`. For information on possible numbers, see [Protocol Numbers].

[1]: www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml

Returns:

  • (String)


44
45
46
47
48
49
50
# File 'lib/aws-sdk-fms/types.rb', line 44

class App < Struct.new(
  :app_name,
  :protocol,
  :port)
  SENSITIVE = []
  include Aws::Structure
end