{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudwatch/json-schema/amazon-cloudwatch-update-application-request-schema.json",
  "title": "UpdateApplicationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudwatch-application-api-openapi.yml#/components/schemas/UpdateApplicationRequest",
  "type": "object",
  "properties": {
    "ResourceGroupName": {
      "type": "string",
      "description": "The name of the resource group."
    },
    "OpsCenterEnabled": {
      "type": "boolean",
      "description": "When set to true, creates opsItems for any problems detected on an application."
    },
    "CWEMonitorEnabled": {
      "type": "boolean",
      "description": "Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others."
    },
    "OpsItemSNSTopicArn": {
      "type": "string",
      "description": "The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem."
    },
    "SNSNotificationArn": {
      "type": "string",
      "description": "The SNS topic ARN. Allows you to receive SNS notifications for updates and issues with an application."
    },
    "RemoveSNSTopic": {
      "type": "boolean",
      "description": "Disassociates the SNS topic from the opsItem created for detected problems."
    },
    "AutoConfigEnabled": {
      "type": "boolean",
      "description": "Turns auto-configuration on or off."
    },
    "AttachMissingPermission": {
      "type": "boolean",
      "description": "If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing."
    }
  },
  "required": [
    "ResourceGroupName"
  ]
}