amazonka-fms-2.0: Amazon Firewall Management Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.FMS.Types.App

Description

 
Synopsis

Documentation

data App Source #

An individual Firewall Manager application.

See: newApp smart constructor.

Constructors

App' 

Fields

Instances

Instances details
FromJSON App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

ToJSON App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

Generic App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

Associated Types

type Rep App :: Type -> Type #

Methods

from :: App -> Rep App x #

to :: Rep App x -> App #

Read App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

Show App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

Methods

showsPrec :: Int -> App -> ShowS #

show :: App -> String #

showList :: [App] -> ShowS #

NFData App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

Methods

rnf :: App -> () #

Eq App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

Methods

(==) :: App -> App -> Bool #

(/=) :: App -> App -> Bool #

Hashable App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

Methods

hashWithSalt :: Int -> App -> Int #

hash :: App -> Int #

type Rep App Source # 
Instance details

Defined in Amazonka.FMS.Types.App

type Rep App = D1 ('MetaData "App" "Amazonka.FMS.Types.App" "amazonka-fms-2.0-351knTjuYAjE9GRQTo0ohx" 'False) (C1 ('MetaCons "App'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newApp Source #

Create a value of App with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:appName:App', app_appName - The application's name.

$sel:protocol:App', app_protocol - The IP protocol name or number. The name can be one of tcp, udp, or icmp. For information on possible numbers, see Protocol Numbers.

$sel:port:App', app_port - The application's port number, for example 80.

app_appName :: Lens' App Text Source #

The application's name.

app_protocol :: Lens' App Text Source #

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

app_port :: Lens' App Natural Source #

The application's port number, for example 80.