| Copyright | (c) 2013-2017 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 |
| Language | Haskell2010 |
Network.AWS.Inspector.RegisterCrossAccountAccessRole
Description
Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run or when you call the PreviewAgents action.
Creating a Request
registerCrossAccountAccessRole Source #
Arguments
| :: Text | |
| -> RegisterCrossAccountAccessRole |
Creates a value of RegisterCrossAccountAccessRole with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rcaarRoleARN- The ARN of the IAM role that Amazon Inspector uses to list your EC2 instances during the assessment run or when you call thePreviewAgentsaction.
data RegisterCrossAccountAccessRole Source #
See: registerCrossAccountAccessRole smart constructor.
Instances
Request Lenses
rcaarRoleARN :: Lens' RegisterCrossAccountAccessRole Text Source #
The ARN of the IAM role that Amazon Inspector uses to list your EC2 instances during the assessment run or when you call the PreviewAgents action.
Destructuring the Response
registerCrossAccountAccessRoleResponse :: RegisterCrossAccountAccessRoleResponse Source #
Creates a value of RegisterCrossAccountAccessRoleResponse with the minimum fields required to make a request.
data RegisterCrossAccountAccessRoleResponse Source #
See: registerCrossAccountAccessRoleResponse smart constructor.
Instances