stratosphere-0.1.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.SecurityGroupIngressRule

Description

The EC2 Security Group Rule is an embedded property of the AWS::EC2::SecurityGroup type.

Synopsis

Documentation

securityGroupIngressRule Source

Constructor for SecurityGroupIngressRule containing required fields as arguments.

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).