Skip to main content
IAM Policy Map

AmazonODBNetworkAdmin

OperatorJob functionActiveReviewedShow on mapCompare

Summary

Provides administrative access to networking resources for Oracle Database@AWS. The Oracle Database@AWS User Guide says you can set up and manage networking resources for Oracle Database@AWS.

Permissions imported from the AWS Managed Policy Reference Guide; other sections reviewed against the listed AWS sources.

Identity

ARN
arn:aws:iam::aws:policy/job-function/AmazonODBNetworkAdmin
Default version
v2
Created
Last edited
Services
ec2, iam, odb

Control-plane actions (24)

By access level: 4 List, 3 Permissions management, 5 Read, 2 Tagging, 10 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
EC25 of 8342 List, 3 Permissions management; 0 restricted, 0 conditionalec2:CreateOdbNetworkPeering, ec2:DeleteOdbNetworkPeering, ec2:DescribeAvailabilityZones, ec2:DescribeVpcs, ec2:ModifyOdbNetworkPeering
IAM1 of 1901 Write; 1 restricted, 1 conditionaliam:CreateServiceLinkedRole
Oracle Database@AWS18 of 962 List, 5 Read, 2 Tagging, 9 Write; 2 restricted, 0 conditionalodb:CreateOdbNetwork, odb:CreateOdbPeeringConnection, odb:DeleteOdbNetwork, odb:DeleteOdbPeeringConnection, odb:DeleteResourcePolicy, odb:GetOciOnboardingStatus, odb:GetOdbNetwork, odb:GetOdbPeeringConnection, odb:GetResourcePolicy, odb:InitializeService, odb:ListOdbNetworks, odb:ListOdbPeeringConnections and 6 more
EC2: 5 actions
  • ec2:CreateOdbNetworkPeering (Permissions management)
  • ec2:DeleteOdbNetworkPeering (Permissions management)
  • ec2:DescribeAvailabilityZones (List)
  • ec2:DescribeVpcs (List)
  • ec2:ModifyOdbNetworkPeering (Permissions management)
IAM: 1 actions
  • iam:CreateServiceLinkedRole (Write)
Oracle Database@AWS: 18 actions
  • odb:CreateOdbNetwork (Write)
  • odb:CreateOdbPeeringConnection (Write)
  • odb:DeleteOdbNetwork (Write)
  • odb:DeleteOdbPeeringConnection (Write)
  • odb:DeleteResourcePolicy (Write)
  • odb:GetOciOnboardingStatus (Read)
  • odb:GetOdbNetwork (Read)
  • odb:GetOdbPeeringConnection (Read)
  • odb:GetResourcePolicy (Read)
  • odb:InitializeService (Write)
  • odb:ListOdbNetworks (List)
  • odb:ListOdbPeeringConnections (List)
  • odb:ListTagsForResource (Read)
  • odb:PutResourcePolicy (Write)
  • odb:TagResource (Tagging)
  • odb:UntagResource (Tagging)
  • odb:UpdateOdbNetwork (Write)
  • odb:UpdateOdbPeeringConnection (Write)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants 15 write, tagging or permissions-management actions, short of full control of any service.

Guidance

Practical scope

AllowODBActions allows odb actions on Resource "*", including odb:CreateOdbNetwork, odb:UpdateOdbNetwork, odb:DeleteOdbNetwork, odb:ListOdbNetworks, odb:CreateOdbPeeringConnection, odb:UpdateOdbPeeringConnection, odb:DeleteOdbPeeringConnection, odb:PutResourcePolicy, odb:GetResourcePolicy, odb:DeleteResourcePolicy and odb:InitializeService. AllowEC2Actions allows ec2:DescribeAvailabilityZones and ec2:DescribeVpcs. AllowOdbNetworkPeeringActions allows ec2:CreateOdbNetworkPeering, ec2:ModifyOdbNetworkPeering and ec2:DeleteOdbNetworkPeering on Resource "*". AllowSLRActions allows iam:CreateServiceLinkedRole when iam:AWSServiceName is odb.amazonaws.com or vpc-lattice.amazonaws.com. Tagging is limited to odb-network and odb-peering-connection resources.

Use cases

  • Let an administrator create, update, delete and list ODB networks and ODB peering connections for Oracle Database@AWS.

