Share via


ScriptAction Class

Custom script action to run on HDI ondemand cluster once it's up.

All required parameters must be populated in order to send to server.

Constructor

ScriptAction(*, name: str, uri: str, roles: MutableMapping[str, Any], parameters: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The user provided name of the script action. Required.

uri
str

The URI for the script action. Required.

roles
<xref:JSON>

The node types on which the script action should be executed. Required.

parameters
str

The parameters for the script action.

Default value: None

Variables

Name Description
name
str

The user provided name of the script action. Required.

uri
str

The URI for the script action. Required.

roles
<xref:JSON>

The node types on which the script action should be executed. Required.

parameters
str

The parameters for the script action.