{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-service-catalog/json-schema/amazon-service-catalog-create-service-action-input-schema.json",
  "title": "CreateServiceActionInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-service-catalog-service-action-api-openapi.yml#/components/schemas/CreateServiceActionInput",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "The self-service action name."
    },
    "DefinitionType": {
      "type": "string",
      "enum": [
        "SSM_AUTOMATION"
      ],
      "description": "The service action definition type. For example, SSM_AUTOMATION."
    },
    "Definition": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The self-service action definition. Can be one of the following: Name The name of the Amazon Web Services Systems Manager document (SSM document). For example, AWS-RestartEC2Instance. If you are using a shared SSM document, you must provide the ARN instead of the name. Version The Amazon Web Services Systems Manager automation document version. For example, \"Version\": \"1\" AssumeRole The Amazon Resource Name (ARN) of the role that performs the self-service actions on your behalf. For example, \"AssumeRole\": \"arn:aws:iam::12345678910:role/ActionRole\". To reuse the provisioned product launch role,"
    },
    "Description": {
      "type": "string",
      "description": "The self-service action description."
    },
    "AcceptLanguage": {
      "type": "string",
      "description": "The language code. jp - Japanese zh - Chinese"
    },
    "IdempotencyToken": {
      "type": "string",
      "description": "A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request."
    }
  },
  "required": [
    "Name",
    "DefinitionType",
    "Definition",
    "IdempotencyToken"
  ]
}