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

#actions ⇒ Array<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_at ⇒ Time

The time at which the resource was analyzed.

Returns:

  • (Time) —

    The time at which the resource was analyzed.

#created_at ⇒ Time

The time at which the finding was created.

Returns:

  • (Time) —

    The time at which the finding was created.

#error ⇒ String

An error message.

Returns:

  • (String) —

    An error message.

#is_public ⇒ Boolean

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_arn ⇒ String

The ARN of the resource that was analyzed.

Returns:

  • (String) —

    The ARN of the resource that was analyzed.

#resource_owner_account ⇒ String

The AWS account ID that owns the resource.

Returns:

  • (String) —

    The AWS account ID that owns the resource.

#resource_type ⇒ String

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_via ⇒ Array<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.

#status ⇒ String

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_at ⇒ Time

The time at which the finding was updated.

Returns:

  • (Time) —

    The time at which the finding was updated.