| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GuardDuty.Types.Resource
Description
Synopsis
- data Resource = Resource' {
- accessKeyDetails :: Maybe AccessKeyDetails
- containerDetails :: Maybe Container
- ebsVolumeDetails :: Maybe EbsVolumeDetails
- ecsClusterDetails :: Maybe EcsClusterDetails
- eksClusterDetails :: Maybe EksClusterDetails
- instanceDetails :: Maybe InstanceDetails
- kubernetesDetails :: Maybe KubernetesDetails
- resourceType :: Maybe Text
- s3BucketDetails :: Maybe [S3BucketDetail]
- newResource :: Resource
- resource_accessKeyDetails :: Lens' Resource (Maybe AccessKeyDetails)
- resource_containerDetails :: Lens' Resource (Maybe Container)
- resource_ebsVolumeDetails :: Lens' Resource (Maybe EbsVolumeDetails)
- resource_ecsClusterDetails :: Lens' Resource (Maybe EcsClusterDetails)
- resource_eksClusterDetails :: Lens' Resource (Maybe EksClusterDetails)
- resource_instanceDetails :: Lens' Resource (Maybe InstanceDetails)
- resource_kubernetesDetails :: Lens' Resource (Maybe KubernetesDetails)
- resource_resourceType :: Lens' Resource (Maybe Text)
- resource_s3BucketDetails :: Lens' Resource (Maybe [S3BucketDetail])
Documentation
Contains information about the Amazon Web Services resource associated with the activity that prompted GuardDuty to generate a finding.
See: newResource smart constructor.
Constructors
| Resource' | |
Fields
| |
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: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.
$sel:containerDetails:Resource', resource_containerDetails - Undocumented member.
$sel:ebsVolumeDetails:Resource', resource_ebsVolumeDetails - Contains list of scanned and skipped EBS volumes with details.
$sel:ecsClusterDetails:Resource', resource_ecsClusterDetails - Contains information about the details of the ECS Cluster.
$sel:eksClusterDetails:Resource', resource_eksClusterDetails - Details about the EKS cluster involved in a Kubernetes finding.
$sel:instanceDetails:Resource', resource_instanceDetails - The information about the EC2 instance associated with the activity that
prompted GuardDuty to generate a finding.
$sel:kubernetesDetails:Resource', resource_kubernetesDetails - Details about the Kubernetes user and workload involved in a Kubernetes
finding.
$sel:resourceType:Resource', resource_resourceType - The type of Amazon Web Services resource.
$sel:s3BucketDetails:Resource', resource_s3BucketDetails - Contains information on the S3 bucket.
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.
resource_ebsVolumeDetails :: Lens' Resource (Maybe EbsVolumeDetails) Source #
Contains list of scanned and skipped EBS volumes with details.
resource_ecsClusterDetails :: Lens' Resource (Maybe EcsClusterDetails) Source #
Contains information about the details of the ECS Cluster.
resource_eksClusterDetails :: Lens' Resource (Maybe EksClusterDetails) Source #
Details about the EKS cluster involved in a Kubernetes finding.
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_kubernetesDetails :: Lens' Resource (Maybe KubernetesDetails) Source #
Details about the Kubernetes user and workload involved in a Kubernetes finding.
resource_resourceType :: Lens' Resource (Maybe Text) Source #
The type of Amazon Web Services resource.
resource_s3BucketDetails :: Lens' Resource (Maybe [S3BucketDetail]) Source #
Contains information on the S3 bucket.