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

Class: Aws::AccessAnalyzer::Types::AnalyzedResource

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

Overview

Contains details about the analyzed resource.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<String>

The actions that an external principal is granted permission to use by the policy that generated the finding.

Returns:

  • (Array<String>)

    The actions that an external principal is granted permission to use by the policy that generated the finding.

#analyzed_atTime

The time at which the resource was analyzed.

Returns:

  • (Time)

    The time at which the resource was analyzed.

#created_atTime

The time at which the finding was created.

Returns:

  • (Time)

    The time at which the finding was created.

#errorString

An error message.

Returns:

  • (String)

    An error message.

#is_publicBoolean

Indicates whether the policy that generated the finding grants public access to the resource.

Returns:

  • (Boolean)

    Indicates whether the policy that generated the finding grants public access to the resource.

#resource_arnString

The ARN of the resource that was analyzed.

Returns:

  • (String)

    The ARN of the resource that was analyzed.

#resource_owner_accountString

The AWS account ID that owns the resource.

Returns:

  • (String)

    The AWS account ID that owns the resource.

#resource_typeString

The type of the resource that was analyzed.

Possible values:

  • AWS::S3::Bucket
  • AWS::IAM::Role
  • AWS::SQS::Queue
  • AWS::Lambda::Function
  • AWS::Lambda::LayerVersion
  • AWS::KMS::Key

Returns:

  • (String)

    The type of the resource that was analyzed.

#shared_viaArray<String>

Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.

Returns:

  • (Array<String>)

    Indicates how the access that generated the finding is granted.

#statusString

The current status of the finding generated from the analyzed resource.

Possible values:

  • ACTIVE
  • ARCHIVED
  • RESOLVED

Returns:

  • (String)

    The current status of the finding generated from the analyzed resource.

#updated_atTime

The time at which the finding was updated.

Returns:

  • (Time)

    The time at which the finding was updated.