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.StaleIpPermission

Description

 
Synopsis

Documentation

data StaleIpPermission Source #

Describes a stale rule in a security group.

See: newStaleIpPermission smart constructor.

Constructors

StaleIpPermission' 

Fields

  • fromPort :: Maybe Int

    The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

  • ipProtocol :: Maybe Text

    The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

  • ipRanges :: Maybe [Text]

    The IP ranges. Not applicable for stale security group rules.

  • prefixListIds :: Maybe [Text]

    The prefix list IDs. Not applicable for stale security group rules.

  • toPort :: Maybe Int

    The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

  • userIdGroupPairs :: Maybe [UserIdGroupPair]

    The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

Instances

Instances details
FromXML StaleIpPermission Source # 
Instance details

Defined in Amazonka.EC2.Types.StaleIpPermission

Generic StaleIpPermission Source # 
Instance details

Defined in Amazonka.EC2.Types.StaleIpPermission

Associated Types

type Rep StaleIpPermission :: Type -> Type #

Read StaleIpPermission Source # 
Instance details

Defined in Amazonka.EC2.Types.StaleIpPermission

Show StaleIpPermission Source # 
Instance details

Defined in Amazonka.EC2.Types.StaleIpPermission

NFData StaleIpPermission Source # 
Instance details

Defined in Amazonka.EC2.Types.StaleIpPermission

Methods

rnf :: StaleIpPermission -> () #

Eq StaleIpPermission Source # 
Instance details

Defined in Amazonka.EC2.Types.StaleIpPermission

Hashable StaleIpPermission Source # 
Instance details

Defined in Amazonka.EC2.Types.StaleIpPermission

type Rep StaleIpPermission Source # 
Instance details

Defined in Amazonka.EC2.Types.StaleIpPermission

type Rep StaleIpPermission = D1 ('MetaData "StaleIpPermission" "Amazonka.EC2.Types.StaleIpPermission" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "StaleIpPermission'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fromPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "ipProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ipRanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "prefixListIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "toPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "userIdGroupPairs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserIdGroupPair]))))))

newStaleIpPermission :: StaleIpPermission Source #

Create a value of StaleIpPermission 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:fromPort:StaleIpPermission', staleIpPermission_fromPort - The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

$sel:ipProtocol:StaleIpPermission', staleIpPermission_ipProtocol - The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

$sel:ipRanges:StaleIpPermission', staleIpPermission_ipRanges - The IP ranges. Not applicable for stale security group rules.

$sel:prefixListIds:StaleIpPermission', staleIpPermission_prefixListIds - The prefix list IDs. Not applicable for stale security group rules.

$sel:toPort:StaleIpPermission', staleIpPermission_toPort - The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

$sel:userIdGroupPairs:StaleIpPermission', staleIpPermission_userIdGroupPairs - The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

staleIpPermission_fromPort :: Lens' StaleIpPermission (Maybe Int) Source #

The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

staleIpPermission_ipProtocol :: Lens' StaleIpPermission (Maybe Text) Source #

The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

staleIpPermission_ipRanges :: Lens' StaleIpPermission (Maybe [Text]) Source #

The IP ranges. Not applicable for stale security group rules.

staleIpPermission_prefixListIds :: Lens' StaleIpPermission (Maybe [Text]) Source #

The prefix list IDs. Not applicable for stale security group rules.

staleIpPermission_toPort :: Lens' StaleIpPermission (Maybe Int) Source #

The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

staleIpPermission_userIdGroupPairs :: Lens' StaleIpPermission (Maybe [UserIdGroupPair]) Source #

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.