Safe Haskell | None |
---|---|
Language | Haskell2010 |
The AWS::EC2::SecurityGroupIngress resource adds an ingress rule to an Amazon EC2 or Amazon VPC security group.
- data SecurityGroupIngress = SecurityGroupIngress {
- _securityGroupIngressCidrIp :: Maybe (Val Text)
- _securityGroupIngressFromPort :: Maybe (Val Integer')
- _securityGroupIngressGroupId :: Maybe (Val Text)
- _securityGroupIngressGroupName :: Maybe (Val Text)
- _securityGroupIngressIpProtocol :: Val Text
- _securityGroupIngressSourceSecurityGroupId :: Maybe (Val Text)
- _securityGroupIngressSourceSecurityGroupName :: Maybe (Val Text)
- _securityGroupIngressSourceSecurityGroupOwnerId :: Maybe (Val Text)
- _securityGroupIngressToPort :: Maybe (Val Integer')
- securityGroupIngress :: Val Text -> SecurityGroupIngress
- sgiCidrIp :: Lens' SecurityGroupIngress (Maybe (Val Text))
- sgiFromPort :: Lens' SecurityGroupIngress (Maybe (Val Integer'))
- sgiGroupId :: Lens' SecurityGroupIngress (Maybe (Val Text))
- sgiGroupName :: Lens' SecurityGroupIngress (Maybe (Val Text))
- sgiIpProtocol :: Lens' SecurityGroupIngress (Val Text)
- sgiSourceSecurityGroupId :: Lens' SecurityGroupIngress (Maybe (Val Text))
- sgiSourceSecurityGroupName :: Lens' SecurityGroupIngress (Maybe (Val Text))
- sgiSourceSecurityGroupOwnerId :: Lens' SecurityGroupIngress (Maybe (Val Text))
- sgiToPort :: Lens' SecurityGroupIngress (Maybe (Val Integer'))
Documentation
data SecurityGroupIngress Source #
Full data type definition for SecurityGroupIngress. See
securityGroupIngress
for a more convenient constructor.
Constructor for SecurityGroupIngress
containing required fields as
arguments.
sgiCidrIp :: Lens' SecurityGroupIngress (Maybe (Val Text)) Source #
Specifies a CIDR range. For an overview of CIDR ranges, go to the Wikipedia Tutorial. Type: String
sgiFromPort :: Lens' SecurityGroupIngress (Maybe (Val Integer')) Source #
Start of port range for the TCP and UDP protocols, or an ICMP type number. If you specify icmp for the IpProtocol property, you can specify -1 as a wildcard (i.e., any ICMP type number). Type: Integer
sgiGroupId :: Lens' SecurityGroupIngress (Maybe (Val Text)) Source #
ID of the Amazon EC2 or VPC security group to modify. The group must belong to your account. Type: String
sgiGroupName :: Lens' SecurityGroupIngress (Maybe (Val Text)) Source #
Name of the Amazon EC2 security group (non-VPC security group) to modify. This value can be a reference to an AWS::EC2::SecurityGroup resource or the name of an existing Amazon EC2 security group. Type: String
sgiIpProtocol :: Lens' SecurityGroupIngress (Val Text) Source #
IP protocol name or number. For valid values, see the IpProtocol parameter in AuthorizeSecurityGroupIngress Type: String
sgiSourceSecurityGroupId :: Lens' SecurityGroupIngress (Maybe (Val Text)) Source #
Specifies the ID of the source security group or uses the Ref intrinsic function to refer to the logical ID of a security group defined in the same template. Type: String
sgiSourceSecurityGroupName :: Lens' SecurityGroupIngress (Maybe (Val Text)) Source #
Specifies the name of the Amazon EC2 security group (non-VPC security group) to allow access or uses the Ref intrinsic function to refer to the logical name of a security group defined in the same template. For instances in a VPC, specify the SourceSecurityGroupId property. Type: String
sgiSourceSecurityGroupOwnerId :: Lens' SecurityGroupIngress (Maybe (Val Text)) Source #
Specifies the AWS Account ID of the owner of the Amazon EC2 security group specified in the SourceSecurityGroupName property. Type: String