| 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.GeneratedPolicyProperties
Description
Synopsis
- data GeneratedPolicyProperties = GeneratedPolicyProperties' {}
- newGeneratedPolicyProperties :: Text -> GeneratedPolicyProperties
- generatedPolicyProperties_cloudTrailProperties :: Lens' GeneratedPolicyProperties (Maybe CloudTrailProperties)
- generatedPolicyProperties_isComplete :: Lens' GeneratedPolicyProperties (Maybe Bool)
- generatedPolicyProperties_principalArn :: Lens' GeneratedPolicyProperties Text
Documentation
data GeneratedPolicyProperties Source #
Contains the generated policy details.
See: newGeneratedPolicyProperties smart constructor.
Constructors
| GeneratedPolicyProperties' | |
Fields
| |
Instances
newGeneratedPolicyProperties Source #
Create a value of GeneratedPolicyProperties 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:cloudTrailProperties:GeneratedPolicyProperties', generatedPolicyProperties_cloudTrailProperties - Lists details about the Trail used to generated policy.
$sel:isComplete:GeneratedPolicyProperties', generatedPolicyProperties_isComplete - This value is set to true if the generated policy contains all
possible actions for a service that IAM Access Analyzer identified from
the CloudTrail trail that you specified, and false otherwise.
$sel:principalArn:GeneratedPolicyProperties', generatedPolicyProperties_principalArn - The ARN of the IAM entity (user or role) for which you are generating a
policy.
generatedPolicyProperties_cloudTrailProperties :: Lens' GeneratedPolicyProperties (Maybe CloudTrailProperties) Source #
Lists details about the Trail used to generated policy.
generatedPolicyProperties_isComplete :: Lens' GeneratedPolicyProperties (Maybe Bool) Source #
This value is set to true if the generated policy contains all
possible actions for a service that IAM Access Analyzer identified from
the CloudTrail trail that you specified, and false otherwise.
generatedPolicyProperties_principalArn :: Lens' GeneratedPolicyProperties Text Source #
The ARN of the IAM entity (user or role) for which you are generating a policy.