{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudwatch/json-schema/amazon-cloudwatch-put-delivery-source-request-schema.json",
  "title": "PutDeliverySourceRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudwatch-delivery-source-api-openapi.yml#/components/schemas/PutDeliverySourceRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "A name for this delivery source. This name must be unique for all delivery sources in your account."
    },
    "resourceArn": {
      "type": "string",
      "description": "The ARN of the Amazon Web Services resource that is generating and sending logs. For example, arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234 For the SECURITY_FINDING_LOGS logType, use a wildcard ARN for the hub resource. For Amazon Web Services Security Hub CSPM, use arn:aws:securityhub:us-east-1:111122223333:hub/* and for Amazon Web Services Security Hub, use arn:aws:securityhub:us-east-1:111122223333:hubv2/* For the INSIGHTS_QUERY_LOGS log type, use a wildcard log group ARN, such as arn:aws:logs:us-east-1:111122223333:log-group:*. Amazon Web Servic"
    },
    "logType": {
      "type": "string",
      "description": "Defines the type of log that the source is sending. For Amazon Web Services Amplify, the valid values are ACCESS_LOGS and WAF_LOGS. For Application Load Balancer, the valid values are ALB_ACCESS_LOGS, ALB_CONNECTION_LOGS, and ALB_HEALTH_CHECK_LOGS. For Amazon Bedrock AgentCore Gateway, the valid values are APPLICATION_LOGS and TRACES. For Amazon Bedrock AgentCore Identity, the valid values are APPLICATION_LOGS and TRACES. For Amazon Bedrock AgentCore Memory, the valid values are APPLICATION_LOGS and TRACES. For Amazon Bedrock AgentCore Payments, the valid values are APPLICATION_LOGS and TRACES"
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "An optional list of key-value pairs to associate with the resource. For more information about tagging, see Tagging Amazon Web Services resources"
    },
    "deliverySourceConfiguration": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length. For example, {\"samplingRate\": \"50\"}."
    }
  },
  "required": [
    "name",
    "resourceArn",
    "logType"
  ]
}