Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
Contains details about the CloudTrail trail being analyzed to generate a policy.
See: newTrail
smart constructor.
Trail' | |
|
Instances
Eq Trail Source # | |
Read Trail Source # | |
Show Trail Source # | |
Generic Trail Source # | |
NFData Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
Hashable Trail Source # | |
Defined in Amazonka.AccessAnalyzer.Types.Trail | |
ToJSON 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" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Trail'" '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)))) |
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:regions:Trail'
, trail_regions
- A list of regions to get CloudTrail data from and analyze to generate a
policy.
$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: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_regions :: Lens' Trail (Maybe [Text]) Source #
A list of regions to get CloudTrail data from and analyze to generate a policy.