{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-guardduty/json-schema/amazon-guardduty-create-custom-detection-rule-association-request-schema.json",
  "title": "CreateCustomDetectionRuleAssociationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-guardduty-custom-detection-rule-api-openapi.yml#/components/schemas/CreateCustomDetectionRuleAssociationRequest",
  "type": "object",
  "properties": {
    "RuleId": {
      "type": "string",
      "description": "The unique identifier for the custom detection rule."
    },
    "Mode": {
      "type": "string",
      "enum": [
        "LIVE",
        "DRY_RUN"
      ],
      "description": "The rule execution mode. Valid values: LIVE | DRY_RUN."
    },
    "ClientToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier to ensure that the operation completes no more than one time. Maximum 64 characters."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags to be added to the new custom detection rule association resource."
    }
  },
  "required": [
    "RuleId",
    "Mode"
  ]
}