Amazon Step Functions · Schema
CreateStateMachineInput
CreateStateMachineInput schema from Amazon Step Functions API
OrchestrationServerlessState MachineWorkflow
Properties
| Name | Type | Description |
|---|---|---|
| name | object | |
| definition | object | |
| roleArn | object | |
| type | object | |
| loggingConfiguration | object | |
| tags | object | |
| tracingConfiguration | object | |
| publish | object | |
| versionDescription | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-step-functions/refs/heads/main/json-schema/amazon-step-functions-create-state-machine-input-schema.json",
"title": "CreateStateMachineInput",
"description": "CreateStateMachineInput schema from Amazon Step Functions API",
"type": "object",
"properties": {
"name": {
"allOf": [
{
"$ref": "#/components/schemas/Name"
},
{
"description": "<p>The name of the state machine. </p> <p>A name must <i>not</i> contain:</p> <ul> <li> <p>white space</p> </li> <li> <p>brackets <code>< > { } [ ]</code> </p> </li> <li> <p>wildcard characters <code>? *</code> </p> </li> <li> <p>special characters <code>\" # % \\ ^ | ~ ` $ & , ; : /</code> </p> </li> <li> <p>control characters (<code>U+0000-001F</code>, <code>U+007F-009F</code>)</p> </li> </ul> <p>To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>"
}
]
},
"definition": {
"allOf": [
{
"$ref": "#/components/schemas/Definition"
},
{
"description": "The Amazon States Language definition of the state machine. See <a href=\"https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html\">Amazon States Language</a>."
}
]
},
"roleArn": {
"allOf": [
{
"$ref": "#/components/schemas/Arn"
},
{
"description": "The Amazon Resource Name (ARN) of the IAM role to use for this state machine."
}
]
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/StateMachineType"
},
{
"description": "Determines whether a Standard or Express state machine is created. The default is <code>STANDARD</code>. You cannot update the <code>type</code> of a state machine once it has been created."
}
]
},
"loggingConfiguration": {
"allOf": [
{
"$ref": "#/components/schemas/LoggingConfiguration"
},
{
"description": "<p>Defines what execution history events are logged and where they are logged.</p> <note> <p>By default, the <code>level</code> is set to <code>OFF</code>. For more information see <a href=\"https://docs.aws.amazon.com/step-functions/latest/dg/cloudwatch-log-level.html\">Log Levels</a> in the Step Functions User Guide.</p> </note>"
}
]
},
"tags": {
"allOf": [
{
"$ref": "#/components/schemas/TagList"
},
{
"description": "<p>Tags to be added when creating a state machine.</p> <p>An array of key-value pairs. For more information, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html\">Using Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management User Guide</i>, and <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html\">Controlling Access Using IAM Tags</a>.</p> <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>"
}
]
},
"tracingConfiguration": {
"allOf": [
{
"$ref": "#/components/schemas/TracingConfiguration"
},
{
"description": "Selects whether X-Ray tracing is enabled."
}
]
},
"publish": {
"allOf": [
{
"$ref": "#/components/schemas/Publish"
},
{
"description": "Set to <code>true</code> to publish the first version of the state machine during creation. The default is <code>false</code>."
}
]
},
"versionDescription": {
"allOf": [
{
"$ref": "#/components/schemas/VersionDescription"
},
{
"description": "Sets description about the state machine version. You can only set the description if the <code>publish</code> parameter is set to <code>true</code>. Otherwise, if you set <code>versionDescription</code>, but <code>publish</code> to <code>false</code>, this API action throws <code>ValidationException</code>."
}
]
}
},
"required": [
"name",
"definition",
"roleArn"
]
}