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 |
Synopsis
- data TrailProperties = TrailProperties' {
- regions :: Maybe [Text]
- allRegions :: Maybe Bool
- cloudTrailArn :: Text
- newTrailProperties :: Text -> TrailProperties
- trailProperties_regions :: Lens' TrailProperties (Maybe [Text])
- trailProperties_allRegions :: Lens' TrailProperties (Maybe Bool)
- trailProperties_cloudTrailArn :: Lens' TrailProperties Text
Documentation
data TrailProperties Source #
Contains details about the CloudTrail trail being analyzed to generate a policy.
See: newTrailProperties
smart constructor.
TrailProperties' | |
|
Instances
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
.