aws odb associate-iam-role-to-resource
Associates an Amazon Web Services Identity and Access Management (IAM) service role with a specified resource to enable Amazon Web Services service integration. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--aws-integrationThe Amazon Web Services integration configuration settings for the Amazon Web Services Identity and Access Management (IAM) service role association.--iam-role-arnThe Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) service role to associate with the resource.--resource-arnThe Amazon Resource Name (ARN) of the target resource to associate with the Amazon Web Services Identity and Access Management (IAM) service role.