Struct aws_sdk_accessanalyzer::types::AnalyzedResource
source · #[non_exhaustive]pub struct AnalyzedResource { /* private fields */ }Expand description
Contains details about the analyzed resource.
Implementations§
source§impl AnalyzedResource
impl AnalyzedResource
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The ARN of the resource that was analyzed.
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
The type of the resource that was analyzed.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time at which the finding was created.
sourcepub fn analyzed_at(&self) -> Option<&DateTime>
pub fn analyzed_at(&self) -> Option<&DateTime>
The time at which the resource was analyzed.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The time at which the finding was updated.
sourcepub fn is_public(&self) -> Option<bool>
pub fn is_public(&self) -> Option<bool>
Indicates whether the policy that generated the finding grants public access to the resource.
sourcepub fn actions(&self) -> Option<&[String]>
pub fn actions(&self) -> Option<&[String]>
The actions that an external principal is granted permission to use by the policy that generated the finding.
Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
sourcepub fn status(&self) -> Option<&FindingStatus>
pub fn status(&self) -> Option<&FindingStatus>
The current status of the finding generated from the analyzed resource.
sourcepub fn resource_owner_account(&self) -> Option<&str>
pub fn resource_owner_account(&self) -> Option<&str>
The Amazon Web Services account ID that owns the resource.
source§impl AnalyzedResource
impl AnalyzedResource
sourcepub fn builder() -> AnalyzedResourceBuilder
pub fn builder() -> AnalyzedResourceBuilder
Creates a new builder-style object to manufacture AnalyzedResource.
Trait Implementations§
source§impl Clone for AnalyzedResource
impl Clone for AnalyzedResource
source§fn clone(&self) -> AnalyzedResource
fn clone(&self) -> AnalyzedResource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AnalyzedResource
impl Debug for AnalyzedResource
source§impl PartialEq<AnalyzedResource> for AnalyzedResource
impl PartialEq<AnalyzedResource> for AnalyzedResource
source§fn eq(&self, other: &AnalyzedResource) -> bool
fn eq(&self, other: &AnalyzedResource) -> bool
self and other values to be equal, and is used
by ==.