Amazon WorkSpaces · Schema
CreateEnvironmentRequest
Amazon Web ServicesDesktopEnd User ComputingVirtual DesktopDesktop as a Service
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name for the environment. |
| desktopArn | string | The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Secure Browser, or AppStream 2.0. |
| desktopEndpoint | string | The URL for the identity provider login (only for environments that use AppStream 2.0). |
| softwareSetUpdateSchedule | string | An option to define if software updates should be applied within a maintenance window. |
| maintenanceWindow | object | |
| softwareSetUpdateMode | string | An option to define which software updates to apply. |
| desiredSoftwareSetId | string | The ID of the software set to apply. |
| kmsKeyArn | string | The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment. |
| clientToken | string | Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a sec |
| tags | object | A map of the key-value pairs of the tag or tags to assign to the resource. |
| deviceCreationTags | object | A map of the key-value pairs of the tag or tags to assign to the newly created devices for this environment. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-workspaces/json-schema/amazon-workspaces-create-environment-request-schema.json",
"title": "CreateEnvironmentRequest",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-workspaces-environments-api-openapi.yml#/components/schemas/CreateEnvironmentRequest",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name for the environment."
},
"desktopArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Secure Browser, or AppStream 2.0."
},
"desktopEndpoint": {
"type": "string",
"description": "The URL for the identity provider login (only for environments that use AppStream 2.0)."
},
"softwareSetUpdateSchedule": {
"type": "string",
"enum": [
"USE_MAINTENANCE_WINDOW",
"APPLY_IMMEDIATELY"
],
"description": "An option to define if software updates should be applied within a maintenance window."
},
"maintenanceWindow": {
"$ref": "#/$defs/MaintenanceWindow"
},
"softwareSetUpdateMode": {
"type": "string",
"enum": [
"USE_LATEST",
"USE_DESIRED"
],
"description": "An option to define which software updates to apply."
},
"desiredSoftwareSetId": {
"type": "string",
"description": "The ID of the software set to apply."
},
"kmsKeyArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment."
},
"clientToken": {
"type": "string",
"description": "Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value. If you don't provide this value, then Amazon Web Services generates a random one for you. If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameter"
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "A map of the key-value pairs of the tag or tags to assign to the resource."
},
"deviceCreationTags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "A map of the key-value pairs of the tag or tags to assign to the newly created devices for this environment."
}
},
"required": [
"desktopArn"
],
"$defs": {
"MaintenanceWindow": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"SYSTEM",
"CUSTOM"
],
"description": "An option to select the default or custom maintenance window."
},
"startTimeHour": {
"type": "integer",
"description": "The hour for the maintenance window start (00-23)."
},
"startTimeMinute": {
"type": "integer",
"description": "The minutes past the hour for the maintenance window start (00-59)."
},
"endTimeHour": {
"type": "integer",
"description": "The hour for the maintenance window end (00-23)."
},
"endTimeMinute": {
"type": "integer",
"description": "The minutes for the maintenance window end (00-59)."
},
"daysOfTheWeek": {
"type": "array",
"items": {
"type": "string",
"enum": [
"MONDAY",
"TUESDAY",
"WEDNESDAY",
"THURSDAY",
"FRIDAY",
"SATURDAY",
"SUNDAY"
]
},
"description": "The days of the week during which the maintenance window is open."
},
"applyTimeOf": {
"type": "string",
"enum": [
"UTC",
"DEVICE"
],
"description": "The option to set the maintenance window during the device local time or Universal Coordinated Time (UTC)."
}
},
"required": [
"type"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-workspaces-create-environment-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.