Safe Haskell | None |
---|---|
Language | Haskell2010 |
The EC2 Security Group Rule is an embedded property of the AWS::EC2::SecurityGroup type.
- data SecurityGroupIngressRule = SecurityGroupIngressRule {
- _securityGroupIngressRuleCidrIp :: Maybe (Val Text)
- _securityGroupIngressRuleFromPort :: Maybe (Val Integer')
- _securityGroupIngressRuleIpProtocol :: Val Text
- _securityGroupIngressRuleSourceSecurityGroupId :: Maybe (Val Text)
- _securityGroupIngressRuleSourceSecurityGroupName :: Maybe (Val Text)
- _securityGroupIngressRuleSourceSecurityGroupOwnerId :: Maybe (Val Text)
- _securityGroupIngressRuleToPort :: Maybe (Val Integer')
- securityGroupIngressRule :: Val Text -> SecurityGroupIngressRule
- sgirCidrIp :: Lens' SecurityGroupIngressRule (Maybe (Val Text))
- sgirFromPort :: Lens' SecurityGroupIngressRule (Maybe (Val Integer'))
- sgirIpProtocol :: Lens' SecurityGroupIngressRule (Val Text)
- sgirSourceSecurityGroupId :: Lens' SecurityGroupIngressRule (Maybe (Val Text))
- sgirSourceSecurityGroupName :: Lens' SecurityGroupIngressRule (Maybe (Val Text))
- sgirSourceSecurityGroupOwnerId :: Lens' SecurityGroupIngressRule (Maybe (Val Text))
- sgirToPort :: Lens' SecurityGroupIngressRule (Maybe (Val Integer'))
Documentation
data SecurityGroupIngressRule Source
Full data type definition for SecurityGroupIngressRule. See
securityGroupIngressRule
for a more convenient constructor.
securityGroupIngressRule Source
Constructor for SecurityGroupIngressRule
containing required fields as
arguments.
sgirCidrIp :: Lens' SecurityGroupIngressRule (Maybe (Val Text)) Source
Specifies a CIDR range.
sgirFromPort :: Lens' SecurityGroupIngressRule (Maybe (Val Integer')) Source
The start of port range for the TCP and UDP protocols, or an ICMP type number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP type number). Type: Integer
sgirIpProtocol :: Lens' SecurityGroupIngressRule (Val Text) Source
An IP protocol name or number. For valid values, go to the IpProtocol parameter in AuthorizeSecurityGroupIngress
sgirSourceSecurityGroupId :: Lens' SecurityGroupIngressRule (Maybe (Val Text)) Source
For VPC security groups only. Specifies the ID of the Amazon EC2 Security Group to allow access. You can use the Ref intrinsic function to refer to the logical ID of a security group defined in the same template.
sgirSourceSecurityGroupName :: Lens' SecurityGroupIngressRule (Maybe (Val Text)) Source
For non-VPC security groups only. Specifies the name of the Amazon EC2 Security Group to use for access. You can use the Ref intrinsic function to refer to the logical name of a security group that is defined in the same template.
sgirSourceSecurityGroupOwnerId :: Lens' SecurityGroupIngressRule (Maybe (Val Text)) Source
Specifies the AWS Account ID of the owner of the Amazon EC2 Security Group that is specified in the SourceSecurityGroupName property.
sgirToPort :: Lens' SecurityGroupIngressRule (Maybe (Val Integer')) Source
The end of port range for the TCP and UDP protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard (i.e., any ICMP code).