amazonka-inspector2-2.0: Amazon Inspector2 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.Inspector2.Types.Ec2InstanceAggregation

Description

 
Synopsis

Documentation

data Ec2InstanceAggregation Source #

The details that define an aggregation based on Amazon EC2 instances.

See: newEc2InstanceAggregation smart constructor.

Constructors

Ec2InstanceAggregation' 

Fields

Instances

Instances details
ToJSON Ec2InstanceAggregation Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregation

Generic Ec2InstanceAggregation Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregation

Associated Types

type Rep Ec2InstanceAggregation :: Type -> Type #

Read Ec2InstanceAggregation Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregation

Show Ec2InstanceAggregation Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregation

NFData Ec2InstanceAggregation Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregation

Methods

rnf :: Ec2InstanceAggregation -> () #

Eq Ec2InstanceAggregation Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregation

Hashable Ec2InstanceAggregation Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregation

type Rep Ec2InstanceAggregation Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2InstanceAggregation

type Rep Ec2InstanceAggregation = D1 ('MetaData "Ec2InstanceAggregation" "Amazonka.Inspector2.Types.Ec2InstanceAggregation" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "Ec2InstanceAggregation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "amis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty StringFilter))) :*: (S1 ('MetaSel ('Just "instanceIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty StringFilter))) :*: S1 ('MetaSel ('Just "instanceTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty MapFilter))))) :*: (S1 ('MetaSel ('Just "operatingSystems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty StringFilter))) :*: (S1 ('MetaSel ('Just "sortBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Ec2InstanceSortBy)) :*: S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortOrder))))))

newEc2InstanceAggregation :: Ec2InstanceAggregation Source #

Create a value of Ec2InstanceAggregation 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:amis:Ec2InstanceAggregation', ec2InstanceAggregation_amis - The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.

$sel:instanceIds:Ec2InstanceAggregation', ec2InstanceAggregation_instanceIds - The Amazon EC2 instance IDs to aggregate findings for.

$sel:instanceTags:Ec2InstanceAggregation', ec2InstanceAggregation_instanceTags - The Amazon EC2 instance tags to aggregate findings for.

$sel:operatingSystems:Ec2InstanceAggregation', ec2InstanceAggregation_operatingSystems - The operating system types to aggregate findings for. Valid values must be uppercase and underscore separated, examples are ORACLE_LINUX_7 and ALPINE_LINUX_3_8.

$sel:sortBy:Ec2InstanceAggregation', ec2InstanceAggregation_sortBy - The value to sort results by.

$sel:sortOrder:Ec2InstanceAggregation', ec2InstanceAggregation_sortOrder - The order to sort results by.

ec2InstanceAggregation_amis :: Lens' Ec2InstanceAggregation (Maybe (NonEmpty StringFilter)) Source #

The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.

ec2InstanceAggregation_instanceIds :: Lens' Ec2InstanceAggregation (Maybe (NonEmpty StringFilter)) Source #

The Amazon EC2 instance IDs to aggregate findings for.

ec2InstanceAggregation_instanceTags :: Lens' Ec2InstanceAggregation (Maybe (NonEmpty MapFilter)) Source #

The Amazon EC2 instance tags to aggregate findings for.

ec2InstanceAggregation_operatingSystems :: Lens' Ec2InstanceAggregation (Maybe (NonEmpty StringFilter)) Source #

The operating system types to aggregate findings for. Valid values must be uppercase and underscore separated, examples are ORACLE_LINUX_7 and ALPINE_LINUX_3_8.