Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
- data SecurityGroup = SecurityGroup {}
- securityGroup :: Val Text -> SecurityGroup
- sgGroupDescription :: Lens' SecurityGroup (Val Text)
- sgSecurityGroupEgress :: Lens' SecurityGroup (Maybe [SecurityGroupEgressRule])
- sgSecurityGroupIngress :: Lens' SecurityGroup (Maybe [SecurityGroupIngressRule])
- sgTags :: Lens' SecurityGroup (Maybe [ResourceTag])
- sgVpcId :: Lens' SecurityGroup (Maybe (Val Text))
Documentation
data SecurityGroup Source
Full data type definition for SecurityGroup. See securityGroup
for a
more convenient constructor.
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.