stratosphere-0.2.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.SecurityGroup

Description

Creates an Amazon EC2 security group. To create a VPC security group, use the VpcId property. This type supports updates. For more information about updating stacks, see AWS CloudFormation Stacks Updates.

Synopsis

Documentation

data SecurityGroup Source #

Full data type definition for SecurityGroup. See securityGroup for a more convenient constructor.

Instances

Show SecurityGroup Source # 
Generic SecurityGroup Source # 

Associated Types

type Rep SecurityGroup :: * -> * #

ToJSON SecurityGroup Source # 
FromJSON SecurityGroup Source # 
type Rep SecurityGroup Source # 
type Rep SecurityGroup = D1 (MetaData "SecurityGroup" "Stratosphere.Resources.SecurityGroup" "stratosphere-0.2.0-B1WeL9cnxuQ3qer3csMa6f" False) (C1 (MetaCons "SecurityGroup" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_securityGroupGroupDescription") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) (S1 (MetaSel (Just Symbol "_securityGroupSecurityGroupEgress") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [SecurityGroupEgressRule])))) ((:*:) (S1 (MetaSel (Just Symbol "_securityGroupSecurityGroupIngress") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [SecurityGroupIngressRule]))) ((:*:) (S1 (MetaSel (Just Symbol "_securityGroupTags") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ResourceTag]))) (S1 (MetaSel (Just Symbol "_securityGroupVpcId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))))))

securityGroup Source #

Constructor for SecurityGroup containing required fields as arguments.

sgGroupDescription :: Lens' SecurityGroup (Val Text) Source #

Description of the security group.

sgSecurityGroupEgress :: Lens' SecurityGroup (Maybe [SecurityGroupEgressRule]) Source #

A list of Amazon EC2 security group egress rules.

sgSecurityGroupIngress :: Lens' SecurityGroup (Maybe [SecurityGroupIngressRule]) Source #

A list of Amazon EC2 security group ingress rules.

sgTags :: Lens' SecurityGroup (Maybe [ResourceTag]) Source #

The tags that you want to attach to the resource.

sgVpcId :: Lens' SecurityGroup (Maybe (Val Text)) Source #

The physical ID of the VPC. Can be obtained by using a reference to an AWS::EC2::VPC, such as: { Ref : "myVPC" }. For more information about using the Ref function, see Ref.