register_rds_db_instance

register_rds_db_instance(**kwargs)

Registers an Amazon RDS instance with a stack.

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

See also: AWS API Documentation

Request Syntax

response = client.register_rds_db_instance(
    StackId='string',
    RdsDbInstanceArn='string',
    DbUser='string',
    DbPassword='string'
)
Parameters
  • StackId (string) --

    [REQUIRED]

    The stack ID.

  • RdsDbInstanceArn (string) --

    [REQUIRED]

    The Amazon RDS instance's ARN.

  • DbUser (string) --

    [REQUIRED]

    The database's master user name.

  • DbPassword (string) --

    [REQUIRED]

    The database password.

Returns

None

Exceptions

  • OpsWorks.Client.exceptions.ValidationException
  • OpsWorks.Client.exceptions.ResourceNotFoundException