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 |
Documentation
data DBInstanceRole Source #
Describes an Amazon Web Services Identity and Access Management (IAM) role that is associated with a DB instance.
See: newDBInstanceRole
smart constructor.
DBInstanceRole' | |
|
Instances
newDBInstanceRole :: DBInstanceRole Source #
Create a value of DBInstanceRole
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:status:DBInstanceRole'
, dbInstanceRole_status
- Describes the state of association between the IAM role and the DB
instance. The Status property returns one of the following values:
ACTIVE
- the IAM role ARN is associated with the DB instance and can be used to access other Amazon Web Services services on your behalf.PENDING
- the IAM role ARN is being associated with the DB instance.INVALID
- the IAM role ARN is associated with the DB instance, but the DB instance is unable to assume the IAM role in order to access other Amazon Web Services services on your behalf.
$sel:featureName:DBInstanceRole'
, dbInstanceRole_featureName
- The name of the feature associated with the Amazon Web Services Identity
and Access Management (IAM) role. For the list of supported feature
names, see DBEngineVersion
.
$sel:roleArn:DBInstanceRole'
, dbInstanceRole_roleArn
- The Amazon Resource Name (ARN) of the IAM role that is associated with
the DB instance.
dbInstanceRole_status :: Lens' DBInstanceRole (Maybe Text) Source #
Describes the state of association between the IAM role and the DB instance. The Status property returns one of the following values:
ACTIVE
- the IAM role ARN is associated with the DB instance and can be used to access other Amazon Web Services services on your behalf.PENDING
- the IAM role ARN is being associated with the DB instance.INVALID
- the IAM role ARN is associated with the DB instance, but the DB instance is unable to assume the IAM role in order to access other Amazon Web Services services on your behalf.
dbInstanceRole_featureName :: Lens' DBInstanceRole (Maybe Text) Source #
The name of the feature associated with the Amazon Web Services Identity
and Access Management (IAM) role. For the list of supported feature
names, see DBEngineVersion
.
dbInstanceRole_roleArn :: Lens' DBInstanceRole (Maybe Text) Source #
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.