/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * The name of the channel. */ export type ChannelName = string; /** * The Amazon Resource Name (ARN) of a channel. */ export type ChannelArn = string; /** * A channel receives events from a specific source (such as an on-premises storage solution or application, or a partner event data source), and delivers the events to one or more event data stores. You use channels to ingest events into CloudTrail from sources outside AWS. */ export interface AwsCloudtrailChannel { Name?: ChannelName; /** * The ARN of an on-premises storage solution or application, or a partner event source. */ Source?: string; /** * One or more resources to which events arriving through a channel are logged and stored. * * @maxItems 10 */ Destinations?: | [] | [Destination] | [Destination, Destination] | [Destination, Destination, Destination] | [Destination, Destination, Destination, Destination] | [Destination, Destination, Destination, Destination, Destination] | [Destination, Destination, Destination, Destination, Destination, Destination] | [Destination, Destination, Destination, Destination, Destination, Destination, Destination] | [Destination, Destination, Destination, Destination, Destination, Destination, Destination, Destination] | [ Destination, Destination, Destination, Destination, Destination, Destination, Destination, Destination, Destination ] | [ Destination, Destination, Destination, Destination, Destination, Destination, Destination, Destination, Destination, Destination ]; ChannelArn?: ChannelArn; /** * An array of key-value pairs to apply to this resource. */ Tags?: Tag[]; } /** * The resource that receives events arriving from a channel. */ export interface Destination { /** * The type of destination for events arriving from a channel. */ Type: "EVENT_DATA_STORE"; /** * The ARN of a resource that receives events from a channel. */ Location: string; } /** * A key-value pair to associate with a resource. */ export interface Tag { /** * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. */ Key: string; /** * The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. */ Value: string; }