Skip to content

ShardingNetworkPublicAddressProps

Properties for defining a ShardingNetworkPublicAddress.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mongodb-shardingnetworkpublicaddress

Initializer

import { ShardingNetworkPublicAddressProps } from '@alicloud/ros-cdk-mongodb'
const shardingNetworkPublicAddressProps: ShardingNetworkPublicAddressProps = { ... }

Properties

Name Type Description
dbInstanceId string | @alicloud/ros-cdk-core.IResolvable Property dbInstanceId: The ID of the instance.
nodeId string | @alicloud/ros-cdk-core.IResolvable Property nodeId: The Mongos node ID, Shard node ID, or ConfigServer node ID in the sharded cluster instance.

dbInstanceIdRequired

public readonly dbInstanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dbInstanceId: The ID of the instance.

you must also configure the NodeId parameter when configuring a shard cluster instance ID.


nodeIdOptional

public readonly nodeId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property nodeId: The Mongos node ID, Shard node ID, or ConfigServer node ID in the sharded cluster instance.

You can call the DescribeDBInstanceAttribute operation to query the node ID of the Mongos node, Shard node, or ConfigServer node.

This parameter is required when DBInstanceId is configured as a sharded cluster instance ID.