libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.GuardDuty.Types.Resource

Description

 
Synopsis

Documentation

data Resource Source #

Contains information about the AWS resource associated with the activity that prompted GuardDuty to generate a finding.

See: newResource smart constructor.

Constructors

Resource' 

Fields

Instances

Instances details
Eq Resource Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Resource

Read Resource Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

NFData Resource Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Resource

Methods

rnf :: Resource -> () #

Hashable Resource Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

FromJSON Resource Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Resource

type Rep Resource Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Resource

type Rep Resource = D1 ('MetaData "Resource" "Amazonka.GuardDuty.Types.Resource" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3BucketDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [S3BucketDetail]))) :*: (S1 ('MetaSel ('Just "instanceDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceDetails)) :*: S1 ('MetaSel ('Just "accessKeyDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccessKeyDetails)))))

newResource :: Resource Source #

Create a value of Resource 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:resourceType:Resource', resource_resourceType - The type of AWS resource.

$sel:s3BucketDetails:Resource', resource_s3BucketDetails - Contains information on the S3 bucket.

$sel:instanceDetails:Resource', resource_instanceDetails - The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.

$sel:accessKeyDetails:Resource', resource_accessKeyDetails - The IAM access key details (IAM user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.

resource_resourceType :: Lens' Resource (Maybe Text) Source #

The type of AWS resource.

resource_s3BucketDetails :: Lens' Resource (Maybe [S3BucketDetail]) Source #

Contains information on the S3 bucket.

resource_instanceDetails :: Lens' Resource (Maybe InstanceDetails) Source #

The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.

resource_accessKeyDetails :: Lens' Resource (Maybe AccessKeyDetails) Source #

The IAM access key details (IAM user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.