amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.IpRange

Description

 
Synopsis

Documentation

data IpRange Source #

Describes an IPv4 range.

See: newIpRange smart constructor.

Constructors

IpRange' 

Fields

  • description :: Maybe Text

    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 ._-:/()#,@[]+=&;{}!$*

  • cidrIp :: Text

    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.

Instances

Instances details
ToQuery IpRange Source # 
Instance details

Defined in Amazonka.EC2.Types.IpRange

FromXML IpRange Source # 
Instance details

Defined in Amazonka.EC2.Types.IpRange

Generic IpRange Source # 
Instance details

Defined in Amazonka.EC2.Types.IpRange

Associated Types

type Rep IpRange :: Type -> Type #

Methods

from :: IpRange -> Rep IpRange x #

to :: Rep IpRange x -> IpRange #

Read IpRange Source # 
Instance details

Defined in Amazonka.EC2.Types.IpRange

Show IpRange Source # 
Instance details

Defined in Amazonka.EC2.Types.IpRange

NFData IpRange Source # 
Instance details

Defined in Amazonka.EC2.Types.IpRange

Methods

rnf :: IpRange -> () #

Eq IpRange Source # 
Instance details

Defined in Amazonka.EC2.Types.IpRange

Methods

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

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

Hashable IpRange Source # 
Instance details

Defined in Amazonka.EC2.Types.IpRange

Methods

hashWithSalt :: Int -> IpRange -> Int #

hash :: IpRange -> Int #

type Rep IpRange Source # 
Instance details

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)))

newIpRange Source #

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.

ipRange_description :: Lens' IpRange (Maybe Text) Source #

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 ._-:/()#,@[]+=&;{}!$*

ipRange_cidrIp :: Lens' IpRange Text Source #

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.