| 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.DocumentDB.Types.DBClusterRole
Description
Synopsis
Documentation
data DBClusterRole Source #
Describes an Identity and Access Management (IAM) role that is associated with a cluster.
See: newDBClusterRole smart constructor.
Constructors
| DBClusterRole' | |
Fields
| |
Instances
newDBClusterRole :: DBClusterRole Source #
Create a value of DBClusterRole 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:roleArn:DBClusterRole', dbClusterRole_roleArn - The Amazon Resource Name (ARN) of the IAMrole that is associated with
the DB cluster.
$sel:status:DBClusterRole', dbClusterRole_status - Describes the state of association between the IAMrole and the cluster.
The Status property returns one of the following values:
ACTIVE- The IAMrole ARN is associated with the cluster and can be used to access other Amazon Web Services services on your behalf.PENDING- The IAMrole ARN is being associated with the cluster.INVALID- The IAMrole ARN is associated with the cluster, but the cluster cannot assume the IAMrole to access other Amazon Web Services services on your behalf.
dbClusterRole_roleArn :: Lens' DBClusterRole (Maybe Text) Source #
The Amazon Resource Name (ARN) of the IAMrole that is associated with the DB cluster.
dbClusterRole_status :: Lens' DBClusterRole (Maybe Text) Source #
Describes the state of association between the IAMrole and the cluster.
The Status property returns one of the following values:
ACTIVE- The IAMrole ARN is associated with the cluster and can be used to access other Amazon Web Services services on your behalf.PENDING- The IAMrole ARN is being associated with the cluster.INVALID- The IAMrole ARN is associated with the cluster, but the cluster cannot assume the IAMrole to access other Amazon Web Services services on your behalf.