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.TrailProperties

Description

 
Synopsis

Documentation

data TrailProperties Source #

Contains details about the CloudTrail trail being analyzed to generate a policy.

See: newTrailProperties smart constructor.

Constructors

TrailProperties' 

Fields

  • regions :: Maybe [Text]

    A list of regions to get CloudTrail data from and analyze to generate a policy.

  • allRegions :: Maybe Bool

    Possible values are true or false. If set to true, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.

  • cloudTrailArn :: Text

    Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.

Instances

Instances details
Eq TrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.TrailProperties

Read TrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.TrailProperties

Show TrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.TrailProperties

Generic TrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.TrailProperties

Associated Types

type Rep TrailProperties :: Type -> Type #

NFData TrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.TrailProperties

Methods

rnf :: TrailProperties -> () #

Hashable TrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.TrailProperties

FromJSON TrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.TrailProperties

type Rep TrailProperties Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.TrailProperties

type Rep TrailProperties = D1 ('MetaData "TrailProperties" "Amazonka.AccessAnalyzer.Types.TrailProperties" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "TrailProperties'" 'PrefixI 'True) (S1 ('MetaSel ('Just "regions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "allRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "cloudTrailArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newTrailProperties Source #

Create a value of TrailProperties 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:regions:TrailProperties', trailProperties_regions - A list of regions to get CloudTrail data from and analyze to generate a policy.

$sel:allRegions:TrailProperties', trailProperties_allRegions - Possible values are true or false. If set to true, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.

$sel:cloudTrailArn:TrailProperties', trailProperties_cloudTrailArn - Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.

trailProperties_regions :: Lens' TrailProperties (Maybe [Text]) Source #

A list of regions to get CloudTrail data from and analyze to generate a policy.

trailProperties_allRegions :: Lens' TrailProperties (Maybe Bool) Source #

Possible values are true or false. If set to true, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.

trailProperties_cloudTrailArn :: Lens' TrailProperties Text Source #

Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.