libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.IcmpTypeCode

Description

 
Synopsis

Documentation

data IcmpTypeCode Source #

An Internet Control Message Protocol (ICMP) type and code.

See: newIcmpTypeCode smart constructor.

Constructors

IcmpTypeCode' 

Fields

  • code :: Maybe Int

    The ICMP code for which to deny or allow access. To deny or allow all codes, use the value -1.

  • type' :: Maybe Int

    The ICMP type for which to deny or allow access. To deny or allow all types, use the value -1.

Instances

Instances details
Eq IcmpTypeCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.IcmpTypeCode

Read IcmpTypeCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.IcmpTypeCode

Show IcmpTypeCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.IcmpTypeCode

Generic IcmpTypeCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.IcmpTypeCode

Associated Types

type Rep IcmpTypeCode :: Type -> Type #

NFData IcmpTypeCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.IcmpTypeCode

Methods

rnf :: IcmpTypeCode -> () #

Hashable IcmpTypeCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.IcmpTypeCode

ToJSON IcmpTypeCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.IcmpTypeCode

FromJSON IcmpTypeCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.IcmpTypeCode

type Rep IcmpTypeCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.IcmpTypeCode

type Rep IcmpTypeCode = D1 ('MetaData "IcmpTypeCode" "Amazonka.SecurityHub.Types.IcmpTypeCode" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "IcmpTypeCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newIcmpTypeCode :: IcmpTypeCode Source #

Create a value of IcmpTypeCode 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:code:IcmpTypeCode', icmpTypeCode_code - The ICMP code for which to deny or allow access. To deny or allow all codes, use the value -1.

$sel:type':IcmpTypeCode', icmpTypeCode_type - The ICMP type for which to deny or allow access. To deny or allow all types, use the value -1.

icmpTypeCode_code :: Lens' IcmpTypeCode (Maybe Int) Source #

The ICMP code for which to deny or allow access. To deny or allow all codes, use the value -1.

icmpTypeCode_type :: Lens' IcmpTypeCode (Maybe Int) Source #

The ICMP type for which to deny or allow access. To deny or allow all types, use the value -1.