Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data SecurityGroup = SecurityGroup' {
- ipPermissions :: Maybe [IpPermission]
- ipPermissionsEgress :: Maybe [IpPermission]
- tags :: Maybe [Tag]
- vpcId :: Maybe Text
- ownerId :: Text
- groupId :: Text
- groupName :: Text
- description :: Text
- newSecurityGroup :: Text -> Text -> Text -> Text -> SecurityGroup
- securityGroup_ipPermissions :: Lens' SecurityGroup (Maybe [IpPermission])
- securityGroup_ipPermissionsEgress :: Lens' SecurityGroup (Maybe [IpPermission])
- securityGroup_tags :: Lens' SecurityGroup (Maybe [Tag])
- securityGroup_vpcId :: Lens' SecurityGroup (Maybe Text)
- securityGroup_ownerId :: Lens' SecurityGroup Text
- securityGroup_groupId :: Lens' SecurityGroup Text
- securityGroup_groupName :: Lens' SecurityGroup Text
- securityGroup_description :: Lens' SecurityGroup Text
Documentation
data SecurityGroup Source #
Describes a security group.
See: newSecurityGroup
smart constructor.
SecurityGroup' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> SecurityGroup |
Create a value of SecurityGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ipPermissions:SecurityGroup'
, securityGroup_ipPermissions
- The inbound rules associated with the security group.
$sel:ipPermissionsEgress:SecurityGroup'
, securityGroup_ipPermissionsEgress
- [VPC only] The outbound rules associated with the security group.
$sel:tags:SecurityGroup'
, securityGroup_tags
- Any tags assigned to the security group.
$sel:vpcId:SecurityGroup'
, securityGroup_vpcId
- [VPC only] The ID of the VPC for the security group.
$sel:ownerId:SecurityGroup'
, securityGroup_ownerId
- The Amazon Web Services account ID of the owner of the security group.
$sel:groupId:SecurityGroup'
, securityGroup_groupId
- The ID of the security group.
$sel:groupName:SecurityGroup'
, securityGroup_groupName
- The name of the security group.
$sel:description:SecurityGroup'
, securityGroup_description
- A description of the security group.
securityGroup_ipPermissions :: Lens' SecurityGroup (Maybe [IpPermission]) Source #
The inbound rules associated with the security group.
securityGroup_ipPermissionsEgress :: Lens' SecurityGroup (Maybe [IpPermission]) Source #
- VPC only
- The outbound rules associated with the security group.
securityGroup_tags :: Lens' SecurityGroup (Maybe [Tag]) Source #
Any tags assigned to the security group.
securityGroup_vpcId :: Lens' SecurityGroup (Maybe Text) Source #
- VPC only
- The ID of the VPC for the security group.
securityGroup_ownerId :: Lens' SecurityGroup Text Source #
The Amazon Web Services account ID of the owner of the security group.
securityGroup_groupId :: Lens' SecurityGroup Text Source #
The ID of the security group.
securityGroup_groupName :: Lens' SecurityGroup Text Source #
The name of the security group.
securityGroup_description :: Lens' SecurityGroup Text Source #
A description of the security group.