amazonka-accessanalyzer-2.0: Amazon Access Analyzer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AccessAnalyzer.Types.CloudTrailProperties

Description

 
Synopsis

Documentation

data CloudTrailProperties Source #

Contains information about CloudTrail access.

See: newCloudTrailProperties smart constructor.

Constructors

CloudTrailProperties' 

Fields

  • trailProperties :: [TrailProperties]

    A TrailProperties object that contains settings for trail properties.

  • startTime :: ISO8601

    The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.

  • endTime :: ISO8601

    The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.

Instances

Instances details
FromJSON CloudTrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailProperties

Generic CloudTrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailProperties

Associated Types

type Rep CloudTrailProperties :: Type -> Type #

Read CloudTrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailProperties

Show CloudTrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailProperties

NFData CloudTrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailProperties

Methods

rnf :: CloudTrailProperties -> () #

Eq CloudTrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailProperties

Hashable CloudTrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailProperties

type Rep CloudTrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.CloudTrailProperties

type Rep CloudTrailProperties = D1 ('MetaData "CloudTrailProperties" "Amazonka.AccessAnalyzer.Types.CloudTrailProperties" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "CloudTrailProperties'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trailProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TrailProperties]) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))))

newCloudTrailProperties Source #

Create a value of CloudTrailProperties 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:trailProperties:CloudTrailProperties', cloudTrailProperties_trailProperties - A TrailProperties object that contains settings for trail properties.

$sel:startTime:CloudTrailProperties', cloudTrailProperties_startTime - The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.

$sel:endTime:CloudTrailProperties', cloudTrailProperties_endTime - The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.

cloudTrailProperties_trailProperties :: Lens' CloudTrailProperties [TrailProperties] Source #

A TrailProperties object that contains settings for trail properties.

cloudTrailProperties_startTime :: Lens' CloudTrailProperties UTCTime Source #

The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.

cloudTrailProperties_endTime :: Lens' CloudTrailProperties UTCTime Source #

The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.