odb:FailoverAutonomousDatabase

Write

odb:FailoverAutonomousDatabase is a Write access-level action in the odb service. Grants permission to fail over the specified Autonomous Database to a standby peer database

Resource types

ARNs that odb:FailoverAutonomousDatabase can be scoped to in an IAM policy.

arn:${Partition}:odb:${Region}:${Account}:autonomous-database/${AutonomousDatabaseId}
autonomous-database

Condition keys

Keys you can use in the Condition block of a policy that grants odb:FailoverAutonomousDatabase.

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair of a resource

Example IAM policy

A minimal policy that allows odb:FailoverAutonomousDatabase. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowOdbFailoverAutonomousDatabase",
      "Effect": "Allow",
      "Action": "odb:FailoverAutonomousDatabase",
      "Resource": "*"
    }
  ]
}

Related actions in odb

View all odb actions →