Amazon CloudTrail · Schema

CreateEventDataStoreRequest

Amazon Web ServicesCloud TrailAuditComplianceGovernanceSecurity

Properties

Name Type Description
Name string The name of the event data store.
AdvancedEventSelectors array The advanced event selectors to use to select the events for the data store. You can configure up to five advanced event selectors for each event data store. For more information about how to use adva
MultiRegionEnabled boolean Specifies whether the event data store includes events from all Regions, or only from the Region in which the event data store is created.
OrganizationEnabled boolean Specifies whether an event data store collects events logged for an organization in Organizations.
RetentionPeriod integer The retention period of the event data store, in days. If BillingMode is set to EXTENDABLE_RETENTION_PRICING, you can set a retention period of up to 3653 days, the equivalent of 10 years. If BillingM
TerminationProtectionEnabled boolean Specifies whether termination protection is enabled for the event data store. If termination protection is enabled, you cannot delete the event data store until termination protection is disabled.
TagsList array
KmsKeyId string Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by alias/, a fully specified ARN to an alias, a fully specified ARN to a key, or
StartIngestion boolean Specifies whether the event data store should start ingesting live events. The default is true.
BillingMode string The billing mode for the event data store determines the cost for ingesting events and the default and maximum retention period for the event data store. The following are the possible values: EXTENDA
View JSON Schema on GitHub

JSON Schema

amazon-cloudtrail-create-event-data-store-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudtrail/json-schema/amazon-cloudtrail-create-event-data-store-request-schema.json",
  "title": "CreateEventDataStoreRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudtrail-event-data-stores-api-openapi.yml#/components/schemas/CreateEventDataStoreRequest",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "The name of the event data store."
    },
    "AdvancedEventSelectors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AdvancedEventSelector"
      },
      "description": "The advanced event selectors to use to select the events for the data store. You can configure up to five advanced event selectors for each event data store. For more information about how to use advanced event selectors to log CloudTrail events, see Log events by using advanced event selectors in the CloudTrail User Guide. For more information about how to use advanced event selectors to include Config configuration items in your event data store, see Create an event data store for Config configuration items in the CloudTrail User Guide. For more information about how to use advanced event se"
    },
    "MultiRegionEnabled": {
      "type": "boolean",
      "description": "Specifies whether the event data store includes events from all Regions, or only from the Region in which the event data store is created."
    },
    "OrganizationEnabled": {
      "type": "boolean",
      "description": "Specifies whether an event data store collects events logged for an organization in Organizations."
    },
    "RetentionPeriod": {
      "type": "integer",
      "description": "The retention period of the event data store, in days. If BillingMode is set to EXTENDABLE_RETENTION_PRICING, you can set a retention period of up to 3653 days, the equivalent of 10 years. If BillingMode is set to FIXED_RETENTION_PRICING, you can set a retention period of up to 2557 days, the equivalent of seven years. CloudTrail Lake determines whether to retain an event by checking if the eventTime of the event is within the specified retention period. For example, if you set a retention period of 90 days, CloudTrail will remove events when the eventTime is older than 90 days. If you plan to"
    },
    "TerminationProtectionEnabled": {
      "type": "boolean",
      "description": "Specifies whether termination protection is enabled for the event data store. If termination protection is enabled, you cannot delete the event data store until termination protection is disabled."
    },
    "TagsList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "KmsKeyId": {
      "type": "string",
      "description": "Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by alias/, a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. Disabling or deleting the KMS key, or removing CloudTrail permissions on the key, prevents CloudTrail from logging events to the event data store, and prevents users from querying the data in the event data store that was encrypted with the key. After you associate an event data store with a KMS key, the KMS key cannot be removed or changed. Before you disable or dele"
    },
    "StartIngestion": {
      "type": "boolean",
      "description": "Specifies whether the event data store should start ingesting live events. The default is true."
    },
    "BillingMode": {
      "type": "string",
      "enum": [
        "EXTENDABLE_RETENTION_PRICING",
        "FIXED_RETENTION_PRICING"
      ],
      "description": "The billing mode for the event data store determines the cost for ingesting events and the default and maximum retention period for the event data store. The following are the possible values: EXTENDABLE_RETENTION_PRICING - This billing mode is generally recommended if you want a flexible retention period of up to 3653 days (about 10 years). The default retention period for this billing mode is 366 days. FIXED_RETENTION_PRICING - This billing mode is recommended if you expect to ingest more than 25 TB of event data per month and need a retention period of up to 2557 days (about 7 years). The d"
    }
  },
  "required": [
    "Name"
  ],
  "$defs": {
    "AdvancedEventSelector": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "An optional, descriptive name for an advanced event selector, such as \"Log data events for only two S3 buckets\"."
        },
        "FieldSelectors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AdvancedFieldSelector"
          },
          "description": "Contains all selector statements in an advanced event selector."
        }
      },
      "required": [
        "FieldSelectors"
      ]
    },
    "AdvancedFieldSelector": {
      "type": "object",
      "properties": {
        "Field": {
          "type": "string",
          "description": "A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the field is used only for selecting events as filtering is not supported. For more information, see AdvancedFieldSelector in the CloudTrail API Reference. Selectors don't support the use of wildcards like * . To match multiple values with a single condition, you may use StartsWith, EndsWith, NotStartsWith, or NotEndsWith to explicitly match the beginning or end of the eve"
        },
        "Equals": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields."
        },
        "StartsWith": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An operator that includes events that match the first few characters of the event record field specified as the value of Field."
        },
        "EndsWith": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An operator that includes events that match the last few characters of the event record field specified as the value of Field."
        },
        "NotEquals": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An operator that excludes events that match the exact value of the event record field specified as the value of Field."
        },
        "NotStartsWith": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An operator that excludes events that match the first few characters of the event record field specified as the value of Field."
        },
        "NotEndsWith": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An operator that excludes events that match the last few characters of the event record field specified as the value of Field."
        }
      },
      "required": [
        "Field"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key in a key-value pair. The key must be must be no longer than 128 Unicode characters. The key must be unique for the resource to which it applies."
        },
        "Value": {
          "type": "string",
          "description": "The value in a key-value pair of a tag. The value must be no longer than 256 Unicode characters."
        }
      },
      "required": [
        "Key"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-cloudtrail-create-event-data-store-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.