Skip to content

/AWS1/CL_OSRWORKSPACECONFINPUT

Configuration for creating a new workspace when attaching a data source to an OpenSearch application. The workspace is created after the data source is successfully attached.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_name TYPE /AWS1/OSRSTRING /AWS1/OSRSTRING

The name of the workspace to create. Must be between 1 and 40 characters and can contain alphanumeric characters, parentheses, brackets, hyphens, underscores, and spaces.

iv_workspacetype TYPE /AWS1/OSRSTRING /AWS1/OSRSTRING

The type of workspace to create, which determines the use-case features enabled for the workspace. Valid values are OBSERVABILITY, SECURITY_ANALYTICS, and SEARCH.


Queryable Attributes

name

The name of the workspace to create. Must be between 1 and 40 characters and can contain alphanumeric characters, parentheses, brackets, hyphens, underscores, and spaces.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

workspaceType

The type of workspace to create, which determines the use-case features enabled for the workspace. Valid values are OBSERVABILITY, SECURITY_ANALYTICS, and SEARCH.

Accessible with the following methods

Method Description
GET_WORKSPACETYPE() Getter for WORKSPACETYPE, with configurable default
ASK_WORKSPACETYPE() Getter for WORKSPACETYPE w/ exceptions if field has no value
HAS_WORKSPACETYPE() Determine if WORKSPACETYPE has a value