odb:SwitchoverAutonomousDatabase

Write

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

Resource types

ARNs that odb:SwitchoverAutonomousDatabase 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:SwitchoverAutonomousDatabase.

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:SwitchoverAutonomousDatabase. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in odb

View all odb actions →