amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.SecurityGroup

Description

 
Synopsis

Documentation

data SecurityGroup Source #

Describes a security group.

See: newSecurityGroup smart constructor.

Constructors

SecurityGroup' 

Fields

Instances

Instances details
FromXML SecurityGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.SecurityGroup

Generic SecurityGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.SecurityGroup

Associated Types

type Rep SecurityGroup :: Type -> Type #

Read SecurityGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.SecurityGroup

Show SecurityGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.SecurityGroup

NFData SecurityGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.SecurityGroup

Methods

rnf :: SecurityGroup -> () #

Eq SecurityGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.SecurityGroup

Hashable SecurityGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.SecurityGroup

type Rep SecurityGroup Source # 
Instance details

Defined in Amazonka.EC2.Types.SecurityGroup

newSecurityGroup Source #

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.