Learn R Programming

paws.database (version 0.1.11)

rds_add_role_to_db_instance: Associates an AWS Identity and Access Management (IAM) role with a DB instance

Description

Associates an AWS Identity and Access Management (IAM) role with a DB instance.

To add a role to a DB instance, the status of the DB instance must be available.

Usage

rds_add_role_to_db_instance(DBInstanceIdentifier, RoleArn, FeatureName)

Arguments

DBInstanceIdentifier

[required] The name of the DB instance to associate the IAM role with.

RoleArn

[required] The Amazon Resource Name (ARN) of the IAM role to associate with the DB instance, for example arn:aws:iam::123456789012:role/AccessRole.

FeatureName

[required] The name of the feature for the DB instance that the IAM role is to be associated with. For the list of supported feature names, see DBEngineVersion.

Value

An empty list.

Request syntax

svc$add_role_to_db_instance(
  DBInstanceIdentifier = "string",
  RoleArn = "string",
  FeatureName = "string"
)