{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-service-catalog/json-schema/amazon-service-catalog-update-constraint-input-schema.json",
  "title": "UpdateConstraintInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-service-catalog-constraint-api-openapi.yml#/components/schemas/UpdateConstraintInput",
  "type": "object",
  "properties": {
    "AcceptLanguage": {
      "type": "string",
      "description": "The language code. jp - Japanese zh - Chinese"
    },
    "Id": {
      "type": "string",
      "description": "The identifier of the constraint."
    },
    "Description": {
      "type": "string",
      "description": "The updated description of the constraint."
    },
    "Parameters": {
      "type": "string",
      "description": "The constraint parameters, in JSON format. The syntax depends on the constraint type as follows: LAUNCH You are required to specify either the RoleArn or the LocalRoleName but can't use both. Specify the RoleArn property as follows: {\"RoleArn\" : \"arn:aws:iam::123456789012:role/LaunchRole\"} Specify the LocalRoleName property as follows: {\"LocalRoleName\": \"SCBasicLaunchRole\"} If you specify the LocalRoleName property, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be account-agnostic so the administrator"
    }
  },
  "required": [
    "Id"
  ]
}