{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-elastic-beanstalk/json-schema/aws-elastic-beanstalk-swap-environment-cnames-message-schema.json",
  "title": "SwapEnvironmentCNAMEsMessage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-elastic-beanstalk-operations-api-openapi.yml#/components/schemas/SwapEnvironmentCNAMEsMessage",
  "type": "object",
  "properties": {
    "SourceEnvironmentId": {
      "type": "string",
      "description": "The ID of the source environment. Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentId, you must specify the DestinationEnvironmentId."
    },
    "SourceEnvironmentName": {
      "type": "string",
      "description": "The name of the source environment. Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentName, you must specify the DestinationEnvironmentName."
    },
    "DestinationEnvironmentId": {
      "type": "string",
      "description": "The ID of the destination environment. Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentId with the DestinationEnvironmentId."
    },
    "DestinationEnvironmentName": {
      "type": "string",
      "description": "The name of the destination environment. Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentName with the DestinationEnvironmentName."
    }
  }
}