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 AwsIamAttachedManagedPolicy = AwsIamAttachedManagedPolicy' {}
- newAwsIamAttachedManagedPolicy :: AwsIamAttachedManagedPolicy
- awsIamAttachedManagedPolicy_policyName :: Lens' AwsIamAttachedManagedPolicy (Maybe Text)
- awsIamAttachedManagedPolicy_policyArn :: Lens' AwsIamAttachedManagedPolicy (Maybe Text)
Documentation
data AwsIamAttachedManagedPolicy Source #
A managed policy that is attached to an IAM principal.
See: newAwsIamAttachedManagedPolicy
smart constructor.
Instances
newAwsIamAttachedManagedPolicy :: AwsIamAttachedManagedPolicy Source #
Create a value of AwsIamAttachedManagedPolicy
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:policyName:AwsIamAttachedManagedPolicy'
, awsIamAttachedManagedPolicy_policyName
- The name of the policy.
$sel:policyArn:AwsIamAttachedManagedPolicy'
, awsIamAttachedManagedPolicy_policyArn
- The ARN of the policy.
awsIamAttachedManagedPolicy_policyName :: Lens' AwsIamAttachedManagedPolicy (Maybe Text) Source #
The name of the policy.
awsIamAttachedManagedPolicy_policyArn :: Lens' AwsIamAttachedManagedPolicy (Maybe Text) Source #
The ARN of the policy.