HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/rds/add-role-to-db-instance.rst
**To associate an AWS Identity and Access Management (IAM) role with a DB instance**

The following ``add-role-to-db-instance`` example adds the role to an Oracle DB instance named ``test-instance``. ::

    aws rds add-role-to-db-instance \
        --db-instance-identifier test-instance \
        --feature-name S3_INTEGRATION \
        --role-arn arn:aws:iam::111122223333:role/rds-s3-integration-role

This command produces no output.

For more information, see `Prerequisites for Amazon RDS Oracle Integration with Amazon S3 <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-s3-integration.html#oracle-s3-integration.preparing>`__ in the *Amazon RDS User Guide*.