stratosphere-0.2.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.SecurityGroupIngress

Description

The AWS::EC2::SecurityGroupIngress resource adds an ingress rule to an Amazon EC2 or Amazon VPC security group.

Synopsis

Documentation

data SecurityGroupIngress Source #

Full data type definition for SecurityGroupIngress. See securityGroupIngress for a more convenient constructor.

Instances

Show SecurityGroupIngress Source # 
Generic SecurityGroupIngress Source # 
ToJSON SecurityGroupIngress Source # 
FromJSON SecurityGroupIngress Source # 
type Rep SecurityGroupIngress Source # 
type Rep SecurityGroupIngress = D1 (MetaData "SecurityGroupIngress" "Stratosphere.Resources.SecurityGroupIngress" "stratosphere-0.2.0-B1WeL9cnxuQ3qer3csMa6f" False) (C1 (MetaCons "SecurityGroupIngress" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_securityGroupIngressCidrIp") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_securityGroupIngressFromPort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer'))))) ((:*:) (S1 (MetaSel (Just Symbol "_securityGroupIngressGroupId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_securityGroupIngressGroupName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_securityGroupIngressIpProtocol") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) (S1 (MetaSel (Just Symbol "_securityGroupIngressSourceSecurityGroupId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_securityGroupIngressSourceSecurityGroupName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_securityGroupIngressSourceSecurityGroupOwnerId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_securityGroupIngressToPort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer')))))))))

securityGroupIngress Source #

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

sgiToPort :: Lens' SecurityGroupIngress (Maybe (Val Integer')) Source #

End of port range for the TCP and UDP protocols, or an ICMP code. If you specify icmp for the IpProtocol property, you can specify -1 as a wildcard (i.e., any ICMP code). Type: Integer