ShardingNetworkPublicAddressProps
Properties for defining a ShardingNetworkPublicAddress.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mongodb-shardingnetworkpublicaddress
Initializer
import ros_cdk_mongodb
ros_cdk_mongodb.ShardingNetworkPublicAddressProps(
db_instance_id: typing.Union[str, IResolvable],
node_id: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
db_instance_id | typing.Union[str, ros_cdk_core.IResolvable] | Property dbInstanceId: The ID of the instance. |
node_id | typing.Union[str, ros_cdk_core.IResolvable] | Property nodeId: The Mongos node ID, Shard node ID, or ConfigServer node ID in the sharded cluster instance. |
db_instance_idRequired
db_instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
node_idOptional
node_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.