libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AccessAnalyzer.Types.AnalyzedResource

Description

 
Synopsis

Documentation

data AnalyzedResource Source #

Contains details about the analyzed resource.

See: newAnalyzedResource smart constructor.

Constructors

AnalyzedResource' 

Fields

Instances

Instances details
Eq AnalyzedResource Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AnalyzedResource

Read AnalyzedResource Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AnalyzedResource

Show AnalyzedResource Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AnalyzedResource

Generic AnalyzedResource Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AnalyzedResource

Associated Types

type Rep AnalyzedResource :: Type -> Type #

NFData AnalyzedResource Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AnalyzedResource

Methods

rnf :: AnalyzedResource -> () #

Hashable AnalyzedResource Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AnalyzedResource

FromJSON AnalyzedResource Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AnalyzedResource

type Rep AnalyzedResource Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.AnalyzedResource

newAnalyzedResource Source #

Create a value of AnalyzedResource 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:status:AnalyzedResource', analyzedResource_status - The current status of the finding generated from the analyzed resource.

$sel:actions:AnalyzedResource', analyzedResource_actions - The actions that an external principal is granted permission to use by the policy that generated the finding.

$sel:error:AnalyzedResource', analyzedResource_error - An error message.

$sel:sharedVia:AnalyzedResource', analyzedResource_sharedVia - Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.

$sel:analyzedAt:AnalyzedResource', analyzedResource_analyzedAt - The time at which the resource was analyzed.

$sel:createdAt:AnalyzedResource', analyzedResource_createdAt - The time at which the finding was created.

$sel:isPublic:AnalyzedResource', analyzedResource_isPublic - Indicates whether the policy that generated the finding grants public access to the resource.

$sel:resourceArn:AnalyzedResource', analyzedResource_resourceArn - The ARN of the resource that was analyzed.

$sel:resourceOwnerAccount:AnalyzedResource', analyzedResource_resourceOwnerAccount - The Amazon Web Services account ID that owns the resource.

$sel:resourceType:AnalyzedResource', analyzedResource_resourceType - The type of the resource that was analyzed.

$sel:updatedAt:AnalyzedResource', analyzedResource_updatedAt - The time at which the finding was updated.

analyzedResource_status :: Lens' AnalyzedResource (Maybe FindingStatus) Source #

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

analyzedResource_actions :: Lens' AnalyzedResource (Maybe [Text]) Source #

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

analyzedResource_sharedVia :: Lens' AnalyzedResource (Maybe [Text]) Source #

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

analyzedResource_analyzedAt :: Lens' AnalyzedResource UTCTime Source #

The time at which the resource was analyzed.

analyzedResource_createdAt :: Lens' AnalyzedResource UTCTime Source #

The time at which the finding was created.

analyzedResource_isPublic :: Lens' AnalyzedResource Bool Source #

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

analyzedResource_resourceArn :: Lens' AnalyzedResource Text Source #

The ARN of the resource that was analyzed.

analyzedResource_resourceOwnerAccount :: Lens' AnalyzedResource Text Source #

The Amazon Web Services account ID that owns the resource.

analyzedResource_resourceType :: Lens' AnalyzedResource ResourceType Source #

The type of the resource that was analyzed.

analyzedResource_updatedAt :: Lens' AnalyzedResource UTCTime Source #

The time at which the finding was updated.