Safe Haskell | None |
---|---|
Language | Haskell2010 |
Removes one or more ingress rules from a security group. The values that you specify in the revoke request (for example, ports) must match the existing rule's values for the rule to be removed.
Each rule consists of the protocol and the CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code.
Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
- data RevokeSecurityGroupIngress
- revokeSecurityGroupIngress :: RevokeSecurityGroupIngress
- rsgiCidrIp :: Lens' RevokeSecurityGroupIngress (Maybe Text)
- rsgiDryRun :: Lens' RevokeSecurityGroupIngress (Maybe Bool)
- rsgiFromPort :: Lens' RevokeSecurityGroupIngress (Maybe Int)
- rsgiGroupId :: Lens' RevokeSecurityGroupIngress (Maybe Text)
- rsgiGroupName :: Lens' RevokeSecurityGroupIngress (Maybe Text)
- rsgiIpPermissions :: Lens' RevokeSecurityGroupIngress [IpPermission]
- rsgiIpProtocol :: Lens' RevokeSecurityGroupIngress (Maybe Text)
- rsgiSourceSecurityGroupName :: Lens' RevokeSecurityGroupIngress (Maybe Text)
- rsgiSourceSecurityGroupOwnerId :: Lens' RevokeSecurityGroupIngress (Maybe Text)
- rsgiToPort :: Lens' RevokeSecurityGroupIngress (Maybe Int)
- data RevokeSecurityGroupIngressResponse
- revokeSecurityGroupIngressResponse :: RevokeSecurityGroupIngressResponse
Request
data RevokeSecurityGroupIngress Source
Request constructor
revokeSecurityGroupIngress :: RevokeSecurityGroupIngress Source
RevokeSecurityGroupIngress
constructor.
The fields accessible through corresponding lenses are:
Request lenses
rsgiCidrIp :: Lens' RevokeSecurityGroupIngress (Maybe Text) Source
The CIDR IP address range. You can't specify this parameter when specifying a source security group.
rsgiFromPort :: Lens' RevokeSecurityGroupIngress (Maybe Int) Source
The start of port range for the TCP and UDP protocols, or an ICMP type number. For the ICMP type number, use '-1' to specify all ICMP types.
rsgiGroupId :: Lens' RevokeSecurityGroupIngress (Maybe Text) Source
The ID of the security group.
rsgiGroupName :: Lens' RevokeSecurityGroupIngress (Maybe Text) Source
- EC2-Classic, default VPC
- The name of the security group.
rsgiIpPermissions :: Lens' RevokeSecurityGroupIngress [IpPermission] Source
A set of IP permissions. You can't specify a source security group and a CIDR IP address range.
rsgiIpProtocol :: Lens' RevokeSecurityGroupIngress (Maybe Text) Source
The IP protocol name (tcp
, udp
, icmp
) or number (see Protocol Numbers). Use '-1'
to specify all.
rsgiSourceSecurityGroupName :: Lens' RevokeSecurityGroupIngress (Maybe Text) Source
- EC2-Classic, default VPC
- The name of the source security group. You can't specify a source security group and a CIDR IP address range.
rsgiSourceSecurityGroupOwnerId :: Lens' RevokeSecurityGroupIngress (Maybe Text) Source
The ID of the source security group. You can't specify a source security group and a CIDR IP address range.
rsgiToPort :: Lens' RevokeSecurityGroupIngress (Maybe Int) Source
The end of port range for the TCP and UDP protocols, or an ICMP code number. For the ICMP code number, use '-1' to specify all ICMP codes for the ICMP type.