stratosphere-0.1.4: 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

data SecurityGroupIngressRule Source #

Full data type definition for SecurityGroupIngressRule. See securityGroupIngressRule for a more convenient constructor.

Instances

Show SecurityGroupIngressRule Source # 
Generic SecurityGroupIngressRule Source # 
ToJSON SecurityGroupIngressRule Source # 
FromJSON SecurityGroupIngressRule Source # 
type Rep SecurityGroupIngressRule Source # 
type Rep SecurityGroupIngressRule = D1 (MetaData "SecurityGroupIngressRule" "Stratosphere.ResourceProperties.SecurityGroupIngressRule" "stratosphere-0.1.4-3c4zLb8P2Io376e469Y3WA" False) (C1 (MetaCons "SecurityGroupIngressRule" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_securityGroupIngressRuleCidrIp") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_securityGroupIngressRuleFromPort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer')))) (S1 (MetaSel (Just Symbol "_securityGroupIngressRuleIpProtocol") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_securityGroupIngressRuleSourceSecurityGroupId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_securityGroupIngressRuleSourceSecurityGroupName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_securityGroupIngressRuleSourceSecurityGroupOwnerId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_securityGroupIngressRuleToPort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer'))))))))

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