libZSservicesZSamazonka-rdsZSamazonka-rds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RDS.Types.EC2SecurityGroup

Description

 
Synopsis

Documentation

data EC2SecurityGroup Source #

This data type is used as a response element in the following actions:

  • AuthorizeDBSecurityGroupIngress
  • DescribeDBSecurityGroups
  • RevokeDBSecurityGroupIngress

See: newEC2SecurityGroup smart constructor.

Constructors

EC2SecurityGroup' 

Fields

Instances

Instances details
Eq EC2SecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.EC2SecurityGroup

Read EC2SecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.EC2SecurityGroup

Show EC2SecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.EC2SecurityGroup

Generic EC2SecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.EC2SecurityGroup

Associated Types

type Rep EC2SecurityGroup :: Type -> Type #

NFData EC2SecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.EC2SecurityGroup

Methods

rnf :: EC2SecurityGroup -> () #

Hashable EC2SecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.EC2SecurityGroup

FromXML EC2SecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.EC2SecurityGroup

type Rep EC2SecurityGroup Source # 
Instance details

Defined in Amazonka.RDS.Types.EC2SecurityGroup

type Rep EC2SecurityGroup = D1 ('MetaData "EC2SecurityGroup" "Amazonka.RDS.Types.EC2SecurityGroup" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "EC2SecurityGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eC2SecurityGroupOwnerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "eC2SecurityGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eC2SecurityGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEC2SecurityGroup :: EC2SecurityGroup Source #

Create a value of EC2SecurityGroup 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:status:EC2SecurityGroup', eC2SecurityGroup_status - Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".

$sel:eC2SecurityGroupOwnerId:EC2SecurityGroup', eC2SecurityGroup_eC2SecurityGroupOwnerId - Specifies the Amazon Web Services ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.

$sel:eC2SecurityGroupName:EC2SecurityGroup', eC2SecurityGroup_eC2SecurityGroupName - Specifies the name of the EC2 security group.

$sel:eC2SecurityGroupId:EC2SecurityGroup', eC2SecurityGroup_eC2SecurityGroupId - Specifies the id of the EC2 security group.

eC2SecurityGroup_status :: Lens' EC2SecurityGroup (Maybe Text) Source #

Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".

eC2SecurityGroup_eC2SecurityGroupOwnerId :: Lens' EC2SecurityGroup (Maybe Text) Source #

Specifies the Amazon Web Services ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.

eC2SecurityGroup_eC2SecurityGroupName :: Lens' EC2SecurityGroup (Maybe Text) Source #

Specifies the name of the EC2 security group.

eC2SecurityGroup_eC2SecurityGroupId :: Lens' EC2SecurityGroup (Maybe Text) Source #

Specifies the id of the EC2 security group.