NodeOptions

class aws_cdk.aws_opensearchservice.NodeOptions(*, node_config, node_type)

Bases: object

Configuration for node options in OpenSearch domain.

Parameters:
  • node_config (Union[NodeConfig, Dict[str, Any]]) – Configuration for the node type.

  • node_type (NodeType) – The type of node. Currently only ‘coordinator’ is supported.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_opensearchservice as opensearchservice

node_options = opensearchservice.NodeOptions(
    node_config=opensearchservice.NodeConfig(
        count=123,
        enabled=False,
        type="type"
    ),
    node_type=opensearchservice.NodeType.COORDINATOR
)

Attributes

node_config

Configuration for the node type.

node_type

The type of node.

Currently only ‘coordinator’ is supported.