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 StaleIpPermission = StaleIpPermission' {
- fromPort :: Maybe Int
- ipProtocol :: Maybe Text
- ipRanges :: Maybe [Text]
- prefixListIds :: Maybe [Text]
- toPort :: Maybe Int
- userIdGroupPairs :: Maybe [UserIdGroupPair]
- newStaleIpPermission :: StaleIpPermission
- staleIpPermission_fromPort :: Lens' StaleIpPermission (Maybe Int)
- staleIpPermission_ipProtocol :: Lens' StaleIpPermission (Maybe Text)
- staleIpPermission_ipRanges :: Lens' StaleIpPermission (Maybe [Text])
- staleIpPermission_prefixListIds :: Lens' StaleIpPermission (Maybe [Text])
- staleIpPermission_toPort :: Lens' StaleIpPermission (Maybe Int)
- staleIpPermission_userIdGroupPairs :: Lens' StaleIpPermission (Maybe [UserIdGroupPair])
Documentation
data StaleIpPermission Source #
Describes a stale rule in a security group.
See: newStaleIpPermission
smart constructor.
StaleIpPermission' | |
|
Instances
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.