Prerequisites

  • The policy lacks Amazon VPC Lattice and Amazon EC2 VPC endpoint permissions that Oracle Database@AWS needs to provision or delete an ODB network. The Oracle Database@AWS User Guide says to add them through your own customer managed policy.
  • The policy lacks permissions for managing the Oracle Database@AWS managed placement group in Amazon EC2, which the guide says Oracle Database@AWS requires in Availability Zones that support managed cluster placement groups, and permissions for Amazon EC2 networking setup for ODB peering and DNS resolution.
  • To share ODB networks across AWS accounts with AWS Resource Access Manager, you need ram:CreateResourceShare, ram:AssociateResourceShare and ram:DisassociateResourceShare. The guide says the Oracle Database@AWS managed policies do not include them.

Best practices

  • AWS managed policies don't grant least privilege permissions. The IAM User Guide suggests using IAM Access Analyzer to see which permissions principals actually use, then writing a custom policy or generating one with only the required permissions.

Security considerations

  • The policy allows odb:DeleteOdbNetwork, odb:DeleteOdbPeeringConnection and ec2:DeleteOdbNetworkPeering on Resource "*".
  • It allows iam:CreateServiceLinkedRole for odb.amazonaws.com and vpc-lattice.amazonaws.com, and odb:PutResourcePolicy and odb:DeleteResourcePolicy on all resources.
  • You cannot change the permissions in an AWS managed policy. If AWS updates the policy, the update affects every user, group and role it is attached to.

Assignment guidance

You can attach this policy to your users, groups and roles. The reference page also links to guidance on creating a permission set using AWS managed policies in IAM Identity Center. The Oracle Database@AWS User Guide says you can attach it to your IAM identities. It fits network administrators who set up Oracle Database@AWS networking.

Same service

Same domain

Frequently asked questions

When should I attach AmazonODBNetworkAdmin?
The Oracle Database@AWS User Guide says you can attach it to your IAM identities to set up and manage networking resources for Oracle Database@AWS. Add the VPC Lattice, placement group and EC2 networking permissions it lists as missing through a customer managed policy.
What does AmazonODBNetworkAdmin grant?
On all resources it allows odb actions to create, update, delete and list ODB networks and peering connections, and put, get and delete resource policies. It allows ec2:DescribeAvailabilityZones, ec2:DescribeVpcs and ODB network peering create, modify and delete actions, and creating the odb.amazonaws.com and vpc-lattice.amazonaws.com service-linked roles.
What are the security risks of AmazonODBNetworkAdmin?
The policy can delete ODB networks, peering connections and network peerings, change resource policies and create two service-linked roles, all on all resources. AWS managed policies don't grant least privilege permissions, and an AWS update to the policy affects every identity it is attached to.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowODBActions",
      "Effect": "Allow",
      "Action": [
        "odb:GetOciOnboardingStatus",
        "odb:InitializeService",
        "odb:CreateOdbNetwork",
        "odb:GetOdbNetwork",
        "odb:UpdateOdbNetwork",
        "odb:DeleteOdbNetwork",
        "odb:ListOdbNetworks",
        "odb:CreateOdbPeeringConnection",
        "odb:GetOdbPeeringConnection",
        "odb:UpdateOdbPeeringConnection",
        "odb:DeleteOdbPeeringConnection",
        "odb:ListOdbPeeringConnections",
        "odb:PutResourcePolicy",
        "odb:GetResourcePolicy",
        "odb:DeleteResourcePolicy",
        "odb:ListTagsForResource"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowEC2Actions",
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeAvailabilityZones",
        "ec2:DescribeVpcs"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowOdbNetworkPeeringActions",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateOdbNetworkPeering",
        "ec2:ModifyOdbNetworkPeering",
        "ec2:DeleteOdbNetworkPeering"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowSLRActions",
      "Effect": "Allow",
      "Action": [
        "iam:CreateServiceLinkedRole"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "iam:AWSServiceName": [
            "odb.amazonaws.com",
            "vpc-lattice.amazonaws.com"
          ]
        }
      }
    },
    {
      "Sid": "AllowTaggingActions",
      "Effect": "Allow",
      "Action": [
        "odb:TagResource",
        "odb:UntagResource"
      ],
      "Resource": [
        "arn:aws:odb:*:*:odb-network/*",
        "arn:aws:odb:*:*:odb-peering-connection/*"
      ]
    }
  ]
}

Version history

Current version v2, edited by AWS on 2026-09-04. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/job-function/AmazonODBNetworkAdmin
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/job-function/AmazonODBNetworkAdmin
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/job-function/AmazonODBNetworkAdmin

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/job-function/AmazonODBNetworkAdmin

Terraform

resource "aws_iam_role_policy_attachment" "job_function_amazonodbnetworkadmin" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/job-function/AmazonODBNetworkAdmin"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("job-function/AmazonODBNetworkAdmin"),
);

Sources