| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
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' | |
Instances
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.