Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Resource = Resource' {}
- newResource :: Resource
- resource_resourceType :: Lens' Resource (Maybe Text)
- resource_s3BucketDetails :: Lens' Resource (Maybe [S3BucketDetail])
- resource_instanceDetails :: Lens' Resource (Maybe InstanceDetails)
- resource_accessKeyDetails :: Lens' Resource (Maybe AccessKeyDetails)
Documentation
Contains information about the AWS resource associated with the activity that prompted GuardDuty to generate a finding.
See: newResource
smart constructor.
Resource' | |
|
Instances
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_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.