Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data IpRange = IpRange' {
- description :: Maybe Text
- cidrIp :: Text
- newIpRange :: Text -> IpRange
- ipRange_description :: Lens' IpRange (Maybe Text)
- ipRange_cidrIp :: Lens' IpRange Text
Documentation
Describes an IPv4 range.
See: newIpRange
smart constructor.
IpRange' | |
|
Instances
ToQuery IpRange Source # | |
Defined in Amazonka.EC2.Types.IpRange toQuery :: IpRange -> QueryString # | |
FromXML IpRange Source # | |
Generic IpRange Source # | |
Read IpRange Source # | |
Show IpRange Source # | |
NFData IpRange Source # | |
Defined in Amazonka.EC2.Types.IpRange | |
Eq IpRange Source # | |
Hashable IpRange Source # | |
Defined in Amazonka.EC2.Types.IpRange | |
type Rep IpRange Source # | |
Defined in Amazonka.EC2.Types.IpRange type Rep IpRange = D1 ('MetaData "IpRange" "Amazonka.EC2.Types.IpRange" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "IpRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cidrIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of IpRange
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:description:IpRange'
, ipRange_description
- A description for the security group rule that references this IPv4
address range.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
$sel:cidrIp:IpRange'
, ipRange_cidrIp
- The IPv4 CIDR range. You can either specify a CIDR range or a source
security group, not both. To specify a single IPv4 address, use the /32
prefix length.