odb

2026/02/27 - odb - 1 updated api methods

Changes  ODB Networking Route Management is a feature improvement which allows for implicit creation and deletion of EC2 Routes in the Peer Network Route Table designated by the customer via new optional input. This feature release is combined with Multiple App-VPC functionality for ODB Network Peering(s).

CreateOdbPeeringConnection (updated) Link ΒΆ
Changes (request)
{'peerNetworkRouteTableIds': ['string']}

Creates a peering connection between an ODB network and a VPC.

A peering connection enables private connectivity between the networks for application-tier communication.

See also: AWS API Documentation

Request Syntax

client.create_odb_peering_connection(
    odbNetworkId='string',
    peerNetworkId='string',
    displayName='string',
    peerNetworkCidrsToBeAdded=[
        'string',
    ],
    peerNetworkRouteTableIds=[
        'string',
    ],
    clientToken='string',
    tags={
        'string': 'string'
    }
)
type odbNetworkId:

string

param odbNetworkId:

[REQUIRED]

The unique identifier of the ODB network that initiates the peering connection.

type peerNetworkId:

string

param peerNetworkId:

[REQUIRED]

The unique identifier of the peer network. This can be either a VPC ID or another ODB network ID.

type displayName:

string

param displayName:

The display name for the ODB peering connection.

type peerNetworkCidrsToBeAdded:

list

param peerNetworkCidrsToBeAdded:

A list of CIDR blocks to add to the peering connection. These CIDR blocks define the IP address ranges that can communicate through the peering connection.

  • (string) --

type peerNetworkRouteTableIds:

list

param peerNetworkRouteTableIds:

The unique identifier of the VPC route table for which a route to the ODB network is automatically created during peering connection establishment.

  • (string) --

type clientToken:

string

param clientToken:

The client token for the ODB peering connection request.

Constraints:

  • Must be unique for each request.

This field is autopopulated if not provided.

type tags:

dict

param tags:

The tags to assign to the ODB peering connection.

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'displayName': 'string',
    'status': 'AVAILABLE'|'FAILED'|'PROVISIONING'|'TERMINATED'|'TERMINATING'|'UPDATING'|'MAINTENANCE_IN_PROGRESS',
    'statusReason': 'string',
    'odbPeeringConnectionId': 'string'
}

Response Structure

  • (dict) --

    • displayName (string) --

      The display name of the ODB peering connection.

    • status (string) --

      The status of the ODB peering connection.

    • statusReason (string) --

      The reason for the current status of the ODB peering connection.

    • odbPeeringConnectionId (string) --

      The unique identifier of the ODB peering connection.