UNPKG

435 kBPlain TextView Raw
1{
2 "author": {
3 "name": "Amazon Web Services",
4 "organization": true,
5 "roles": [
6 "author"
7 ],
8 "url": "https://aws.amazon.com"
9 },
10 "dependencies": {
11 "@aws-cdk/aws-iam": "1.204.0",
12 "@aws-cdk/core": "1.204.0",
13 "constructs": "^3.3.69"
14 },
15 "dependencyClosure": {
16 "@aws-cdk/aws-iam": {
17 "targets": {
18 "dotnet": {
19 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
20 "namespace": "Amazon.CDK.AWS.IAM",
21 "packageId": "Amazon.CDK.AWS.IAM"
22 },
23 "java": {
24 "maven": {
25 "artifactId": "iam",
26 "groupId": "software.amazon.awscdk"
27 },
28 "package": "software.amazon.awscdk.services.iam"
29 },
30 "js": {
31 "npm": "@aws-cdk/aws-iam"
32 },
33 "python": {
34 "classifiers": [
35 "Framework :: AWS CDK",
36 "Framework :: AWS CDK :: 1"
37 ],
38 "distName": "aws-cdk.aws-iam",
39 "module": "aws_cdk.aws_iam"
40 }
41 }
42 },
43 "@aws-cdk/cloud-assembly-schema": {
44 "targets": {
45 "dotnet": {
46 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
47 "namespace": "Amazon.CDK.CloudAssembly.Schema",
48 "packageId": "Amazon.CDK.CloudAssembly.Schema"
49 },
50 "java": {
51 "maven": {
52 "artifactId": "cdk-cloud-assembly-schema",
53 "groupId": "software.amazon.awscdk"
54 },
55 "package": "software.amazon.awscdk.cloudassembly.schema"
56 },
57 "js": {
58 "npm": "@aws-cdk/cloud-assembly-schema"
59 },
60 "python": {
61 "classifiers": [
62 "Framework :: AWS CDK",
63 "Framework :: AWS CDK :: 1"
64 ],
65 "distName": "aws-cdk.cloud-assembly-schema",
66 "module": "aws_cdk.cloud_assembly_schema"
67 }
68 }
69 },
70 "@aws-cdk/core": {
71 "targets": {
72 "dotnet": {
73 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
74 "namespace": "Amazon.CDK",
75 "packageId": "Amazon.CDK"
76 },
77 "java": {
78 "maven": {
79 "artifactId": "core",
80 "groupId": "software.amazon.awscdk"
81 },
82 "package": "software.amazon.awscdk.core"
83 },
84 "js": {
85 "npm": "@aws-cdk/core"
86 },
87 "python": {
88 "classifiers": [
89 "Framework :: AWS CDK",
90 "Framework :: AWS CDK :: 1"
91 ],
92 "distName": "aws-cdk.core",
93 "module": "aws_cdk.core"
94 }
95 }
96 },
97 "@aws-cdk/cx-api": {
98 "targets": {
99 "dotnet": {
100 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
101 "namespace": "Amazon.CDK.CXAPI",
102 "packageId": "Amazon.CDK.CXAPI"
103 },
104 "java": {
105 "maven": {
106 "artifactId": "cdk-cx-api",
107 "groupId": "software.amazon.awscdk"
108 },
109 "package": "software.amazon.awscdk.cxapi"
110 },
111 "js": {
112 "npm": "@aws-cdk/cx-api"
113 },
114 "python": {
115 "classifiers": [
116 "Framework :: AWS CDK",
117 "Framework :: AWS CDK :: 1"
118 ],
119 "distName": "aws-cdk.cx-api",
120 "module": "aws_cdk.cx_api"
121 }
122 }
123 },
124 "@aws-cdk/region-info": {
125 "targets": {
126 "dotnet": {
127 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
128 "namespace": "Amazon.CDK.RegionInfo",
129 "packageId": "Amazon.CDK.RegionInfo"
130 },
131 "java": {
132 "maven": {
133 "artifactId": "cdk-region-info",
134 "groupId": "software.amazon.awscdk"
135 },
136 "package": "software.amazon.awscdk.regioninfo"
137 },
138 "js": {
139 "npm": "@aws-cdk/region-info"
140 },
141 "python": {
142 "classifiers": [
143 "Framework :: AWS CDK",
144 "Framework :: AWS CDK :: 1"
145 ],
146 "distName": "aws-cdk.region-info",
147 "module": "aws_cdk.region_info"
148 }
149 }
150 },
151 "constructs": {
152 "targets": {
153 "dotnet": {
154 "namespace": "Constructs",
155 "packageId": "Constructs"
156 },
157 "go": {
158 "moduleName": "github.com/aws/constructs-go"
159 },
160 "java": {
161 "maven": {
162 "artifactId": "constructs",
163 "groupId": "software.constructs"
164 },
165 "package": "software.constructs"
166 },
167 "js": {
168 "npm": "constructs"
169 },
170 "python": {
171 "distName": "constructs",
172 "module": "constructs"
173 }
174 }
175 }
176 },
177 "description": "Amazon EventBridge Construct Library",
178 "docs": {
179 "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",
180 "stability": "stable"
181 },
182 "homepage": "https://github.com/aws/aws-cdk",
183 "jsiiVersion": "1.84.0 (build 5404dcf)",
184 "keywords": [
185 "aws",
186 "cdk",
187 "constructs",
188 "cloudwatch",
189 "events",
190 "eventbridge"
191 ],
192 "license": "Apache-2.0",
193 "metadata": {
194 "jsii": {
195 "compiledWithDeprecationWarnings": true,
196 "pacmak": {
197 "hasDefaultInterfaces": true
198 },
199 "rosetta": {
200 "strict": true
201 }
202 }
203 },
204 "name": "@aws-cdk/aws-events",
205 "readme": {
206 "markdown": "# Amazon EventBridge Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![End-of-Support](https://img.shields.io/badge/End--of--Support-critical.svg?style=for-the-badge)\n\n> AWS CDK v1 has reached End-of-Support on 2023-06-01.\n> This package is no longer being updated, and users should migrate to AWS CDK v2.\n>\n> For more information on how to migrate, see the [_Migrating to AWS CDK v2_ guide][doc].\n>\n> [doc]: https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html\n\n---\n\n<!--END STABILITY BANNER-->\n\nAmazon EventBridge delivers a near real-time stream of system events that\ndescribe changes in AWS resources. For example, an AWS CodePipeline emits the\n[State\nChange](https://docs.aws.amazon.com/eventbridge/latest/userguide/event-types.html#codepipeline-event-type)\nevent when the pipeline changes its state.\n\n* __Events__: An event indicates a change in your AWS environment. AWS resources\n can generate events when their state changes. For example, Amazon EC2\n generates an event when the state of an EC2 instance changes from pending to\n running, and Amazon EC2 Auto Scaling generates events when it launches or\n terminates instances. AWS CloudTrail publishes events when you make API calls.\n You can generate custom application-level events and publish them to\n EventBridge. You can also set up scheduled events that are generated on\n a periodic basis. For a list of services that generate events, and sample\n events from each service, see [EventBridge Event Examples From Each\n Supported\n Service](https://docs.aws.amazon.com/eventbridge/latest/userguide/event-types.html).\n* __Targets__: A target processes events. Targets can include Amazon EC2\n instances, AWS Lambda functions, Kinesis streams, Amazon ECS tasks, Step\n Functions state machines, Amazon SNS topics, Amazon SQS queues, Amazon CloudWatch LogGroups, and built-in\n targets. A target receives events in JSON format.\n* __Rules__: A rule matches incoming events and routes them to targets for\n processing. A single rule can route to multiple targets, all of which are\n processed in parallel. Rules are not processed in a particular order. This\n enables different parts of an organization to look for and process the events\n that are of interest to them. A rule can customize the JSON sent to the\n target, by passing only certain parts or by overwriting it with a constant.\n* __EventBuses__: An event bus can receive events from your own custom applications\n or it can receive events from applications and services created by AWS SaaS partners.\n See [Creating an Event Bus](https://docs.aws.amazon.com/eventbridge/latest/userguide/create-event-bus.html).\n\n## Rule\n\nThe `Rule` construct defines an EventBridge rule which monitors an\nevent based on an [event\npattern](https://docs.aws.amazon.com/eventbridge/latest/userguide/filtering-examples-structure.html)\nand invoke __event targets__ when the pattern is matched against a triggered\nevent. Event targets are objects that implement the `IRuleTarget` interface.\n\nNormally, you will use one of the `source.onXxx(name[, target[, options]]) ->\nRule` methods on the event source to define an event rule associated with\nthe specific activity. You can targets either via props, or add targets using\n`rule.addTarget`.\n\nFor example, to define an rule that triggers a CodeBuild project build when a\ncommit is pushed to the \"master\" branch of a CodeCommit repository:\n\n```ts\ndeclare const repo: codecommit.Repository;\ndeclare const project: codebuild.Project;\n\nconst onCommitRule = repo.onCommit('OnCommit', {\n target: new targets.CodeBuildProject(project),\n branches: ['master']\n});\n```\n\nYou can add additional targets, with optional [input\ntransformer](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_InputTransformer.html)\nusing `eventRule.addTarget(target[, input])`. For example, we can add a SNS\ntopic target which formats a human-readable message for the commit.\n\nFor example, this adds an SNS topic as a target:\n\n```ts\ndeclare const onCommitRule: events.Rule;\ndeclare const topic: sns.Topic;\n\nonCommitRule.addTarget(new targets.SnsTopic(topic, {\n message: events.RuleTargetInput.fromText(\n `A commit was pushed to the repository ${codecommit.ReferenceEvent.repositoryName} on branch ${codecommit.ReferenceEvent.referenceName}`\n )\n}));\n```\n\nOr using an Object:\n\n```ts\ndeclare const onCommitRule: events.Rule;\ndeclare const topic: sns.Topic;\n\nonCommitRule.addTarget(new targets.SnsTopic(topic, {\n message: events.RuleTargetInput.fromObject(\n {\n DataType: `custom_${events.EventField.fromPath('$.detail-type')}`\n }\n )\n}));\n```\n\n## Scheduling\n\nYou can configure a Rule to run on a schedule (cron or rate).\nRate must be specified in minutes, hours or days.\n\nThe following example runs a task every day at 4am:\n\n```ts fixture=basic\nimport { Rule, Schedule } from '@aws-cdk/aws-events';\nimport { EcsTask } from '@aws-cdk/aws-events-targets';\nimport { Cluster, TaskDefinition } from '@aws-cdk/aws-ecs';\nimport { Role } from '@aws-cdk/aws-iam';\n\ndeclare const cluster: Cluster;\ndeclare const taskDefinition: TaskDefinition;\ndeclare const role: Role;\n\nconst ecsTaskTarget = new EcsTask({ cluster, taskDefinition, role });\n\nnew Rule(this, 'ScheduleRule', {\n schedule: Schedule.cron({ minute: '0', hour: '4' }),\n targets: [ecsTaskTarget],\n});\n```\n\nIf you want to specify Fargate platform version, set `platformVersion` in EcsTask's props like the following example:\n\n```ts\ndeclare const cluster: ecs.Cluster;\ndeclare const taskDefinition: ecs.TaskDefinition;\ndeclare const role: iam.Role;\n\nconst platformVersion = ecs.FargatePlatformVersion.VERSION1_4;\nconst ecsTaskTarget = new targets.EcsTask({ cluster, taskDefinition, role, platformVersion });\n```\n\n## Event Targets\n\nThe `@aws-cdk/aws-events-targets` module includes classes that implement the `IRuleTarget`\ninterface for various AWS services.\n\nThe following targets are supported:\n\n* `targets.CodeBuildProject`: Start an AWS CodeBuild build\n* `targets.CodePipeline`: Start an AWS CodePipeline pipeline execution\n* `targets.EcsTask`: Start a task on an Amazon ECS cluster\n* `targets.LambdaFunction`: Invoke an AWS Lambda function\n* `targets.SnsTopic`: Publish into an SNS topic\n* `targets.SqsQueue`: Send a message to an Amazon SQS Queue\n* `targets.SfnStateMachine`: Trigger an AWS Step Functions state machine\n* `targets.BatchJob`: Queue an AWS Batch Job\n* `targets.AwsApi`: Make an AWS API call\n* `targets.ApiGateway`: Invoke an AWS API Gateway\n* `targets.ApiDestination`: Make an call to an external destination\n\n### Cross-account and cross-region targets\n\nIt's possible to have the source of the event and a target in separate AWS accounts and regions:\n\n```ts nofixture\nimport { App, Stack } from '@aws-cdk/core';\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nimport * as codecommit from '@aws-cdk/aws-codecommit';\nimport * as targets from '@aws-cdk/aws-events-targets';\n\nconst app = new App();\n\nconst account1 = '11111111111';\nconst account2 = '22222222222';\n\nconst stack1 = new Stack(app, 'Stack1', { env: { account: account1, region: 'us-west-1' } });\nconst repo = new codecommit.Repository(stack1, 'Repository', {\n repositoryName: 'myrepository',\n});\n\nconst stack2 = new Stack(app, 'Stack2', { env: { account: account2, region: 'us-east-1' } });\nconst project = new codebuild.Project(stack2, 'Project', {\n // ...\n});\n\nrepo.onCommit('OnCommit', {\n target: new targets.CodeBuildProject(project),\n});\n```\n\nIn this situation, the CDK will wire the 2 accounts together:\n\n* It will generate a rule in the source stack with the event bus of the target account as the target\n* It will generate a rule in the target stack, with the provided target\n* It will generate a separate stack that gives the source account permissions to publish events\n to the event bus of the target account in the given region,\n and make sure its deployed before the source stack\n\nFor more information, see the\n[AWS documentation on cross-account events](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html).\n\n## Archiving\n\nIt is possible to archive all or some events sent to an event bus. It is then possible to [replay these events](https://aws.amazon.com/blogs/aws/new-archive-and-replay-events-with-amazon-eventbridge/).\n\n```ts\nconst bus = new events.EventBus(this, 'bus', {\n eventBusName: 'MyCustomEventBus'\n});\n\nbus.archive('MyArchive', {\n archiveName: 'MyCustomEventBusArchive',\n description: 'MyCustomerEventBus Archive',\n eventPattern: {\n account: [Stack.of(this).account],\n },\n retention: Duration.days(365),\n});\n```\n\n## Granting PutEvents to an existing EventBus\n\nTo import an existing EventBus into your CDK application, use `EventBus.fromEventBusArn`, `EventBus.fromEventBusAttributes`\nor `EventBus.fromEventBusName` factory method.\n\nThen, you can use the `grantPutEventsTo` method to grant `event:PutEvents` to the eventBus.\n\n```ts\ndeclare const lambdaFunction: lambda.Function;\n\nconst eventBus = events.EventBus.fromEventBusArn(this, 'ImportedEventBus', 'arn:aws:events:us-east-1:111111111:event-bus/my-event-bus');\n\n// now you can just call methods on the eventbus\neventBus.grantPutEventsTo(lambdaFunction);\n```\n"
207 },
208 "repository": {
209 "directory": "packages/@aws-cdk/aws-events",
210 "type": "git",
211 "url": "https://github.com/aws/aws-cdk.git"
212 },
213 "schema": "jsii/0.10.0",
214 "targets": {
215 "dotnet": {
216 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
217 "namespace": "Amazon.CDK.AWS.Events",
218 "packageId": "Amazon.CDK.AWS.Events"
219 },
220 "java": {
221 "maven": {
222 "artifactId": "events",
223 "groupId": "software.amazon.awscdk"
224 },
225 "package": "software.amazon.awscdk.services.events"
226 },
227 "js": {
228 "npm": "@aws-cdk/aws-events"
229 },
230 "python": {
231 "classifiers": [
232 "Framework :: AWS CDK",
233 "Framework :: AWS CDK :: 1"
234 ],
235 "distName": "aws-cdk.aws-events",
236 "module": "aws_cdk.aws_events"
237 }
238 },
239 "types": {
240 "@aws-cdk/aws-events.ApiDestination": {
241 "assembly": "@aws-cdk/aws-events",
242 "base": "@aws-cdk/core.Resource",
243 "docs": {
244 "custom": {
245 "resource": "AWS::Events::ApiDestination",
246 "exampleMetadata": "infused"
247 },
248 "stability": "stable",
249 "summary": "Define an EventBridge Api Destination.",
250 "example": "const connection = new events.Connection(this, 'Connection', {\n authorization: events.Authorization.apiKey('x-api-key', SecretValue.secretsManager('ApiSecretName')),\n description: 'Connection with API Key x-api-key',\n});\n\nconst destination = new events.ApiDestination(this, 'Destination', {\n connection,\n endpoint: 'https://example.com',\n description: 'Calling example.com with API key x-api-key',\n});\n\nconst rule = new events.Rule(this, 'Rule', {\n schedule: events.Schedule.rate(cdk.Duration.minutes(1)),\n targets: [new targets.ApiDestination(destination)],\n});"
251 },
252 "fqn": "@aws-cdk/aws-events.ApiDestination",
253 "initializer": {
254 "docs": {
255 "stability": "stable"
256 },
257 "locationInModule": {
258 "filename": "lib/api-destination.ts",
259 "line": 88
260 },
261 "parameters": [
262 {
263 "name": "scope",
264 "type": {
265 "fqn": "constructs.Construct"
266 }
267 },
268 {
269 "name": "id",
270 "type": {
271 "primitive": "string"
272 }
273 },
274 {
275 "name": "props",
276 "type": {
277 "fqn": "@aws-cdk/aws-events.ApiDestinationProps"
278 }
279 }
280 ]
281 },
282 "interfaces": [
283 "@aws-cdk/aws-events.IApiDestination"
284 ],
285 "kind": "class",
286 "locationInModule": {
287 "filename": "lib/api-destination.ts",
288 "line": 70
289 },
290 "name": "ApiDestination",
291 "properties": [
292 {
293 "docs": {
294 "custom": {
295 "attribute": "true"
296 },
297 "stability": "stable",
298 "summary": "The ARN of the Api Destination created."
299 },
300 "immutable": true,
301 "locationInModule": {
302 "filename": "lib/api-destination.ts",
303 "line": 86
304 },
305 "name": "apiDestinationArn",
306 "overrides": "@aws-cdk/aws-events.IApiDestination",
307 "type": {
308 "primitive": "string"
309 }
310 },
311 {
312 "docs": {
313 "custom": {
314 "attribute": "true"
315 },
316 "stability": "stable",
317 "summary": "The Name of the Api Destination created."
318 },
319 "immutable": true,
320 "locationInModule": {
321 "filename": "lib/api-destination.ts",
322 "line": 80
323 },
324 "name": "apiDestinationName",
325 "overrides": "@aws-cdk/aws-events.IApiDestination",
326 "type": {
327 "primitive": "string"
328 }
329 },
330 {
331 "docs": {
332 "stability": "stable",
333 "summary": "The Connection to associate with Api Destination."
334 },
335 "immutable": true,
336 "locationInModule": {
337 "filename": "lib/api-destination.ts",
338 "line": 74
339 },
340 "name": "connection",
341 "type": {
342 "fqn": "@aws-cdk/aws-events.IConnection"
343 }
344 }
345 ],
346 "symbolId": "lib/api-destination:ApiDestination"
347 },
348 "@aws-cdk/aws-events.ApiDestinationProps": {
349 "assembly": "@aws-cdk/aws-events",
350 "datatype": true,
351 "docs": {
352 "stability": "stable",
353 "summary": "The event API Destination properties.",
354 "example": "const connection = new events.Connection(this, 'Connection', {\n authorization: events.Authorization.apiKey('x-api-key', SecretValue.secretsManager('ApiSecretName')),\n description: 'Connection with API Key x-api-key',\n});\n\nconst destination = new events.ApiDestination(this, 'Destination', {\n connection,\n endpoint: 'https://example.com',\n description: 'Calling example.com with API key x-api-key',\n});\n\nconst rule = new events.Rule(this, 'Rule', {\n schedule: events.Schedule.rate(cdk.Duration.minutes(1)),\n targets: [new targets.ApiDestination(destination)],\n});",
355 "custom": {
356 "exampleMetadata": "infused"
357 }
358 },
359 "fqn": "@aws-cdk/aws-events.ApiDestinationProps",
360 "kind": "interface",
361 "locationInModule": {
362 "filename": "lib/api-destination.ts",
363 "line": 9
364 },
365 "name": "ApiDestinationProps",
366 "properties": [
367 {
368 "abstract": true,
369 "docs": {
370 "stability": "stable",
371 "summary": "The ARN of the connection to use for the API destination."
372 },
373 "immutable": true,
374 "locationInModule": {
375 "filename": "lib/api-destination.ts",
376 "line": 26
377 },
378 "name": "connection",
379 "type": {
380 "fqn": "@aws-cdk/aws-events.IConnection"
381 }
382 },
383 {
384 "abstract": true,
385 "docs": {
386 "stability": "stable",
387 "summary": "The URL to the HTTP invocation endpoint for the API destination.."
388 },
389 "immutable": true,
390 "locationInModule": {
391 "filename": "lib/api-destination.ts",
392 "line": 31
393 },
394 "name": "endpoint",
395 "type": {
396 "primitive": "string"
397 }
398 },
399 {
400 "abstract": true,
401 "docs": {
402 "default": "- A unique name will be generated",
403 "stability": "stable",
404 "summary": "The name for the API destination."
405 },
406 "immutable": true,
407 "locationInModule": {
408 "filename": "lib/api-destination.ts",
409 "line": 14
410 },
411 "name": "apiDestinationName",
412 "optional": true,
413 "type": {
414 "primitive": "string"
415 }
416 },
417 {
418 "abstract": true,
419 "docs": {
420 "default": "- none",
421 "stability": "stable",
422 "summary": "A description for the API destination."
423 },
424 "immutable": true,
425 "locationInModule": {
426 "filename": "lib/api-destination.ts",
427 "line": 21
428 },
429 "name": "description",
430 "optional": true,
431 "type": {
432 "primitive": "string"
433 }
434 },
435 {
436 "abstract": true,
437 "docs": {
438 "default": "HttpMethod.POST",
439 "stability": "stable",
440 "summary": "The method to use for the request to the HTTP invocation endpoint."
441 },
442 "immutable": true,
443 "locationInModule": {
444 "filename": "lib/api-destination.ts",
445 "line": 38
446 },
447 "name": "httpMethod",
448 "optional": true,
449 "type": {
450 "fqn": "@aws-cdk/aws-events.HttpMethod"
451 }
452 },
453 {
454 "abstract": true,
455 "docs": {
456 "default": "- Not rate limited",
457 "stability": "stable",
458 "summary": "The maximum number of requests per second to send to the HTTP invocation endpoint."
459 },
460 "immutable": true,
461 "locationInModule": {
462 "filename": "lib/api-destination.ts",
463 "line": 45
464 },
465 "name": "rateLimitPerSecond",
466 "optional": true,
467 "type": {
468 "primitive": "number"
469 }
470 }
471 ],
472 "symbolId": "lib/api-destination:ApiDestinationProps"
473 },
474 "@aws-cdk/aws-events.Archive": {
475 "assembly": "@aws-cdk/aws-events",
476 "base": "@aws-cdk/core.Resource",
477 "docs": {
478 "custom": {
479 "resource": "AWS::Events::Archive",
480 "exampleMetadata": "fixture=_generated"
481 },
482 "stability": "stable",
483 "summary": "Define an EventBridge Archive.",
484 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const detail: any;\ndeclare const eventBus: events.EventBus;\nconst archive = new events.Archive(this, 'MyArchive', {\n eventPattern: {\n account: ['account'],\n detail: {\n detailKey: detail,\n },\n detailType: ['detailType'],\n id: ['id'],\n region: ['region'],\n resources: ['resources'],\n source: ['source'],\n time: ['time'],\n version: ['version'],\n },\n sourceEventBus: eventBus,\n\n // the properties below are optional\n archiveName: 'archiveName',\n description: 'description',\n retention: cdk.Duration.minutes(30),\n});"
485 },
486 "fqn": "@aws-cdk/aws-events.Archive",
487 "initializer": {
488 "docs": {
489 "stability": "stable"
490 },
491 "locationInModule": {
492 "filename": "lib/archive.ts",
493 "line": 64
494 },
495 "parameters": [
496 {
497 "name": "scope",
498 "type": {
499 "fqn": "constructs.Construct"
500 }
501 },
502 {
503 "name": "id",
504 "type": {
505 "primitive": "string"
506 }
507 },
508 {
509 "name": "props",
510 "type": {
511 "fqn": "@aws-cdk/aws-events.ArchiveProps"
512 }
513 }
514 ]
515 },
516 "kind": "class",
517 "locationInModule": {
518 "filename": "lib/archive.ts",
519 "line": 51
520 },
521 "name": "Archive",
522 "properties": [
523 {
524 "docs": {
525 "custom": {
526 "attribute": "true"
527 },
528 "stability": "stable",
529 "summary": "The ARN of the archive created."
530 },
531 "immutable": true,
532 "locationInModule": {
533 "filename": "lib/archive.ts",
534 "line": 62
535 },
536 "name": "archiveArn",
537 "type": {
538 "primitive": "string"
539 }
540 },
541 {
542 "docs": {
543 "custom": {
544 "attribute": "true"
545 },
546 "stability": "stable",
547 "summary": "The archive name."
548 },
549 "immutable": true,
550 "locationInModule": {
551 "filename": "lib/archive.ts",
552 "line": 56
553 },
554 "name": "archiveName",
555 "type": {
556 "primitive": "string"
557 }
558 }
559 ],
560 "symbolId": "lib/archive:Archive"
561 },
562 "@aws-cdk/aws-events.ArchiveProps": {
563 "assembly": "@aws-cdk/aws-events",
564 "datatype": true,
565 "docs": {
566 "stability": "stable",
567 "summary": "The event archive properties.",
568 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const detail: any;\ndeclare const eventBus: events.EventBus;\nconst archiveProps: events.ArchiveProps = {\n eventPattern: {\n account: ['account'],\n detail: {\n detailKey: detail,\n },\n detailType: ['detailType'],\n id: ['id'],\n region: ['region'],\n resources: ['resources'],\n source: ['source'],\n time: ['time'],\n version: ['version'],\n },\n sourceEventBus: eventBus,\n\n // the properties below are optional\n archiveName: 'archiveName',\n description: 'description',\n retention: cdk.Duration.minutes(30),\n};",
569 "custom": {
570 "exampleMetadata": "fixture=_generated"
571 }
572 },
573 "fqn": "@aws-cdk/aws-events.ArchiveProps",
574 "interfaces": [
575 "@aws-cdk/aws-events.BaseArchiveProps"
576 ],
577 "kind": "interface",
578 "locationInModule": {
579 "filename": "lib/archive.ts",
580 "line": 39
581 },
582 "name": "ArchiveProps",
583 "properties": [
584 {
585 "abstract": true,
586 "docs": {
587 "stability": "stable",
588 "summary": "The event source associated with the archive."
589 },
590 "immutable": true,
591 "locationInModule": {
592 "filename": "lib/archive.ts",
593 "line": 43
594 },
595 "name": "sourceEventBus",
596 "type": {
597 "fqn": "@aws-cdk/aws-events.IEventBus"
598 }
599 }
600 ],
601 "symbolId": "lib/archive:ArchiveProps"
602 },
603 "@aws-cdk/aws-events.Authorization": {
604 "abstract": true,
605 "assembly": "@aws-cdk/aws-events",
606 "docs": {
607 "stability": "stable",
608 "summary": "Authorization type for an API Destination Connection.",
609 "example": "const connection = new events.Connection(this, 'Connection', {\n authorization: events.Authorization.apiKey('x-api-key', SecretValue.secretsManager('ApiSecretName')),\n description: 'Connection with API Key x-api-key',\n});\n\nconst destination = new events.ApiDestination(this, 'Destination', {\n connection,\n endpoint: 'https://example.com',\n description: 'Calling example.com with API key x-api-key',\n});\n\nconst rule = new events.Rule(this, 'Rule', {\n schedule: events.Schedule.rate(cdk.Duration.minutes(1)),\n targets: [new targets.ApiDestination(destination)],\n});",
610 "custom": {
611 "exampleMetadata": "infused"
612 }
613 },
614 "fqn": "@aws-cdk/aws-events.Authorization",
615 "initializer": {
616 "docs": {
617 "stability": "stable"
618 }
619 },
620 "kind": "class",
621 "locationInModule": {
622 "filename": "lib/connection.ts",
623 "line": 55
624 },
625 "methods": [
626 {
627 "docs": {
628 "remarks": "API key authorization has two components: an API key name and an API key value.\nWhat these are depends on the target of your connection.",
629 "stability": "stable",
630 "summary": "Use API key authorization."
631 },
632 "locationInModule": {
633 "filename": "lib/connection.ts",
634 "line": 62
635 },
636 "name": "apiKey",
637 "parameters": [
638 {
639 "name": "apiKeyName",
640 "type": {
641 "primitive": "string"
642 }
643 },
644 {
645 "name": "apiKeyValue",
646 "type": {
647 "fqn": "@aws-cdk/core.SecretValue"
648 }
649 }
650 ],
651 "returns": {
652 "type": {
653 "fqn": "@aws-cdk/aws-events.Authorization"
654 }
655 },
656 "static": true
657 },
658 {
659 "docs": {
660 "stability": "stable",
661 "summary": "Use username and password authorization."
662 },
663 "locationInModule": {
664 "filename": "lib/connection.ts",
665 "line": 81
666 },
667 "name": "basic",
668 "parameters": [
669 {
670 "name": "username",
671 "type": {
672 "primitive": "string"
673 }
674 },
675 {
676 "name": "password",
677 "type": {
678 "fqn": "@aws-cdk/core.SecretValue"
679 }
680 }
681 ],
682 "returns": {
683 "type": {
684 "fqn": "@aws-cdk/aws-events.Authorization"
685 }
686 },
687 "static": true
688 },
689 {
690 "docs": {
691 "stability": "stable",
692 "summary": "Use OAuth authorization."
693 },
694 "locationInModule": {
695 "filename": "lib/connection.ts",
696 "line": 100
697 },
698 "name": "oauth",
699 "parameters": [
700 {
701 "name": "props",
702 "type": {
703 "fqn": "@aws-cdk/aws-events.OAuthAuthorizationProps"
704 }
705 }
706 ],
707 "returns": {
708 "type": {
709 "fqn": "@aws-cdk/aws-events.Authorization"
710 }
711 },
712 "static": true
713 }
714 ],
715 "name": "Authorization",
716 "symbolId": "lib/connection:Authorization"
717 },
718 "@aws-cdk/aws-events.BaseArchiveProps": {
719 "assembly": "@aws-cdk/aws-events",
720 "datatype": true,
721 "docs": {
722 "stability": "stable",
723 "summary": "The event archive base properties.",
724 "example": "const bus = new events.EventBus(this, 'bus', {\n eventBusName: 'MyCustomEventBus'\n});\n\nbus.archive('MyArchive', {\n archiveName: 'MyCustomEventBusArchive',\n description: 'MyCustomerEventBus Archive',\n eventPattern: {\n account: [Stack.of(this).account],\n },\n retention: Duration.days(365),\n});",
725 "custom": {
726 "exampleMetadata": "infused"
727 }
728 },
729 "fqn": "@aws-cdk/aws-events.BaseArchiveProps",
730 "kind": "interface",
731 "locationInModule": {
732 "filename": "lib/archive.ts",
733 "line": 11
734 },
735 "name": "BaseArchiveProps",
736 "properties": [
737 {
738 "abstract": true,
739 "docs": {
740 "stability": "stable",
741 "summary": "An event pattern to use to filter events sent to the archive."
742 },
743 "immutable": true,
744 "locationInModule": {
745 "filename": "lib/archive.ts",
746 "line": 27
747 },
748 "name": "eventPattern",
749 "type": {
750 "fqn": "@aws-cdk/aws-events.EventPattern"
751 }
752 },
753 {
754 "abstract": true,
755 "docs": {
756 "default": "- Automatically generated",
757 "stability": "stable",
758 "summary": "The name of the archive."
759 },
760 "immutable": true,
761 "locationInModule": {
762 "filename": "lib/archive.ts",
763 "line": 17
764 },
765 "name": "archiveName",
766 "optional": true,
767 "type": {
768 "primitive": "string"
769 }
770 },
771 {
772 "abstract": true,
773 "docs": {
774 "default": "- none",
775 "stability": "stable",
776 "summary": "A description for the archive."
777 },
778 "immutable": true,
779 "locationInModule": {
780 "filename": "lib/archive.ts",
781 "line": 23
782 },
783 "name": "description",
784 "optional": true,
785 "type": {
786 "primitive": "string"
787 }
788 },
789 {
790 "abstract": true,
791 "docs": {
792 "default": "- Infinite",
793 "remarks": "Default value is 0. If set to 0, events are retained indefinitely.",
794 "stability": "stable",
795 "summary": "The number of days to retain events for."
796 },
797 "immutable": true,
798 "locationInModule": {
799 "filename": "lib/archive.ts",
800 "line": 32
801 },
802 "name": "retention",
803 "optional": true,
804 "type": {
805 "fqn": "@aws-cdk/core.Duration"
806 }
807 }
808 ],
809 "symbolId": "lib/archive:BaseArchiveProps"
810 },
811 "@aws-cdk/aws-events.CfnApiDestination": {
812 "assembly": "@aws-cdk/aws-events",
813 "base": "@aws-cdk/core.CfnResource",
814 "docs": {
815 "custom": {
816 "cloudformationResource": "AWS::Events::ApiDestination",
817 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html",
818 "exampleMetadata": "fixture=_generated"
819 },
820 "remarks": "Creates an API destination, which is an HTTP invocation endpoint configured as a target for events.\n\nWhen using ApiDesinations with OAuth authentication we recommend these best practices:\n\n- Create a secret in Secrets Manager with your OAuth credentials.\n- Reference that secret in your CloudFormation template for `AWS::Events::Connection` using CloudFormation dynamic reference syntax. For more information, see [Secrets Manager secrets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html#dynamic-references-secretsmanager) .\n\nWhen the Connection resource is created the secret will be passed to EventBridge and stored in the customer account using “Service Linked Secrets,” effectively creating two secrets. This will minimize the cost because the original secret is only accessed when a CloudFormation template is created or updated, not every time an event is sent to the ApiDestination. The secret stored in the customer account by EventBridge is the one used for each event sent to the ApiDestination and AWS is responsible for the fees.\n\n> The secret stored in the customer account by EventBridge can’t be updated directly, only when a CloudFormation template is updated.\n\nFor examples of CloudFormation templates that use secrets, see [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#aws-resource-events-connection--examples) .",
821 "stability": "external",
822 "summary": "A CloudFormation `AWS::Events::ApiDestination`.",
823 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\nconst cfnApiDestination = new events.CfnApiDestination(this, 'MyCfnApiDestination', {\n connectionArn: 'connectionArn',\n httpMethod: 'httpMethod',\n invocationEndpoint: 'invocationEndpoint',\n\n // the properties below are optional\n description: 'description',\n invocationRateLimitPerSecond: 123,\n name: 'name',\n});"
824 },
825 "fqn": "@aws-cdk/aws-events.CfnApiDestination",
826 "initializer": {
827 "docs": {
828 "stability": "external",
829 "summary": "Create a new `AWS::Events::ApiDestination`."
830 },
831 "locationInModule": {
832 "filename": "lib/events.generated.ts",
833 "line": 228
834 },
835 "parameters": [
836 {
837 "docs": {
838 "summary": "- scope in which this resource is defined."
839 },
840 "name": "scope",
841 "type": {
842 "fqn": "@aws-cdk/core.Construct"
843 }
844 },
845 {
846 "docs": {
847 "summary": "- scoped id of the resource."
848 },
849 "name": "id",
850 "type": {
851 "primitive": "string"
852 }
853 },
854 {
855 "docs": {
856 "summary": "- resource properties."
857 },
858 "name": "props",
859 "type": {
860 "fqn": "@aws-cdk/aws-events.CfnApiDestinationProps"
861 }
862 }
863 ]
864 },
865 "interfaces": [
866 "@aws-cdk/core.IInspectable"
867 ],
868 "kind": "class",
869 "locationInModule": {
870 "filename": "lib/events.generated.ts",
871 "line": 148
872 },
873 "methods": [
874 {
875 "docs": {
876 "stability": "external",
877 "summary": "Examines the CloudFormation resource and discloses attributes."
878 },
879 "locationInModule": {
880 "filename": "lib/events.generated.ts",
881 "line": 249
882 },
883 "name": "inspect",
884 "overrides": "@aws-cdk/core.IInspectable",
885 "parameters": [
886 {
887 "docs": {
888 "summary": "- tree inspector to collect and process attributes."
889 },
890 "name": "inspector",
891 "type": {
892 "fqn": "@aws-cdk/core.TreeInspector"
893 }
894 }
895 ]
896 },
897 {
898 "docs": {
899 "stability": "external"
900 },
901 "locationInModule": {
902 "filename": "lib/events.generated.ts",
903 "line": 265
904 },
905 "name": "renderProperties",
906 "overrides": "@aws-cdk/core.CfnResource",
907 "parameters": [
908 {
909 "name": "props",
910 "type": {
911 "collection": {
912 "elementtype": {
913 "primitive": "any"
914 },
915 "kind": "map"
916 }
917 }
918 }
919 ],
920 "protected": true,
921 "returns": {
922 "type": {
923 "collection": {
924 "elementtype": {
925 "primitive": "any"
926 },
927 "kind": "map"
928 }
929 }
930 }
931 }
932 ],
933 "name": "CfnApiDestination",
934 "properties": [
935 {
936 "const": true,
937 "docs": {
938 "stability": "external",
939 "summary": "The CloudFormation resource type name for this resource class."
940 },
941 "immutable": true,
942 "locationInModule": {
943 "filename": "lib/events.generated.ts",
944 "line": 152
945 },
946 "name": "CFN_RESOURCE_TYPE_NAME",
947 "static": true,
948 "type": {
949 "primitive": "string"
950 }
951 },
952 {
953 "docs": {
954 "custom": {
955 "cloudformationAttribute": "Arn"
956 },
957 "stability": "external",
958 "summary": "The ARN of the API destination that was created by the request."
959 },
960 "immutable": true,
961 "locationInModule": {
962 "filename": "lib/events.generated.ts",
963 "line": 177
964 },
965 "name": "attrArn",
966 "type": {
967 "primitive": "string"
968 }
969 },
970 {
971 "docs": {
972 "stability": "external"
973 },
974 "immutable": true,
975 "locationInModule": {
976 "filename": "lib/events.generated.ts",
977 "line": 254
978 },
979 "name": "cfnProperties",
980 "overrides": "@aws-cdk/core.CfnResource",
981 "protected": true,
982 "type": {
983 "collection": {
984 "elementtype": {
985 "primitive": "any"
986 },
987 "kind": "map"
988 }
989 }
990 },
991 {
992 "docs": {
993 "custom": {
994 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html#cfn-events-apidestination-connectionarn"
995 },
996 "remarks": "The destination endpoint must support the authorization type specified for the connection.",
997 "stability": "external",
998 "summary": "The ARN of the connection to use for the API destination."
999 },
1000 "locationInModule": {
1001 "filename": "lib/events.generated.ts",
1002 "line": 184
1003 },
1004 "name": "connectionArn",
1005 "type": {
1006 "primitive": "string"
1007 }
1008 },
1009 {
1010 "docs": {
1011 "custom": {
1012 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html#cfn-events-apidestination-httpmethod"
1013 },
1014 "stability": "external",
1015 "summary": "The method to use for the request to the HTTP invocation endpoint."
1016 },
1017 "locationInModule": {
1018 "filename": "lib/events.generated.ts",
1019 "line": 191
1020 },
1021 "name": "httpMethod",
1022 "type": {
1023 "primitive": "string"
1024 }
1025 },
1026 {
1027 "docs": {
1028 "custom": {
1029 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html#cfn-events-apidestination-invocationendpoint"
1030 },
1031 "stability": "external",
1032 "summary": "The URL to the HTTP invocation endpoint for the API destination."
1033 },
1034 "locationInModule": {
1035 "filename": "lib/events.generated.ts",
1036 "line": 198
1037 },
1038 "name": "invocationEndpoint",
1039 "type": {
1040 "primitive": "string"
1041 }
1042 },
1043 {
1044 "docs": {
1045 "custom": {
1046 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html#cfn-events-apidestination-description"
1047 },
1048 "stability": "external",
1049 "summary": "A description for the API destination to create."
1050 },
1051 "locationInModule": {
1052 "filename": "lib/events.generated.ts",
1053 "line": 205
1054 },
1055 "name": "description",
1056 "optional": true,
1057 "type": {
1058 "primitive": "string"
1059 }
1060 },
1061 {
1062 "docs": {
1063 "custom": {
1064 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html#cfn-events-apidestination-invocationratelimitpersecond"
1065 },
1066 "stability": "external",
1067 "summary": "The maximum number of requests per second to send to the HTTP invocation endpoint."
1068 },
1069 "locationInModule": {
1070 "filename": "lib/events.generated.ts",
1071 "line": 212
1072 },
1073 "name": "invocationRateLimitPerSecond",
1074 "optional": true,
1075 "type": {
1076 "primitive": "number"
1077 }
1078 },
1079 {
1080 "docs": {
1081 "custom": {
1082 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html#cfn-events-apidestination-name"
1083 },
1084 "stability": "external",
1085 "summary": "The name for the API destination to create."
1086 },
1087 "locationInModule": {
1088 "filename": "lib/events.generated.ts",
1089 "line": 219
1090 },
1091 "name": "name",
1092 "optional": true,
1093 "type": {
1094 "primitive": "string"
1095 }
1096 }
1097 ],
1098 "symbolId": "lib/events.generated:CfnApiDestination"
1099 },
1100 "@aws-cdk/aws-events.CfnApiDestinationProps": {
1101 "assembly": "@aws-cdk/aws-events",
1102 "datatype": true,
1103 "docs": {
1104 "custom": {
1105 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html",
1106 "exampleMetadata": "fixture=_generated"
1107 },
1108 "stability": "external",
1109 "summary": "Properties for defining a `CfnApiDestination`.",
1110 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\nconst cfnApiDestinationProps: events.CfnApiDestinationProps = {\n connectionArn: 'connectionArn',\n httpMethod: 'httpMethod',\n invocationEndpoint: 'invocationEndpoint',\n\n // the properties below are optional\n description: 'description',\n invocationRateLimitPerSecond: 123,\n name: 'name',\n};"
1111 },
1112 "fqn": "@aws-cdk/aws-events.CfnApiDestinationProps",
1113 "kind": "interface",
1114 "locationInModule": {
1115 "filename": "lib/events.generated.ts",
1116 "line": 19
1117 },
1118 "name": "CfnApiDestinationProps",
1119 "properties": [
1120 {
1121 "abstract": true,
1122 "docs": {
1123 "custom": {
1124 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html#cfn-events-apidestination-connectionarn"
1125 },
1126 "remarks": "The destination endpoint must support the authorization type specified for the connection.",
1127 "stability": "external",
1128 "summary": "The ARN of the connection to use for the API destination."
1129 },
1130 "immutable": true,
1131 "locationInModule": {
1132 "filename": "lib/events.generated.ts",
1133 "line": 26
1134 },
1135 "name": "connectionArn",
1136 "type": {
1137 "primitive": "string"
1138 }
1139 },
1140 {
1141 "abstract": true,
1142 "docs": {
1143 "custom": {
1144 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html#cfn-events-apidestination-httpmethod"
1145 },
1146 "stability": "external",
1147 "summary": "The method to use for the request to the HTTP invocation endpoint."
1148 },
1149 "immutable": true,
1150 "locationInModule": {
1151 "filename": "lib/events.generated.ts",
1152 "line": 33
1153 },
1154 "name": "httpMethod",
1155 "type": {
1156 "primitive": "string"
1157 }
1158 },
1159 {
1160 "abstract": true,
1161 "docs": {
1162 "custom": {
1163 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html#cfn-events-apidestination-invocationendpoint"
1164 },
1165 "stability": "external",
1166 "summary": "The URL to the HTTP invocation endpoint for the API destination."
1167 },
1168 "immutable": true,
1169 "locationInModule": {
1170 "filename": "lib/events.generated.ts",
1171 "line": 40
1172 },
1173 "name": "invocationEndpoint",
1174 "type": {
1175 "primitive": "string"
1176 }
1177 },
1178 {
1179 "abstract": true,
1180 "docs": {
1181 "custom": {
1182 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html#cfn-events-apidestination-description"
1183 },
1184 "stability": "external",
1185 "summary": "A description for the API destination to create."
1186 },
1187 "immutable": true,
1188 "locationInModule": {
1189 "filename": "lib/events.generated.ts",
1190 "line": 47
1191 },
1192 "name": "description",
1193 "optional": true,
1194 "type": {
1195 "primitive": "string"
1196 }
1197 },
1198 {
1199 "abstract": true,
1200 "docs": {
1201 "custom": {
1202 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html#cfn-events-apidestination-invocationratelimitpersecond"
1203 },
1204 "stability": "external",
1205 "summary": "The maximum number of requests per second to send to the HTTP invocation endpoint."
1206 },
1207 "immutable": true,
1208 "locationInModule": {
1209 "filename": "lib/events.generated.ts",
1210 "line": 54
1211 },
1212 "name": "invocationRateLimitPerSecond",
1213 "optional": true,
1214 "type": {
1215 "primitive": "number"
1216 }
1217 },
1218 {
1219 "abstract": true,
1220 "docs": {
1221 "custom": {
1222 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html#cfn-events-apidestination-name"
1223 },
1224 "stability": "external",
1225 "summary": "The name for the API destination to create."
1226 },
1227 "immutable": true,
1228 "locationInModule": {
1229 "filename": "lib/events.generated.ts",
1230 "line": 61
1231 },
1232 "name": "name",
1233 "optional": true,
1234 "type": {
1235 "primitive": "string"
1236 }
1237 }
1238 ],
1239 "symbolId": "lib/events.generated:CfnApiDestinationProps"
1240 },
1241 "@aws-cdk/aws-events.CfnArchive": {
1242 "assembly": "@aws-cdk/aws-events",
1243 "base": "@aws-cdk/core.CfnResource",
1244 "docs": {
1245 "custom": {
1246 "cloudformationResource": "AWS::Events::Archive",
1247 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html",
1248 "exampleMetadata": "fixture=_generated"
1249 },
1250 "remarks": "Creates an archive of events with the specified settings. When you create an archive, incoming events might not immediately start being sent to the archive. Allow a short period of time for changes to take effect. If you do not specify a pattern to filter events sent to the archive, all events are sent to the archive except replayed events. Replayed events are not sent to an archive.",
1251 "stability": "external",
1252 "summary": "A CloudFormation `AWS::Events::Archive`.",
1253 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\n\ndeclare const eventPattern: any;\nconst cfnArchive = new events.CfnArchive(this, 'MyCfnArchive', {\n sourceArn: 'sourceArn',\n\n // the properties below are optional\n archiveName: 'archiveName',\n description: 'description',\n eventPattern: eventPattern,\n retentionDays: 123,\n});"
1254 },
1255 "fqn": "@aws-cdk/aws-events.CfnArchive",
1256 "initializer": {
1257 "docs": {
1258 "stability": "external",
1259 "summary": "Create a new `AWS::Events::Archive`."
1260 },
1261 "locationInModule": {
1262 "filename": "lib/events.generated.ts",
1263 "line": 457
1264 },
1265 "parameters": [
1266 {
1267 "docs": {
1268 "summary": "- scope in which this resource is defined."
1269 },
1270 "name": "scope",
1271 "type": {
1272 "fqn": "@aws-cdk/core.Construct"
1273 }
1274 },
1275 {
1276 "docs": {
1277 "summary": "- scoped id of the resource."
1278 },
1279 "name": "id",
1280 "type": {
1281 "primitive": "string"
1282 }
1283 },
1284 {
1285 "docs": {
1286 "summary": "- resource properties."
1287 },
1288 "name": "props",
1289 "type": {
1290 "fqn": "@aws-cdk/aws-events.CfnArchiveProps"
1291 }
1292 }
1293 ]
1294 },
1295 "interfaces": [
1296 "@aws-cdk/core.IInspectable"
1297 ],
1298 "kind": "class",
1299 "locationInModule": {
1300 "filename": "lib/events.generated.ts",
1301 "line": 384
1302 },
1303 "methods": [
1304 {
1305 "docs": {
1306 "stability": "external",
1307 "summary": "Examines the CloudFormation resource and discloses attributes."
1308 },
1309 "locationInModule": {
1310 "filename": "lib/events.generated.ts",
1311 "line": 475
1312 },
1313 "name": "inspect",
1314 "overrides": "@aws-cdk/core.IInspectable",
1315 "parameters": [
1316 {
1317 "docs": {
1318 "summary": "- tree inspector to collect and process attributes."
1319 },
1320 "name": "inspector",
1321 "type": {
1322 "fqn": "@aws-cdk/core.TreeInspector"
1323 }
1324 }
1325 ]
1326 },
1327 {
1328 "docs": {
1329 "stability": "external"
1330 },
1331 "locationInModule": {
1332 "filename": "lib/events.generated.ts",
1333 "line": 490
1334 },
1335 "name": "renderProperties",
1336 "overrides": "@aws-cdk/core.CfnResource",
1337 "parameters": [
1338 {
1339 "name": "props",
1340 "type": {
1341 "collection": {
1342 "elementtype": {
1343 "primitive": "any"
1344 },
1345 "kind": "map"
1346 }
1347 }
1348 }
1349 ],
1350 "protected": true,
1351 "returns": {
1352 "type": {
1353 "collection": {
1354 "elementtype": {
1355 "primitive": "any"
1356 },
1357 "kind": "map"
1358 }
1359 }
1360 }
1361 }
1362 ],
1363 "name": "CfnArchive",
1364 "properties": [
1365 {
1366 "const": true,
1367 "docs": {
1368 "stability": "external",
1369 "summary": "The CloudFormation resource type name for this resource class."
1370 },
1371 "immutable": true,
1372 "locationInModule": {
1373 "filename": "lib/events.generated.ts",
1374 "line": 388
1375 },
1376 "name": "CFN_RESOURCE_TYPE_NAME",
1377 "static": true,
1378 "type": {
1379 "primitive": "string"
1380 }
1381 },
1382 {
1383 "docs": {
1384 "custom": {
1385 "cloudformationAttribute": "Arn"
1386 },
1387 "stability": "external",
1388 "summary": "The ARN of the archive created."
1389 },
1390 "immutable": true,
1391 "locationInModule": {
1392 "filename": "lib/events.generated.ts",
1393 "line": 413
1394 },
1395 "name": "attrArn",
1396 "type": {
1397 "primitive": "string"
1398 }
1399 },
1400 {
1401 "docs": {
1402 "stability": "external"
1403 },
1404 "immutable": true,
1405 "locationInModule": {
1406 "filename": "lib/events.generated.ts",
1407 "line": 480
1408 },
1409 "name": "cfnProperties",
1410 "overrides": "@aws-cdk/core.CfnResource",
1411 "protected": true,
1412 "type": {
1413 "collection": {
1414 "elementtype": {
1415 "primitive": "any"
1416 },
1417 "kind": "map"
1418 }
1419 }
1420 },
1421 {
1422 "docs": {
1423 "custom": {
1424 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-eventpattern"
1425 },
1426 "stability": "external",
1427 "summary": "An event pattern to use to filter events sent to the archive."
1428 },
1429 "locationInModule": {
1430 "filename": "lib/events.generated.ts",
1431 "line": 441
1432 },
1433 "name": "eventPattern",
1434 "type": {
1435 "primitive": "any"
1436 }
1437 },
1438 {
1439 "docs": {
1440 "custom": {
1441 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-sourcearn"
1442 },
1443 "stability": "external",
1444 "summary": "The ARN of the event bus that sends events to the archive."
1445 },
1446 "locationInModule": {
1447 "filename": "lib/events.generated.ts",
1448 "line": 420
1449 },
1450 "name": "sourceArn",
1451 "type": {
1452 "primitive": "string"
1453 }
1454 },
1455 {
1456 "docs": {
1457 "custom": {
1458 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-archivename"
1459 },
1460 "stability": "external",
1461 "summary": "The name for the archive to create."
1462 },
1463 "locationInModule": {
1464 "filename": "lib/events.generated.ts",
1465 "line": 427
1466 },
1467 "name": "archiveName",
1468 "optional": true,
1469 "type": {
1470 "primitive": "string"
1471 }
1472 },
1473 {
1474 "docs": {
1475 "custom": {
1476 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-description"
1477 },
1478 "stability": "external",
1479 "summary": "A description for the archive."
1480 },
1481 "locationInModule": {
1482 "filename": "lib/events.generated.ts",
1483 "line": 434
1484 },
1485 "name": "description",
1486 "optional": true,
1487 "type": {
1488 "primitive": "string"
1489 }
1490 },
1491 {
1492 "docs": {
1493 "custom": {
1494 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-retentiondays"
1495 },
1496 "remarks": "Default value is 0. If set to 0, events are retained indefinitely",
1497 "stability": "external",
1498 "summary": "The number of days to retain events for."
1499 },
1500 "locationInModule": {
1501 "filename": "lib/events.generated.ts",
1502 "line": 448
1503 },
1504 "name": "retentionDays",
1505 "optional": true,
1506 "type": {
1507 "primitive": "number"
1508 }
1509 }
1510 ],
1511 "symbolId": "lib/events.generated:CfnArchive"
1512 },
1513 "@aws-cdk/aws-events.CfnArchiveProps": {
1514 "assembly": "@aws-cdk/aws-events",
1515 "datatype": true,
1516 "docs": {
1517 "custom": {
1518 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html",
1519 "exampleMetadata": "fixture=_generated"
1520 },
1521 "stability": "external",
1522 "summary": "Properties for defining a `CfnArchive`.",
1523 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\n\ndeclare const eventPattern: any;\nconst cfnArchiveProps: events.CfnArchiveProps = {\n sourceArn: 'sourceArn',\n\n // the properties below are optional\n archiveName: 'archiveName',\n description: 'description',\n eventPattern: eventPattern,\n retentionDays: 123,\n};"
1524 },
1525 "fqn": "@aws-cdk/aws-events.CfnArchiveProps",
1526 "kind": "interface",
1527 "locationInModule": {
1528 "filename": "lib/events.generated.ts",
1529 "line": 278
1530 },
1531 "name": "CfnArchiveProps",
1532 "properties": [
1533 {
1534 "abstract": true,
1535 "docs": {
1536 "custom": {
1537 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-sourcearn"
1538 },
1539 "stability": "external",
1540 "summary": "The ARN of the event bus that sends events to the archive."
1541 },
1542 "immutable": true,
1543 "locationInModule": {
1544 "filename": "lib/events.generated.ts",
1545 "line": 285
1546 },
1547 "name": "sourceArn",
1548 "type": {
1549 "primitive": "string"
1550 }
1551 },
1552 {
1553 "abstract": true,
1554 "docs": {
1555 "custom": {
1556 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-archivename"
1557 },
1558 "stability": "external",
1559 "summary": "The name for the archive to create."
1560 },
1561 "immutable": true,
1562 "locationInModule": {
1563 "filename": "lib/events.generated.ts",
1564 "line": 292
1565 },
1566 "name": "archiveName",
1567 "optional": true,
1568 "type": {
1569 "primitive": "string"
1570 }
1571 },
1572 {
1573 "abstract": true,
1574 "docs": {
1575 "custom": {
1576 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-description"
1577 },
1578 "stability": "external",
1579 "summary": "A description for the archive."
1580 },
1581 "immutable": true,
1582 "locationInModule": {
1583 "filename": "lib/events.generated.ts",
1584 "line": 299
1585 },
1586 "name": "description",
1587 "optional": true,
1588 "type": {
1589 "primitive": "string"
1590 }
1591 },
1592 {
1593 "abstract": true,
1594 "docs": {
1595 "custom": {
1596 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-eventpattern"
1597 },
1598 "stability": "external",
1599 "summary": "An event pattern to use to filter events sent to the archive."
1600 },
1601 "immutable": true,
1602 "locationInModule": {
1603 "filename": "lib/events.generated.ts",
1604 "line": 306
1605 },
1606 "name": "eventPattern",
1607 "optional": true,
1608 "type": {
1609 "primitive": "any"
1610 }
1611 },
1612 {
1613 "abstract": true,
1614 "docs": {
1615 "custom": {
1616 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-retentiondays"
1617 },
1618 "remarks": "Default value is 0. If set to 0, events are retained indefinitely",
1619 "stability": "external",
1620 "summary": "The number of days to retain events for."
1621 },
1622 "immutable": true,
1623 "locationInModule": {
1624 "filename": "lib/events.generated.ts",
1625 "line": 313
1626 },
1627 "name": "retentionDays",
1628 "optional": true,
1629 "type": {
1630 "primitive": "number"
1631 }
1632 }
1633 ],
1634 "symbolId": "lib/events.generated:CfnArchiveProps"
1635 },
1636 "@aws-cdk/aws-events.CfnConnection": {
1637 "assembly": "@aws-cdk/aws-events",
1638 "base": "@aws-cdk/core.CfnResource",
1639 "docs": {
1640 "custom": {
1641 "cloudformationResource": "AWS::Events::Connection",
1642 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html",
1643 "exampleMetadata": "fixture=_generated"
1644 },
1645 "remarks": "Creates a connection. A connection defines the authorization type and credentials to use for authorization with an API destination HTTP endpoint.",
1646 "stability": "external",
1647 "summary": "A CloudFormation `AWS::Events::Connection`.",
1648 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\nconst cfnConnection = new events.CfnConnection(this, 'MyCfnConnection', {\n authorizationType: 'authorizationType',\n authParameters: {\n apiKeyAuthParameters: {\n apiKeyName: 'apiKeyName',\n apiKeyValue: 'apiKeyValue',\n },\n basicAuthParameters: {\n password: 'password',\n username: 'username',\n },\n invocationHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n oAuthParameters: {\n authorizationEndpoint: 'authorizationEndpoint',\n clientParameters: {\n clientId: 'clientId',\n clientSecret: 'clientSecret',\n },\n httpMethod: 'httpMethod',\n\n // the properties below are optional\n oAuthHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n },\n },\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n});"
1649 },
1650 "fqn": "@aws-cdk/aws-events.CfnConnection",
1651 "initializer": {
1652 "docs": {
1653 "stability": "external",
1654 "summary": "Create a new `AWS::Events::Connection`."
1655 },
1656 "locationInModule": {
1657 "filename": "lib/events.generated.ts",
1658 "line": 676
1659 },
1660 "parameters": [
1661 {
1662 "docs": {
1663 "summary": "- scope in which this resource is defined."
1664 },
1665 "name": "scope",
1666 "type": {
1667 "fqn": "@aws-cdk/core.Construct"
1668 }
1669 },
1670 {
1671 "docs": {
1672 "summary": "- scoped id of the resource."
1673 },
1674 "name": "id",
1675 "type": {
1676 "primitive": "string"
1677 }
1678 },
1679 {
1680 "docs": {
1681 "summary": "- resource properties."
1682 },
1683 "name": "props",
1684 "type": {
1685 "fqn": "@aws-cdk/aws-events.CfnConnectionProps"
1686 }
1687 }
1688 ]
1689 },
1690 "interfaces": [
1691 "@aws-cdk/core.IInspectable"
1692 ],
1693 "kind": "class",
1694 "locationInModule": {
1695 "filename": "lib/events.generated.ts",
1696 "line": 602
1697 },
1698 "methods": [
1699 {
1700 "docs": {
1701 "stability": "external",
1702 "summary": "Examines the CloudFormation resource and discloses attributes."
1703 },
1704 "locationInModule": {
1705 "filename": "lib/events.generated.ts",
1706 "line": 695
1707 },
1708 "name": "inspect",
1709 "overrides": "@aws-cdk/core.IInspectable",
1710 "parameters": [
1711 {
1712 "docs": {
1713 "summary": "- tree inspector to collect and process attributes."
1714 },
1715 "name": "inspector",
1716 "type": {
1717 "fqn": "@aws-cdk/core.TreeInspector"
1718 }
1719 }
1720 ]
1721 },
1722 {
1723 "docs": {
1724 "stability": "external"
1725 },
1726 "locationInModule": {
1727 "filename": "lib/events.generated.ts",
1728 "line": 709
1729 },
1730 "name": "renderProperties",
1731 "overrides": "@aws-cdk/core.CfnResource",
1732 "parameters": [
1733 {
1734 "name": "props",
1735 "type": {
1736 "collection": {
1737 "elementtype": {
1738 "primitive": "any"
1739 },
1740 "kind": "map"
1741 }
1742 }
1743 }
1744 ],
1745 "protected": true,
1746 "returns": {
1747 "type": {
1748 "collection": {
1749 "elementtype": {
1750 "primitive": "any"
1751 },
1752 "kind": "map"
1753 }
1754 }
1755 }
1756 }
1757 ],
1758 "name": "CfnConnection",
1759 "properties": [
1760 {
1761 "const": true,
1762 "docs": {
1763 "stability": "external",
1764 "summary": "The CloudFormation resource type name for this resource class."
1765 },
1766 "immutable": true,
1767 "locationInModule": {
1768 "filename": "lib/events.generated.ts",
1769 "line": 606
1770 },
1771 "name": "CFN_RESOURCE_TYPE_NAME",
1772 "static": true,
1773 "type": {
1774 "primitive": "string"
1775 }
1776 },
1777 {
1778 "docs": {
1779 "custom": {
1780 "cloudformationAttribute": "Arn"
1781 },
1782 "stability": "external",
1783 "summary": "The ARN of the connection that was created by the request."
1784 },
1785 "immutable": true,
1786 "locationInModule": {
1787 "filename": "lib/events.generated.ts",
1788 "line": 631
1789 },
1790 "name": "attrArn",
1791 "type": {
1792 "primitive": "string"
1793 }
1794 },
1795 {
1796 "docs": {
1797 "custom": {
1798 "cloudformationAttribute": "SecretArn"
1799 },
1800 "stability": "external",
1801 "summary": "The ARN for the secret created for the connection."
1802 },
1803 "immutable": true,
1804 "locationInModule": {
1805 "filename": "lib/events.generated.ts",
1806 "line": 637
1807 },
1808 "name": "attrSecretArn",
1809 "type": {
1810 "primitive": "string"
1811 }
1812 },
1813 {
1814 "docs": {
1815 "stability": "external"
1816 },
1817 "immutable": true,
1818 "locationInModule": {
1819 "filename": "lib/events.generated.ts",
1820 "line": 700
1821 },
1822 "name": "cfnProperties",
1823 "overrides": "@aws-cdk/core.CfnResource",
1824 "protected": true,
1825 "type": {
1826 "collection": {
1827 "elementtype": {
1828 "primitive": "any"
1829 },
1830 "kind": "map"
1831 }
1832 }
1833 },
1834 {
1835 "docs": {
1836 "custom": {
1837 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-authorizationtype"
1838 },
1839 "remarks": "> OAUTH tokens are refreshed when a 401 or 407 response is returned.",
1840 "stability": "external",
1841 "summary": "The type of authorization to use for the connection."
1842 },
1843 "locationInModule": {
1844 "filename": "lib/events.generated.ts",
1845 "line": 646
1846 },
1847 "name": "authorizationType",
1848 "type": {
1849 "primitive": "string"
1850 }
1851 },
1852 {
1853 "docs": {
1854 "custom": {
1855 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-authparameters"
1856 },
1857 "stability": "external",
1858 "summary": "A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint."
1859 },
1860 "locationInModule": {
1861 "filename": "lib/events.generated.ts",
1862 "line": 653
1863 },
1864 "name": "authParameters",
1865 "type": {
1866 "union": {
1867 "types": [
1868 {
1869 "fqn": "@aws-cdk/core.IResolvable"
1870 },
1871 {
1872 "fqn": "@aws-cdk/aws-events.CfnConnection.AuthParametersProperty"
1873 }
1874 ]
1875 }
1876 }
1877 },
1878 {
1879 "docs": {
1880 "custom": {
1881 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-description"
1882 },
1883 "stability": "external",
1884 "summary": "A description for the connection to create."
1885 },
1886 "locationInModule": {
1887 "filename": "lib/events.generated.ts",
1888 "line": 660
1889 },
1890 "name": "description",
1891 "optional": true,
1892 "type": {
1893 "primitive": "string"
1894 }
1895 },
1896 {
1897 "docs": {
1898 "custom": {
1899 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-name"
1900 },
1901 "stability": "external",
1902 "summary": "The name for the connection to create."
1903 },
1904 "locationInModule": {
1905 "filename": "lib/events.generated.ts",
1906 "line": 667
1907 },
1908 "name": "name",
1909 "optional": true,
1910 "type": {
1911 "primitive": "string"
1912 }
1913 }
1914 ],
1915 "symbolId": "lib/events.generated:CfnConnection"
1916 },
1917 "@aws-cdk/aws-events.CfnConnection.ApiKeyAuthParametersProperty": {
1918 "assembly": "@aws-cdk/aws-events",
1919 "datatype": true,
1920 "docs": {
1921 "custom": {
1922 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-apikeyauthparameters.html",
1923 "exampleMetadata": "fixture=_generated"
1924 },
1925 "stability": "external",
1926 "summary": "Contains the API key authorization parameters for the connection.",
1927 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\nconst apiKeyAuthParametersProperty: events.CfnConnection.ApiKeyAuthParametersProperty = {\n apiKeyName: 'apiKeyName',\n apiKeyValue: 'apiKeyValue',\n};"
1928 },
1929 "fqn": "@aws-cdk/aws-events.CfnConnection.ApiKeyAuthParametersProperty",
1930 "kind": "interface",
1931 "locationInModule": {
1932 "filename": "lib/events.generated.ts",
1933 "line": 723
1934 },
1935 "name": "ApiKeyAuthParametersProperty",
1936 "namespace": "CfnConnection",
1937 "properties": [
1938 {
1939 "abstract": true,
1940 "docs": {
1941 "custom": {
1942 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-apikeyauthparameters.html#cfn-events-connection-apikeyauthparameters-apikeyname"
1943 },
1944 "stability": "external",
1945 "summary": "The name of the API key to use for authorization."
1946 },
1947 "immutable": true,
1948 "locationInModule": {
1949 "filename": "lib/events.generated.ts",
1950 "line": 729
1951 },
1952 "name": "apiKeyName",
1953 "type": {
1954 "primitive": "string"
1955 }
1956 },
1957 {
1958 "abstract": true,
1959 "docs": {
1960 "custom": {
1961 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-apikeyauthparameters.html#cfn-events-connection-apikeyauthparameters-apikeyvalue"
1962 },
1963 "stability": "external",
1964 "summary": "The value for the API key to use for authorization."
1965 },
1966 "immutable": true,
1967 "locationInModule": {
1968 "filename": "lib/events.generated.ts",
1969 "line": 735
1970 },
1971 "name": "apiKeyValue",
1972 "type": {
1973 "primitive": "string"
1974 }
1975 }
1976 ],
1977 "symbolId": "lib/events.generated:CfnConnection.ApiKeyAuthParametersProperty"
1978 },
1979 "@aws-cdk/aws-events.CfnConnection.AuthParametersProperty": {
1980 "assembly": "@aws-cdk/aws-events",
1981 "datatype": true,
1982 "docs": {
1983 "custom": {
1984 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-authparameters.html",
1985 "exampleMetadata": "fixture=_generated"
1986 },
1987 "stability": "external",
1988 "summary": "Contains the authorization parameters to use for the connection.",
1989 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\nconst authParametersProperty: events.CfnConnection.AuthParametersProperty = {\n apiKeyAuthParameters: {\n apiKeyName: 'apiKeyName',\n apiKeyValue: 'apiKeyValue',\n },\n basicAuthParameters: {\n password: 'password',\n username: 'username',\n },\n invocationHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n oAuthParameters: {\n authorizationEndpoint: 'authorizationEndpoint',\n clientParameters: {\n clientId: 'clientId',\n clientSecret: 'clientSecret',\n },\n httpMethod: 'httpMethod',\n\n // the properties below are optional\n oAuthHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n },\n};"
1990 },
1991 "fqn": "@aws-cdk/aws-events.CfnConnection.AuthParametersProperty",
1992 "kind": "interface",
1993 "locationInModule": {
1994 "filename": "lib/events.generated.ts",
1995 "line": 801
1996 },
1997 "name": "AuthParametersProperty",
1998 "namespace": "CfnConnection",
1999 "properties": [
2000 {
2001 "abstract": true,
2002 "docs": {
2003 "custom": {
2004 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-authparameters.html#cfn-events-connection-authparameters-apikeyauthparameters"
2005 },
2006 "stability": "external",
2007 "summary": "The API Key parameters to use for authorization."
2008 },
2009 "immutable": true,
2010 "locationInModule": {
2011 "filename": "lib/events.generated.ts",
2012 "line": 807
2013 },
2014 "name": "apiKeyAuthParameters",
2015 "optional": true,
2016 "type": {
2017 "union": {
2018 "types": [
2019 {
2020 "fqn": "@aws-cdk/core.IResolvable"
2021 },
2022 {
2023 "fqn": "@aws-cdk/aws-events.CfnConnection.ApiKeyAuthParametersProperty"
2024 }
2025 ]
2026 }
2027 }
2028 },
2029 {
2030 "abstract": true,
2031 "docs": {
2032 "custom": {
2033 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-authparameters.html#cfn-events-connection-authparameters-basicauthparameters"
2034 },
2035 "stability": "external",
2036 "summary": "The authorization parameters for Basic authorization."
2037 },
2038 "immutable": true,
2039 "locationInModule": {
2040 "filename": "lib/events.generated.ts",
2041 "line": 813
2042 },
2043 "name": "basicAuthParameters",
2044 "optional": true,
2045 "type": {
2046 "union": {
2047 "types": [
2048 {
2049 "fqn": "@aws-cdk/core.IResolvable"
2050 },
2051 {
2052 "fqn": "@aws-cdk/aws-events.CfnConnection.BasicAuthParametersProperty"
2053 }
2054 ]
2055 }
2056 }
2057 },
2058 {
2059 "abstract": true,
2060 "docs": {
2061 "custom": {
2062 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-authparameters.html#cfn-events-connection-authparameters-invocationhttpparameters"
2063 },
2064 "stability": "external",
2065 "summary": "Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint."
2066 },
2067 "immutable": true,
2068 "locationInModule": {
2069 "filename": "lib/events.generated.ts",
2070 "line": 819
2071 },
2072 "name": "invocationHttpParameters",
2073 "optional": true,
2074 "type": {
2075 "union": {
2076 "types": [
2077 {
2078 "fqn": "@aws-cdk/core.IResolvable"
2079 },
2080 {
2081 "fqn": "@aws-cdk/aws-events.CfnConnection.ConnectionHttpParametersProperty"
2082 }
2083 ]
2084 }
2085 }
2086 },
2087 {
2088 "abstract": true,
2089 "docs": {
2090 "custom": {
2091 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-authparameters.html#cfn-events-connection-authparameters-oauthparameters"
2092 },
2093 "stability": "external",
2094 "summary": "The OAuth parameters to use for authorization."
2095 },
2096 "immutable": true,
2097 "locationInModule": {
2098 "filename": "lib/events.generated.ts",
2099 "line": 825
2100 },
2101 "name": "oAuthParameters",
2102 "optional": true,
2103 "type": {
2104 "union": {
2105 "types": [
2106 {
2107 "fqn": "@aws-cdk/core.IResolvable"
2108 },
2109 {
2110 "fqn": "@aws-cdk/aws-events.CfnConnection.OAuthParametersProperty"
2111 }
2112 ]
2113 }
2114 }
2115 }
2116 ],
2117 "symbolId": "lib/events.generated:CfnConnection.AuthParametersProperty"
2118 },
2119 "@aws-cdk/aws-events.CfnConnection.BasicAuthParametersProperty": {
2120 "assembly": "@aws-cdk/aws-events",
2121 "datatype": true,
2122 "docs": {
2123 "custom": {
2124 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-basicauthparameters.html",
2125 "exampleMetadata": "fixture=_generated"
2126 },
2127 "stability": "external",
2128 "summary": "Contains the Basic authorization parameters for the connection.",
2129 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\nconst basicAuthParametersProperty: events.CfnConnection.BasicAuthParametersProperty = {\n password: 'password',\n username: 'username',\n};"
2130 },
2131 "fqn": "@aws-cdk/aws-events.CfnConnection.BasicAuthParametersProperty",
2132 "kind": "interface",
2133 "locationInModule": {
2134 "filename": "lib/events.generated.ts",
2135 "line": 895
2136 },
2137 "name": "BasicAuthParametersProperty",
2138 "namespace": "CfnConnection",
2139 "properties": [
2140 {
2141 "abstract": true,
2142 "docs": {
2143 "custom": {
2144 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-basicauthparameters.html#cfn-events-connection-basicauthparameters-password"
2145 },
2146 "stability": "external",
2147 "summary": "The password associated with the user name to use for Basic authorization."
2148 },
2149 "immutable": true,
2150 "locationInModule": {
2151 "filename": "lib/events.generated.ts",
2152 "line": 901
2153 },
2154 "name": "password",
2155 "type": {
2156 "primitive": "string"
2157 }
2158 },
2159 {
2160 "abstract": true,
2161 "docs": {
2162 "custom": {
2163 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-basicauthparameters.html#cfn-events-connection-basicauthparameters-username"
2164 },
2165 "stability": "external",
2166 "summary": "The user name to use for Basic authorization."
2167 },
2168 "immutable": true,
2169 "locationInModule": {
2170 "filename": "lib/events.generated.ts",
2171 "line": 907
2172 },
2173 "name": "username",
2174 "type": {
2175 "primitive": "string"
2176 }
2177 }
2178 ],
2179 "symbolId": "lib/events.generated:CfnConnection.BasicAuthParametersProperty"
2180 },
2181 "@aws-cdk/aws-events.CfnConnection.ClientParametersProperty": {
2182 "assembly": "@aws-cdk/aws-events",
2183 "datatype": true,
2184 "docs": {
2185 "custom": {
2186 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-clientparameters.html",
2187 "exampleMetadata": "fixture=_generated"
2188 },
2189 "stability": "external",
2190 "summary": "Contains the OAuth authorization parameters to use for the connection.",
2191 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\nconst clientParametersProperty: events.CfnConnection.ClientParametersProperty = {\n clientId: 'clientId',\n clientSecret: 'clientSecret',\n};"
2192 },
2193 "fqn": "@aws-cdk/aws-events.CfnConnection.ClientParametersProperty",
2194 "kind": "interface",
2195 "locationInModule": {
2196 "filename": "lib/events.generated.ts",
2197 "line": 973
2198 },
2199 "name": "ClientParametersProperty",
2200 "namespace": "CfnConnection",
2201 "properties": [
2202 {
2203 "abstract": true,
2204 "docs": {
2205 "custom": {
2206 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-clientparameters.html#cfn-events-connection-clientparameters-clientid"
2207 },
2208 "stability": "external",
2209 "summary": "The client ID to use for OAuth authorization."
2210 },
2211 "immutable": true,
2212 "locationInModule": {
2213 "filename": "lib/events.generated.ts",
2214 "line": 979
2215 },
2216 "name": "clientId",
2217 "type": {
2218 "primitive": "string"
2219 }
2220 },
2221 {
2222 "abstract": true,
2223 "docs": {
2224 "custom": {
2225 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-clientparameters.html#cfn-events-connection-clientparameters-clientsecret"
2226 },
2227 "stability": "external",
2228 "summary": "The client secret assciated with the client ID to use for OAuth authorization."
2229 },
2230 "immutable": true,
2231 "locationInModule": {
2232 "filename": "lib/events.generated.ts",
2233 "line": 985
2234 },
2235 "name": "clientSecret",
2236 "type": {
2237 "primitive": "string"
2238 }
2239 }
2240 ],
2241 "symbolId": "lib/events.generated:CfnConnection.ClientParametersProperty"
2242 },
2243 "@aws-cdk/aws-events.CfnConnection.ConnectionHttpParametersProperty": {
2244 "assembly": "@aws-cdk/aws-events",
2245 "datatype": true,
2246 "docs": {
2247 "custom": {
2248 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectionhttpparameters.html",
2249 "exampleMetadata": "fixture=_generated"
2250 },
2251 "stability": "external",
2252 "summary": "Contains additional parameters for the connection.",
2253 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\nconst connectionHttpParametersProperty: events.CfnConnection.ConnectionHttpParametersProperty = {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n};"
2254 },
2255 "fqn": "@aws-cdk/aws-events.CfnConnection.ConnectionHttpParametersProperty",
2256 "kind": "interface",
2257 "locationInModule": {
2258 "filename": "lib/events.generated.ts",
2259 "line": 1051
2260 },
2261 "name": "ConnectionHttpParametersProperty",
2262 "namespace": "CfnConnection",
2263 "properties": [
2264 {
2265 "abstract": true,
2266 "docs": {
2267 "custom": {
2268 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectionhttpparameters.html#cfn-events-connection-connectionhttpparameters-bodyparameters"
2269 },
2270 "stability": "external",
2271 "summary": "Contains additional body string parameters for the connection."
2272 },
2273 "immutable": true,
2274 "locationInModule": {
2275 "filename": "lib/events.generated.ts",
2276 "line": 1057
2277 },
2278 "name": "bodyParameters",
2279 "optional": true,
2280 "type": {
2281 "union": {
2282 "types": [
2283 {
2284 "fqn": "@aws-cdk/core.IResolvable"
2285 },
2286 {
2287 "collection": {
2288 "elementtype": {
2289 "union": {
2290 "types": [
2291 {
2292 "fqn": "@aws-cdk/core.IResolvable"
2293 },
2294 {
2295 "fqn": "@aws-cdk/aws-events.CfnConnection.ParameterProperty"
2296 }
2297 ]
2298 }
2299 },
2300 "kind": "array"
2301 }
2302 }
2303 ]
2304 }
2305 }
2306 },
2307 {
2308 "abstract": true,
2309 "docs": {
2310 "custom": {
2311 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectionhttpparameters.html#cfn-events-connection-connectionhttpparameters-headerparameters"
2312 },
2313 "stability": "external",
2314 "summary": "Contains additional header parameters for the connection."
2315 },
2316 "immutable": true,
2317 "locationInModule": {
2318 "filename": "lib/events.generated.ts",
2319 "line": 1063
2320 },
2321 "name": "headerParameters",
2322 "optional": true,
2323 "type": {
2324 "union": {
2325 "types": [
2326 {
2327 "fqn": "@aws-cdk/core.IResolvable"
2328 },
2329 {
2330 "collection": {
2331 "elementtype": {
2332 "union": {
2333 "types": [
2334 {
2335 "fqn": "@aws-cdk/core.IResolvable"
2336 },
2337 {
2338 "fqn": "@aws-cdk/aws-events.CfnConnection.ParameterProperty"
2339 }
2340 ]
2341 }
2342 },
2343 "kind": "array"
2344 }
2345 }
2346 ]
2347 }
2348 }
2349 },
2350 {
2351 "abstract": true,
2352 "docs": {
2353 "custom": {
2354 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectionhttpparameters.html#cfn-events-connection-connectionhttpparameters-querystringparameters"
2355 },
2356 "stability": "external",
2357 "summary": "Contains additional query string parameters for the connection."
2358 },
2359 "immutable": true,
2360 "locationInModule": {
2361 "filename": "lib/events.generated.ts",
2362 "line": 1069
2363 },
2364 "name": "queryStringParameters",
2365 "optional": true,
2366 "type": {
2367 "union": {
2368 "types": [
2369 {
2370 "fqn": "@aws-cdk/core.IResolvable"
2371 },
2372 {
2373 "collection": {
2374 "elementtype": {
2375 "union": {
2376 "types": [
2377 {
2378 "fqn": "@aws-cdk/core.IResolvable"
2379 },
2380 {
2381 "fqn": "@aws-cdk/aws-events.CfnConnection.ParameterProperty"
2382 }
2383 ]
2384 }
2385 },
2386 "kind": "array"
2387 }
2388 }
2389 ]
2390 }
2391 }
2392 }
2393 ],
2394 "symbolId": "lib/events.generated:CfnConnection.ConnectionHttpParametersProperty"
2395 },
2396 "@aws-cdk/aws-events.CfnConnection.OAuthParametersProperty": {
2397 "assembly": "@aws-cdk/aws-events",
2398 "datatype": true,
2399 "docs": {
2400 "custom": {
2401 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oauthparameters.html",
2402 "exampleMetadata": "fixture=_generated"
2403 },
2404 "stability": "external",
2405 "summary": "Contains the OAuth authorization parameters to use for the connection.",
2406 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\nconst oAuthParametersProperty: events.CfnConnection.OAuthParametersProperty = {\n authorizationEndpoint: 'authorizationEndpoint',\n clientParameters: {\n clientId: 'clientId',\n clientSecret: 'clientSecret',\n },\n httpMethod: 'httpMethod',\n\n // the properties below are optional\n oAuthHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n};"
2407 },
2408 "fqn": "@aws-cdk/aws-events.CfnConnection.OAuthParametersProperty",
2409 "kind": "interface",
2410 "locationInModule": {
2411 "filename": "lib/events.generated.ts",
2412 "line": 1136
2413 },
2414 "name": "OAuthParametersProperty",
2415 "namespace": "CfnConnection",
2416 "properties": [
2417 {
2418 "abstract": true,
2419 "docs": {
2420 "custom": {
2421 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oauthparameters.html#cfn-events-connection-oauthparameters-authorizationendpoint"
2422 },
2423 "stability": "external",
2424 "summary": "The URL to the authorization endpoint when OAuth is specified as the authorization type."
2425 },
2426 "immutable": true,
2427 "locationInModule": {
2428 "filename": "lib/events.generated.ts",
2429 "line": 1142
2430 },
2431 "name": "authorizationEndpoint",
2432 "type": {
2433 "primitive": "string"
2434 }
2435 },
2436 {
2437 "abstract": true,
2438 "docs": {
2439 "custom": {
2440 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oauthparameters.html#cfn-events-connection-oauthparameters-clientparameters"
2441 },
2442 "stability": "external",
2443 "summary": "A `CreateConnectionOAuthClientRequestParameters` object that contains the client parameters for OAuth authorization."
2444 },
2445 "immutable": true,
2446 "locationInModule": {
2447 "filename": "lib/events.generated.ts",
2448 "line": 1148
2449 },
2450 "name": "clientParameters",
2451 "type": {
2452 "union": {
2453 "types": [
2454 {
2455 "fqn": "@aws-cdk/core.IResolvable"
2456 },
2457 {
2458 "fqn": "@aws-cdk/aws-events.CfnConnection.ClientParametersProperty"
2459 }
2460 ]
2461 }
2462 }
2463 },
2464 {
2465 "abstract": true,
2466 "docs": {
2467 "custom": {
2468 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oauthparameters.html#cfn-events-connection-oauthparameters-httpmethod"
2469 },
2470 "stability": "external",
2471 "summary": "The method to use for the authorization request."
2472 },
2473 "immutable": true,
2474 "locationInModule": {
2475 "filename": "lib/events.generated.ts",
2476 "line": 1154
2477 },
2478 "name": "httpMethod",
2479 "type": {
2480 "primitive": "string"
2481 }
2482 },
2483 {
2484 "abstract": true,
2485 "docs": {
2486 "custom": {
2487 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oauthparameters.html#cfn-events-connection-oauthparameters-oauthhttpparameters"
2488 },
2489 "stability": "external",
2490 "summary": "A `ConnectionHttpParameters` object that contains details about the additional parameters to use for the connection."
2491 },
2492 "immutable": true,
2493 "locationInModule": {
2494 "filename": "lib/events.generated.ts",
2495 "line": 1160
2496 },
2497 "name": "oAuthHttpParameters",
2498 "optional": true,
2499 "type": {
2500 "union": {
2501 "types": [
2502 {
2503 "fqn": "@aws-cdk/core.IResolvable"
2504 },
2505 {
2506 "fqn": "@aws-cdk/aws-events.CfnConnection.ConnectionHttpParametersProperty"
2507 }
2508 ]
2509 }
2510 }
2511 }
2512 ],
2513 "symbolId": "lib/events.generated:CfnConnection.OAuthParametersProperty"
2514 },
2515 "@aws-cdk/aws-events.CfnConnection.ParameterProperty": {
2516 "assembly": "@aws-cdk/aws-events",
2517 "datatype": true,
2518 "docs": {
2519 "custom": {
2520 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-parameter.html",
2521 "exampleMetadata": "fixture=_generated"
2522 },
2523 "remarks": "You can include up to 100 additional query string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB.",
2524 "stability": "external",
2525 "summary": "Additional query string parameter for the connection.",
2526 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as events from '@aws-cdk/aws-events';\nconst parameterProperty: events.CfnConnection.ParameterProperty = {\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n};"
2527 },
2528 "fqn": "@aws-cdk/aws-events.CfnConnection.ParameterProperty",
2529 "kind": "interface",
2530 "locationInModule": {
2531 "filename": "lib/events.generated.ts",