libZSservicesZSamazonka-inspectorZSamazonka-inspector
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.Inspector.Types.AssetAttributes

Description

 
Synopsis

Documentation

data AssetAttributes Source #

A collection of attributes of the host from which the finding is generated.

See: newAssetAttributes smart constructor.

Constructors

AssetAttributes' 

Fields

  • hostname :: Maybe Text

    The hostname of the EC2 instance where the finding is generated.

  • autoScalingGroup :: Maybe Text

    The Auto Scaling group of the EC2 instance where the finding is generated.

  • networkInterfaces :: Maybe [NetworkInterface]

    An array of the network interfaces interacting with the EC2 instance where the finding is generated.

  • ipv4Addresses :: Maybe [Text]

    The list of IP v4 addresses of the EC2 instance where the finding is generated.

  • agentId :: Maybe Text

    The ID of the agent that is installed on the EC2 instance where the finding is generated.

  • amiId :: Maybe Text

    The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.

  • tags :: Maybe [Tag]

    The tags related to the EC2 instance where the finding is generated.

  • schemaVersion :: Natural

    The schema version of this data type.

Instances

Instances details
Eq AssetAttributes Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssetAttributes

Read AssetAttributes Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssetAttributes

Show AssetAttributes Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssetAttributes

Generic AssetAttributes Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssetAttributes

Associated Types

type Rep AssetAttributes :: Type -> Type #

NFData AssetAttributes Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssetAttributes

Methods

rnf :: AssetAttributes -> () #

Hashable AssetAttributes Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssetAttributes

FromJSON AssetAttributes Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssetAttributes

type Rep AssetAttributes Source # 
Instance details

Defined in Amazonka.Inspector.Types.AssetAttributes

type Rep AssetAttributes = D1 ('MetaData "AssetAttributes" "Amazonka.Inspector.Types.AssetAttributes" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "AssetAttributes'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "hostname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "autoScalingGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "networkInterfaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NetworkInterface])) :*: S1 ('MetaSel ('Just "ipv4Addresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "agentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "amiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "schemaVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))))

newAssetAttributes Source #

Create a value of AssetAttributes 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:hostname:AssetAttributes', assetAttributes_hostname - The hostname of the EC2 instance where the finding is generated.

$sel:autoScalingGroup:AssetAttributes', assetAttributes_autoScalingGroup - The Auto Scaling group of the EC2 instance where the finding is generated.

$sel:networkInterfaces:AssetAttributes', assetAttributes_networkInterfaces - An array of the network interfaces interacting with the EC2 instance where the finding is generated.

$sel:ipv4Addresses:AssetAttributes', assetAttributes_ipv4Addresses - The list of IP v4 addresses of the EC2 instance where the finding is generated.

$sel:agentId:AssetAttributes', assetAttributes_agentId - The ID of the agent that is installed on the EC2 instance where the finding is generated.

$sel:amiId:AssetAttributes', assetAttributes_amiId - The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.

$sel:tags:AssetAttributes', assetAttributes_tags - The tags related to the EC2 instance where the finding is generated.

$sel:schemaVersion:AssetAttributes', assetAttributes_schemaVersion - The schema version of this data type.

assetAttributes_hostname :: Lens' AssetAttributes (Maybe Text) Source #

The hostname of the EC2 instance where the finding is generated.

assetAttributes_autoScalingGroup :: Lens' AssetAttributes (Maybe Text) Source #

The Auto Scaling group of the EC2 instance where the finding is generated.

assetAttributes_networkInterfaces :: Lens' AssetAttributes (Maybe [NetworkInterface]) Source #

An array of the network interfaces interacting with the EC2 instance where the finding is generated.

assetAttributes_ipv4Addresses :: Lens' AssetAttributes (Maybe [Text]) Source #

The list of IP v4 addresses of the EC2 instance where the finding is generated.

assetAttributes_agentId :: Lens' AssetAttributes (Maybe Text) Source #

The ID of the agent that is installed on the EC2 instance where the finding is generated.

assetAttributes_amiId :: Lens' AssetAttributes (Maybe Text) Source #

The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.

assetAttributes_tags :: Lens' AssetAttributes (Maybe [Tag]) Source #

The tags related to the EC2 instance where the finding is generated.

assetAttributes_schemaVersion :: Lens' AssetAttributes Natural Source #

The schema version of this data type.