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 SecurityGroupRule = SecurityGroupRule' {
- cidrIpv4 :: Maybe Text
- cidrIpv6 :: Maybe Text
- description :: Maybe Text
- fromPort :: Maybe Int
- groupId :: Maybe Text
- groupOwnerId :: Maybe Text
- ipProtocol :: Maybe Text
- isEgress :: Maybe Bool
- prefixListId :: Maybe Text
- referencedGroupInfo :: Maybe ReferencedSecurityGroup
- securityGroupRuleId :: Maybe Text
- tags :: Maybe [Tag]
- toPort :: Maybe Int
- newSecurityGroupRule :: SecurityGroupRule
- securityGroupRule_cidrIpv4 :: Lens' SecurityGroupRule (Maybe Text)
- securityGroupRule_cidrIpv6 :: Lens' SecurityGroupRule (Maybe Text)
- securityGroupRule_description :: Lens' SecurityGroupRule (Maybe Text)
- securityGroupRule_fromPort :: Lens' SecurityGroupRule (Maybe Int)
- securityGroupRule_groupId :: Lens' SecurityGroupRule (Maybe Text)
- securityGroupRule_groupOwnerId :: Lens' SecurityGroupRule (Maybe Text)
- securityGroupRule_ipProtocol :: Lens' SecurityGroupRule (Maybe Text)
- securityGroupRule_isEgress :: Lens' SecurityGroupRule (Maybe Bool)
- securityGroupRule_prefixListId :: Lens' SecurityGroupRule (Maybe Text)
- securityGroupRule_referencedGroupInfo :: Lens' SecurityGroupRule (Maybe ReferencedSecurityGroup)
- securityGroupRule_securityGroupRuleId :: Lens' SecurityGroupRule (Maybe Text)
- securityGroupRule_tags :: Lens' SecurityGroupRule (Maybe [Tag])
- securityGroupRule_toPort :: Lens' SecurityGroupRule (Maybe Int)
Documentation
data SecurityGroupRule Source #
Describes a security group rule.
See: newSecurityGroupRule
smart constructor.
SecurityGroupRule' | |
|
Instances
newSecurityGroupRule :: SecurityGroupRule Source #
Create a value of SecurityGroupRule
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:cidrIpv4:SecurityGroupRule'
, securityGroupRule_cidrIpv4
- The IPv4 CIDR range.
$sel:cidrIpv6:SecurityGroupRule'
, securityGroupRule_cidrIpv6
- The IPv6 CIDR range.
$sel:description:SecurityGroupRule'
, securityGroupRule_description
- The security group rule description.
$sel:fromPort:SecurityGroupRule'
, securityGroupRule_fromPort
- The start of port range for the TCP and UDP protocols, or an
ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If
you specify all ICMP/ICMPv6 types, you must specify all codes.
SecurityGroupRule
, securityGroupRule_groupId
- The ID of the security group.
$sel:groupOwnerId:SecurityGroupRule'
, securityGroupRule_groupOwnerId
- The ID of the Amazon Web Services account that owns the security group.
$sel:ipProtocol:SecurityGroupRule'
, securityGroupRule_ipProtocol
- The IP protocol name (tcp
, udp
, icmp
, icmpv6
) or number (see
Protocol Numbers).
Use -1
to specify all protocols.
$sel:isEgress:SecurityGroupRule'
, securityGroupRule_isEgress
- Indicates whether the security group rule is an outbound rule.
$sel:prefixListId:SecurityGroupRule'
, securityGroupRule_prefixListId
- The ID of the prefix list.
$sel:referencedGroupInfo:SecurityGroupRule'
, securityGroupRule_referencedGroupInfo
- Describes the security group that is referenced in the rule.
$sel:securityGroupRuleId:SecurityGroupRule'
, securityGroupRule_securityGroupRuleId
- The ID of the security group rule.
$sel:tags:SecurityGroupRule'
, securityGroupRule_tags
- The tags applied to the security group rule.
$sel:toPort:SecurityGroupRule'
, securityGroupRule_toPort
- The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6
code. A value of -1
indicates all ICMP/ICMPv6 codes. If you specify
all ICMP/ICMPv6 types, you must specify all codes.
securityGroupRule_cidrIpv4 :: Lens' SecurityGroupRule (Maybe Text) Source #
The IPv4 CIDR range.
securityGroupRule_cidrIpv6 :: Lens' SecurityGroupRule (Maybe Text) Source #
The IPv6 CIDR range.
securityGroupRule_description :: Lens' SecurityGroupRule (Maybe Text) Source #
The security group rule description.
securityGroupRule_fromPort :: Lens' SecurityGroupRule (Maybe Int) Source #
The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.
securityGroupRule_groupId :: Lens' SecurityGroupRule (Maybe Text) Source #
The ID of the security group.
securityGroupRule_groupOwnerId :: Lens' SecurityGroupRule (Maybe Text) Source #
The ID of the Amazon Web Services account that owns the security group.
securityGroupRule_ipProtocol :: Lens' SecurityGroupRule (Maybe Text) Source #
The IP protocol name (tcp
, udp
, icmp
, icmpv6
) or number (see
Protocol Numbers).
Use -1
to specify all protocols.
securityGroupRule_isEgress :: Lens' SecurityGroupRule (Maybe Bool) Source #
Indicates whether the security group rule is an outbound rule.
securityGroupRule_prefixListId :: Lens' SecurityGroupRule (Maybe Text) Source #
The ID of the prefix list.
securityGroupRule_referencedGroupInfo :: Lens' SecurityGroupRule (Maybe ReferencedSecurityGroup) Source #
Describes the security group that is referenced in the rule.
securityGroupRule_securityGroupRuleId :: Lens' SecurityGroupRule (Maybe Text) Source #
The ID of the security group rule.
securityGroupRule_tags :: Lens' SecurityGroupRule (Maybe [Tag]) Source #
The tags applied to the security group rule.
securityGroupRule_toPort :: Lens' SecurityGroupRule (Maybe Int) Source #
The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6
code. A value of -1
indicates all ICMP/ICMPv6 codes. If you specify
all ICMP/ICMPv6 types, you must specify all codes.