| 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.TrailProperties
Description
Synopsis
- data TrailProperties = TrailProperties' {
- allRegions :: Maybe Bool
- regions :: Maybe [Text]
- cloudTrailArn :: Text
- newTrailProperties :: Text -> TrailProperties
- trailProperties_allRegions :: Lens' TrailProperties (Maybe Bool)
- trailProperties_regions :: Lens' TrailProperties (Maybe [Text])
- 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.
Constructors
| TrailProperties' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> TrailProperties |
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: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:regions:TrailProperties', trailProperties_regions - A list of regions to get CloudTrail data from and analyze to 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_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_regions :: Lens' TrailProperties (Maybe [Text]) Source #
A list of regions to get CloudTrail data from and analyze to 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.