amazonka-inspector-1.3.5: Amazon Inspector SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Inspector.DescribeCrossAccountAccessRole

Contents

Description

Describes the IAM role that enables Inspector to access your AWS account.

See: AWS API Reference for DescribeCrossAccountAccessRole.

Synopsis

Creating a Request

describeCrossAccountAccessRole :: DescribeCrossAccountAccessRole Source

Creates a value of DescribeCrossAccountAccessRole with the minimum fields required to make a request.

Destructuring the Response

describeCrossAccountAccessRoleResponse Source

Creates a value of DescribeCrossAccountAccessRoleResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dcaarrsValid :: Lens' DescribeCrossAccountAccessRoleResponse (Maybe Bool) Source

A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Inspector to access your AWS account.

dcaarrsRoleARN :: Lens' DescribeCrossAccountAccessRoleResponse (Maybe Text) Source

The ARN specifying the IAM role that Inspector uses to access your AWS account.