Copyright | (c) 2013-2018 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 |
Associates an Identity and Access Management (IAM) role from an Aurora DB cluster. For more information, see Authorizing Amazon Aurora to Access Other AWS Services On Your Behalf .
Creating a Request
Creates a value of AddRoleToDBCluster
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
artdcDBClusterIdentifier
- The name of the DB cluster to associate the IAM role with.artdcRoleARN
- The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for examplearn:aws:iam::123456789012:role/AuroraAccessRole
.
data AddRoleToDBCluster Source #
See: addRoleToDBCluster
smart constructor.
Instances
Request Lenses
artdcDBClusterIdentifier :: Lens' AddRoleToDBCluster Text Source #
The name of the DB cluster to associate the IAM role with.
artdcRoleARN :: Lens' AddRoleToDBCluster Text Source #
The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example arn:aws:iam::123456789012:role/AuroraAccessRole
.
Destructuring the Response
addRoleToDBClusterResponse :: AddRoleToDBClusterResponse Source #
Creates a value of AddRoleToDBClusterResponse
with the minimum fields required to make a request.
data AddRoleToDBClusterResponse Source #
See: addRoleToDBClusterResponse
smart constructor.