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.AnalysisSecurityGroupRule

Description

 
Synopsis

Documentation

data AnalysisSecurityGroupRule Source #

Describes a security group rule.

See: newAnalysisSecurityGroupRule smart constructor.

Constructors

AnalysisSecurityGroupRule' 

Fields

Instances

Instances details
FromXML AnalysisSecurityGroupRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AnalysisSecurityGroupRule

Generic AnalysisSecurityGroupRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AnalysisSecurityGroupRule

Associated Types

type Rep AnalysisSecurityGroupRule :: Type -> Type #

Read AnalysisSecurityGroupRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AnalysisSecurityGroupRule

Show AnalysisSecurityGroupRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AnalysisSecurityGroupRule

NFData AnalysisSecurityGroupRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AnalysisSecurityGroupRule

Eq AnalysisSecurityGroupRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AnalysisSecurityGroupRule

Hashable AnalysisSecurityGroupRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AnalysisSecurityGroupRule

type Rep AnalysisSecurityGroupRule Source # 
Instance details

Defined in Amazonka.EC2.Types.AnalysisSecurityGroupRule

type Rep AnalysisSecurityGroupRule = D1 ('MetaData "AnalysisSecurityGroupRule" "Amazonka.EC2.Types.AnalysisSecurityGroupRule" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "AnalysisSecurityGroupRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cidr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "direction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "portRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PortRange)))) :*: (S1 ('MetaSel ('Just "prefixListId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "securityGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newAnalysisSecurityGroupRule :: AnalysisSecurityGroupRule Source #

Create a value of AnalysisSecurityGroupRule 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:cidr:AnalysisSecurityGroupRule', analysisSecurityGroupRule_cidr - The IPv4 address range, in CIDR notation.

$sel:direction:AnalysisSecurityGroupRule', analysisSecurityGroupRule_direction - The direction. The following are the possible values:

  • egress
  • ingress

$sel:portRange:AnalysisSecurityGroupRule', analysisSecurityGroupRule_portRange - The port range.

$sel:prefixListId:AnalysisSecurityGroupRule', analysisSecurityGroupRule_prefixListId - The prefix list ID.

$sel:protocol:AnalysisSecurityGroupRule', analysisSecurityGroupRule_protocol - The protocol name.

$sel:securityGroupId:AnalysisSecurityGroupRule', analysisSecurityGroupRule_securityGroupId - The security group ID.

analysisSecurityGroupRule_cidr :: Lens' AnalysisSecurityGroupRule (Maybe Text) Source #

The IPv4 address range, in CIDR notation.

analysisSecurityGroupRule_direction :: Lens' AnalysisSecurityGroupRule (Maybe Text) Source #

The direction. The following are the possible values:

  • egress
  • ingress