| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AccessAnalyzer.Types.Trail
Description
Documentation
Contains details about the CloudTrail trail being analyzed to generate a policy.
See: newTrail smart constructor.
Constructors
| Trail' | |
Fields
| |
Instances
| ToJSON Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
| Generic Trail Source # | |
| Read Trail Source # | |
| Show Trail Source # | |
| NFData Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
| Eq Trail Source # | |
| Hashable Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
| type Rep Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail type Rep Trail = D1 ('MetaData "Trail" "Amazonka.AccessAnalyzer.Types.Trail" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "Trail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "allRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "regions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "cloudTrailArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) | |
Create a value of Trail 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:allRegions:Trail', trail_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:regions:Trail', trail_regions - A list of regions to get CloudTrail data from and analyze to generate a
policy.
$sel:cloudTrailArn:Trail', trail_cloudTrailArn - Specifies the ARN of the trail. The format of a trail ARN is
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.
trail_allRegions :: Lens' Trail (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.