You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SecurityHub::Types::ResourceDetails

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ResourceDetails as input to an Aws::Client method, you can use a vanilla Hash:

{
  aws_ec2_instance: {
    type: "NonEmptyString",
    image_id: "NonEmptyString",
    ip_v4_addresses: ["NonEmptyString"],
    ip_v6_addresses: ["NonEmptyString"],
    key_name: "NonEmptyString",
    iam_instance_profile_arn: "NonEmptyString",
    vpc_id: "NonEmptyString",
    subnet_id: "NonEmptyString",
    launched_at: "NonEmptyString",
  },
  aws_s3_bucket: {
    owner_id: "NonEmptyString",
    owner_name: "NonEmptyString",
  },
  aws_iam_access_key: {
    user_name: "NonEmptyString",
    status: "Active", # accepts Active, Inactive
    created_at: "NonEmptyString",
  },
  container: {
    name: "NonEmptyString",
    image_id: "NonEmptyString",
    image_name: "NonEmptyString",
    launched_at: "NonEmptyString",
  },
  other: {
    "NonEmptyString" => "NonEmptyString",
  },
}

Additional details about a resource related to a finding.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#aws_ec2_instanceTypes::AwsEc2InstanceDetails

Details about an Amazon EC2 instance related to a finding.

Returns:

#aws_iam_access_keyTypes::AwsIamAccessKeyDetails

Details about an IAM access key related to a finding.

Returns:

#aws_s3_bucketTypes::AwsS3BucketDetails

Details about an Amazon S3 Bucket related to a finding.

Returns:

#containerTypes::ContainerDetails

Details about a container resource related to a finding.

Returns:

#otherHash<String,String>

Details about a resource that doesn\'t have a specific type defined.

Returns:

  • (Hash<String,String>)

    Details about a resource that doesn\'t have a specific type defined.