Class: Aws::GuardDuty::Types::AffectedResource

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb

Overview

Contains information about a resource that an action applies to.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The Amazon Resource Name (ARN) of the resource.

Returns:

  • (String)


703
704
705
706
707
708
709
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 703

class AffectedResource < Struct.new(
  :identifier,
  :type,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#identifier ⇒ String

The identifier of the resource.

Returns:

  • (String)


703
704
705
706
707
708
709
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 703

class AffectedResource < Struct.new(
  :identifier,
  :type,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

The type of the resource. Possible values are EC2_INSTANCE, EBS_VOLUME, S3_BUCKET, IAM_ROLE, IAM_USER, IAM_ACCESS_KEY, LAMBDA_FUNCTION, EKS_CLUSTER, ECS_CLUSTER, KUBERNETES_WORKLOAD, RDS_INSTANCE, RDS_DB_USER, and EC2_SECURITY_GROUP.

Returns:

  • (String)


703
704
705
706
707
708
709
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 703

class AffectedResource < Struct.new(
  :identifier,
  :type,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end