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",
2532 "line": 1233
2533 },
2534 "name": "ParameterProperty",
2535 "namespace": "CfnConnection",
2536 "properties": [
2537 {
2538 "abstract": true,
2539 "docs": {
2540 "custom": {
2541 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-parameter.html#cfn-events-connection-parameter-key"
2542 },
2543 "stability": "external",
2544 "summary": "The key for a query string parameter."
2545 },
2546 "immutable": true,
2547 "locationInModule": {
2548 "filename": "lib/events.generated.ts",
2549 "line": 1245
2550 },
2551 "name": "key",
2552 "type": {
2553 "primitive": "string"
2554 }
2555 },
2556 {
2557 "abstract": true,
2558 "docs": {
2559 "custom": {
2560 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-parameter.html#cfn-events-connection-parameter-value"
2561 },
2562 "stability": "external",
2563 "summary": "The value associated with the key for the query string parameter."
2564 },
2565 "immutable": true,
2566 "locationInModule": {
2567 "filename": "lib/events.generated.ts",
2568 "line": 1251
2569 },
2570 "name": "value",
2571 "type": {
2572 "primitive": "string"
2573 }
2574 },
2575 {
2576 "abstract": true,
2577 "docs": {
2578 "custom": {
2579 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-parameter.html#cfn-events-connection-parameter-isvaluesecret"
2580 },
2581 "stability": "external",
2582 "summary": "Specifies whether the value is secret."
2583 },
2584 "immutable": true,
2585 "locationInModule": {
2586 "filename": "lib/events.generated.ts",
2587 "line": 1239
2588 },
2589 "name": "isValueSecret",
2590 "optional": true,
2591 "type": {
2592 "union": {
2593 "types": [
2594 {
2595 "primitive": "boolean"
2596 },
2597 {
2598 "fqn": "@aws-cdk/core.IResolvable"
2599 }
2600 ]
2601 }
2602 }
2603 }
2604 ],
2605 "symbolId": "lib/events.generated:CfnConnection.ParameterProperty"
2606 },
2607 "@aws-cdk/aws-events.CfnConnectionProps": {
2608 "assembly": "@aws-cdk/aws-events",
2609 "datatype": true,
2610 "docs": {
2611 "custom": {
2612 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html",
2613 "exampleMetadata": "fixture=_generated"
2614 },
2615 "stability": "external",
2616 "summary": "Properties for defining a `CfnConnection`.",
2617 "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 cfnConnectionProps: events.CfnConnectionProps = {\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};"
2618 },
2619 "fqn": "@aws-cdk/aws-events.CfnConnectionProps",
2620 "kind": "interface",
2621 "locationInModule": {
2622 "filename": "lib/events.generated.ts",
2623 "line": 503
2624 },
2625 "name": "CfnConnectionProps",
2626 "properties": [
2627 {
2628 "abstract": true,
2629 "docs": {
2630 "custom": {
2631 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-authorizationtype"
2632 },
2633 "remarks": "> OAUTH tokens are refreshed when a 401 or 407 response is returned.",
2634 "stability": "external",
2635 "summary": "The type of authorization to use for the connection."
2636 },
2637 "immutable": true,
2638 "locationInModule": {
2639 "filename": "lib/events.generated.ts",
2640 "line": 512
2641 },
2642 "name": "authorizationType",
2643 "type": {
2644 "primitive": "string"
2645 }
2646 },
2647 {
2648 "abstract": true,
2649 "docs": {
2650 "custom": {
2651 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-authparameters"
2652 },
2653 "stability": "external",
2654 "summary": "A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint."
2655 },
2656 "immutable": true,
2657 "locationInModule": {
2658 "filename": "lib/events.generated.ts",
2659 "line": 519
2660 },
2661 "name": "authParameters",
2662 "type": {
2663 "union": {
2664 "types": [
2665 {
2666 "fqn": "@aws-cdk/core.IResolvable"
2667 },
2668 {
2669 "fqn": "@aws-cdk/aws-events.CfnConnection.AuthParametersProperty"
2670 }
2671 ]
2672 }
2673 }
2674 },
2675 {
2676 "abstract": true,
2677 "docs": {
2678 "custom": {
2679 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-description"
2680 },
2681 "stability": "external",
2682 "summary": "A description for the connection to create."
2683 },
2684 "immutable": true,
2685 "locationInModule": {
2686 "filename": "lib/events.generated.ts",
2687 "line": 526
2688 },
2689 "name": "description",
2690 "optional": true,
2691 "type": {
2692 "primitive": "string"
2693 }
2694 },
2695 {
2696 "abstract": true,
2697 "docs": {
2698 "custom": {
2699 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-name"
2700 },
2701 "stability": "external",
2702 "summary": "The name for the connection to create."
2703 },
2704 "immutable": true,
2705 "locationInModule": {
2706 "filename": "lib/events.generated.ts",
2707 "line": 533
2708 },
2709 "name": "name",
2710 "optional": true,
2711 "type": {
2712 "primitive": "string"
2713 }
2714 }
2715 ],
2716 "symbolId": "lib/events.generated:CfnConnectionProps"
2717 },
2718 "@aws-cdk/aws-events.CfnEndpoint": {
2719 "assembly": "@aws-cdk/aws-events",
2720 "base": "@aws-cdk/core.CfnResource",
2721 "docs": {
2722 "custom": {
2723 "cloudformationResource": "AWS::Events::Endpoint",
2724 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html",
2725 "exampleMetadata": "fixture=_generated"
2726 },
2727 "remarks": "A global endpoint used to improve your application's availability by making it regional-fault tolerant. For more information about global endpoints, see [Making applications Regional-fault tolerant with global endpoints and event replication](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-global-endpoints.html) in the *Amazon EventBridge User Guide* .",
2728 "stability": "external",
2729 "summary": "A CloudFormation `AWS::Events::Endpoint`.",
2730 "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 cfnEndpoint = new events.CfnEndpoint(this, 'MyCfnEndpoint', {\n eventBuses: [{\n eventBusArn: 'eventBusArn',\n }],\n routingConfig: {\n failoverConfig: {\n primary: {\n healthCheck: 'healthCheck',\n },\n secondary: {\n route: 'route',\n },\n },\n },\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n replicationConfig: {\n state: 'state',\n },\n roleArn: 'roleArn',\n});"
2731 },
2732 "fqn": "@aws-cdk/aws-events.CfnEndpoint",
2733 "initializer": {
2734 "docs": {
2735 "stability": "external",
2736 "summary": "Create a new `AWS::Events::Endpoint`."
2737 },
2738 "locationInModule": {
2739 "filename": "lib/events.generated.ts",
2740 "line": 1544
2741 },
2742 "parameters": [
2743 {
2744 "docs": {
2745 "summary": "- scope in which this resource is defined."
2746 },
2747 "name": "scope",
2748 "type": {
2749 "fqn": "@aws-cdk/core.Construct"
2750 }
2751 },
2752 {
2753 "docs": {
2754 "summary": "- scoped id of the resource."
2755 },
2756 "name": "id",
2757 "type": {
2758 "primitive": "string"
2759 }
2760 },
2761 {
2762 "docs": {
2763 "summary": "- resource properties."
2764 },
2765 "name": "props",
2766 "type": {
2767 "fqn": "@aws-cdk/aws-events.CfnEndpointProps"
2768 }
2769 }
2770 ]
2771 },
2772 "interfaces": [
2773 "@aws-cdk/core.IInspectable"
2774 ],
2775 "kind": "class",
2776 "locationInModule": {
2777 "filename": "lib/events.generated.ts",
2778 "line": 1438
2779 },
2780 "methods": [
2781 {
2782 "docs": {
2783 "stability": "external",
2784 "summary": "Examines the CloudFormation resource and discloses attributes."
2785 },
2786 "locationInModule": {
2787 "filename": "lib/events.generated.ts",
2788 "line": 1568
2789 },
2790 "name": "inspect",
2791 "overrides": "@aws-cdk/core.IInspectable",
2792 "parameters": [
2793 {
2794 "docs": {
2795 "summary": "- tree inspector to collect and process attributes."
2796 },
2797 "name": "inspector",
2798 "type": {
2799 "fqn": "@aws-cdk/core.TreeInspector"
2800 }
2801 }
2802 ]
2803 },
2804 {
2805 "docs": {
2806 "stability": "external"
2807 },
2808 "locationInModule": {
2809 "filename": "lib/events.generated.ts",
2810 "line": 1584
2811 },
2812 "name": "renderProperties",
2813 "overrides": "@aws-cdk/core.CfnResource",
2814 "parameters": [
2815 {
2816 "name": "props",
2817 "type": {
2818 "collection": {
2819 "elementtype": {
2820 "primitive": "any"
2821 },
2822 "kind": "map"
2823 }
2824 }
2825 }
2826 ],
2827 "protected": true,
2828 "returns": {
2829 "type": {
2830 "collection": {
2831 "elementtype": {
2832 "primitive": "any"
2833 },
2834 "kind": "map"
2835 }
2836 }
2837 }
2838 }
2839 ],
2840 "name": "CfnEndpoint",
2841 "properties": [
2842 {
2843 "const": true,
2844 "docs": {
2845 "stability": "external",
2846 "summary": "The CloudFormation resource type name for this resource class."
2847 },
2848 "immutable": true,
2849 "locationInModule": {
2850 "filename": "lib/events.generated.ts",
2851 "line": 1442
2852 },
2853 "name": "CFN_RESOURCE_TYPE_NAME",
2854 "static": true,
2855 "type": {
2856 "primitive": "string"
2857 }
2858 },
2859 {
2860 "docs": {
2861 "custom": {
2862 "cloudformationAttribute": "Arn"
2863 },
2864 "stability": "external",
2865 "summary": "The ARN of the endpoint."
2866 },
2867 "immutable": true,
2868 "locationInModule": {
2869 "filename": "lib/events.generated.ts",
2870 "line": 1467
2871 },
2872 "name": "attrArn",
2873 "type": {
2874 "primitive": "string"
2875 }
2876 },
2877 {
2878 "docs": {
2879 "custom": {
2880 "cloudformationAttribute": "EndpointId"
2881 },
2882 "stability": "external",
2883 "summary": "The ID of the endpoint."
2884 },
2885 "immutable": true,
2886 "locationInModule": {
2887 "filename": "lib/events.generated.ts",
2888 "line": 1473
2889 },
2890 "name": "attrEndpointId",
2891 "type": {
2892 "primitive": "string"
2893 }
2894 },
2895 {
2896 "docs": {
2897 "custom": {
2898 "cloudformationAttribute": "EndpointUrl"
2899 },
2900 "stability": "external",
2901 "summary": "The URL of the endpoint."
2902 },
2903 "immutable": true,
2904 "locationInModule": {
2905 "filename": "lib/events.generated.ts",
2906 "line": 1479
2907 },
2908 "name": "attrEndpointUrl",
2909 "type": {
2910 "primitive": "string"
2911 }
2912 },
2913 {
2914 "docs": {
2915 "custom": {
2916 "cloudformationAttribute": "State"
2917 },
2918 "stability": "external",
2919 "summary": "The current state of the endpoint."
2920 },
2921 "immutable": true,
2922 "locationInModule": {
2923 "filename": "lib/events.generated.ts",
2924 "line": 1485
2925 },
2926 "name": "attrState",
2927 "type": {
2928 "primitive": "string"
2929 }
2930 },
2931 {
2932 "docs": {
2933 "custom": {
2934 "cloudformationAttribute": "StateReason"
2935 },
2936 "stability": "external",
2937 "summary": "The reason the endpoint is in its current state."
2938 },
2939 "immutable": true,
2940 "locationInModule": {
2941 "filename": "lib/events.generated.ts",
2942 "line": 1491
2943 },
2944 "name": "attrStateReason",
2945 "type": {
2946 "primitive": "string"
2947 }
2948 },
2949 {
2950 "docs": {
2951 "stability": "external"
2952 },
2953 "immutable": true,
2954 "locationInModule": {
2955 "filename": "lib/events.generated.ts",
2956 "line": 1573
2957 },
2958 "name": "cfnProperties",
2959 "overrides": "@aws-cdk/core.CfnResource",
2960 "protected": true,
2961 "type": {
2962 "collection": {
2963 "elementtype": {
2964 "primitive": "any"
2965 },
2966 "kind": "map"
2967 }
2968 }
2969 },
2970 {
2971 "docs": {
2972 "custom": {
2973 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-eventbuses"
2974 },
2975 "remarks": "*Exactly* : `2`",
2976 "stability": "external",
2977 "summary": "The event buses being used by the endpoint."
2978 },
2979 "locationInModule": {
2980 "filename": "lib/events.generated.ts",
2981 "line": 1500
2982 },
2983 "name": "eventBuses",
2984 "type": {
2985 "union": {
2986 "types": [
2987 {
2988 "fqn": "@aws-cdk/core.IResolvable"
2989 },
2990 {
2991 "collection": {
2992 "elementtype": {
2993 "union": {
2994 "types": [
2995 {
2996 "fqn": "@aws-cdk/core.IResolvable"
2997 },
2998 {
2999 "fqn": "@aws-cdk/aws-events.CfnEndpoint.EndpointEventBusProperty"
3000 }
3001 ]
3002 }
3003 },
3004 "kind": "array"
3005 }
3006 }
3007 ]
3008 }
3009 }
3010 },
3011 {
3012 "docs": {
3013 "custom": {
3014 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-routingconfig"
3015 },
3016 "stability": "external",
3017 "summary": "The routing configuration of the endpoint."
3018 },
3019 "locationInModule": {
3020 "filename": "lib/events.generated.ts",
3021 "line": 1507
3022 },
3023 "name": "routingConfig",
3024 "type": {
3025 "union": {
3026 "types": [
3027 {
3028 "fqn": "@aws-cdk/core.IResolvable"
3029 },
3030 {
3031 "fqn": "@aws-cdk/aws-events.CfnEndpoint.RoutingConfigProperty"
3032 }
3033 ]
3034 }
3035 }
3036 },
3037 {
3038 "docs": {
3039 "custom": {
3040 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-description"
3041 },
3042 "stability": "external",
3043 "summary": "A description for the endpoint."
3044 },
3045 "locationInModule": {
3046 "filename": "lib/events.generated.ts",
3047 "line": 1514
3048 },
3049 "name": "description",
3050 "optional": true,
3051 "type": {
3052 "primitive": "string"
3053 }
3054 },
3055 {
3056 "docs": {
3057 "custom": {
3058 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-name"
3059 },
3060 "stability": "external",
3061 "summary": "The name of the endpoint."
3062 },
3063 "locationInModule": {
3064 "filename": "lib/events.generated.ts",
3065 "line": 1521
3066 },
3067 "name": "name",
3068 "optional": true,
3069 "type": {
3070 "primitive": "string"
3071 }
3072 },
3073 {
3074 "docs": {
3075 "custom": {
3076 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-replicationconfig"
3077 },
3078 "remarks": "The default state is `ENABLED` which means you must supply a `RoleArn` . If you don't have a `RoleArn` or you don't want event replication enabled, set the state to `DISABLED` .",
3079 "stability": "external",
3080 "summary": "Whether event replication was enabled or disabled for this endpoint."
3081 },
3082 "locationInModule": {
3083 "filename": "lib/events.generated.ts",
3084 "line": 1528
3085 },
3086 "name": "replicationConfig",
3087 "optional": true,
3088 "type": {
3089 "union": {
3090 "types": [
3091 {
3092 "fqn": "@aws-cdk/core.IResolvable"
3093 },
3094 {
3095 "fqn": "@aws-cdk/aws-events.CfnEndpoint.ReplicationConfigProperty"
3096 }
3097 ]
3098 }
3099 }
3100 },
3101 {
3102 "docs": {
3103 "custom": {
3104 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-rolearn"
3105 },
3106 "stability": "external",
3107 "summary": "The ARN of the role used by event replication for the endpoint."
3108 },
3109 "locationInModule": {
3110 "filename": "lib/events.generated.ts",
3111 "line": 1535
3112 },
3113 "name": "roleArn",
3114 "optional": true,
3115 "type": {
3116 "primitive": "string"
3117 }
3118 }
3119 ],
3120 "symbolId": "lib/events.generated:CfnEndpoint"
3121 },
3122 "@aws-cdk/aws-events.CfnEndpoint.EndpointEventBusProperty": {
3123 "assembly": "@aws-cdk/aws-events",
3124 "datatype": true,
3125 "docs": {
3126 "custom": {
3127 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-endpointeventbus.html",
3128 "exampleMetadata": "fixture=_generated"
3129 },
3130 "stability": "external",
3131 "summary": "The event buses the endpoint is associated with.",
3132 "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 endpointEventBusProperty: events.CfnEndpoint.EndpointEventBusProperty = {\n eventBusArn: 'eventBusArn',\n};"
3133 },
3134 "fqn": "@aws-cdk/aws-events.CfnEndpoint.EndpointEventBusProperty",
3135 "kind": "interface",
3136 "locationInModule": {
3137 "filename": "lib/events.generated.ts",
3138 "line": 1598
3139 },
3140 "name": "EndpointEventBusProperty",
3141 "namespace": "CfnEndpoint",
3142 "properties": [
3143 {
3144 "abstract": true,
3145 "docs": {
3146 "custom": {
3147 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-endpointeventbus.html#cfn-events-endpoint-endpointeventbus-eventbusarn"
3148 },
3149 "stability": "external",
3150 "summary": "The ARN of the event bus the endpoint is associated with."
3151 },
3152 "immutable": true,
3153 "locationInModule": {
3154 "filename": "lib/events.generated.ts",
3155 "line": 1604
3156 },
3157 "name": "eventBusArn",
3158 "type": {
3159 "primitive": "string"
3160 }
3161 }
3162 ],
3163 "symbolId": "lib/events.generated:CfnEndpoint.EndpointEventBusProperty"
3164 },
3165 "@aws-cdk/aws-events.CfnEndpoint.FailoverConfigProperty": {
3166 "assembly": "@aws-cdk/aws-events",
3167 "datatype": true,
3168 "docs": {
3169 "custom": {
3170 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-failoverconfig.html",
3171 "exampleMetadata": "fixture=_generated"
3172 },
3173 "remarks": "This includes what triggers failover and what happens when it's triggered.",
3174 "stability": "external",
3175 "summary": "The failover configuration for an endpoint.",
3176 "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 failoverConfigProperty: events.CfnEndpoint.FailoverConfigProperty = {\n primary: {\n healthCheck: 'healthCheck',\n },\n secondary: {\n route: 'route',\n },\n};"
3177 },
3178 "fqn": "@aws-cdk/aws-events.CfnEndpoint.FailoverConfigProperty",
3179 "kind": "interface",
3180 "locationInModule": {
3181 "filename": "lib/events.generated.ts",
3182 "line": 1666
3183 },
3184 "name": "FailoverConfigProperty",
3185 "namespace": "CfnEndpoint",
3186 "properties": [
3187 {
3188 "abstract": true,
3189 "docs": {
3190 "custom": {
3191 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-failoverconfig.html#cfn-events-endpoint-failoverconfig-primary"
3192 },
3193 "stability": "external",
3194 "summary": "The main Region of the endpoint."
3195 },
3196 "immutable": true,
3197 "locationInModule": {
3198 "filename": "lib/events.generated.ts",
3199 "line": 1672
3200 },
3201 "name": "primary",
3202 "type": {
3203 "union": {
3204 "types": [
3205 {
3206 "fqn": "@aws-cdk/core.IResolvable"
3207 },
3208 {
3209 "fqn": "@aws-cdk/aws-events.CfnEndpoint.PrimaryProperty"
3210 }
3211 ]
3212 }
3213 }
3214 },
3215 {
3216 "abstract": true,
3217 "docs": {
3218 "custom": {
3219 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-failoverconfig.html#cfn-events-endpoint-failoverconfig-secondary"
3220 },
3221 "stability": "external",
3222 "summary": "The Region that events are routed to when failover is triggered or event replication is enabled."
3223 },
3224 "immutable": true,
3225 "locationInModule": {
3226 "filename": "lib/events.generated.ts",
3227 "line": 1678
3228 },
3229 "name": "secondary",
3230 "type": {
3231 "union": {
3232 "types": [
3233 {
3234 "fqn": "@aws-cdk/core.IResolvable"
3235 },
3236 {
3237 "fqn": "@aws-cdk/aws-events.CfnEndpoint.SecondaryProperty"
3238 }
3239 ]
3240 }
3241 }
3242 }
3243 ],
3244 "symbolId": "lib/events.generated:CfnEndpoint.FailoverConfigProperty"
3245 },
3246 "@aws-cdk/aws-events.CfnEndpoint.PrimaryProperty": {
3247 "assembly": "@aws-cdk/aws-events",
3248 "datatype": true,
3249 "docs": {
3250 "custom": {
3251 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-primary.html",
3252 "exampleMetadata": "fixture=_generated"
3253 },
3254 "stability": "external",
3255 "summary": "The primary Region of the endpoint.",
3256 "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 primaryProperty: events.CfnEndpoint.PrimaryProperty = {\n healthCheck: 'healthCheck',\n};"
3257 },
3258 "fqn": "@aws-cdk/aws-events.CfnEndpoint.PrimaryProperty",
3259 "kind": "interface",
3260 "locationInModule": {
3261 "filename": "lib/events.generated.ts",
3262 "line": 1744
3263 },
3264 "name": "PrimaryProperty",
3265 "namespace": "CfnEndpoint",
3266 "properties": [
3267 {
3268 "abstract": true,
3269 "docs": {
3270 "custom": {
3271 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-primary.html#cfn-events-endpoint-primary-healthcheck"
3272 },
3273 "stability": "external",
3274 "summary": "The ARN of the health check used by the endpoint to determine whether failover is triggered."
3275 },
3276 "immutable": true,
3277 "locationInModule": {
3278 "filename": "lib/events.generated.ts",
3279 "line": 1750
3280 },
3281 "name": "healthCheck",
3282 "type": {
3283 "primitive": "string"
3284 }
3285 }
3286 ],
3287 "symbolId": "lib/events.generated:CfnEndpoint.PrimaryProperty"
3288 },
3289 "@aws-cdk/aws-events.CfnEndpoint.ReplicationConfigProperty": {
3290 "assembly": "@aws-cdk/aws-events",
3291 "datatype": true,
3292 "docs": {
3293 "custom": {
3294 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-replicationconfig.html",
3295 "exampleMetadata": "fixture=_generated"
3296 },
3297 "stability": "external",
3298 "summary": "Endpoints can replicate all events to the secondary Region.",
3299 "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 replicationConfigProperty: events.CfnEndpoint.ReplicationConfigProperty = {\n state: 'state',\n};"
3300 },
3301 "fqn": "@aws-cdk/aws-events.CfnEndpoint.ReplicationConfigProperty",
3302 "kind": "interface",
3303 "locationInModule": {
3304 "filename": "lib/events.generated.ts",
3305 "line": 1812
3306 },
3307 "name": "ReplicationConfigProperty",
3308 "namespace": "CfnEndpoint",
3309 "properties": [
3310 {
3311 "abstract": true,
3312 "docs": {
3313 "custom": {
3314 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-replicationconfig.html#cfn-events-endpoint-replicationconfig-state"
3315 },
3316 "stability": "external",
3317 "summary": "The state of event replication."
3318 },
3319 "immutable": true,
3320 "locationInModule": {
3321 "filename": "lib/events.generated.ts",
3322 "line": 1818
3323 },
3324 "name": "state",
3325 "type": {
3326 "primitive": "string"
3327 }
3328 }
3329 ],
3330 "symbolId": "lib/events.generated:CfnEndpoint.ReplicationConfigProperty"
3331 },
3332 "@aws-cdk/aws-events.CfnEndpoint.RoutingConfigProperty": {
3333 "assembly": "@aws-cdk/aws-events",
3334 "datatype": true,
3335 "docs": {
3336 "custom": {
3337 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-routingconfig.html",
3338 "exampleMetadata": "fixture=_generated"
3339 },
3340 "stability": "external",
3341 "summary": "The routing configuration of the endpoint.",
3342 "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 routingConfigProperty: events.CfnEndpoint.RoutingConfigProperty = {\n failoverConfig: {\n primary: {\n healthCheck: 'healthCheck',\n },\n secondary: {\n route: 'route',\n },\n },\n};"
3343 },
3344 "fqn": "@aws-cdk/aws-events.CfnEndpoint.RoutingConfigProperty",
3345 "kind": "interface",
3346 "locationInModule": {
3347 "filename": "lib/events.generated.ts",
3348 "line": 1880
3349 },
3350 "name": "RoutingConfigProperty",
3351 "namespace": "CfnEndpoint",
3352 "properties": [
3353 {
3354 "abstract": true,
3355 "docs": {
3356 "custom": {
3357 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-routingconfig.html#cfn-events-endpoint-routingconfig-failoverconfig"
3358 },
3359 "remarks": "This includes what triggers failover and what happens when it's triggered.",
3360 "stability": "external",
3361 "summary": "The failover configuration for an endpoint."
3362 },
3363 "immutable": true,
3364 "locationInModule": {
3365 "filename": "lib/events.generated.ts",
3366 "line": 1886
3367 },
3368 "name": "failoverConfig",
3369 "type": {
3370 "union": {
3371 "types": [
3372 {
3373 "fqn": "@aws-cdk/core.IResolvable"
3374 },
3375 {
3376 "fqn": "@aws-cdk/aws-events.CfnEndpoint.FailoverConfigProperty"
3377 }
3378 ]
3379 }
3380 }
3381 }
3382 ],
3383 "symbolId": "lib/events.generated:CfnEndpoint.RoutingConfigProperty"
3384 },
3385 "@aws-cdk/aws-events.CfnEndpoint.SecondaryProperty": {
3386 "assembly": "@aws-cdk/aws-events",
3387 "datatype": true,
3388 "docs": {
3389 "custom": {
3390 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-secondary.html",
3391 "exampleMetadata": "fixture=_generated"
3392 },
3393 "stability": "external",
3394 "summary": "The secondary Region that processes events when failover is triggered or replication is enabled.",
3395 "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 secondaryProperty: events.CfnEndpoint.SecondaryProperty = {\n route: 'route',\n};"
3396 },
3397 "fqn": "@aws-cdk/aws-events.CfnEndpoint.SecondaryProperty",
3398 "kind": "interface",
3399 "locationInModule": {
3400 "filename": "lib/events.generated.ts",
3401 "line": 1948
3402 },
3403 "name": "SecondaryProperty",
3404 "namespace": "CfnEndpoint",
3405 "properties": [
3406 {
3407 "abstract": true,
3408 "docs": {
3409 "custom": {
3410 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-secondary.html#cfn-events-endpoint-secondary-route"
3411 },
3412 "stability": "external",
3413 "summary": "Defines the secondary Region."
3414 },
3415 "immutable": true,
3416 "locationInModule": {
3417 "filename": "lib/events.generated.ts",
3418 "line": 1954
3419 },
3420 "name": "route",
3421 "type": {
3422 "primitive": "string"
3423 }
3424 }
3425 ],
3426 "symbolId": "lib/events.generated:CfnEndpoint.SecondaryProperty"
3427 },
3428 "@aws-cdk/aws-events.CfnEndpointProps": {
3429 "assembly": "@aws-cdk/aws-events",
3430 "datatype": true,
3431 "docs": {
3432 "custom": {
3433 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html",
3434 "exampleMetadata": "fixture=_generated"
3435 },
3436 "stability": "external",
3437 "summary": "Properties for defining a `CfnEndpoint`.",
3438 "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 cfnEndpointProps: events.CfnEndpointProps = {\n eventBuses: [{\n eventBusArn: 'eventBusArn',\n }],\n routingConfig: {\n failoverConfig: {\n primary: {\n healthCheck: 'healthCheck',\n },\n secondary: {\n route: 'route',\n },\n },\n },\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n replicationConfig: {\n state: 'state',\n },\n roleArn: 'roleArn',\n};"
3439 },
3440 "fqn": "@aws-cdk/aws-events.CfnEndpointProps",
3441 "kind": "interface",
3442 "locationInModule": {
3443 "filename": "lib/events.generated.ts",
3444 "line": 1319
3445 },
3446 "name": "CfnEndpointProps",
3447 "properties": [
3448 {
3449 "abstract": true,
3450 "docs": {
3451 "custom": {
3452 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-eventbuses"
3453 },
3454 "remarks": "*Exactly* : `2`",
3455 "stability": "external",
3456 "summary": "The event buses being used by the endpoint."
3457 },
3458 "immutable": true,
3459 "locationInModule": {
3460 "filename": "lib/events.generated.ts",
3461 "line": 1328
3462 },
3463 "name": "eventBuses",
3464 "type": {
3465 "union": {
3466 "types": [
3467 {
3468 "fqn": "@aws-cdk/core.IResolvable"
3469 },
3470 {
3471 "collection": {
3472 "elementtype": {
3473 "union": {
3474 "types": [
3475 {
3476 "fqn": "@aws-cdk/core.IResolvable"
3477 },
3478 {
3479 "fqn": "@aws-cdk/aws-events.CfnEndpoint.EndpointEventBusProperty"
3480 }
3481 ]
3482 }
3483 },
3484 "kind": "array"
3485 }
3486 }
3487 ]
3488 }
3489 }
3490 },
3491 {
3492 "abstract": true,
3493 "docs": {
3494 "custom": {
3495 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-routingconfig"
3496 },
3497 "stability": "external",
3498 "summary": "The routing configuration of the endpoint."
3499 },
3500 "immutable": true,
3501 "locationInModule": {
3502 "filename": "lib/events.generated.ts",
3503 "line": 1335
3504 },
3505 "name": "routingConfig",
3506 "type": {
3507 "union": {
3508 "types": [
3509 {
3510 "fqn": "@aws-cdk/core.IResolvable"
3511 },
3512 {
3513 "fqn": "@aws-cdk/aws-events.CfnEndpoint.RoutingConfigProperty"
3514 }
3515 ]
3516 }
3517 }
3518 },
3519 {
3520 "abstract": true,
3521 "docs": {
3522 "custom": {
3523 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-description"
3524 },
3525 "stability": "external",
3526 "summary": "A description for the endpoint."
3527 },
3528 "immutable": true,
3529 "locationInModule": {
3530 "filename": "lib/events.generated.ts",
3531 "line": 1342
3532 },
3533 "name": "description",
3534 "optional": true,
3535 "type": {
3536 "primitive": "string"
3537 }
3538 },
3539 {
3540 "abstract": true,
3541 "docs": {
3542 "custom": {
3543 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-name"
3544 },
3545 "stability": "external",
3546 "summary": "The name of the endpoint."
3547 },
3548 "immutable": true,
3549 "locationInModule": {
3550 "filename": "lib/events.generated.ts",
3551 "line": 1349
3552 },
3553 "name": "name",
3554 "optional": true,
3555 "type": {
3556 "primitive": "string"
3557 }
3558 },
3559 {
3560 "abstract": true,
3561 "docs": {
3562 "custom": {
3563 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-replicationconfig"
3564 },
3565 "remarks": "The default state is `ENABLED` which means you must supply a `RoleArn` . If you don't have a `RoleArn` or you don't want event replication enabled, set the state to `DISABLED` .",
3566 "stability": "external",
3567 "summary": "Whether event replication was enabled or disabled for this endpoint."
3568 },
3569 "immutable": true,
3570 "locationInModule": {
3571 "filename": "lib/events.generated.ts",
3572 "line": 1356
3573 },
3574 "name": "replicationConfig",
3575 "optional": true,
3576 "type": {
3577 "union": {
3578 "types": [
3579 {
3580 "fqn": "@aws-cdk/core.IResolvable"
3581 },
3582 {
3583 "fqn": "@aws-cdk/aws-events.CfnEndpoint.ReplicationConfigProperty"
3584 }
3585 ]
3586 }
3587 }
3588 },
3589 {
3590 "abstract": true,
3591 "docs": {
3592 "custom": {
3593 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-rolearn"
3594 },
3595 "stability": "external",
3596 "summary": "The ARN of the role used by event replication for the endpoint."
3597 },
3598 "immutable": true,
3599 "locationInModule": {
3600 "filename": "lib/events.generated.ts",
3601 "line": 1363
3602 },
3603 "name": "roleArn",
3604 "optional": true,
3605 "type": {
3606 "primitive": "string"
3607 }
3608 }
3609 ],
3610 "symbolId": "lib/events.generated:CfnEndpointProps"
3611 },
3612 "@aws-cdk/aws-events.CfnEventBus": {
3613 "assembly": "@aws-cdk/aws-events",
3614 "base": "@aws-cdk/core.CfnResource",
3615 "docs": {
3616 "custom": {
3617 "cloudformationResource": "AWS::Events::EventBus",
3618 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html",
3619 "exampleMetadata": "fixture=_generated"
3620 },
3621 "remarks": "Creates a new event bus within your account. This can be a custom event bus which you can use to receive events from your custom applications and services, or it can be a partner event bus which can be matched to a partner event source.",
3622 "stability": "external",
3623 "summary": "A CloudFormation `AWS::Events::EventBus`.",
3624 "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 cfnEventBus = new events.CfnEventBus(this, 'MyCfnEventBus', {\n name: 'name',\n\n // the properties below are optional\n eventSourceName: 'eventSourceName',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});"
3625 },
3626 "fqn": "@aws-cdk/aws-events.CfnEventBus",
3627 "initializer": {
3628 "docs": {
3629 "stability": "external",
3630 "summary": "Create a new `AWS::Events::EventBus`."
3631 },
3632 "locationInModule": {
3633 "filename": "lib/events.generated.ts",
3634 "line": 2180
3635 },
3636 "parameters": [
3637 {
3638 "docs": {
3639 "summary": "- scope in which this resource is defined."
3640 },
3641 "name": "scope",
3642 "type": {
3643 "fqn": "@aws-cdk/core.Construct"
3644 }
3645 },
3646 {
3647 "docs": {
3648 "summary": "- scoped id of the resource."
3649 },
3650 "name": "id",
3651 "type": {
3652 "primitive": "string"
3653 }
3654 },
3655 {
3656 "docs": {
3657 "summary": "- resource properties."
3658 },
3659 "name": "props",
3660 "type": {
3661 "fqn": "@aws-cdk/aws-events.CfnEventBusProps"
3662 }
3663 }
3664 ]
3665 },
3666 "interfaces": [
3667 "@aws-cdk/core.IInspectable"
3668 ],
3669 "kind": "class",
3670 "locationInModule": {
3671 "filename": "lib/events.generated.ts",
3672 "line": 2105
3673 },
3674 "methods": [
3675 {
3676 "docs": {
3677 "stability": "external",
3678 "summary": "Examines the CloudFormation resource and discloses attributes."
3679 },
3680 "locationInModule": {
3681 "filename": "lib/events.generated.ts",
3682 "line": 2198
3683 },
3684 "name": "inspect",
3685 "overrides": "@aws-cdk/core.IInspectable",
3686 "parameters": [
3687 {
3688 "docs": {
3689 "summary": "- tree inspector to collect and process attributes."
3690 },
3691 "name": "inspector",
3692 "type": {
3693 "fqn": "@aws-cdk/core.TreeInspector"
3694 }
3695 }
3696 ]
3697 },
3698 {
3699 "docs": {
3700 "stability": "external"
3701 },
3702 "locationInModule": {
3703 "filename": "lib/events.generated.ts",
3704 "line": 2211
3705 },
3706 "name": "renderProperties",
3707 "overrides": "@aws-cdk/core.CfnResource",
3708 "parameters": [
3709 {
3710 "name": "props",
3711 "type": {
3712 "collection": {
3713 "elementtype": {
3714 "primitive": "any"
3715 },
3716 "kind": "map"
3717 }
3718 }
3719 }
3720 ],
3721 "protected": true,
3722 "returns": {
3723 "type": {
3724 "collection": {
3725 "elementtype": {
3726 "primitive": "any"
3727 },
3728 "kind": "map"
3729 }
3730 }
3731 }
3732 }
3733 ],
3734 "name": "CfnEventBus",
3735 "properties": [
3736 {
3737 "const": true,
3738 "docs": {
3739 "stability": "external",
3740 "summary": "The CloudFormation resource type name for this resource class."
3741 },
3742 "immutable": true,
3743 "locationInModule": {
3744 "filename": "lib/events.generated.ts",
3745 "line": 2109
3746 },
3747 "name": "CFN_RESOURCE_TYPE_NAME",
3748 "static": true,
3749 "type": {
3750 "primitive": "string"
3751 }
3752 },
3753 {
3754 "docs": {
3755 "custom": {
3756 "cloudformationAttribute": "Arn"
3757 },
3758 "stability": "external",
3759 "summary": "The ARN of the event bus, such as `arn:aws:events:us-east-2:123456789012:event-bus/aws.partner/PartnerName/acct1/repo1` ."
3760 },
3761 "immutable": true,
3762 "locationInModule": {
3763 "filename": "lib/events.generated.ts",
3764 "line": 2134
3765 },
3766 "name": "attrArn",
3767 "type": {
3768 "primitive": "string"
3769 }
3770 },
3771 {
3772 "docs": {
3773 "custom": {
3774 "cloudformationAttribute": "Name"
3775 },
3776 "stability": "external",
3777 "summary": "The name of the event bus, such as `PartnerName/acct1/repo1` ."
3778 },
3779 "immutable": true,
3780 "locationInModule": {
3781 "filename": "lib/events.generated.ts",
3782 "line": 2140
3783 },
3784 "name": "attrName",
3785 "type": {
3786 "primitive": "string"
3787 }
3788 },
3789 {
3790 "docs": {
3791 "custom": {
3792 "cloudformationAttribute": "Policy"
3793 },
3794 "stability": "external",
3795 "summary": "The policy for the event bus in JSON form."
3796 },
3797 "immutable": true,
3798 "locationInModule": {
3799 "filename": "lib/events.generated.ts",
3800 "line": 2146
3801 },
3802 "name": "attrPolicy",
3803 "type": {
3804 "primitive": "string"
3805 }
3806 },
3807 {
3808 "docs": {
3809 "stability": "external"
3810 },
3811 "immutable": true,
3812 "locationInModule": {
3813 "filename": "lib/events.generated.ts",
3814 "line": 2203
3815 },
3816 "name": "cfnProperties",
3817 "overrides": "@aws-cdk/core.CfnResource",
3818 "protected": true,
3819 "type": {
3820 "collection": {
3821 "elementtype": {
3822 "primitive": "any"
3823 },
3824 "kind": "map"
3825 }
3826 }
3827 },
3828 {
3829 "docs": {
3830 "custom": {
3831 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-name"
3832 },
3833 "remarks": "Custom event bus names can't contain the `/` character, but you can use the `/` character in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the partner event source that this event bus is matched to.\n\nYou can't use the name `default` for a custom event bus, as this name is already used for your account's default event bus.",
3834 "stability": "external",
3835 "summary": "The name of the new event bus."
3836 },
3837 "locationInModule": {
3838 "filename": "lib/events.generated.ts",
3839 "line": 2157
3840 },
3841 "name": "name",
3842 "type": {
3843 "primitive": "string"
3844 }
3845 },
3846 {
3847 "docs": {
3848 "custom": {
3849 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-eventsourcename"
3850 },
3851 "stability": "external",
3852 "summary": "If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with."
3853 },
3854 "locationInModule": {
3855 "filename": "lib/events.generated.ts",
3856 "line": 2164
3857 },
3858 "name": "eventSourceName",
3859 "optional": true,
3860 "type": {
3861 "primitive": "string"
3862 }
3863 },
3864 {
3865 "docs": {
3866 "custom": {
3867 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-tags"
3868 },
3869 "stability": "external",
3870 "summary": "Tags to associate with the event bus."
3871 },
3872 "locationInModule": {
3873 "filename": "lib/events.generated.ts",
3874 "line": 2171
3875 },
3876 "name": "tags",
3877 "optional": true,
3878 "type": {
3879 "collection": {
3880 "elementtype": {
3881 "fqn": "@aws-cdk/aws-events.CfnEventBus.TagEntryProperty"
3882 },
3883 "kind": "array"
3884 }
3885 }
3886 }
3887 ],
3888 "symbolId": "lib/events.generated:CfnEventBus"
3889 },
3890 "@aws-cdk/aws-events.CfnEventBus.TagEntryProperty": {
3891 "assembly": "@aws-cdk/aws-events",
3892 "datatype": true,
3893 "docs": {
3894 "custom": {
3895 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbus-tagentry.html",
3896 "exampleMetadata": "fixture=_generated"
3897 },
3898 "remarks": "In EventBridge, rules and event buses support tagging.",
3899 "stability": "external",
3900 "summary": "A key-value pair associated with an AWS resource.",
3901 "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 tagEntryProperty: events.CfnEventBus.TagEntryProperty = {\n key: 'key',\n value: 'value',\n};"
3902 },
3903 "fqn": "@aws-cdk/aws-events.CfnEventBus.TagEntryProperty",
3904 "kind": "interface",
3905 "locationInModule": {
3906 "filename": "lib/events.generated.ts",
3907 "line": 2225
3908 },
3909 "name": "TagEntryProperty",
3910 "namespace": "CfnEventBus",
3911 "properties": [
3912 {
3913 "abstract": true,
3914 "docs": {
3915 "custom": {
3916 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbus-tagentry.html#cfn-events-eventbus-tagentry-key"
3917 },
3918 "remarks": "The combination of tag keys and values can help you organize and categorize your resources.",
3919 "stability": "external",
3920 "summary": "A string you can use to assign a value."
3921 },
3922 "immutable": true,
3923 "locationInModule": {
3924 "filename": "lib/events.generated.ts",
3925 "line": 2231
3926 },
3927 "name": "key",
3928 "type": {
3929 "primitive": "string"
3930 }
3931 },
3932 {
3933 "abstract": true,
3934 "docs": {
3935 "custom": {
3936 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbus-tagentry.html#cfn-events-eventbus-tagentry-value"
3937 },
3938 "stability": "external",
3939 "summary": "The value for the specified tag key."
3940 },
3941 "immutable": true,
3942 "locationInModule": {
3943 "filename": "lib/events.generated.ts",
3944 "line": 2237
3945 },
3946 "name": "value",
3947 "type": {
3948 "primitive": "string"
3949 }
3950 }
3951 ],
3952 "symbolId": "lib/events.generated:CfnEventBus.TagEntryProperty"
3953 },
3954 "@aws-cdk/aws-events.CfnEventBusPolicy": {
3955 "assembly": "@aws-cdk/aws-events",
3956 "base": "@aws-cdk/core.CfnResource",
3957 "docs": {
3958 "custom": {
3959 "cloudformationResource": "AWS::Events::EventBusPolicy",
3960 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html",
3961 "exampleMetadata": "fixture=_generated"
3962 },
3963 "remarks": "Running `PutPermission` permits the specified AWS account or AWS organization to put events to the specified *event bus* . Amazon EventBridge (CloudWatch Events) rules in your account are triggered by these events arriving to an event bus in your account.\n\nFor another account to send events to your account, that external account must have an EventBridge rule with your account's event bus as a target.\n\nTo enable multiple AWS accounts to put events to your event bus, run `PutPermission` once for each of these accounts. Or, if all the accounts are members of the same AWS organization, you can run `PutPermission` once specifying `Principal` as \"*\" and specifying the AWS organization ID in `Condition` , to grant permissions to all accounts in that organization.\n\nIf you grant permissions using an organization, then accounts in that organization must specify a `RoleArn` with proper permissions when they use `PutTarget` to add your account's event bus as a target. For more information, see [Sending and Receiving Events Between AWS Accounts](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html) in the *Amazon EventBridge User Guide* .\n\nThe permission policy on the event bus cannot exceed 10 KB in size.",
3964 "stability": "external",
3965 "summary": "A CloudFormation `AWS::Events::EventBusPolicy`.",
3966 "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 statement: any;\nconst cfnEventBusPolicy = new events.CfnEventBusPolicy(this, 'MyCfnEventBusPolicy', {\n statementId: 'statementId',\n\n // the properties below are optional\n action: 'action',\n condition: {\n key: 'key',\n type: 'type',\n value: 'value',\n },\n eventBusName: 'eventBusName',\n principal: 'principal',\n statement: statement,\n});"
3967 },
3968 "fqn": "@aws-cdk/aws-events.CfnEventBusPolicy",
3969 "initializer": {
3970 "docs": {
3971 "stability": "external",
3972 "summary": "Create a new `AWS::Events::EventBusPolicy`."
3973 },
3974 "locationInModule": {
3975 "filename": "lib/events.generated.ts",
3976 "line": 2516
3977 },
3978 "parameters": [
3979 {
3980 "docs": {
3981 "summary": "- scope in which this resource is defined."
3982 },
3983 "name": "scope",
3984 "type": {
3985 "fqn": "@aws-cdk/core.Construct"
3986 }
3987 },
3988 {
3989 "docs": {
3990 "summary": "- scoped id of the resource."
3991 },
3992 "name": "id",
3993 "type": {
3994 "primitive": "string"
3995 }
3996 },
3997 {
3998 "docs": {
3999 "summary": "- resource properties."
4000 },
4001 "name": "props",
4002 "type": {
4003 "fqn": "@aws-cdk/aws-events.CfnEventBusPolicyProps"
4004 }
4005 }
4006 ]
4007 },
4008 "interfaces": [
4009 "@aws-cdk/core.IInspectable"
4010 ],
4011 "kind": "class",
4012 "locationInModule": {
4013 "filename": "lib/events.generated.ts",
4014 "line": 2434
4015 },
4016 "methods": [
4017 {
4018 "docs": {
4019 "stability": "external",
4020 "summary": "Examines the CloudFormation resource and discloses attributes."
4021 },
4022 "locationInModule": {
4023 "filename": "lib/events.generated.ts",
4024 "line": 2534
4025 },
4026 "name": "inspect",
4027 "overrides": "@aws-cdk/core.IInspectable",
4028 "parameters": [
4029 {
4030 "docs": {
4031 "summary": "- tree inspector to collect and process attributes."
4032 },
4033 "name": "inspector",
4034 "type": {
4035 "fqn": "@aws-cdk/core.TreeInspector"
4036 }
4037 }
4038 ]
4039 },
4040 {
4041 "docs": {
4042 "stability": "external"
4043 },
4044 "locationInModule": {
4045 "filename": "lib/events.generated.ts",
4046 "line": 2550
4047 },
4048 "name": "renderProperties",
4049 "overrides": "@aws-cdk/core.CfnResource",
4050 "parameters": [
4051 {
4052 "name": "props",
4053 "type": {
4054 "collection": {
4055 "elementtype": {
4056 "primitive": "any"
4057 },
4058 "kind": "map"
4059 }
4060 }
4061 }
4062 ],
4063 "protected": true,
4064 "returns": {
4065 "type": {
4066 "collection": {
4067 "elementtype": {
4068 "primitive": "any"
4069 },
4070 "kind": "map"
4071 }
4072 }
4073 }
4074 }
4075 ],
4076 "name": "CfnEventBusPolicy",
4077 "properties": [
4078 {
4079 "const": true,
4080 "docs": {
4081 "stability": "external",
4082 "summary": "The CloudFormation resource type name for this resource class."
4083 },
4084 "immutable": true,
4085 "locationInModule": {
4086 "filename": "lib/events.generated.ts",
4087 "line": 2438
4088 },
4089 "name": "CFN_RESOURCE_TYPE_NAME",
4090 "static": true,
4091 "type": {
4092 "primitive": "string"
4093 }
4094 },
4095 {
4096 "docs": {
4097 "stability": "external"
4098 },
4099 "immutable": true,
4100 "locationInModule": {
4101 "filename": "lib/events.generated.ts",
4102 "line": 2539
4103 },
4104 "name": "cfnProperties",
4105 "overrides": "@aws-cdk/core.CfnResource",
4106 "protected": true,
4107 "type": {
4108 "collection": {
4109 "elementtype": {
4110 "primitive": "any"
4111 },
4112 "kind": "map"
4113 }
4114 }
4115 },
4116 {
4117 "docs": {
4118 "custom": {
4119 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-statement"
4120 },
4121 "remarks": "You can include a `Policy` parameter in the request instead of using the `StatementId` , `Action` , `Principal` , or `Condition` parameters.",
4122 "stability": "external",
4123 "summary": "A JSON string that describes the permission policy statement."
4124 },
4125 "locationInModule": {
4126 "filename": "lib/events.generated.ts",
4127 "line": 2507
4128 },
4129 "name": "statement",
4130 "type": {
4131 "primitive": "any"
4132 }
4133 },
4134 {
4135 "docs": {
4136 "custom": {
4137 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-statementid"
4138 },
4139 "remarks": "If you later want to revoke the permission for this external account, specify this `StatementId` when you run [RemovePermission](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_RemovePermission.html) .\n\n> Each `StatementId` must be unique.",
4140 "stability": "external",
4141 "summary": "An identifier string for the external account that you are granting permissions to."
4142 },
4143 "locationInModule": {
4144 "filename": "lib/events.generated.ts",
4145 "line": 2466
4146 },
4147 "name": "statementId",
4148 "type": {
4149 "primitive": "string"
4150 }
4151 },
4152 {
4153 "docs": {
4154 "custom": {
4155 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-action"
4156 },
4157 "stability": "external",
4158 "summary": "The action that you are enabling the other account to perform."
4159 },
4160 "locationInModule": {
4161 "filename": "lib/events.generated.ts",
4162 "line": 2473
4163 },
4164 "name": "action",
4165 "optional": true,
4166 "type": {
4167 "primitive": "string"
4168 }
4169 },
4170 {
4171 "docs": {
4172 "custom": {
4173 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-condition"
4174 },
4175 "remarks": "For more information about AWS Organizations, see [What Is AWS Organizations](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html) in the *AWS Organizations User Guide* .\n\nIf you specify `Condition` with an AWS organization ID, and specify \"*\" as the value for `Principal` , you grant permission to all the accounts in the named organization.\n\nThe `Condition` is a JSON string which must contain `Type` , `Key` , and `Value` fields.",
4176 "stability": "external",
4177 "summary": "This parameter enables you to limit the permission to accounts that fulfill a certain condition, such as being a member of a certain AWS organization."
4178 },
4179 "locationInModule": {
4180 "filename": "lib/events.generated.ts",
4181 "line": 2484
4182 },
4183 "name": "condition",
4184 "optional": true,
4185 "type": {
4186 "union": {
4187 "types": [
4188 {
4189 "fqn": "@aws-cdk/core.IResolvable"
4190 },
4191 {
4192 "fqn": "@aws-cdk/aws-events.CfnEventBusPolicy.ConditionProperty"
4193 }
4194 ]
4195 }
4196 }
4197 },
4198 {
4199 "docs": {
4200 "custom": {
4201 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-eventbusname"
4202 },
4203 "remarks": "If you omit this, the default event bus is used.",
4204 "stability": "external",
4205 "summary": "The name of the event bus associated with the rule."
4206 },
4207 "locationInModule": {
4208 "filename": "lib/events.generated.ts",
4209 "line": 2491
4210 },
4211 "name": "eventBusName",
4212 "optional": true,
4213 "type": {
4214 "primitive": "string"
4215 }
4216 },
4217 {
4218 "docs": {
4219 "custom": {
4220 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-principal"
4221 },
4222 "remarks": "Specify \"*\" to permit any account to put events to your default event bus.\n\nIf you specify \"*\" without specifying `Condition` , avoid creating rules that may match undesirable events. To create more secure rules, make sure that the event pattern for each rule contains an `account` field with a specific account ID from which to receive events. Rules with an account field do not match any events sent from other accounts.",
4223 "stability": "external",
4224 "summary": "The 12-digit AWS account ID that you are permitting to put events to your default event bus."
4225 },
4226 "locationInModule": {
4227 "filename": "lib/events.generated.ts",
4228 "line": 2500
4229 },
4230 "name": "principal",
4231 "optional": true,
4232 "type": {
4233 "primitive": "string"
4234 }
4235 }
4236 ],
4237 "symbolId": "lib/events.generated:CfnEventBusPolicy"
4238 },
4239 "@aws-cdk/aws-events.CfnEventBusPolicy.ConditionProperty": {
4240 "assembly": "@aws-cdk/aws-events",
4241 "datatype": true,
4242 "docs": {
4243 "custom": {
4244 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbuspolicy-condition.html",
4245 "exampleMetadata": "fixture=_generated"
4246 },
4247 "remarks": "Currently, the only supported condition is membership in a certain AWS organization. The string must contain `Type` , `Key` , and `Value` fields. The `Value` field specifies the ID of the AWS organization. Following is an example value for `Condition` :\n\n`'{\"Type\" : \"StringEquals\", \"Key\": \"aws:PrincipalOrgID\", \"Value\": \"o-1234567890\"}'`",
4248 "stability": "external",
4249 "summary": "A JSON string which you can use to limit the event bus permissions you are granting to only accounts that fulfill the condition.",
4250 "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 conditionProperty: events.CfnEventBusPolicy.ConditionProperty = {\n key: 'key',\n type: 'type',\n value: 'value',\n};"
4251 },
4252 "fqn": "@aws-cdk/aws-events.CfnEventBusPolicy.ConditionProperty",
4253 "kind": "interface",
4254 "locationInModule": {
4255 "filename": "lib/events.generated.ts",
4256 "line": 2566
4257 },
4258 "name": "ConditionProperty",
4259 "namespace": "CfnEventBusPolicy",
4260 "properties": [
4261 {
4262 "abstract": true,
4263 "docs": {
4264 "custom": {
4265 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbuspolicy-condition.html#cfn-events-eventbuspolicy-condition-key"
4266 },
4267 "remarks": "Currently the only supported key is `aws:PrincipalOrgID` .",
4268 "stability": "external",
4269 "summary": "Specifies the key for the condition."
4270 },
4271 "immutable": true,
4272 "locationInModule": {
4273 "filename": "lib/events.generated.ts",
4274 "line": 2572
4275 },
4276 "name": "key",
4277 "optional": true,
4278 "type": {
4279 "primitive": "string"
4280 }
4281 },
4282 {
4283 "abstract": true,
4284 "docs": {
4285 "custom": {
4286 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbuspolicy-condition.html#cfn-events-eventbuspolicy-condition-type"
4287 },
4288 "remarks": "Currently the only supported value is `StringEquals` .",
4289 "stability": "external",
4290 "summary": "Specifies the type of condition."
4291 },
4292 "immutable": true,
4293 "locationInModule": {
4294 "filename": "lib/events.generated.ts",
4295 "line": 2578
4296 },
4297 "name": "type",
4298 "optional": true,
4299 "type": {
4300 "primitive": "string"
4301 }
4302 },
4303 {
4304 "abstract": true,
4305 "docs": {
4306 "custom": {
4307 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbuspolicy-condition.html#cfn-events-eventbuspolicy-condition-value"
4308 },
4309 "remarks": "Currently, this must be the ID of the organization.",
4310 "stability": "external",
4311 "summary": "Specifies the value for the key."
4312 },
4313 "immutable": true,
4314 "locationInModule": {
4315 "filename": "lib/events.generated.ts",
4316 "line": 2584
4317 },
4318 "name": "value",
4319 "optional": true,
4320 "type": {
4321 "primitive": "string"
4322 }
4323 }
4324 ],
4325 "symbolId": "lib/events.generated:CfnEventBusPolicy.ConditionProperty"
4326 },
4327 "@aws-cdk/aws-events.CfnEventBusPolicyProps": {
4328 "assembly": "@aws-cdk/aws-events",
4329 "datatype": true,
4330 "docs": {
4331 "custom": {
4332 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html",
4333 "exampleMetadata": "fixture=_generated"
4334 },
4335 "stability": "external",
4336 "summary": "Properties for defining a `CfnEventBusPolicy`.",
4337 "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 statement: any;\nconst cfnEventBusPolicyProps: events.CfnEventBusPolicyProps = {\n statementId: 'statementId',\n\n // the properties below are optional\n action: 'action',\n condition: {\n key: 'key',\n type: 'type',\n value: 'value',\n },\n eventBusName: 'eventBusName',\n principal: 'principal',\n statement: statement,\n};"
4338 },
4339 "fqn": "@aws-cdk/aws-events.CfnEventBusPolicyProps",
4340 "kind": "interface",
4341 "locationInModule": {
4342 "filename": "lib/events.generated.ts",
4343 "line": 2302
4344 },
4345 "name": "CfnEventBusPolicyProps",
4346 "properties": [
4347 {
4348 "abstract": true,
4349 "docs": {
4350 "custom": {
4351 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-statementid"
4352 },
4353 "remarks": "If you later want to revoke the permission for this external account, specify this `StatementId` when you run [RemovePermission](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_RemovePermission.html) .\n\n> Each `StatementId` must be unique.",
4354 "stability": "external",
4355 "summary": "An identifier string for the external account that you are granting permissions to."
4356 },
4357 "immutable": true,
4358 "locationInModule": {
4359 "filename": "lib/events.generated.ts",
4360 "line": 2311
4361 },
4362 "name": "statementId",
4363 "type": {
4364 "primitive": "string"
4365 }
4366 },
4367 {
4368 "abstract": true,
4369 "docs": {
4370 "custom": {
4371 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-action"
4372 },
4373 "stability": "external",
4374 "summary": "The action that you are enabling the other account to perform."
4375 },
4376 "immutable": true,
4377 "locationInModule": {
4378 "filename": "lib/events.generated.ts",
4379 "line": 2318
4380 },
4381 "name": "action",
4382 "optional": true,
4383 "type": {
4384 "primitive": "string"
4385 }
4386 },
4387 {
4388 "abstract": true,
4389 "docs": {
4390 "custom": {
4391 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-condition"
4392 },
4393 "remarks": "For more information about AWS Organizations, see [What Is AWS Organizations](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html) in the *AWS Organizations User Guide* .\n\nIf you specify `Condition` with an AWS organization ID, and specify \"*\" as the value for `Principal` , you grant permission to all the accounts in the named organization.\n\nThe `Condition` is a JSON string which must contain `Type` , `Key` , and `Value` fields.",
4394 "stability": "external",
4395 "summary": "This parameter enables you to limit the permission to accounts that fulfill a certain condition, such as being a member of a certain AWS organization."
4396 },
4397 "immutable": true,
4398 "locationInModule": {
4399 "filename": "lib/events.generated.ts",
4400 "line": 2329
4401 },
4402 "name": "condition",
4403 "optional": true,
4404 "type": {
4405 "union": {
4406 "types": [
4407 {
4408 "fqn": "@aws-cdk/core.IResolvable"
4409 },
4410 {
4411 "fqn": "@aws-cdk/aws-events.CfnEventBusPolicy.ConditionProperty"
4412 }
4413 ]
4414 }
4415 }
4416 },
4417 {
4418 "abstract": true,
4419 "docs": {
4420 "custom": {
4421 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-eventbusname"
4422 },
4423 "remarks": "If you omit this, the default event bus is used.",
4424 "stability": "external",
4425 "summary": "The name of the event bus associated with the rule."
4426 },
4427 "immutable": true,
4428 "locationInModule": {
4429 "filename": "lib/events.generated.ts",
4430 "line": 2336
4431 },
4432 "name": "eventBusName",
4433 "optional": true,
4434 "type": {
4435 "primitive": "string"
4436 }
4437 },
4438 {
4439 "abstract": true,
4440 "docs": {
4441 "custom": {
4442 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-principal"
4443 },
4444 "remarks": "Specify \"*\" to permit any account to put events to your default event bus.\n\nIf you specify \"*\" without specifying `Condition` , avoid creating rules that may match undesirable events. To create more secure rules, make sure that the event pattern for each rule contains an `account` field with a specific account ID from which to receive events. Rules with an account field do not match any events sent from other accounts.",
4445 "stability": "external",
4446 "summary": "The 12-digit AWS account ID that you are permitting to put events to your default event bus."
4447 },
4448 "immutable": true,
4449 "locationInModule": {
4450 "filename": "lib/events.generated.ts",
4451 "line": 2345
4452 },
4453 "name": "principal",
4454 "optional": true,
4455 "type": {
4456 "primitive": "string"
4457 }
4458 },
4459 {
4460 "abstract": true,
4461 "docs": {
4462 "custom": {
4463 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbuspolicy.html#cfn-events-eventbuspolicy-statement"
4464 },
4465 "remarks": "You can include a `Policy` parameter in the request instead of using the `StatementId` , `Action` , `Principal` , or `Condition` parameters.",
4466 "stability": "external",
4467 "summary": "A JSON string that describes the permission policy statement."
4468 },
4469 "immutable": true,
4470 "locationInModule": {
4471 "filename": "lib/events.generated.ts",
4472 "line": 2352
4473 },
4474 "name": "statement",
4475 "optional": true,
4476 "type": {
4477 "primitive": "any"
4478 }
4479 }
4480 ],
4481 "symbolId": "lib/events.generated:CfnEventBusPolicyProps"
4482 },
4483 "@aws-cdk/aws-events.CfnEventBusProps": {
4484 "assembly": "@aws-cdk/aws-events",
4485 "datatype": true,
4486 "docs": {
4487 "custom": {
4488 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html",
4489 "exampleMetadata": "fixture=_generated"
4490 },
4491 "stability": "external",
4492 "summary": "Properties for defining a `CfnEventBus`.",
4493 "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 cfnEventBusProps: events.CfnEventBusProps = {\n name: 'name',\n\n // the properties below are optional\n eventSourceName: 'eventSourceName',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};"
4494 },
4495 "fqn": "@aws-cdk/aws-events.CfnEventBusProps",
4496 "kind": "interface",
4497 "locationInModule": {
4498 "filename": "lib/events.generated.ts",
4499 "line": 2015
4500 },
4501 "name": "CfnEventBusProps",
4502 "properties": [
4503 {
4504 "abstract": true,
4505 "docs": {
4506 "custom": {
4507 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-name"
4508 },
4509 "remarks": "Custom event bus names can't contain the `/` character, but you can use the `/` character in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the partner event source that this event bus is matched to.\n\nYou can't use the name `default` for a custom event bus, as this name is already used for your account's default event bus.",
4510 "stability": "external",
4511 "summary": "The name of the new event bus."
4512 },
4513 "immutable": true,
4514 "locationInModule": {
4515 "filename": "lib/events.generated.ts",
4516 "line": 2026
4517 },
4518 "name": "name",
4519 "type": {
4520 "primitive": "string"
4521 }
4522 },
4523 {
4524 "abstract": true,
4525 "docs": {
4526 "custom": {
4527 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-eventsourcename"
4528 },
4529 "stability": "external",
4530 "summary": "If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with."
4531 },
4532 "immutable": true,
4533 "locationInModule": {
4534 "filename": "lib/events.generated.ts",
4535 "line": 2033
4536 },
4537 "name": "eventSourceName",
4538 "optional": true,
4539 "type": {
4540 "primitive": "string"
4541 }
4542 },
4543 {
4544 "abstract": true,
4545 "docs": {
4546 "custom": {
4547 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-tags"
4548 },
4549 "stability": "external",
4550 "summary": "Tags to associate with the event bus."
4551 },
4552 "immutable": true,
4553 "locationInModule": {
4554 "filename": "lib/events.generated.ts",
4555 "line": 2040
4556 },
4557 "name": "tags",
4558 "optional": true,
4559 "type": {
4560 "collection": {
4561 "elementtype": {
4562 "fqn": "@aws-cdk/aws-events.CfnEventBus.TagEntryProperty"
4563 },
4564 "kind": "array"
4565 }
4566 }
4567 }
4568 ],
4569 "symbolId": "lib/events.generated:CfnEventBusProps"
4570 },
4571 "@aws-cdk/aws-events.CfnRule": {
4572 "assembly": "@aws-cdk/aws-events",
4573 "base": "@aws-cdk/core.CfnResource",
4574 "docs": {
4575 "custom": {
4576 "cloudformationResource": "AWS::Events::Rule",
4577 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html",
4578 "exampleMetadata": "fixture=_generated"
4579 },
4580 "remarks": "Creates or updates the specified rule. Rules are enabled by default, or based on value of the state. You can disable a rule using [DisableRule](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DisableRule.html) .\n\nA single rule watches for events from a single event bus. Events generated by AWS services go to your account's default event bus. Events generated by SaaS partner services or applications go to the matching partner event bus. If you have custom applications or services, you can specify whether their events go to your default event bus or a custom event bus that you have created. For more information, see [CreateEventBus](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_CreateEventBus.html) .\n\nIf you are updating an existing rule, the rule is replaced with what you specify in this `PutRule` command. If you omit arguments in `PutRule` , the old values for those arguments are not kept. Instead, they are replaced with null values.\n\nWhen you create or update a rule, incoming events might not immediately start matching to new or updated rules. Allow a short period of time for changes to take effect.\n\nA rule must contain at least an EventPattern or ScheduleExpression. Rules with EventPatterns are triggered when a matching event is observed. Rules with ScheduleExpressions self-trigger based on the given schedule. A rule can have both an EventPattern and a ScheduleExpression, in which case the rule triggers on matching events as well as on a schedule.\n\nMost services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, EventBridge uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match.\n\nIn EventBridge, it is possible to create rules that lead to infinite loops, where a rule is fired repeatedly. For example, a rule might detect that ACLs have changed on an S3 bucket, and trigger software to change them to the desired state. If the rule is not written carefully, the subsequent change to the ACLs fires the rule again, creating an infinite loop.\n\nTo prevent this, write the rules so that the triggered actions do not re-fire the same rule. For example, your rule could fire only if ACLs are found to be in a bad state, instead of after any change.\n\nAn infinite loop can quickly cause higher than expected charges. We recommend that you use budgeting, which alerts you when charges exceed your specified limit. For more information, see [Managing Your Costs with Budgets](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/budgets-managing-costs.html) .",
4581 "stability": "external",
4582 "summary": "A CloudFormation `AWS::Events::Rule`.",
4583 "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 cfnRule = new events.CfnRule(this, 'MyCfnRule', /* all optional props */ {\n description: 'description',\n eventBusName: 'eventBusName',\n eventPattern: eventPattern,\n name: 'name',\n roleArn: 'roleArn',\n scheduleExpression: 'scheduleExpression',\n state: 'state',\n targets: [{\n arn: 'arn',\n id: 'id',\n\n // the properties below are optional\n batchParameters: {\n jobDefinition: 'jobDefinition',\n jobName: 'jobName',\n\n // the properties below are optional\n arrayProperties: {\n size: 123,\n },\n retryStrategy: {\n attempts: 123,\n },\n },\n deadLetterConfig: {\n arn: 'arn',\n },\n ecsParameters: {\n taskDefinitionArn: 'taskDefinitionArn',\n\n // the properties below are optional\n capacityProviderStrategy: [{\n capacityProvider: 'capacityProvider',\n\n // the properties below are optional\n base: 123,\n weight: 123,\n }],\n enableEcsManagedTags: false,\n enableExecuteCommand: false,\n group: 'group',\n launchType: 'launchType',\n networkConfiguration: {\n awsVpcConfiguration: {\n subnets: ['subnets'],\n\n // the properties below are optional\n assignPublicIp: 'assignPublicIp',\n securityGroups: ['securityGroups'],\n },\n },\n placementConstraints: [{\n expression: 'expression',\n type: 'type',\n }],\n placementStrategies: [{\n field: 'field',\n type: 'type',\n }],\n platformVersion: 'platformVersion',\n propagateTags: 'propagateTags',\n referenceId: 'referenceId',\n tagList: [{\n key: 'key',\n value: 'value',\n }],\n taskCount: 123,\n },\n httpParameters: {\n headerParameters: {\n headerParametersKey: 'headerParameters',\n },\n pathParameterValues: ['pathParameterValues'],\n queryStringParameters: {\n queryStringParametersKey: 'queryStringParameters',\n },\n },\n input: 'input',\n inputPath: 'inputPath',\n inputTransformer: {\n inputTemplate: 'inputTemplate',\n\n // the properties below are optional\n inputPathsMap: {\n inputPathsMapKey: 'inputPathsMap',\n },\n },\n kinesisParameters: {\n partitionKeyPath: 'partitionKeyPath',\n },\n redshiftDataParameters: {\n database: 'database',\n sql: 'sql',\n\n // the properties below are optional\n dbUser: 'dbUser',\n secretManagerArn: 'secretManagerArn',\n statementName: 'statementName',\n withEvent: false,\n },\n retryPolicy: {\n maximumEventAgeInSeconds: 123,\n maximumRetryAttempts: 123,\n },\n roleArn: 'roleArn',\n runCommandParameters: {\n runCommandTargets: [{\n key: 'key',\n values: ['values'],\n }],\n },\n sageMakerPipelineParameters: {\n pipelineParameterList: [{\n name: 'name',\n value: 'value',\n }],\n },\n sqsParameters: {\n messageGroupId: 'messageGroupId',\n },\n }],\n});"
4584 },
4585 "fqn": "@aws-cdk/aws-events.CfnRule",
4586 "initializer": {
4587 "docs": {
4588 "stability": "external",
4589 "summary": "Create a new `AWS::Events::Rule`."
4590 },
4591 "locationInModule": {
4592 "filename": "lib/events.generated.ts",
4593 "line": 2993
4594 },
4595 "parameters": [
4596 {
4597 "docs": {
4598 "summary": "- scope in which this resource is defined."
4599 },
4600 "name": "scope",
4601 "type": {
4602 "fqn": "@aws-cdk/core.Construct"
4603 }
4604 },
4605 {
4606 "docs": {
4607 "summary": "- scoped id of the resource."
4608 },
4609 "name": "id",
4610 "type": {
4611 "primitive": "string"
4612 }
4613 },
4614 {
4615 "docs": {
4616 "summary": "- resource properties."
4617 },
4618 "name": "props",
4619 "optional": true,
4620 "type": {
4621 "fqn": "@aws-cdk/aws-events.CfnRuleProps"
4622 }
4623 }
4624 ]
4625 },
4626 "interfaces": [
4627 "@aws-cdk/core.IInspectable"
4628 ],
4629 "kind": "class",
4630 "locationInModule": {
4631 "filename": "lib/events.generated.ts",
4632 "line": 2850
4633 },
4634 "methods": [
4635 {
4636 "docs": {
4637 "stability": "external",
4638 "summary": "Examines the CloudFormation resource and discloses attributes."
4639 },
4640 "locationInModule": {
4641 "filename": "lib/events.generated.ts",
4642 "line": 3013
4643 },
4644 "name": "inspect",
4645 "overrides": "@aws-cdk/core.IInspectable",
4646 "parameters": [
4647 {
4648 "docs": {
4649 "summary": "- tree inspector to collect and process attributes."
4650 },
4651 "name": "inspector",
4652 "type": {
4653 "fqn": "@aws-cdk/core.TreeInspector"
4654 }
4655 }
4656 ]
4657 },
4658 {
4659 "docs": {
4660 "stability": "external"
4661 },
4662 "locationInModule": {
4663 "filename": "lib/events.generated.ts",
4664 "line": 3031
4665 },
4666 "name": "renderProperties",
4667 "overrides": "@aws-cdk/core.CfnResource",
4668 "parameters": [
4669 {
4670 "name": "props",
4671 "type": {
4672 "collection": {
4673 "elementtype": {
4674 "primitive": "any"
4675 },
4676 "kind": "map"
4677 }
4678 }
4679 }
4680 ],
4681 "protected": true,
4682 "returns": {
4683 "type": {
4684 "collection": {
4685 "elementtype": {
4686 "primitive": "any"
4687 },
4688 "kind": "map"
4689 }
4690 }
4691 }
4692 }
4693 ],
4694 "name": "CfnRule",
4695 "properties": [
4696 {
4697 "const": true,
4698 "docs": {
4699 "stability": "external",
4700 "summary": "The CloudFormation resource type name for this resource class."
4701 },
4702 "immutable": true,
4703 "locationInModule": {
4704 "filename": "lib/events.generated.ts",
4705 "line": 2854
4706 },
4707 "name": "CFN_RESOURCE_TYPE_NAME",
4708 "static": true,
4709 "type": {
4710 "primitive": "string"
4711 }
4712 },
4713 {
4714 "docs": {
4715 "custom": {
4716 "cloudformationAttribute": "Arn"
4717 },
4718 "stability": "external",
4719 "summary": "The ARN of the rule, such as `arn:aws:events:us-east-2:123456789012:rule/example` ."
4720 },
4721 "immutable": true,
4722 "locationInModule": {
4723 "filename": "lib/events.generated.ts",
4724 "line": 2879
4725 },
4726 "name": "attrArn",
4727 "type": {
4728 "primitive": "string"
4729 }
4730 },
4731 {
4732 "docs": {
4733 "stability": "external"
4734 },
4735 "immutable": true,
4736 "locationInModule": {
4737 "filename": "lib/events.generated.ts",
4738 "line": 3018
4739 },
4740 "name": "cfnProperties",
4741 "overrides": "@aws-cdk/core.CfnResource",
4742 "protected": true,
4743 "type": {
4744 "collection": {
4745 "elementtype": {
4746 "primitive": "any"
4747 },
4748 "kind": "map"
4749 }
4750 }
4751 },
4752 {
4753 "docs": {
4754 "custom": {
4755 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-eventpattern"
4756 },
4757 "remarks": "For more information, see [Events and Event Patterns](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html) in the *Amazon EventBridge User Guide* .",
4758 "stability": "external",
4759 "summary": "The event pattern of the rule."
4760 },
4761 "locationInModule": {
4762 "filename": "lib/events.generated.ts",
4763 "line": 2900
4764 },
4765 "name": "eventPattern",
4766 "type": {
4767 "primitive": "any"
4768 }
4769 },
4770 {
4771 "docs": {
4772 "custom": {
4773 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-description"
4774 },
4775 "stability": "external",
4776 "summary": "The description of the rule."
4777 },
4778 "locationInModule": {
4779 "filename": "lib/events.generated.ts",
4780 "line": 2886
4781 },
4782 "name": "description",
4783 "optional": true,
4784 "type": {
4785 "primitive": "string"
4786 }
4787 },
4788 {
4789 "docs": {
4790 "custom": {
4791 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-eventbusname"
4792 },
4793 "remarks": "If you omit this, the default event bus is used.",
4794 "stability": "external",
4795 "summary": "The name or ARN of the event bus associated with the rule."
4796 },
4797 "locationInModule": {
4798 "filename": "lib/events.generated.ts",
4799 "line": 2893
4800 },
4801 "name": "eventBusName",
4802 "optional": true,
4803 "type": {
4804 "primitive": "string"
4805 }
4806 },
4807 {
4808 "docs": {
4809 "custom": {
4810 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-name"
4811 },
4812 "stability": "external",
4813 "summary": "The name of the rule."
4814 },
4815 "locationInModule": {
4816 "filename": "lib/events.generated.ts",
4817 "line": 2907
4818 },
4819 "name": "name",
4820 "optional": true,
4821 "type": {
4822 "primitive": "string"
4823 }
4824 },
4825 {
4826 "docs": {
4827 "custom": {
4828 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-rolearn"
4829 },
4830 "remarks": "If you're setting an event bus in another account as the target and that account granted permission to your account through an organization instead of directly by the account ID, you must specify a `RoleArn` with proper permissions in the `Target` structure, instead of here in this parameter.",
4831 "stability": "external",
4832 "summary": "The Amazon Resource Name (ARN) of the role that is used for target invocation."
4833 },
4834 "locationInModule": {
4835 "filename": "lib/events.generated.ts",
4836 "line": 2916
4837 },
4838 "name": "roleArn",
4839 "optional": true,
4840 "type": {
4841 "primitive": "string"
4842 }
4843 },
4844 {
4845 "docs": {
4846 "custom": {
4847 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-scheduleexpression"
4848 },
4849 "remarks": "For example, \"cron(0 20 * * ? *)\", \"rate(5 minutes)\". For more information, see [Creating an Amazon EventBridge rule that runs on a schedule](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html) .",
4850 "stability": "external",
4851 "summary": "The scheduling expression."
4852 },
4853 "locationInModule": {
4854 "filename": "lib/events.generated.ts",
4855 "line": 2923
4856 },
4857 "name": "scheduleExpression",
4858 "optional": true,
4859 "type": {
4860 "primitive": "string"
4861 }
4862 },
4863 {
4864 "docs": {
4865 "custom": {
4866 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-state"
4867 },
4868 "stability": "external",
4869 "summary": "The state of the rule."
4870 },
4871 "locationInModule": {
4872 "filename": "lib/events.generated.ts",
4873 "line": 2930
4874 },
4875 "name": "state",
4876 "optional": true,
4877 "type": {
4878 "primitive": "string"
4879 }
4880 },
4881 {
4882 "docs": {
4883 "custom": {
4884 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-targets"
4885 },
4886 "remarks": "Targets are the resources that are invoked when a rule is triggered.\n\nThe maximum number of entries per request is 10.\n\n> Each rule can have up to five (5) targets associated with it at one time.\n\nFor a list of services you can configure as targets for events, see [EventBridge targets](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-targets.html) in the *Amazon EventBridge User Guide* .\n\nCreating rules with built-in targets is supported only in the AWS Management Console . The built-in targets are:\n\n- `Amazon EBS CreateSnapshot API call`\n- `Amazon EC2 RebootInstances API call`\n- `Amazon EC2 StopInstances API call`\n- `Amazon EC2 TerminateInstances API call`\n\nFor some target types, `PutTargets` provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the `KinesisParameters` argument. To invoke a command on multiple EC2 instances with one rule, you can use the `RunCommandParameters` field.\n\nTo be able to make API calls against the resources that you own, Amazon EventBridge needs the appropriate permissions:\n\n- For AWS Lambda and Amazon SNS resources, EventBridge relies on resource-based policies.\n- For EC2 instances, Kinesis Data Streams, AWS Step Functions state machines and API Gateway APIs, EventBridge relies on IAM roles that you specify in the `RoleARN` argument in `PutTargets` .\n\nFor more information, see [Authentication and Access Control](https://docs.aws.amazon.com/eventbridge/latest/userguide/auth-and-access-control-eventbridge.html) in the *Amazon EventBridge User Guide* .\n\nIf another AWS account is in the same region and has granted you permission (using `PutPermission` ), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the `Arn` value when you run `PutTargets` . If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see [Amazon EventBridge Pricing](https://docs.aws.amazon.com/eventbridge/pricing/) .\n\n> `Input` , `InputPath` , and `InputTransformer` are not available with `PutTarget` if the target is an event bus of a different AWS account.\n\nIf you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a `RoleArn` with proper permissions in the `Target` structure. For more information, see [Sending and Receiving Events Between AWS Accounts](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html) in the *Amazon EventBridge User Guide* .\n\n> If you have an IAM role on a cross-account event bus target, a `PutTargets` call without a role on the same target (same `Id` and `Arn` ) will not remove the role.\n\nFor more information about enabling cross-account events, see [PutPermission](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutPermission.html) .\n\n*Input* , *InputPath* , and *InputTransformer* are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event:\n\n- If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target).\n- If *Input* is specified in the form of valid JSON, then the matched event is overridden with this constant.\n- If *InputPath* is specified in the form of JSONPath (for example, `$.detail` ), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed).\n- If *InputTransformer* is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target.\n\nWhen you specify `InputPath` or `InputTransformer` , you must use JSON dot notation, not bracket notation.\n\nWhen you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect.\n\nThis action can partially fail if too many requests are made at the same time. If that happens, `FailedEntryCount` is non-zero in the response and each entry in `FailedEntries` provides the ID of the failed target and the error code.",
4887 "stability": "external",
4888 "summary": "Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule."
4889 },
4890 "locationInModule": {
4891 "filename": "lib/events.generated.ts",
4892 "line": 2984
4893 },
4894 "name": "targets",
4895 "optional": true,
4896 "type": {
4897 "union": {
4898 "types": [
4899 {
4900 "fqn": "@aws-cdk/core.IResolvable"
4901 },
4902 {
4903 "collection": {
4904 "elementtype": {
4905 "union": {
4906 "types": [
4907 {
4908 "fqn": "@aws-cdk/core.IResolvable"
4909 },
4910 {
4911 "fqn": "@aws-cdk/aws-events.CfnRule.TargetProperty"
4912 }
4913 ]
4914 }
4915 },
4916 "kind": "array"
4917 }
4918 }
4919 ]
4920 }
4921 }
4922 }
4923 ],
4924 "symbolId": "lib/events.generated:CfnRule"
4925 },
4926 "@aws-cdk/aws-events.CfnRule.AwsVpcConfigurationProperty": {
4927 "assembly": "@aws-cdk/aws-events",
4928 "datatype": true,
4929 "docs": {
4930 "custom": {
4931 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-awsvpcconfiguration.html",
4932 "exampleMetadata": "fixture=_generated"
4933 },
4934 "remarks": "This structure is relevant only for ECS tasks that use the `awsvpc` network mode.",
4935 "stability": "external",
4936 "summary": "This structure specifies the VPC subnets and security groups for the task, and whether a public IP address is to be used.",
4937 "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 awsVpcConfigurationProperty: events.CfnRule.AwsVpcConfigurationProperty = {\n subnets: ['subnets'],\n\n // the properties below are optional\n assignPublicIp: 'assignPublicIp',\n securityGroups: ['securityGroups'],\n};"
4938 },
4939 "fqn": "@aws-cdk/aws-events.CfnRule.AwsVpcConfigurationProperty",
4940 "kind": "interface",
4941 "locationInModule": {
4942 "filename": "lib/events.generated.ts",
4943 "line": 3045
4944 },
4945 "name": "AwsVpcConfigurationProperty",
4946 "namespace": "CfnRule",
4947 "properties": [
4948 {
4949 "abstract": true,
4950 "docs": {
4951 "custom": {
4952 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-awsvpcconfiguration.html#cfn-events-rule-awsvpcconfiguration-subnets"
4953 },
4954 "remarks": "These subnets must all be in the same VPC. You can specify as many as 16 subnets.",
4955 "stability": "external",
4956 "summary": "Specifies the subnets associated with the task."
4957 },
4958 "immutable": true,
4959 "locationInModule": {
4960 "filename": "lib/events.generated.ts",
4961 "line": 3063
4962 },
4963 "name": "subnets",
4964 "type": {
4965 "collection": {
4966 "elementtype": {
4967 "primitive": "string"
4968 },
4969 "kind": "array"
4970 }
4971 }
4972 },
4973 {
4974 "abstract": true,
4975 "docs": {
4976 "custom": {
4977 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-awsvpcconfiguration.html#cfn-events-rule-awsvpcconfiguration-assignpublicip"
4978 },
4979 "remarks": "You can specify `ENABLED` only when `LaunchType` in `EcsParameters` is set to `FARGATE` .",
4980 "stability": "external",
4981 "summary": "Specifies whether the task's elastic network interface receives a public IP address."
4982 },
4983 "immutable": true,
4984 "locationInModule": {
4985 "filename": "lib/events.generated.ts",
4986 "line": 3051
4987 },
4988 "name": "assignPublicIp",
4989 "optional": true,
4990 "type": {
4991 "primitive": "string"
4992 }
4993 },
4994 {
4995 "abstract": true,
4996 "docs": {
4997 "custom": {
4998 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-awsvpcconfiguration.html#cfn-events-rule-awsvpcconfiguration-securitygroups"
4999 },
5000 "remarks": "These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.",
5001 "stability": "external",
5002 "summary": "Specifies the security groups associated with the task."
5003 },
5004 "immutable": true,
5005 "locationInModule": {
5006 "filename": "lib/events.generated.ts",
5007 "line": 3057
5008 },
5009 "name": "securityGroups",
5010 "optional": true,
5011 "type": {
5012 "collection": {
5013 "elementtype": {
5014 "primitive": "string"
5015 },
5016 "kind": "array"
5017 }
5018 }
5019 }
5020 ],
5021 "symbolId": "lib/events.generated:CfnRule.AwsVpcConfigurationProperty"
5022 },
5023 "@aws-cdk/aws-events.CfnRule.BatchArrayPropertiesProperty": {
5024 "assembly": "@aws-cdk/aws-events",
5025 "datatype": true,
5026 "docs": {
5027 "custom": {
5028 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batcharrayproperties.html",
5029 "exampleMetadata": "fixture=_generated"
5030 },
5031 "remarks": "The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job.",
5032 "stability": "external",
5033 "summary": "The array properties for the submitted job, such as the size of the array.",
5034 "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 batchArrayPropertiesProperty: events.CfnRule.BatchArrayPropertiesProperty = {\n size: 123,\n};"
5035 },
5036 "fqn": "@aws-cdk/aws-events.CfnRule.BatchArrayPropertiesProperty",
5037 "kind": "interface",
5038 "locationInModule": {
5039 "filename": "lib/events.generated.ts",
5040 "line": 3131
5041 },
5042 "name": "BatchArrayPropertiesProperty",
5043 "namespace": "CfnRule",
5044 "properties": [
5045 {
5046 "abstract": true,
5047 "docs": {
5048 "custom": {
5049 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batcharrayproperties.html#cfn-events-rule-batcharrayproperties-size"
5050 },
5051 "remarks": "Valid values are integers between 2 and 10,000.",
5052 "stability": "external",
5053 "summary": "The size of the array, if this is an array batch job."
5054 },
5055 "immutable": true,
5056 "locationInModule": {
5057 "filename": "lib/events.generated.ts",
5058 "line": 3137
5059 },
5060 "name": "size",
5061 "optional": true,
5062 "type": {
5063 "primitive": "number"
5064 }
5065 }
5066 ],
5067 "symbolId": "lib/events.generated:CfnRule.BatchArrayPropertiesProperty"
5068 },
5069 "@aws-cdk/aws-events.CfnRule.BatchParametersProperty": {
5070 "assembly": "@aws-cdk/aws-events",
5071 "datatype": true,
5072 "docs": {
5073 "custom": {
5074 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batchparameters.html",
5075 "exampleMetadata": "fixture=_generated"
5076 },
5077 "stability": "external",
5078 "summary": "The custom parameters to be used when the target is an AWS Batch job.",
5079 "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 batchParametersProperty: events.CfnRule.BatchParametersProperty = {\n jobDefinition: 'jobDefinition',\n jobName: 'jobName',\n\n // the properties below are optional\n arrayProperties: {\n size: 123,\n },\n retryStrategy: {\n attempts: 123,\n },\n};"
5080 },
5081 "fqn": "@aws-cdk/aws-events.CfnRule.BatchParametersProperty",
5082 "kind": "interface",
5083 "locationInModule": {
5084 "filename": "lib/events.generated.ts",
5085 "line": 3198
5086 },
5087 "name": "BatchParametersProperty",
5088 "namespace": "CfnRule",
5089 "properties": [
5090 {
5091 "abstract": true,
5092 "docs": {
5093 "custom": {
5094 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batchparameters.html#cfn-events-rule-batchparameters-jobdefinition"
5095 },
5096 "remarks": "This job definition must already exist.",
5097 "stability": "external",
5098 "summary": "The ARN or name of the job definition to use if the event target is an AWS Batch job."
5099 },
5100 "immutable": true,
5101 "locationInModule": {
5102 "filename": "lib/events.generated.ts",
5103 "line": 3210
5104 },
5105 "name": "jobDefinition",
5106 "type": {
5107 "primitive": "string"
5108 }
5109 },
5110 {
5111 "abstract": true,
5112 "docs": {
5113 "custom": {
5114 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batchparameters.html#cfn-events-rule-batchparameters-jobname"
5115 },
5116 "stability": "external",
5117 "summary": "The name to use for this execution of the job, if the target is an AWS Batch job."
5118 },
5119 "immutable": true,
5120 "locationInModule": {
5121 "filename": "lib/events.generated.ts",
5122 "line": 3216
5123 },
5124 "name": "jobName",
5125 "type": {
5126 "primitive": "string"
5127 }
5128 },
5129 {
5130 "abstract": true,
5131 "docs": {
5132 "custom": {
5133 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batchparameters.html#cfn-events-rule-batchparameters-arrayproperties"
5134 },
5135 "remarks": "The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job.",
5136 "stability": "external",
5137 "summary": "The array properties for the submitted job, such as the size of the array."
5138 },
5139 "immutable": true,
5140 "locationInModule": {
5141 "filename": "lib/events.generated.ts",
5142 "line": 3204
5143 },
5144 "name": "arrayProperties",
5145 "optional": true,
5146 "type": {
5147 "union": {
5148 "types": [
5149 {
5150 "fqn": "@aws-cdk/core.IResolvable"
5151 },
5152 {
5153 "fqn": "@aws-cdk/aws-events.CfnRule.BatchArrayPropertiesProperty"
5154 }
5155 ]
5156 }
5157 }
5158 },
5159 {
5160 "abstract": true,
5161 "docs": {
5162 "custom": {
5163 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batchparameters.html#cfn-events-rule-batchparameters-retrystrategy"
5164 },
5165 "remarks": "The retry strategy is the number of times to retry the failed job execution. Valid values are 1–10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.",
5166 "stability": "external",
5167 "summary": "The retry strategy to use for failed jobs, if the target is an AWS Batch job."
5168 },
5169 "immutable": true,
5170 "locationInModule": {
5171 "filename": "lib/events.generated.ts",
5172 "line": 3222
5173 },
5174 "name": "retryStrategy",
5175 "optional": true,
5176 "type": {
5177 "union": {
5178 "types": [
5179 {
5180 "fqn": "@aws-cdk/core.IResolvable"
5181 },
5182 {
5183 "fqn": "@aws-cdk/aws-events.CfnRule.BatchRetryStrategyProperty"
5184 }
5185 ]
5186 }
5187 }
5188 }
5189 ],
5190 "symbolId": "lib/events.generated:CfnRule.BatchParametersProperty"
5191 },
5192 "@aws-cdk/aws-events.CfnRule.BatchRetryStrategyProperty": {
5193 "assembly": "@aws-cdk/aws-events",
5194 "datatype": true,
5195 "docs": {
5196 "custom": {
5197 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batchretrystrategy.html",
5198 "exampleMetadata": "fixture=_generated"
5199 },
5200 "remarks": "If you specify a retry strategy here, it overrides the retry strategy defined in the job definition.",
5201 "stability": "external",
5202 "summary": "The retry strategy to use for failed jobs, if the target is an AWS Batch job.",
5203 "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 batchRetryStrategyProperty: events.CfnRule.BatchRetryStrategyProperty = {\n attempts: 123,\n};"
5204 },
5205 "fqn": "@aws-cdk/aws-events.CfnRule.BatchRetryStrategyProperty",
5206 "kind": "interface",
5207 "locationInModule": {
5208 "filename": "lib/events.generated.ts",
5209 "line": 3294
5210 },
5211 "name": "BatchRetryStrategyProperty",
5212 "namespace": "CfnRule",
5213 "properties": [
5214 {
5215 "abstract": true,
5216 "docs": {
5217 "custom": {
5218 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-batchretrystrategy.html#cfn-events-rule-batchretrystrategy-attempts"
5219 },
5220 "remarks": "Valid values are 1–10.",
5221 "stability": "external",
5222 "summary": "The number of times to attempt to retry, if the job fails."
5223 },
5224 "immutable": true,
5225 "locationInModule": {
5226 "filename": "lib/events.generated.ts",
5227 "line": 3300
5228 },
5229 "name": "attempts",
5230 "optional": true,
5231 "type": {
5232 "primitive": "number"
5233 }
5234 }
5235 ],
5236 "symbolId": "lib/events.generated:CfnRule.BatchRetryStrategyProperty"
5237 },
5238 "@aws-cdk/aws-events.CfnRule.CapacityProviderStrategyItemProperty": {
5239 "assembly": "@aws-cdk/aws-events",
5240 "datatype": true,
5241 "docs": {
5242 "custom": {
5243 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-capacityproviderstrategyitem.html",
5244 "exampleMetadata": "fixture=_generated"
5245 },
5246 "remarks": "To learn more, see [CapacityProviderStrategyItem](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CapacityProviderStrategyItem.html) in the Amazon ECS API Reference.",
5247 "stability": "external",
5248 "summary": "The details of a capacity provider strategy.",
5249 "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 capacityProviderStrategyItemProperty: events.CfnRule.CapacityProviderStrategyItemProperty = {\n capacityProvider: 'capacityProvider',\n\n // the properties below are optional\n base: 123,\n weight: 123,\n};"
5250 },
5251 "fqn": "@aws-cdk/aws-events.CfnRule.CapacityProviderStrategyItemProperty",
5252 "kind": "interface",
5253 "locationInModule": {
5254 "filename": "lib/events.generated.ts",
5255 "line": 3361
5256 },
5257 "name": "CapacityProviderStrategyItemProperty",
5258 "namespace": "CfnRule",
5259 "properties": [
5260 {
5261 "abstract": true,
5262 "docs": {
5263 "custom": {
5264 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-capacityproviderstrategyitem.html#cfn-events-rule-capacityproviderstrategyitem-capacityprovider"
5265 },
5266 "stability": "external",
5267 "summary": "The short name of the capacity provider."
5268 },
5269 "immutable": true,
5270 "locationInModule": {
5271 "filename": "lib/events.generated.ts",
5272 "line": 3373
5273 },
5274 "name": "capacityProvider",
5275 "type": {
5276 "primitive": "string"
5277 }
5278 },
5279 {
5280 "abstract": true,
5281 "docs": {
5282 "custom": {
5283 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-capacityproviderstrategyitem.html#cfn-events-rule-capacityproviderstrategyitem-base"
5284 },
5285 "remarks": "Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of 0 is used.",
5286 "stability": "external",
5287 "summary": "The base value designates how many tasks, at a minimum, to run on the specified capacity provider."
5288 },
5289 "immutable": true,
5290 "locationInModule": {
5291 "filename": "lib/events.generated.ts",
5292 "line": 3367
5293 },
5294 "name": "base",
5295 "optional": true,
5296 "type": {
5297 "primitive": "number"
5298 }
5299 },
5300 {
5301 "abstract": true,
5302 "docs": {
5303 "custom": {
5304 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-capacityproviderstrategyitem.html#cfn-events-rule-capacityproviderstrategyitem-weight"
5305 },
5306 "remarks": "The weight value is taken into consideration after the base value, if defined, is satisfied.",
5307 "stability": "external",
5308 "summary": "The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider."
5309 },
5310 "immutable": true,
5311 "locationInModule": {
5312 "filename": "lib/events.generated.ts",
5313 "line": 3379
5314 },
5315 "name": "weight",
5316 "optional": true,
5317 "type": {
5318 "primitive": "number"
5319 }
5320 }
5321 ],
5322 "symbolId": "lib/events.generated:CfnRule.CapacityProviderStrategyItemProperty"
5323 },
5324 "@aws-cdk/aws-events.CfnRule.DeadLetterConfigProperty": {
5325 "assembly": "@aws-cdk/aws-events",
5326 "datatype": true,
5327 "docs": {
5328 "custom": {
5329 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-deadletterconfig.html",
5330 "exampleMetadata": "fixture=_generated"
5331 },
5332 "stability": "external",
5333 "summary": "A `DeadLetterConfig` object that contains information about a dead-letter queue configuration.",
5334 "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 deadLetterConfigProperty: events.CfnRule.DeadLetterConfigProperty = {\n arn: 'arn',\n};"
5335 },
5336 "fqn": "@aws-cdk/aws-events.CfnRule.DeadLetterConfigProperty",
5337 "kind": "interface",
5338 "locationInModule": {
5339 "filename": "lib/events.generated.ts",
5340 "line": 3447
5341 },
5342 "name": "DeadLetterConfigProperty",
5343 "namespace": "CfnRule",
5344 "properties": [
5345 {
5346 "abstract": true,
5347 "docs": {
5348 "custom": {
5349 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-deadletterconfig.html#cfn-events-rule-deadletterconfig-arn"
5350 },
5351 "stability": "external",
5352 "summary": "The ARN of the SQS queue specified as the target for the dead-letter queue."
5353 },
5354 "immutable": true,
5355 "locationInModule": {
5356 "filename": "lib/events.generated.ts",
5357 "line": 3453
5358 },
5359 "name": "arn",
5360 "optional": true,
5361 "type": {
5362 "primitive": "string"
5363 }
5364 }
5365 ],
5366 "symbolId": "lib/events.generated:CfnRule.DeadLetterConfigProperty"
5367 },
5368 "@aws-cdk/aws-events.CfnRule.EcsParametersProperty": {
5369 "assembly": "@aws-cdk/aws-events",
5370 "datatype": true,
5371 "docs": {
5372 "custom": {
5373 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html",
5374 "exampleMetadata": "fixture=_generated"
5375 },
5376 "stability": "external",
5377 "summary": "The custom parameters to be used when the target is an Amazon ECS task.",
5378 "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 ecsParametersProperty: events.CfnRule.EcsParametersProperty = {\n taskDefinitionArn: 'taskDefinitionArn',\n\n // the properties below are optional\n capacityProviderStrategy: [{\n capacityProvider: 'capacityProvider',\n\n // the properties below are optional\n base: 123,\n weight: 123,\n }],\n enableEcsManagedTags: false,\n enableExecuteCommand: false,\n group: 'group',\n launchType: 'launchType',\n networkConfiguration: {\n awsVpcConfiguration: {\n subnets: ['subnets'],\n\n // the properties below are optional\n assignPublicIp: 'assignPublicIp',\n securityGroups: ['securityGroups'],\n },\n },\n placementConstraints: [{\n expression: 'expression',\n type: 'type',\n }],\n placementStrategies: [{\n field: 'field',\n type: 'type',\n }],\n platformVersion: 'platformVersion',\n propagateTags: 'propagateTags',\n referenceId: 'referenceId',\n tagList: [{\n key: 'key',\n value: 'value',\n }],\n taskCount: 123,\n};"
5379 },
5380 "fqn": "@aws-cdk/aws-events.CfnRule.EcsParametersProperty",
5381 "kind": "interface",
5382 "locationInModule": {
5383 "filename": "lib/events.generated.ts",
5384 "line": 3514
5385 },
5386 "name": "EcsParametersProperty",
5387 "namespace": "CfnRule",
5388 "properties": [
5389 {
5390 "abstract": true,
5391 "docs": {
5392 "custom": {
5393 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html#cfn-events-rule-ecsparameters-taskdefinitionarn"
5394 },
5395 "stability": "external",
5396 "summary": "The ARN of the task definition to use if the event target is an Amazon ECS task."
5397 },
5398 "immutable": true,
5399 "locationInModule": {
5400 "filename": "lib/events.generated.ts",
5401 "line": 3604
5402 },
5403 "name": "taskDefinitionArn",
5404 "type": {
5405 "primitive": "string"
5406 }
5407 },
5408 {
5409 "abstract": true,
5410 "docs": {
5411 "custom": {
5412 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html#cfn-events-rule-ecsparameters-capacityproviderstrategy"
5413 },
5414 "remarks": "If a `capacityProviderStrategy` is specified, the `launchType` parameter must be omitted. If no `capacityProviderStrategy` or launchType is specified, the `defaultCapacityProviderStrategy` for the cluster is used.",
5415 "stability": "external",
5416 "summary": "The capacity provider strategy to use for the task."
5417 },
5418 "immutable": true,
5419 "locationInModule": {
5420 "filename": "lib/events.generated.ts",
5421 "line": 3522
5422 },
5423 "name": "capacityProviderStrategy",
5424 "optional": true,
5425 "type": {
5426 "union": {
5427 "types": [
5428 {
5429 "fqn": "@aws-cdk/core.IResolvable"
5430 },
5431 {
5432 "collection": {
5433 "elementtype": {
5434 "union": {
5435 "types": [
5436 {
5437 "fqn": "@aws-cdk/core.IResolvable"
5438 },
5439 {
5440 "fqn": "@aws-cdk/aws-events.CfnRule.CapacityProviderStrategyItemProperty"
5441 }
5442 ]
5443 }
5444 },
5445 "kind": "array"
5446 }
5447 }
5448 ]
5449 }
5450 }
5451 },
5452 {
5453 "abstract": true,
5454 "docs": {
5455 "custom": {
5456 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html#cfn-events-rule-ecsparameters-enableecsmanagedtags"
5457 },
5458 "remarks": "For more information, see [Tagging Your Amazon ECS Resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) in the Amazon Elastic Container Service Developer Guide.",
5459 "stability": "external",
5460 "summary": "Specifies whether to enable Amazon ECS managed tags for the task."
5461 },
5462 "immutable": true,
5463 "locationInModule": {
5464 "filename": "lib/events.generated.ts",
5465 "line": 3528
5466 },
5467 "name": "enableEcsManagedTags",
5468 "optional": true,
5469 "type": {
5470 "union": {
5471 "types": [
5472 {
5473 "primitive": "boolean"
5474 },
5475 {
5476 "fqn": "@aws-cdk/core.IResolvable"
5477 }
5478 ]
5479 }
5480 }
5481 },
5482 {
5483 "abstract": true,
5484 "docs": {
5485 "custom": {
5486 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html#cfn-events-rule-ecsparameters-enableexecutecommand"
5487 },
5488 "remarks": "If true, this enables execute command functionality on all containers in the task.",
5489 "stability": "external",
5490 "summary": "Whether or not to enable the execute command functionality for the containers in this task."
5491 },
5492 "immutable": true,
5493 "locationInModule": {
5494 "filename": "lib/events.generated.ts",
5495 "line": 3534
5496 },
5497 "name": "enableExecuteCommand",
5498 "optional": true,
5499 "type": {
5500 "union": {
5501 "types": [
5502 {
5503 "primitive": "boolean"
5504 },
5505 {
5506 "fqn": "@aws-cdk/core.IResolvable"
5507 }
5508 ]
5509 }
5510 }
5511 },
5512 {
5513 "abstract": true,
5514 "docs": {
5515 "custom": {
5516 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html#cfn-events-rule-ecsparameters-group"
5517 },
5518 "remarks": "The maximum length is 255 characters.",
5519 "stability": "external",
5520 "summary": "Specifies an ECS task group for the task."
5521 },
5522 "immutable": true,
5523 "locationInModule": {
5524 "filename": "lib/events.generated.ts",
5525 "line": 3540
5526 },
5527 "name": "group",
5528 "optional": true,
5529 "type": {
5530 "primitive": "string"
5531 }
5532 },
5533 {
5534 "abstract": true,
5535 "docs": {
5536 "custom": {
5537 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html#cfn-events-rule-ecsparameters-launchtype"
5538 },
5539 "remarks": "The launch type that you specify here must match one of the launch type (compatibilities) of the target task. The `FARGATE` value is supported only in the Regions where AWS Fargate with Amazon ECS is supported. For more information, see [AWS Fargate on Amazon ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS-Fargate.html) in the *Amazon Elastic Container Service Developer Guide* .",
5540 "stability": "external",
5541 "summary": "Specifies the launch type on which your task is running."
5542 },
5543 "immutable": true,
5544 "locationInModule": {
5545 "filename": "lib/events.generated.ts",
5546 "line": 3546
5547 },
5548 "name": "launchType",
5549 "optional": true,
5550 "type": {
5551 "primitive": "string"
5552 }
5553 },
5554 {
5555 "abstract": true,
5556 "docs": {
5557 "custom": {
5558 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html#cfn-events-rule-ecsparameters-networkconfiguration"
5559 },
5560 "remarks": "This structure specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. This structure is required if `LaunchType` is `FARGATE` because the `awsvpc` mode is required for Fargate tasks.\n\nIf you specify `NetworkConfiguration` when the target ECS task does not use the `awsvpc` network mode, the task fails.",
5561 "stability": "external",
5562 "summary": "Use this structure if the Amazon ECS task uses the `awsvpc` network mode."
5563 },
5564 "immutable": true,
5565 "locationInModule": {
5566 "filename": "lib/events.generated.ts",
5567 "line": 3554
5568 },
5569 "name": "networkConfiguration",
5570 "optional": true,
5571 "type": {
5572 "union": {
5573 "types": [
5574 {
5575 "fqn": "@aws-cdk/core.IResolvable"
5576 },
5577 {
5578 "fqn": "@aws-cdk/aws-events.CfnRule.NetworkConfigurationProperty"
5579 }
5580 ]
5581 }
5582 }
5583 },
5584 {
5585 "abstract": true,
5586 "docs": {
5587 "custom": {
5588 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html#cfn-events-rule-ecsparameters-placementconstraints"
5589 },
5590 "remarks": "You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime).",
5591 "stability": "external",
5592 "summary": "An array of placement constraint objects to use for the task."
5593 },
5594 "immutable": true,
5595 "locationInModule": {
5596 "filename": "lib/events.generated.ts",
5597 "line": 3560
5598 },
5599 "name": "placementConstraints",
5600 "optional": true,
5601 "type": {
5602 "union": {
5603 "types": [
5604 {
5605 "fqn": "@aws-cdk/core.IResolvable"
5606 },
5607 {
5608 "collection": {
5609 "elementtype": {
5610 "union": {
5611 "types": [
5612 {
5613 "fqn": "@aws-cdk/core.IResolvable"
5614 },
5615 {
5616 "fqn": "@aws-cdk/aws-events.CfnRule.PlacementConstraintProperty"
5617 }
5618 ]
5619 }
5620 },
5621 "kind": "array"
5622 }
5623 }
5624 ]
5625 }
5626 }
5627 },
5628 {
5629 "abstract": true,
5630 "docs": {
5631 "custom": {
5632 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html#cfn-events-rule-ecsparameters-placementstrategies"
5633 },
5634 "remarks": "You can specify a maximum of five strategy rules per task.",
5635 "stability": "external",
5636 "summary": "The placement strategy objects to use for the task."
5637 },
5638 "immutable": true,
5639 "locationInModule": {
5640 "filename": "lib/events.generated.ts",
5641 "line": 3566
5642 },
5643 "name": "placementStrategies",
5644 "optional": true,
5645 "type": {
5646 "union": {
5647 "types": [
5648 {
5649 "fqn": "@aws-cdk/core.IResolvable"
5650 },
5651 {
5652 "collection": {
5653 "elementtype": {
5654 "union": {
5655 "types": [
5656 {
5657 "fqn": "@aws-cdk/core.IResolvable"
5658 },
5659 {
5660 "fqn": "@aws-cdk/aws-events.CfnRule.PlacementStrategyProperty"
5661 }
5662 ]
5663 }
5664 },
5665 "kind": "array"
5666 }
5667 }
5668 ]
5669 }
5670 }
5671 },
5672 {
5673 "abstract": true,
5674 "docs": {
5675 "custom": {
5676 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html#cfn-events-rule-ecsparameters-platformversion"
5677 },
5678 "remarks": "Specify only the numeric portion of the platform version, such as `1.1.0` .\n\nThis structure is used only if `LaunchType` is `FARGATE` . For more information about valid platform versions, see [AWS Fargate Platform Versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* .",
5679 "stability": "external",
5680 "summary": "Specifies the platform version for the task."
5681 },
5682 "immutable": true,
5683 "locationInModule": {
5684 "filename": "lib/events.generated.ts",
5685 "line": 3574
5686 },
5687 "name": "platformVersion",
5688 "optional": true,
5689 "type": {
5690 "primitive": "string"
5691 }
5692 },
5693 {
5694 "abstract": true,
5695 "docs": {
5696 "custom": {
5697 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html#cfn-events-rule-ecsparameters-propagatetags"
5698 },
5699 "remarks": "If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use the TagResource API action.",
5700 "stability": "external",
5701 "summary": "Specifies whether to propagate the tags from the task definition to the task."
5702 },
5703 "immutable": true,
5704 "locationInModule": {
5705 "filename": "lib/events.generated.ts",
5706 "line": 3580
5707 },
5708 "name": "propagateTags",
5709 "optional": true,
5710 "type": {
5711 "primitive": "string"
5712 }
5713 },
5714 {
5715 "abstract": true,
5716 "docs": {
5717 "custom": {
5718 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html#cfn-events-rule-ecsparameters-referenceid"
5719 },
5720 "stability": "external",
5721 "summary": "The reference ID to use for the task."
5722 },
5723 "immutable": true,
5724 "locationInModule": {
5725 "filename": "lib/events.generated.ts",
5726 "line": 3586
5727 },
5728 "name": "referenceId",
5729 "optional": true,
5730 "type": {
5731 "primitive": "string"
5732 }
5733 },
5734 {
5735 "abstract": true,
5736 "docs": {
5737 "custom": {
5738 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html#cfn-events-rule-ecsparameters-taglist"
5739 },
5740 "remarks": "Each tag consists of a key and an optional value, both of which you define. To learn more, see [RunTask](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-tags) in the Amazon ECS API Reference.",
5741 "stability": "external",
5742 "summary": "The metadata that you apply to the task to help you categorize and organize them."
5743 },
5744 "immutable": true,
5745 "locationInModule": {
5746 "filename": "lib/events.generated.ts",
5747 "line": 3592
5748 },
5749 "name": "tagList",
5750 "optional": true,
5751 "type": {
5752 "union": {
5753 "types": [
5754 {
5755 "fqn": "@aws-cdk/core.IResolvable"
5756 },
5757 {
5758 "collection": {
5759 "elementtype": {
5760 "union": {
5761 "types": [
5762 {
5763 "fqn": "@aws-cdk/core.IResolvable"
5764 },
5765 {
5766 "fqn": "@aws-cdk/core.CfnTag"
5767 }
5768 ]
5769 }
5770 },
5771 "kind": "array"
5772 }
5773 }
5774 ]
5775 }
5776 }
5777 },
5778 {
5779 "abstract": true,
5780 "docs": {
5781 "custom": {
5782 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-ecsparameters.html#cfn-events-rule-ecsparameters-taskcount"
5783 },
5784 "remarks": "The default is 1.",
5785 "stability": "external",
5786 "summary": "The number of tasks to create based on `TaskDefinition` ."
5787 },
5788 "immutable": true,
5789 "locationInModule": {
5790 "filename": "lib/events.generated.ts",
5791 "line": 3598
5792 },
5793 "name": "taskCount",
5794 "optional": true,
5795 "type": {
5796 "primitive": "number"
5797 }
5798 }
5799 ],
5800 "symbolId": "lib/events.generated:CfnRule.EcsParametersProperty"
5801 },
5802 "@aws-cdk/aws-events.CfnRule.HttpParametersProperty": {
5803 "assembly": "@aws-cdk/aws-events",
5804 "datatype": true,
5805 "docs": {
5806 "custom": {
5807 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-httpparameters.html",
5808 "exampleMetadata": "fixture=_generated"
5809 },
5810 "remarks": "In the latter case, these are merged with any InvocationParameters specified on the Connection, with any values from the Connection taking precedence.",
5811 "stability": "external",
5812 "summary": "These are custom parameter to be used when the target is an API Gateway APIs or EventBridge ApiDestinations.",
5813 "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 httpParametersProperty: events.CfnRule.HttpParametersProperty = {\n headerParameters: {\n headerParametersKey: 'headerParameters',\n },\n pathParameterValues: ['pathParameterValues'],\n queryStringParameters: {\n queryStringParametersKey: 'queryStringParameters',\n },\n};"
5814 },
5815 "fqn": "@aws-cdk/aws-events.CfnRule.HttpParametersProperty",
5816 "kind": "interface",
5817 "locationInModule": {
5818 "filename": "lib/events.generated.ts",
5819 "line": 3705
5820 },
5821 "name": "HttpParametersProperty",
5822 "namespace": "CfnRule",
5823 "properties": [
5824 {
5825 "abstract": true,
5826 "docs": {
5827 "custom": {
5828 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-httpparameters.html#cfn-events-rule-httpparameters-headerparameters"
5829 },
5830 "stability": "external",
5831 "summary": "The headers that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination."
5832 },
5833 "immutable": true,
5834 "locationInModule": {
5835 "filename": "lib/events.generated.ts",
5836 "line": 3711
5837 },
5838 "name": "headerParameters",
5839 "optional": true,
5840 "type": {
5841 "union": {
5842 "types": [
5843 {
5844 "fqn": "@aws-cdk/core.IResolvable"
5845 },
5846 {
5847 "collection": {
5848 "elementtype": {
5849 "primitive": "string"
5850 },
5851 "kind": "map"
5852 }
5853 }
5854 ]
5855 }
5856 }
5857 },
5858 {
5859 "abstract": true,
5860 "docs": {
5861 "custom": {
5862 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-httpparameters.html#cfn-events-rule-httpparameters-pathparametervalues"
5863 },
5864 "stability": "external",
5865 "summary": "The path parameter values to be used to populate API Gateway API or EventBridge ApiDestination path wildcards (\"*\")."
5866 },
5867 "immutable": true,
5868 "locationInModule": {
5869 "filename": "lib/events.generated.ts",
5870 "line": 3717
5871 },
5872 "name": "pathParameterValues",
5873 "optional": true,
5874 "type": {
5875 "collection": {
5876 "elementtype": {
5877 "primitive": "string"
5878 },
5879 "kind": "array"
5880 }
5881 }
5882 },
5883 {
5884 "abstract": true,
5885 "docs": {
5886 "custom": {
5887 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-httpparameters.html#cfn-events-rule-httpparameters-querystringparameters"
5888 },
5889 "stability": "external",
5890 "summary": "The query string keys/values that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination."
5891 },
5892 "immutable": true,
5893 "locationInModule": {
5894 "filename": "lib/events.generated.ts",
5895 "line": 3723
5896 },
5897 "name": "queryStringParameters",
5898 "optional": true,
5899 "type": {
5900 "union": {
5901 "types": [
5902 {
5903 "fqn": "@aws-cdk/core.IResolvable"
5904 },
5905 {
5906 "collection": {
5907 "elementtype": {
5908 "primitive": "string"
5909 },
5910 "kind": "map"
5911 }
5912 }
5913 ]
5914 }
5915 }
5916 }
5917 ],
5918 "symbolId": "lib/events.generated:CfnRule.HttpParametersProperty"
5919 },
5920 "@aws-cdk/aws-events.CfnRule.InputTransformerProperty": {
5921 "assembly": "@aws-cdk/aws-events",
5922 "datatype": true,
5923 "docs": {
5924 "custom": {
5925 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-inputtransformer.html",
5926 "exampleMetadata": "fixture=_generated"
5927 },
5928 "stability": "external",
5929 "summary": "Contains the parameters needed for you to provide custom input to a target based on one or more pieces of data extracted from the event.",
5930 "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 inputTransformerProperty: events.CfnRule.InputTransformerProperty = {\n inputTemplate: 'inputTemplate',\n\n // the properties below are optional\n inputPathsMap: {\n inputPathsMapKey: 'inputPathsMap',\n },\n};"
5931 },
5932 "fqn": "@aws-cdk/aws-events.CfnRule.InputTransformerProperty",
5933 "kind": "interface",
5934 "locationInModule": {
5935 "filename": "lib/events.generated.ts",
5936 "line": 3790
5937 },
5938 "name": "InputTransformerProperty",
5939 "namespace": "CfnRule",
5940 "properties": [
5941 {
5942 "abstract": true,
5943 "docs": {
5944 "custom": {
5945 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-inputtransformer.html#cfn-events-rule-inputtransformer-inputtemplate"
5946 },
5947 "remarks": "Enclose each `InputPathsMaps` value in brackets: < *value* >\n\nIf `InputTemplate` is a JSON object (surrounded by curly braces), the following restrictions apply:\n\n- The placeholder cannot be used as an object key.\n\nThe following example shows the syntax for using `InputPathsMap` and `InputTemplate` .\n\n`\"InputTransformer\":`\n\n`{`\n\n`\"InputPathsMap\": {\"instance\": \"$.detail.instance\",\"status\": \"$.detail.status\"},`\n\n`\"InputTemplate\": \"<instance> is in state <status>\"`\n\n`}`\n\nTo have the `InputTemplate` include quote marks within a JSON string, escape each quote marks with a slash, as in the following example:\n\n`\"InputTransformer\":`\n\n`{`\n\n`\"InputPathsMap\": {\"instance\": \"$.detail.instance\",\"status\": \"$.detail.status\"},`\n\n`\"InputTemplate\": \"<instance> is in state \\\"<status>\\\"\"`\n\n`}`\n\nThe `InputTemplate` can also be valid JSON with varibles in quotes or out, as in the following example:\n\n`\"InputTransformer\":`\n\n`{`\n\n`\"InputPathsMap\": {\"instance\": \"$.detail.instance\",\"status\": \"$.detail.status\"},`\n\n`\"InputTemplate\": '{\"myInstance\": <instance>,\"myStatus\": \"<instance> is in state \\\"<status>\\\"\"}'`\n\n`}`",
5948 "stability": "external",
5949 "summary": "Input template where you specify placeholders that will be filled with the values of the keys from `InputPathsMap` to customize the data sent to the target."
5950 },
5951 "immutable": true,
5952 "locationInModule": {
5953 "filename": "lib/events.generated.ts",
5954 "line": 3846
5955 },
5956 "name": "inputTemplate",
5957 "type": {
5958 "primitive": "string"
5959 }
5960 },
5961 {
5962 "abstract": true,
5963 "docs": {
5964 "custom": {
5965 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-inputtransformer.html#cfn-events-rule-inputtransformer-inputpathsmap"
5966 },
5967 "remarks": "You can then insert these in the template in `InputTemplate` to produce the output you want to be sent to the target.\n\n`InputPathsMap` is an array key-value pairs, where each value is a valid JSON path. You can have as many as 100 key-value pairs. You must use JSON dot notation, not bracket notation.\n\nThe keys cannot start with \" AWS .\"",
5968 "stability": "external",
5969 "summary": "Map of JSON paths to be extracted from the event."
5970 },
5971 "immutable": true,
5972 "locationInModule": {
5973 "filename": "lib/events.generated.ts",
5974 "line": 3800
5975 },
5976 "name": "inputPathsMap",
5977 "optional": true,
5978 "type": {
5979 "union": {
5980 "types": [
5981 {
5982 "fqn": "@aws-cdk/core.IResolvable"
5983 },
5984 {
5985 "collection": {
5986 "elementtype": {
5987 "primitive": "string"
5988 },
5989 "kind": "map"
5990 }
5991 }
5992 ]
5993 }
5994 }
5995 }
5996 ],
5997 "symbolId": "lib/events.generated:CfnRule.InputTransformerProperty"
5998 },
5999 "@aws-cdk/aws-events.CfnRule.KinesisParametersProperty": {
6000 "assembly": "@aws-cdk/aws-events",
6001 "datatype": true,
6002 "docs": {
6003 "custom": {
6004 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-kinesisparameters.html",
6005 "exampleMetadata": "fixture=_generated"
6006 },
6007 "remarks": "If you do not include this parameter, the default is to use the `eventId` as the partition key.",
6008 "stability": "external",
6009 "summary": "This object enables you to specify a JSON path to extract from the event and use as the partition key for the Amazon Kinesis data stream, so that you can control the shard to which the event goes.",
6010 "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 kinesisParametersProperty: events.CfnRule.KinesisParametersProperty = {\n partitionKeyPath: 'partitionKeyPath',\n};"
6011 },
6012 "fqn": "@aws-cdk/aws-events.CfnRule.KinesisParametersProperty",
6013 "kind": "interface",
6014 "locationInModule": {
6015 "filename": "lib/events.generated.ts",
6016 "line": 3911
6017 },
6018 "name": "KinesisParametersProperty",
6019 "namespace": "CfnRule",
6020 "properties": [
6021 {
6022 "abstract": true,
6023 "docs": {
6024 "custom": {
6025 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-kinesisparameters.html#cfn-events-rule-kinesisparameters-partitionkeypath"
6026 },
6027 "remarks": "For more information, see [Amazon Kinesis Streams Key Concepts](https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key) in the *Amazon Kinesis Streams Developer Guide* .",
6028 "stability": "external",
6029 "summary": "The JSON path to be extracted from the event and used as the partition key."
6030 },
6031 "immutable": true,
6032 "locationInModule": {
6033 "filename": "lib/events.generated.ts",
6034 "line": 3917
6035 },
6036 "name": "partitionKeyPath",
6037 "type": {
6038 "primitive": "string"
6039 }
6040 }
6041 ],
6042 "symbolId": "lib/events.generated:CfnRule.KinesisParametersProperty"
6043 },
6044 "@aws-cdk/aws-events.CfnRule.NetworkConfigurationProperty": {
6045 "assembly": "@aws-cdk/aws-events",
6046 "datatype": true,
6047 "docs": {
6048 "custom": {
6049 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-networkconfiguration.html",
6050 "exampleMetadata": "fixture=_generated"
6051 },
6052 "stability": "external",
6053 "summary": "This structure specifies the network configuration for an ECS task.",
6054 "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 networkConfigurationProperty: events.CfnRule.NetworkConfigurationProperty = {\n awsVpcConfiguration: {\n subnets: ['subnets'],\n\n // the properties below are optional\n assignPublicIp: 'assignPublicIp',\n securityGroups: ['securityGroups'],\n },\n};"
6055 },
6056 "fqn": "@aws-cdk/aws-events.CfnRule.NetworkConfigurationProperty",
6057 "kind": "interface",
6058 "locationInModule": {
6059 "filename": "lib/events.generated.ts",
6060 "line": 3979
6061 },
6062 "name": "NetworkConfigurationProperty",
6063 "namespace": "CfnRule",
6064 "properties": [
6065 {
6066 "abstract": true,
6067 "docs": {
6068 "custom": {
6069 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-networkconfiguration.html#cfn-events-rule-networkconfiguration-awsvpcconfiguration"
6070 },
6071 "remarks": "This structure is relevant only for ECS tasks that use the `awsvpc` network mode.",
6072 "stability": "external",
6073 "summary": "Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used."
6074 },
6075 "immutable": true,
6076 "locationInModule": {
6077 "filename": "lib/events.generated.ts",
6078 "line": 3985
6079 },
6080 "name": "awsVpcConfiguration",
6081 "optional": true,
6082 "type": {
6083 "union": {
6084 "types": [
6085 {
6086 "fqn": "@aws-cdk/core.IResolvable"
6087 },
6088 {
6089 "fqn": "@aws-cdk/aws-events.CfnRule.AwsVpcConfigurationProperty"
6090 }
6091 ]
6092 }
6093 }
6094 }
6095 ],
6096 "symbolId": "lib/events.generated:CfnRule.NetworkConfigurationProperty"
6097 },
6098 "@aws-cdk/aws-events.CfnRule.PlacementConstraintProperty": {
6099 "assembly": "@aws-cdk/aws-events",
6100 "datatype": true,
6101 "docs": {
6102 "custom": {
6103 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-placementconstraint.html",
6104 "exampleMetadata": "fixture=_generated"
6105 },
6106 "remarks": "To learn more, see [Task Placement Constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html) in the Amazon Elastic Container Service Developer Guide.",
6107 "stability": "external",
6108 "summary": "An object representing a constraint on task placement.",
6109 "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 placementConstraintProperty: events.CfnRule.PlacementConstraintProperty = {\n expression: 'expression',\n type: 'type',\n};"
6110 },
6111 "fqn": "@aws-cdk/aws-events.CfnRule.PlacementConstraintProperty",
6112 "kind": "interface",
6113 "locationInModule": {
6114 "filename": "lib/events.generated.ts",
6115 "line": 4046
6116 },
6117 "name": "PlacementConstraintProperty",
6118 "namespace": "CfnRule",
6119 "properties": [
6120 {
6121 "abstract": true,
6122 "docs": {
6123 "custom": {
6124 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-placementconstraint.html#cfn-events-rule-placementconstraint-expression"
6125 },
6126 "remarks": "You cannot specify an expression if the constraint type is `distinctInstance` . To learn more, see [Cluster Query Language](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) in the Amazon Elastic Container Service Developer Guide.",
6127 "stability": "external",
6128 "summary": "A cluster query language expression to apply to the constraint."
6129 },
6130 "immutable": true,
6131 "locationInModule": {
6132 "filename": "lib/events.generated.ts",
6133 "line": 4052
6134 },
6135 "name": "expression",
6136 "optional": true,
6137 "type": {
6138 "primitive": "string"
6139 }
6140 },
6141 {
6142 "abstract": true,
6143 "docs": {
6144 "custom": {
6145 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-placementconstraint.html#cfn-events-rule-placementconstraint-type"
6146 },
6147 "remarks": "Use distinctInstance to ensure that each task in a particular group is running on a different container instance. Use memberOf to restrict the selection to a group of valid candidates.",
6148 "stability": "external",
6149 "summary": "The type of constraint."
6150 },
6151 "immutable": true,
6152 "locationInModule": {
6153 "filename": "lib/events.generated.ts",
6154 "line": 4058
6155 },
6156 "name": "type",
6157 "optional": true,
6158 "type": {
6159 "primitive": "string"
6160 }
6161 }
6162 ],
6163 "symbolId": "lib/events.generated:CfnRule.PlacementConstraintProperty"
6164 },
6165 "@aws-cdk/aws-events.CfnRule.PlacementStrategyProperty": {
6166 "assembly": "@aws-cdk/aws-events",
6167 "datatype": true,
6168 "docs": {
6169 "custom": {
6170 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-placementstrategy.html",
6171 "exampleMetadata": "fixture=_generated"
6172 },
6173 "remarks": "To learn more, see [Task Placement Strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html) in the Amazon Elastic Container Service Service Developer Guide.",
6174 "stability": "external",
6175 "summary": "The task placement strategy for a task or service.",
6176 "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 placementStrategyProperty: events.CfnRule.PlacementStrategyProperty = {\n field: 'field',\n type: 'type',\n};"
6177 },
6178 "fqn": "@aws-cdk/aws-events.CfnRule.PlacementStrategyProperty",
6179 "kind": "interface",
6180 "locationInModule": {
6181 "filename": "lib/events.generated.ts",
6182 "line": 4122
6183 },
6184 "name": "PlacementStrategyProperty",
6185 "namespace": "CfnRule",
6186 "properties": [
6187 {
6188 "abstract": true,
6189 "docs": {
6190 "custom": {
6191 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-placementstrategy.html#cfn-events-rule-placementstrategy-field"
6192 },
6193 "remarks": "For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are cpu and memory. For the random placement strategy, this field is not used.",
6194 "stability": "external",
6195 "summary": "The field to apply the placement strategy against."
6196 },
6197 "immutable": true,
6198 "locationInModule": {
6199 "filename": "lib/events.generated.ts",
6200 "line": 4128
6201 },
6202 "name": "field",
6203 "optional": true,
6204 "type": {
6205 "primitive": "string"
6206 }
6207 },
6208 {
6209 "abstract": true,
6210 "docs": {
6211 "custom": {
6212 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-placementstrategy.html#cfn-events-rule-placementstrategy-type"
6213 },
6214 "remarks": "The random placement strategy randomly places tasks on available candidates. The spread placement strategy spreads placement across available candidates evenly based on the field parameter. The binpack strategy places tasks on available candidates that have the least available amount of the resource that is specified with the field parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory (but still enough to run the task).",
6215 "stability": "external",
6216 "summary": "The type of placement strategy."
6217 },
6218 "immutable": true,
6219 "locationInModule": {
6220 "filename": "lib/events.generated.ts",
6221 "line": 4134
6222 },
6223 "name": "type",
6224 "optional": true,
6225 "type": {
6226 "primitive": "string"
6227 }
6228 }
6229 ],
6230 "symbolId": "lib/events.generated:CfnRule.PlacementStrategyProperty"
6231 },
6232 "@aws-cdk/aws-events.CfnRule.RedshiftDataParametersProperty": {
6233 "assembly": "@aws-cdk/aws-events",
6234 "datatype": true,
6235 "docs": {
6236 "custom": {
6237 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-redshiftdataparameters.html",
6238 "exampleMetadata": "fixture=_generated"
6239 },
6240 "stability": "external",
6241 "summary": "These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API ExecuteStatement based on EventBridge events.",
6242 "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 redshiftDataParametersProperty: events.CfnRule.RedshiftDataParametersProperty = {\n database: 'database',\n sql: 'sql',\n\n // the properties below are optional\n dbUser: 'dbUser',\n secretManagerArn: 'secretManagerArn',\n statementName: 'statementName',\n withEvent: false,\n};"
6243 },
6244 "fqn": "@aws-cdk/aws-events.CfnRule.RedshiftDataParametersProperty",
6245 "kind": "interface",
6246 "locationInModule": {
6247 "filename": "lib/events.generated.ts",
6248 "line": 4198
6249 },
6250 "name": "RedshiftDataParametersProperty",
6251 "namespace": "CfnRule",
6252 "properties": [
6253 {
6254 "abstract": true,
6255 "docs": {
6256 "custom": {
6257 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-redshiftdataparameters.html#cfn-events-rule-redshiftdataparameters-database"
6258 },
6259 "remarks": "Required when authenticating using temporary credentials.",
6260 "stability": "external",
6261 "summary": "The name of the database."
6262 },
6263 "immutable": true,
6264 "locationInModule": {
6265 "filename": "lib/events.generated.ts",
6266 "line": 4204
6267 },
6268 "name": "database",
6269 "type": {
6270 "primitive": "string"
6271 }
6272 },
6273 {
6274 "abstract": true,
6275 "docs": {
6276 "custom": {
6277 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-redshiftdataparameters.html#cfn-events-rule-redshiftdataparameters-sql"
6278 },
6279 "stability": "external",
6280 "summary": "The SQL statement text to run."
6281 },
6282 "immutable": true,
6283 "locationInModule": {
6284 "filename": "lib/events.generated.ts",
6285 "line": 4222
6286 },
6287 "name": "sql",
6288 "type": {
6289 "primitive": "string"
6290 }
6291 },
6292 {
6293 "abstract": true,
6294 "docs": {
6295 "custom": {
6296 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-redshiftdataparameters.html#cfn-events-rule-redshiftdataparameters-dbuser"
6297 },
6298 "remarks": "Required when authenticating using temporary credentials.",
6299 "stability": "external",
6300 "summary": "The database user name."
6301 },
6302 "immutable": true,
6303 "locationInModule": {
6304 "filename": "lib/events.generated.ts",
6305 "line": 4210
6306 },
6307 "name": "dbUser",
6308 "optional": true,
6309 "type": {
6310 "primitive": "string"
6311 }
6312 },
6313 {
6314 "abstract": true,
6315 "docs": {
6316 "custom": {
6317 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-redshiftdataparameters.html#cfn-events-rule-redshiftdataparameters-secretmanagerarn"
6318 },
6319 "remarks": "Required when authenticating using AWS Secrets Manager.",
6320 "stability": "external",
6321 "summary": "The name or ARN of the secret that enables access to the database."
6322 },
6323 "immutable": true,
6324 "locationInModule": {
6325 "filename": "lib/events.generated.ts",
6326 "line": 4216
6327 },
6328 "name": "secretManagerArn",
6329 "optional": true,
6330 "type": {
6331 "primitive": "string"
6332 }
6333 },
6334 {
6335 "abstract": true,
6336 "docs": {
6337 "custom": {
6338 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-redshiftdataparameters.html#cfn-events-rule-redshiftdataparameters-statementname"
6339 },
6340 "remarks": "You can name the SQL statement when you create it to identify the query.",
6341 "stability": "external",
6342 "summary": "The name of the SQL statement."
6343 },
6344 "immutable": true,
6345 "locationInModule": {
6346 "filename": "lib/events.generated.ts",
6347 "line": 4228
6348 },
6349 "name": "statementName",
6350 "optional": true,
6351 "type": {
6352 "primitive": "string"
6353 }
6354 },
6355 {
6356 "abstract": true,
6357 "docs": {
6358 "custom": {
6359 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-redshiftdataparameters.html#cfn-events-rule-redshiftdataparameters-withevent"
6360 },
6361 "stability": "external",
6362 "summary": "Indicates whether to send an event back to EventBridge after the SQL statement runs."
6363 },
6364 "immutable": true,
6365 "locationInModule": {
6366 "filename": "lib/events.generated.ts",
6367 "line": 4234
6368 },
6369 "name": "withEvent",
6370 "optional": true,
6371 "type": {
6372 "union": {
6373 "types": [
6374 {
6375 "primitive": "boolean"
6376 },
6377 {
6378 "fqn": "@aws-cdk/core.IResolvable"
6379 }
6380 ]
6381 }
6382 }
6383 }
6384 ],
6385 "symbolId": "lib/events.generated:CfnRule.RedshiftDataParametersProperty"
6386 },
6387 "@aws-cdk/aws-events.CfnRule.RetryPolicyProperty": {
6388 "assembly": "@aws-cdk/aws-events",
6389 "datatype": true,
6390 "docs": {
6391 "custom": {
6392 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-retrypolicy.html",
6393 "exampleMetadata": "fixture=_generated"
6394 },
6395 "stability": "external",
6396 "summary": "A `RetryPolicy` object that includes information about the retry policy settings.",
6397 "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 retryPolicyProperty: events.CfnRule.RetryPolicyProperty = {\n maximumEventAgeInSeconds: 123,\n maximumRetryAttempts: 123,\n};"
6398 },
6399 "fqn": "@aws-cdk/aws-events.CfnRule.RetryPolicyProperty",
6400 "kind": "interface",
6401 "locationInModule": {
6402 "filename": "lib/events.generated.ts",
6403 "line": 4312
6404 },
6405 "name": "RetryPolicyProperty",
6406 "namespace": "CfnRule",
6407 "properties": [
6408 {
6409 "abstract": true,
6410 "docs": {
6411 "custom": {
6412 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-retrypolicy.html#cfn-events-rule-retrypolicy-maximumeventageinseconds"
6413 },
6414 "stability": "external",
6415 "summary": "The maximum amount of time, in seconds, to continue to make retry attempts."
6416 },
6417 "immutable": true,
6418 "locationInModule": {
6419 "filename": "lib/events.generated.ts",
6420 "line": 4318
6421 },
6422 "name": "maximumEventAgeInSeconds",
6423 "optional": true,
6424 "type": {
6425 "primitive": "number"
6426 }
6427 },
6428 {
6429 "abstract": true,
6430 "docs": {
6431 "custom": {
6432 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-retrypolicy.html#cfn-events-rule-retrypolicy-maximumretryattempts"
6433 },
6434 "remarks": "Retry attempts continue until either the maximum number of attempts is made or until the duration of the `MaximumEventAgeInSeconds` is met.",
6435 "stability": "external",
6436 "summary": "The maximum number of retry attempts to make before the request fails."
6437 },
6438 "immutable": true,
6439 "locationInModule": {
6440 "filename": "lib/events.generated.ts",
6441 "line": 4324
6442 },
6443 "name": "maximumRetryAttempts",
6444 "optional": true,
6445 "type": {
6446 "primitive": "number"
6447 }
6448 }
6449 ],
6450 "symbolId": "lib/events.generated:CfnRule.RetryPolicyProperty"
6451 },
6452 "@aws-cdk/aws-events.CfnRule.RunCommandParametersProperty": {
6453 "assembly": "@aws-cdk/aws-events",
6454 "datatype": true,
6455 "docs": {
6456 "custom": {
6457 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-runcommandparameters.html",
6458 "exampleMetadata": "fixture=_generated"
6459 },
6460 "stability": "external",
6461 "summary": "This parameter contains the criteria (either InstanceIds or a tag) used to specify which EC2 instances are to be sent the command.",
6462 "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 runCommandParametersProperty: events.CfnRule.RunCommandParametersProperty = {\n runCommandTargets: [{\n key: 'key',\n values: ['values'],\n }],\n};"
6463 },
6464 "fqn": "@aws-cdk/aws-events.CfnRule.RunCommandParametersProperty",
6465 "kind": "interface",
6466 "locationInModule": {
6467 "filename": "lib/events.generated.ts",
6468 "line": 4388
6469 },
6470 "name": "RunCommandParametersProperty",
6471 "namespace": "CfnRule",
6472 "properties": [
6473 {
6474 "abstract": true,
6475 "docs": {
6476 "custom": {
6477 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-runcommandparameters.html#cfn-events-rule-runcommandparameters-runcommandtargets"
6478 },
6479 "stability": "external",
6480 "summary": "Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag."
6481 },
6482 "immutable": true,
6483 "locationInModule": {
6484 "filename": "lib/events.generated.ts",
6485 "line": 4394
6486 },
6487 "name": "runCommandTargets",
6488 "type": {
6489 "union": {
6490 "types": [
6491 {
6492 "fqn": "@aws-cdk/core.IResolvable"
6493 },
6494 {
6495 "collection": {
6496 "elementtype": {
6497 "union": {
6498 "types": [
6499 {
6500 "fqn": "@aws-cdk/core.IResolvable"
6501 },
6502 {
6503 "fqn": "@aws-cdk/aws-events.CfnRule.RunCommandTargetProperty"
6504 }
6505 ]
6506 }
6507 },
6508 "kind": "array"
6509 }
6510 }
6511 ]
6512 }
6513 }
6514 }
6515 ],
6516 "symbolId": "lib/events.generated:CfnRule.RunCommandParametersProperty"
6517 },
6518 "@aws-cdk/aws-events.CfnRule.RunCommandTargetProperty": {
6519 "assembly": "@aws-cdk/aws-events",
6520 "datatype": true,
6521 "docs": {
6522 "custom": {
6523 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-runcommandtarget.html",
6524 "exampleMetadata": "fixture=_generated"
6525 },
6526 "remarks": "Each `RunCommandTarget` block can include only one key, but this key may specify multiple values.",
6527 "stability": "external",
6528 "summary": "Information about the EC2 instances that are to be sent the command, specified as key-value pairs.",
6529 "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 runCommandTargetProperty: events.CfnRule.RunCommandTargetProperty = {\n key: 'key',\n values: ['values'],\n};"
6530 },
6531 "fqn": "@aws-cdk/aws-events.CfnRule.RunCommandTargetProperty",
6532 "kind": "interface",
6533 "locationInModule": {
6534 "filename": "lib/events.generated.ts",
6535 "line": 4456
6536 },
6537 "name": "RunCommandTargetProperty",
6538 "namespace": "CfnRule",
6539 "properties": [
6540 {
6541 "abstract": true,
6542 "docs": {
6543 "custom": {
6544 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-runcommandtarget.html#cfn-events-rule-runcommandtarget-key"
6545 },
6546 "stability": "external",
6547 "summary": "Can be either `tag:` *tag-key* or `InstanceIds` ."
6548 },
6549 "immutable": true,
6550 "locationInModule": {
6551 "filename": "lib/events.generated.ts",
6552 "line": 4462
6553 },
6554 "name": "key",
6555 "type": {
6556 "primitive": "string"
6557 }
6558 },
6559 {
6560 "abstract": true,
6561 "docs": {
6562 "custom": {
6563 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-runcommandtarget.html#cfn-events-rule-runcommandtarget-values"
6564 },
6565 "remarks": "If `Key` is `InstanceIds` , `Values` is a list of Amazon EC2 instance IDs.",
6566 "stability": "external",
6567 "summary": "If `Key` is `tag:` *tag-key* , `Values` is a list of tag values."
6568 },
6569 "immutable": true,
6570 "locationInModule": {
6571 "filename": "lib/events.generated.ts",
6572 "line": 4468
6573 },
6574 "name": "values",
6575 "type": {
6576 "collection": {
6577 "elementtype": {
6578 "primitive": "string"
6579 },
6580 "kind": "array"
6581 }
6582 }
6583 }
6584 ],
6585 "symbolId": "lib/events.generated:CfnRule.RunCommandTargetProperty"
6586 },
6587 "@aws-cdk/aws-events.CfnRule.SageMakerPipelineParameterProperty": {
6588 "assembly": "@aws-cdk/aws-events",
6589 "datatype": true,
6590 "docs": {
6591 "custom": {
6592 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sagemakerpipelineparameter.html",
6593 "exampleMetadata": "fixture=_generated"
6594 },
6595 "stability": "external",
6596 "summary": "Name/Value pair of a parameter to start execution of a SageMaker Model Building Pipeline.",
6597 "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 sageMakerPipelineParameterProperty: events.CfnRule.SageMakerPipelineParameterProperty = {\n name: 'name',\n value: 'value',\n};"
6598 },
6599 "fqn": "@aws-cdk/aws-events.CfnRule.SageMakerPipelineParameterProperty",
6600 "kind": "interface",
6601 "locationInModule": {
6602 "filename": "lib/events.generated.ts",
6603 "line": 4534
6604 },
6605 "name": "SageMakerPipelineParameterProperty",
6606 "namespace": "CfnRule",
6607 "properties": [
6608 {
6609 "abstract": true,
6610 "docs": {
6611 "custom": {
6612 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sagemakerpipelineparameter.html#cfn-events-rule-sagemakerpipelineparameter-name"
6613 },
6614 "stability": "external",
6615 "summary": "Name of parameter to start execution of a SageMaker Model Building Pipeline."
6616 },
6617 "immutable": true,
6618 "locationInModule": {
6619 "filename": "lib/events.generated.ts",
6620 "line": 4540
6621 },
6622 "name": "name",
6623 "type": {
6624 "primitive": "string"
6625 }
6626 },
6627 {
6628 "abstract": true,
6629 "docs": {
6630 "custom": {
6631 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sagemakerpipelineparameter.html#cfn-events-rule-sagemakerpipelineparameter-value"
6632 },
6633 "stability": "external",
6634 "summary": "Value of parameter to start execution of a SageMaker Model Building Pipeline."
6635 },
6636 "immutable": true,
6637 "locationInModule": {
6638 "filename": "lib/events.generated.ts",
6639 "line": 4546
6640 },
6641 "name": "value",
6642 "type": {
6643 "primitive": "string"
6644 }
6645 }
6646 ],
6647 "symbolId": "lib/events.generated:CfnRule.SageMakerPipelineParameterProperty"
6648 },
6649 "@aws-cdk/aws-events.CfnRule.SageMakerPipelineParametersProperty": {
6650 "assembly": "@aws-cdk/aws-events",
6651 "datatype": true,
6652 "docs": {
6653 "custom": {
6654 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sagemakerpipelineparameters.html",
6655 "exampleMetadata": "fixture=_generated"
6656 },
6657 "stability": "external",
6658 "summary": "These are custom parameters to use when the target is a SageMaker Model Building Pipeline that starts based on EventBridge events.",
6659 "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 sageMakerPipelineParametersProperty: events.CfnRule.SageMakerPipelineParametersProperty = {\n pipelineParameterList: [{\n name: 'name',\n value: 'value',\n }],\n};"
6660 },
6661 "fqn": "@aws-cdk/aws-events.CfnRule.SageMakerPipelineParametersProperty",
6662 "kind": "interface",
6663 "locationInModule": {
6664 "filename": "lib/events.generated.ts",
6665 "line": 4612
6666 },
6667 "name": "SageMakerPipelineParametersProperty",
6668 "namespace": "CfnRule",
6669 "properties": [
6670 {
6671 "abstract": true,
6672 "docs": {
6673 "custom": {
6674 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sagemakerpipelineparameters.html#cfn-events-rule-sagemakerpipelineparameters-pipelineparameterlist"
6675 },
6676 "stability": "external",
6677 "summary": "List of Parameter names and values for SageMaker Model Building Pipeline execution."
6678 },
6679 "immutable": true,
6680 "locationInModule": {
6681 "filename": "lib/events.generated.ts",
6682 "line": 4618
6683 },
6684 "name": "pipelineParameterList",
6685 "optional": true,
6686 "type": {
6687 "union": {
6688 "types": [
6689 {
6690 "fqn": "@aws-cdk/core.IResolvable"
6691 },
6692 {
6693 "collection": {
6694 "elementtype": {
6695 "union": {
6696 "types": [
6697 {
6698 "fqn": "@aws-cdk/core.IResolvable"
6699 },
6700 {
6701 "fqn": "@aws-cdk/aws-events.CfnRule.SageMakerPipelineParameterProperty"
6702 }
6703 ]
6704 }
6705 },
6706 "kind": "array"
6707 }
6708 }
6709 ]
6710 }
6711 }
6712 }
6713 ],
6714 "symbolId": "lib/events.generated:CfnRule.SageMakerPipelineParametersProperty"
6715 },
6716 "@aws-cdk/aws-events.CfnRule.SqsParametersProperty": {
6717 "assembly": "@aws-cdk/aws-events",
6718 "datatype": true,
6719 "docs": {
6720 "custom": {
6721 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sqsparameters.html",
6722 "exampleMetadata": "fixture=_generated"
6723 },
6724 "stability": "external",
6725 "summary": "This structure includes the custom parameter to be used when the target is an SQS FIFO queue.",
6726 "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 sqsParametersProperty: events.CfnRule.SqsParametersProperty = {\n messageGroupId: 'messageGroupId',\n};"
6727 },
6728 "fqn": "@aws-cdk/aws-events.CfnRule.SqsParametersProperty",
6729 "kind": "interface",
6730 "locationInModule": {
6731 "filename": "lib/events.generated.ts",
6732 "line": 4679
6733 },
6734 "name": "SqsParametersProperty",
6735 "namespace": "CfnRule",
6736 "properties": [
6737 {
6738 "abstract": true,
6739 "docs": {
6740 "custom": {
6741 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sqsparameters.html#cfn-events-rule-sqsparameters-messagegroupid"
6742 },
6743 "stability": "external",
6744 "summary": "The FIFO message group ID to use as the target."
6745 },
6746 "immutable": true,
6747 "locationInModule": {
6748 "filename": "lib/events.generated.ts",
6749 "line": 4685
6750 },
6751 "name": "messageGroupId",
6752 "type": {
6753 "primitive": "string"
6754 }
6755 }
6756 ],
6757 "symbolId": "lib/events.generated:CfnRule.SqsParametersProperty"
6758 },
6759 "@aws-cdk/aws-events.CfnRule.TagProperty": {
6760 "assembly": "@aws-cdk/aws-events",
6761 "datatype": true,
6762 "docs": {
6763 "custom": {
6764 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-tag.html",
6765 "exampleMetadata": "fixture=_generated"
6766 },
6767 "remarks": "The tag will be propagated to ECS by EventBridge when starting an ECS task based on a matched event.\n\n> Currently, tags are only available when using ECS with EventBridge .",
6768 "stability": "external",
6769 "summary": "A key-value pair associated with an ECS Target of an EventBridge rule.",
6770 "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 tagProperty: events.CfnRule.TagProperty = {\n key: 'key',\n value: 'value',\n};"
6771 },
6772 "fqn": "@aws-cdk/aws-events.CfnRule.TagProperty",
6773 "kind": "interface",
6774 "locationInModule": {
6775 "filename": "lib/events.generated.ts",
6776 "line": 4749
6777 },
6778 "name": "TagProperty",
6779 "namespace": "CfnRule",
6780 "properties": [
6781 {
6782 "abstract": true,
6783 "docs": {
6784 "custom": {
6785 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-tag.html#cfn-events-rule-tag-key"
6786 },
6787 "remarks": "The combination of tag keys and values can help you organize and categorize your resources.",
6788 "stability": "external",
6789 "summary": "A string you can use to assign a value."
6790 },
6791 "immutable": true,
6792 "locationInModule": {
6793 "filename": "lib/events.generated.ts",
6794 "line": 4755
6795 },
6796 "name": "key",
6797 "optional": true,
6798 "type": {
6799 "primitive": "string"
6800 }
6801 },
6802 {
6803 "abstract": true,
6804 "docs": {
6805 "custom": {
6806 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-tag.html#cfn-events-rule-tag-value"
6807 },
6808 "stability": "external",
6809 "summary": "The value for the specified tag key."
6810 },
6811 "immutable": true,
6812 "locationInModule": {
6813 "filename": "lib/events.generated.ts",
6814 "line": 4761
6815 },
6816 "name": "value",
6817 "optional": true,
6818 "type": {
6819 "primitive": "string"
6820 }
6821 }
6822 ],
6823 "symbolId": "lib/events.generated:CfnRule.TagProperty"
6824 },
6825 "@aws-cdk/aws-events.CfnRule.TargetProperty": {
6826 "assembly": "@aws-cdk/aws-events",
6827 "datatype": true,
6828 "docs": {
6829 "custom": {
6830 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html",
6831 "exampleMetadata": "fixture=_generated"
6832 },
6833 "remarks": "For a complete list of services and resources that can be set as a target, see [PutTargets](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutTargets.html) .\n\nIf you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a `RoleArn` with proper permissions in the `Target` structure. For more information, see [Sending and Receiving Events Between AWS Accounts](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html) in the *Amazon EventBridge User Guide* .",
6834 "stability": "external",
6835 "summary": "Targets are the resources to be invoked when a rule is triggered.",
6836 "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 targetProperty: events.CfnRule.TargetProperty = {\n arn: 'arn',\n id: 'id',\n\n // the properties below are optional\n batchParameters: {\n jobDefinition: 'jobDefinition',\n jobName: 'jobName',\n\n // the properties below are optional\n arrayProperties: {\n size: 123,\n },\n retryStrategy: {\n attempts: 123,\n },\n },\n deadLetterConfig: {\n arn: 'arn',\n },\n ecsParameters: {\n taskDefinitionArn: 'taskDefinitionArn',\n\n // the properties below are optional\n capacityProviderStrategy: [{\n capacityProvider: 'capacityProvider',\n\n // the properties below are optional\n base: 123,\n weight: 123,\n }],\n enableEcsManagedTags: false,\n enableExecuteCommand: false,\n group: 'group',\n launchType: 'launchType',\n networkConfiguration: {\n awsVpcConfiguration: {\n subnets: ['subnets'],\n\n // the properties below are optional\n assignPublicIp: 'assignPublicIp',\n securityGroups: ['securityGroups'],\n },\n },\n placementConstraints: [{\n expression: 'expression',\n type: 'type',\n }],\n placementStrategies: [{\n field: 'field',\n type: 'type',\n }],\n platformVersion: 'platformVersion',\n propagateTags: 'propagateTags',\n referenceId: 'referenceId',\n tagList: [{\n key: 'key',\n value: 'value',\n }],\n taskCount: 123,\n },\n httpParameters: {\n headerParameters: {\n headerParametersKey: 'headerParameters',\n },\n pathParameterValues: ['pathParameterValues'],\n queryStringParameters: {\n queryStringParametersKey: 'queryStringParameters',\n },\n },\n input: 'input',\n inputPath: 'inputPath',\n inputTransformer: {\n inputTemplate: 'inputTemplate',\n\n // the properties below are optional\n inputPathsMap: {\n inputPathsMapKey: 'inputPathsMap',\n },\n },\n kinesisParameters: {\n partitionKeyPath: 'partitionKeyPath',\n },\n redshiftDataParameters: {\n database: 'database',\n sql: 'sql',\n\n // the properties below are optional\n dbUser: 'dbUser',\n secretManagerArn: 'secretManagerArn',\n statementName: 'statementName',\n withEvent: false,\n },\n retryPolicy: {\n maximumEventAgeInSeconds: 123,\n maximumRetryAttempts: 123,\n },\n roleArn: 'roleArn',\n runCommandParameters: {\n runCommandTargets: [{\n key: 'key',\n values: ['values'],\n }],\n },\n sageMakerPipelineParameters: {\n pipelineParameterList: [{\n name: 'name',\n value: 'value',\n }],\n },\n sqsParameters: {\n messageGroupId: 'messageGroupId',\n },\n};"
6837 },
6838 "fqn": "@aws-cdk/aws-events.CfnRule.TargetProperty",
6839 "kind": "interface",
6840 "locationInModule": {
6841 "filename": "lib/events.generated.ts",
6842 "line": 4827
6843 },
6844 "name": "TargetProperty",
6845 "namespace": "CfnRule",
6846 "properties": [
6847 {
6848 "abstract": true,
6849 "docs": {
6850 "custom": {
6851 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-arn"
6852 },
6853 "stability": "external",
6854 "summary": "The Amazon Resource Name (ARN) of the target."
6855 },
6856 "immutable": true,
6857 "locationInModule": {
6858 "filename": "lib/events.generated.ts",
6859 "line": 4833
6860 },
6861 "name": "arn",
6862 "type": {
6863 "primitive": "string"
6864 }
6865 },
6866 {
6867 "abstract": true,
6868 "docs": {
6869 "custom": {
6870 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-id"
6871 },
6872 "remarks": "Use this ID to reference the target when updating the rule. We recommend using a memorable and unique string.",
6873 "stability": "external",
6874 "summary": "The ID of the target within the specified rule."
6875 },
6876 "immutable": true,
6877 "locationInModule": {
6878 "filename": "lib/events.generated.ts",
6879 "line": 4865
6880 },
6881 "name": "id",
6882 "type": {
6883 "primitive": "string"
6884 }
6885 },
6886 {
6887 "abstract": true,
6888 "docs": {
6889 "custom": {
6890 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-batchparameters"
6891 },
6892 "remarks": "For more information, see [Jobs](https://docs.aws.amazon.com/batch/latest/userguide/jobs.html) in the *AWS Batch User Guide* .",
6893 "stability": "external",
6894 "summary": "If the event target is an AWS Batch job, this contains the job definition, job name, and other parameters."
6895 },
6896 "immutable": true,
6897 "locationInModule": {
6898 "filename": "lib/events.generated.ts",
6899 "line": 4839
6900 },
6901 "name": "batchParameters",
6902 "optional": true,
6903 "type": {
6904 "union": {
6905 "types": [
6906 {
6907 "fqn": "@aws-cdk/core.IResolvable"
6908 },
6909 {
6910 "fqn": "@aws-cdk/aws-events.CfnRule.BatchParametersProperty"
6911 }
6912 ]
6913 }
6914 }
6915 },
6916 {
6917 "abstract": true,
6918 "docs": {
6919 "custom": {
6920 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-deadletterconfig"
6921 },
6922 "stability": "external",
6923 "summary": "The `DeadLetterConfig` that defines the target queue to send dead-letter queue events to."
6924 },
6925 "immutable": true,
6926 "locationInModule": {
6927 "filename": "lib/events.generated.ts",
6928 "line": 4845
6929 },
6930 "name": "deadLetterConfig",
6931 "optional": true,
6932 "type": {
6933 "union": {
6934 "types": [
6935 {
6936 "fqn": "@aws-cdk/core.IResolvable"
6937 },
6938 {
6939 "fqn": "@aws-cdk/aws-events.CfnRule.DeadLetterConfigProperty"
6940 }
6941 ]
6942 }
6943 }
6944 },
6945 {
6946 "abstract": true,
6947 "docs": {
6948 "custom": {
6949 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-ecsparameters"
6950 },
6951 "remarks": "For more information about Amazon ECS tasks, see [Task Definitions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html) in the *Amazon EC2 Container Service Developer Guide* .",
6952 "stability": "external",
6953 "summary": "Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task."
6954 },
6955 "immutable": true,
6956 "locationInModule": {
6957 "filename": "lib/events.generated.ts",
6958 "line": 4851
6959 },
6960 "name": "ecsParameters",
6961 "optional": true,
6962 "type": {
6963 "union": {
6964 "types": [
6965 {
6966 "fqn": "@aws-cdk/core.IResolvable"
6967 },
6968 {
6969 "fqn": "@aws-cdk/aws-events.CfnRule.EcsParametersProperty"
6970 }
6971 ]
6972 }
6973 }
6974 },
6975 {
6976 "abstract": true,
6977 "docs": {
6978 "custom": {
6979 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-httpparameters"
6980 },
6981 "remarks": "If you specify an API Gateway API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence.",
6982 "stability": "external",
6983 "summary": "Contains the HTTP parameters to use when the target is a API Gateway endpoint or EventBridge ApiDestination."
6984 },
6985 "immutable": true,
6986 "locationInModule": {
6987 "filename": "lib/events.generated.ts",
6988 "line": 4859
6989 },
6990 "name": "httpParameters",
6991 "optional": true,
6992 "type": {
6993 "union": {
6994 "types": [
6995 {
6996 "fqn": "@aws-cdk/core.IResolvable"
6997 },
6998 {
6999 "fqn": "@aws-cdk/aws-events.CfnRule.HttpParametersProperty"
7000 }
7001 ]
7002 }
7003 }
7004 },
7005 {
7006 "abstract": true,
7007 "docs": {
7008 "custom": {
7009 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-input"
7010 },
7011 "remarks": "In this case, nothing from the event itself is passed to the target. For more information, see [The JavaScript Object Notation (JSON) Data Interchange Format](https://docs.aws.amazon.com/http://www.rfc-editor.org/rfc/rfc7159.txt) .",
7012 "stability": "external",
7013 "summary": "Valid JSON text passed to the target."
7014 },
7015 "immutable": true,
7016 "locationInModule": {
7017 "filename": "lib/events.generated.ts",
7018 "line": 4871
7019 },
7020 "name": "input",
7021 "optional": true,
7022 "type": {
7023 "primitive": "string"
7024 }
7025 },
7026 {
7027 "abstract": true,
7028 "docs": {
7029 "custom": {
7030 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-inputpath"
7031 },
7032 "remarks": "You may use JSON dot notation or bracket notation. For more information about JSON paths, see [JSONPath](https://docs.aws.amazon.com/http://goessner.net/articles/JsonPath/) .",
7033 "stability": "external",
7034 "summary": "The value of the JSONPath that is used for extracting part of the matched event when passing it to the target."
7035 },
7036 "immutable": true,
7037 "locationInModule": {
7038 "filename": "lib/events.generated.ts",
7039 "line": 4877
7040 },
7041 "name": "inputPath",
7042 "optional": true,
7043 "type": {
7044 "primitive": "string"
7045 }
7046 },
7047 {
7048 "abstract": true,
7049 "docs": {
7050 "custom": {
7051 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-inputtransformer"
7052 },
7053 "remarks": "You can extract one or more key-value pairs from the event and then use that data to send customized input to the target.",
7054 "stability": "external",
7055 "summary": "Settings to enable you to provide custom input to a target based on certain event data."
7056 },
7057 "immutable": true,
7058 "locationInModule": {
7059 "filename": "lib/events.generated.ts",
7060 "line": 4883
7061 },
7062 "name": "inputTransformer",
7063 "optional": true,
7064 "type": {
7065 "union": {
7066 "types": [
7067 {
7068 "fqn": "@aws-cdk/core.IResolvable"
7069 },
7070 {
7071 "fqn": "@aws-cdk/aws-events.CfnRule.InputTransformerProperty"
7072 }
7073 ]
7074 }
7075 }
7076 },
7077 {
7078 "abstract": true,
7079 "docs": {
7080 "custom": {
7081 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-kinesisparameters"
7082 },
7083 "remarks": "If you do not include this parameter, the default is to use the `eventId` as the partition key.",
7084 "stability": "external",
7085 "summary": "The custom parameter you can use to control the shard assignment, when the target is a Kinesis data stream."
7086 },
7087 "immutable": true,
7088 "locationInModule": {
7089 "filename": "lib/events.generated.ts",
7090 "line": 4889
7091 },
7092 "name": "kinesisParameters",
7093 "optional": true,
7094 "type": {
7095 "union": {
7096 "types": [
7097 {
7098 "fqn": "@aws-cdk/core.IResolvable"
7099 },
7100 {
7101 "fqn": "@aws-cdk/aws-events.CfnRule.KinesisParametersProperty"
7102 }
7103 ]
7104 }
7105 }
7106 },
7107 {
7108 "abstract": true,
7109 "docs": {
7110 "custom": {
7111 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-redshiftdataparameters"
7112 },
7113 "remarks": "If you specify a Amazon Redshift Cluster as a Target, you can use this to specify parameters to invoke the Amazon Redshift Data API ExecuteStatement based on EventBridge events.",
7114 "stability": "external",
7115 "summary": "Contains the Amazon Redshift Data API parameters to use when the target is a Amazon Redshift cluster."
7116 },
7117 "immutable": true,
7118 "locationInModule": {
7119 "filename": "lib/events.generated.ts",
7120 "line": 4897
7121 },
7122 "name": "redshiftDataParameters",
7123 "optional": true,
7124 "type": {
7125 "union": {
7126 "types": [
7127 {
7128 "fqn": "@aws-cdk/core.IResolvable"
7129 },
7130 {
7131 "fqn": "@aws-cdk/aws-events.CfnRule.RedshiftDataParametersProperty"
7132 }
7133 ]
7134 }
7135 }
7136 },
7137 {
7138 "abstract": true,
7139 "docs": {
7140 "custom": {
7141 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-retrypolicy"
7142 },
7143 "stability": "external",
7144 "summary": "The `RetryPolicy` object that contains the retry policy configuration to use for the dead-letter queue."
7145 },
7146 "immutable": true,
7147 "locationInModule": {
7148 "filename": "lib/events.generated.ts",
7149 "line": 4903
7150 },
7151 "name": "retryPolicy",
7152 "optional": true,
7153 "type": {
7154 "union": {
7155 "types": [
7156 {
7157 "fqn": "@aws-cdk/core.IResolvable"
7158 },
7159 {
7160 "fqn": "@aws-cdk/aws-events.CfnRule.RetryPolicyProperty"
7161 }
7162 ]
7163 }
7164 }
7165 },
7166 {
7167 "abstract": true,
7168 "docs": {
7169 "custom": {
7170 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-rolearn"
7171 },
7172 "remarks": "If one rule triggers multiple targets, you can use a different IAM role for each target.",
7173 "stability": "external",
7174 "summary": "The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered."
7175 },
7176 "immutable": true,
7177 "locationInModule": {
7178 "filename": "lib/events.generated.ts",
7179 "line": 4909
7180 },
7181 "name": "roleArn",
7182 "optional": true,
7183 "type": {
7184 "primitive": "string"
7185 }
7186 },
7187 {
7188 "abstract": true,
7189 "docs": {
7190 "custom": {
7191 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-runcommandparameters"
7192 },
7193 "stability": "external",
7194 "summary": "Parameters used when you are using the rule to invoke Amazon EC2 Run Command."
7195 },
7196 "immutable": true,
7197 "locationInModule": {
7198 "filename": "lib/events.generated.ts",
7199 "line": 4915
7200 },
7201 "name": "runCommandParameters",
7202 "optional": true,
7203 "type": {
7204 "union": {
7205 "types": [
7206 {
7207 "fqn": "@aws-cdk/core.IResolvable"
7208 },
7209 {
7210 "fqn": "@aws-cdk/aws-events.CfnRule.RunCommandParametersProperty"
7211 }
7212 ]
7213 }
7214 }
7215 },
7216 {
7217 "abstract": true,
7218 "docs": {
7219 "custom": {
7220 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-sagemakerpipelineparameters"
7221 },
7222 "remarks": "If you specify a SageMaker Model Building Pipeline as a target, you can use this to specify parameters to start a pipeline execution based on EventBridge events.",
7223 "stability": "external",
7224 "summary": "Contains the SageMaker Model Building Pipeline parameters to start execution of a SageMaker Model Building Pipeline."
7225 },
7226 "immutable": true,
7227 "locationInModule": {
7228 "filename": "lib/events.generated.ts",
7229 "line": 4923
7230 },
7231 "name": "sageMakerPipelineParameters",
7232 "optional": true,
7233 "type": {
7234 "union": {
7235 "types": [
7236 {
7237 "fqn": "@aws-cdk/core.IResolvable"
7238 },
7239 {
7240 "fqn": "@aws-cdk/aws-events.CfnRule.SageMakerPipelineParametersProperty"
7241 }
7242 ]
7243 }
7244 }
7245 },
7246 {
7247 "abstract": true,
7248 "docs": {
7249 "custom": {
7250 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-sqsparameters"
7251 },
7252 "remarks": "If you specify an SQS FIFO queue as a target, the queue must have content-based deduplication enabled.",
7253 "stability": "external",
7254 "summary": "Contains the message group ID to use when the target is a FIFO queue."
7255 },
7256 "immutable": true,
7257 "locationInModule": {
7258 "filename": "lib/events.generated.ts",
7259 "line": 4931
7260 },
7261 "name": "sqsParameters",
7262 "optional": true,
7263 "type": {
7264 "union": {
7265 "types": [
7266 {
7267 "fqn": "@aws-cdk/core.IResolvable"
7268 },
7269 {
7270 "fqn": "@aws-cdk/aws-events.CfnRule.SqsParametersProperty"
7271 }
7272 ]
7273 }
7274 }
7275 }
7276 ],
7277 "symbolId": "lib/events.generated:CfnRule.TargetProperty"
7278 },
7279 "@aws-cdk/aws-events.CfnRuleProps": {
7280 "assembly": "@aws-cdk/aws-events",
7281 "datatype": true,
7282 "docs": {
7283 "custom": {
7284 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html",
7285 "exampleMetadata": "fixture=_generated"
7286 },
7287 "stability": "external",
7288 "summary": "Properties for defining a `CfnRule`.",
7289 "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 cfnRuleProps: events.CfnRuleProps = {\n description: 'description',\n eventBusName: 'eventBusName',\n eventPattern: eventPattern,\n name: 'name',\n roleArn: 'roleArn',\n scheduleExpression: 'scheduleExpression',\n state: 'state',\n targets: [{\n arn: 'arn',\n id: 'id',\n\n // the properties below are optional\n batchParameters: {\n jobDefinition: 'jobDefinition',\n jobName: 'jobName',\n\n // the properties below are optional\n arrayProperties: {\n size: 123,\n },\n retryStrategy: {\n attempts: 123,\n },\n },\n deadLetterConfig: {\n arn: 'arn',\n },\n ecsParameters: {\n taskDefinitionArn: 'taskDefinitionArn',\n\n // the properties below are optional\n capacityProviderStrategy: [{\n capacityProvider: 'capacityProvider',\n\n // the properties below are optional\n base: 123,\n weight: 123,\n }],\n enableEcsManagedTags: false,\n enableExecuteCommand: false,\n group: 'group',\n launchType: 'launchType',\n networkConfiguration: {\n awsVpcConfiguration: {\n subnets: ['subnets'],\n\n // the properties below are optional\n assignPublicIp: 'assignPublicIp',\n securityGroups: ['securityGroups'],\n },\n },\n placementConstraints: [{\n expression: 'expression',\n type: 'type',\n }],\n placementStrategies: [{\n field: 'field',\n type: 'type',\n }],\n platformVersion: 'platformVersion',\n propagateTags: 'propagateTags',\n referenceId: 'referenceId',\n tagList: [{\n key: 'key',\n value: 'value',\n }],\n taskCount: 123,\n },\n httpParameters: {\n headerParameters: {\n headerParametersKey: 'headerParameters',\n },\n pathParameterValues: ['pathParameterValues'],\n queryStringParameters: {\n queryStringParametersKey: 'queryStringParameters',\n },\n },\n input: 'input',\n inputPath: 'inputPath',\n inputTransformer: {\n inputTemplate: 'inputTemplate',\n\n // the properties below are optional\n inputPathsMap: {\n inputPathsMapKey: 'inputPathsMap',\n },\n },\n kinesisParameters: {\n partitionKeyPath: 'partitionKeyPath',\n },\n redshiftDataParameters: {\n database: 'database',\n sql: 'sql',\n\n // the properties below are optional\n dbUser: 'dbUser',\n secretManagerArn: 'secretManagerArn',\n statementName: 'statementName',\n withEvent: false,\n },\n retryPolicy: {\n maximumEventAgeInSeconds: 123,\n maximumRetryAttempts: 123,\n },\n roleArn: 'roleArn',\n runCommandParameters: {\n runCommandTargets: [{\n key: 'key',\n values: ['values'],\n }],\n },\n sageMakerPipelineParameters: {\n pipelineParameterList: [{\n name: 'name',\n value: 'value',\n }],\n },\n sqsParameters: {\n messageGroupId: 'messageGroupId',\n },\n }],\n};"
7290 },
7291 "fqn": "@aws-cdk/aws-events.CfnRuleProps",
7292 "kind": "interface",
7293 "locationInModule": {
7294 "filename": "lib/events.generated.ts",
7295 "line": 2650
7296 },
7297 "name": "CfnRuleProps",
7298 "properties": [
7299 {
7300 "abstract": true,
7301 "docs": {
7302 "custom": {
7303 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-description"
7304 },
7305 "stability": "external",
7306 "summary": "The description of the rule."
7307 },
7308 "immutable": true,
7309 "locationInModule": {
7310 "filename": "lib/events.generated.ts",
7311 "line": 2657
7312 },
7313 "name": "description",
7314 "optional": true,
7315 "type": {
7316 "primitive": "string"
7317 }
7318 },
7319 {
7320 "abstract": true,
7321 "docs": {
7322 "custom": {
7323 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-eventbusname"
7324 },
7325 "remarks": "If you omit this, the default event bus is used.",
7326 "stability": "external",
7327 "summary": "The name or ARN of the event bus associated with the rule."
7328 },
7329 "immutable": true,
7330 "locationInModule": {
7331 "filename": "lib/events.generated.ts",
7332 "line": 2664
7333 },
7334 "name": "eventBusName",
7335 "optional": true,
7336 "type": {
7337 "primitive": "string"
7338 }
7339 },
7340 {
7341 "abstract": true,
7342 "docs": {
7343 "custom": {
7344 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-eventpattern"
7345 },
7346 "remarks": "For more information, see [Events and Event Patterns](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html) in the *Amazon EventBridge User Guide* .",
7347 "stability": "external",
7348 "summary": "The event pattern of the rule."
7349 },
7350 "immutable": true,
7351 "locationInModule": {
7352 "filename": "lib/events.generated.ts",
7353 "line": 2671
7354 },
7355 "name": "eventPattern",
7356 "optional": true,
7357 "type": {
7358 "primitive": "any"
7359 }
7360 },
7361 {
7362 "abstract": true,
7363 "docs": {
7364 "custom": {
7365 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-name"
7366 },
7367 "stability": "external",
7368 "summary": "The name of the rule."
7369 },
7370 "immutable": true,
7371 "locationInModule": {
7372 "filename": "lib/events.generated.ts",
7373 "line": 2678
7374 },
7375 "name": "name",
7376 "optional": true,
7377 "type": {
7378 "primitive": "string"
7379 }
7380 },
7381 {
7382 "abstract": true,
7383 "docs": {
7384 "custom": {
7385 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-rolearn"
7386 },
7387 "remarks": "If you're setting an event bus in another account as the target and that account granted permission to your account through an organization instead of directly by the account ID, you must specify a `RoleArn` with proper permissions in the `Target` structure, instead of here in this parameter.",
7388 "stability": "external",
7389 "summary": "The Amazon Resource Name (ARN) of the role that is used for target invocation."
7390 },
7391 "immutable": true,
7392 "locationInModule": {
7393 "filename": "lib/events.generated.ts",
7394 "line": 2687
7395 },
7396 "name": "roleArn",
7397 "optional": true,
7398 "type": {
7399 "primitive": "string"
7400 }
7401 },
7402 {
7403 "abstract": true,
7404 "docs": {
7405 "custom": {
7406 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-scheduleexpression"
7407 },
7408 "remarks": "For example, \"cron(0 20 * * ? *)\", \"rate(5 minutes)\". For more information, see [Creating an Amazon EventBridge rule that runs on a schedule](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html) .",
7409 "stability": "external",
7410 "summary": "The scheduling expression."
7411 },
7412 "immutable": true,
7413 "locationInModule": {
7414 "filename": "lib/events.generated.ts",
7415 "line": 2694
7416 },
7417 "name": "scheduleExpression",
7418 "optional": true,
7419 "type": {
7420 "primitive": "string"
7421 }
7422 },
7423 {
7424 "abstract": true,
7425 "docs": {
7426 "custom": {
7427 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-state"
7428 },
7429 "stability": "external",
7430 "summary": "The state of the rule."
7431 },
7432 "immutable": true,
7433 "locationInModule": {
7434 "filename": "lib/events.generated.ts",
7435 "line": 2701
7436 },
7437 "name": "state",
7438 "optional": true,
7439 "type": {
7440 "primitive": "string"
7441 }
7442 },
7443 {
7444 "abstract": true,
7445 "docs": {
7446 "custom": {
7447 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html#cfn-events-rule-targets"
7448 },
7449 "remarks": "Targets are the resources that are invoked when a rule is triggered.\n\nThe maximum number of entries per request is 10.\n\n> Each rule can have up to five (5) targets associated with it at one time.\n\nFor a list of services you can configure as targets for events, see [EventBridge targets](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-targets.html) in the *Amazon EventBridge User Guide* .\n\nCreating rules with built-in targets is supported only in the AWS Management Console . The built-in targets are:\n\n- `Amazon EBS CreateSnapshot API call`\n- `Amazon EC2 RebootInstances API call`\n- `Amazon EC2 StopInstances API call`\n- `Amazon EC2 TerminateInstances API call`\n\nFor some target types, `PutTargets` provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the `KinesisParameters` argument. To invoke a command on multiple EC2 instances with one rule, you can use the `RunCommandParameters` field.\n\nTo be able to make API calls against the resources that you own, Amazon EventBridge needs the appropriate permissions:\n\n- For AWS Lambda and Amazon SNS resources, EventBridge relies on resource-based policies.\n- For EC2 instances, Kinesis Data Streams, AWS Step Functions state machines and API Gateway APIs, EventBridge relies on IAM roles that you specify in the `RoleARN` argument in `PutTargets` .\n\nFor more information, see [Authentication and Access Control](https://docs.aws.amazon.com/eventbridge/latest/userguide/auth-and-access-control-eventbridge.html) in the *Amazon EventBridge User Guide* .\n\nIf another AWS account is in the same region and has granted you permission (using `PutPermission` ), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the `Arn` value when you run `PutTargets` . If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see [Amazon EventBridge Pricing](https://docs.aws.amazon.com/eventbridge/pricing/) .\n\n> `Input` , `InputPath` , and `InputTransformer` are not available with `PutTarget` if the target is an event bus of a different AWS account.\n\nIf you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a `RoleArn` with proper permissions in the `Target` structure. For more information, see [Sending and Receiving Events Between AWS Accounts](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html) in the *Amazon EventBridge User Guide* .\n\n> If you have an IAM role on a cross-account event bus target, a `PutTargets` call without a role on the same target (same `Id` and `Arn` ) will not remove the role.\n\nFor more information about enabling cross-account events, see [PutPermission](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutPermission.html) .\n\n*Input* , *InputPath* , and *InputTransformer* are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event:\n\n- If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target).\n- If *Input* is specified in the form of valid JSON, then the matched event is overridden with this constant.\n- If *InputPath* is specified in the form of JSONPath (for example, `$.detail` ), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed).\n- If *InputTransformer* is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target.\n\nWhen you specify `InputPath` or `InputTransformer` , you must use JSON dot notation, not bracket notation.\n\nWhen you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect.\n\nThis action can partially fail if too many requests are made at the same time. If that happens, `FailedEntryCount` is non-zero in the response and each entry in `FailedEntries` provides the ID of the failed target and the error code.",
7450 "stability": "external",
7451 "summary": "Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule."
7452 },
7453 "immutable": true,
7454 "locationInModule": {
7455 "filename": "lib/events.generated.ts",
7456 "line": 2755
7457 },
7458 "name": "targets",
7459 "optional": true,
7460 "type": {
7461 "union": {
7462 "types": [
7463 {
7464 "fqn": "@aws-cdk/core.IResolvable"
7465 },
7466 {
7467 "collection": {
7468 "elementtype": {
7469 "union": {
7470 "types": [
7471 {
7472 "fqn": "@aws-cdk/core.IResolvable"
7473 },
7474 {
7475 "fqn": "@aws-cdk/aws-events.CfnRule.TargetProperty"
7476 }
7477 ]
7478 }
7479 },
7480 "kind": "array"
7481 }
7482 }
7483 ]
7484 }
7485 }
7486 }
7487 ],
7488 "symbolId": "lib/events.generated:CfnRuleProps"
7489 },
7490 "@aws-cdk/aws-events.Connection": {
7491 "assembly": "@aws-cdk/aws-events",
7492 "base": "@aws-cdk/core.Resource",
7493 "docs": {
7494 "custom": {
7495 "resource": "AWS::Events::Connection",
7496 "exampleMetadata": "infused"
7497 },
7498 "stability": "stable",
7499 "summary": "Define an EventBridge Connection.",
7500 "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});"
7501 },
7502 "fqn": "@aws-cdk/aws-events.Connection",
7503 "initializer": {
7504 "docs": {
7505 "stability": "stable"
7506 },
7507 "locationInModule": {
7508 "filename": "lib/connection.ts",
7509 "line": 340
7510 },
7511 "parameters": [
7512 {
7513 "name": "scope",
7514 "type": {
7515 "fqn": "constructs.Construct"
7516 }
7517 },
7518 {
7519 "name": "id",
7520 "type": {
7521 "primitive": "string"
7522 }
7523 },
7524 {
7525 "name": "props",
7526 "type": {
7527 "fqn": "@aws-cdk/aws-events.ConnectionProps"
7528 }
7529 }
7530 ]
7531 },
7532 "interfaces": [
7533 "@aws-cdk/aws-events.IConnection"
7534 ],
7535 "kind": "class",
7536 "locationInModule": {
7537 "filename": "lib/connection.ts",
7538 "line": 295
7539 },
7540 "methods": [
7541 {
7542 "docs": {
7543 "stability": "stable",
7544 "summary": "Import an existing connection resource."
7545 },
7546 "locationInModule": {
7547 "filename": "lib/connection.ts",
7548 "line": 318
7549 },
7550 "name": "fromConnectionAttributes",
7551 "parameters": [
7552 {
7553 "docs": {
7554 "summary": "Parent construct."
7555 },
7556 "name": "scope",
7557 "type": {
7558 "fqn": "constructs.Construct"
7559 }
7560 },
7561 {
7562 "docs": {
7563 "summary": "Construct ID."
7564 },
7565 "name": "id",
7566 "type": {
7567 "primitive": "string"
7568 }
7569 },
7570 {
7571 "docs": {
7572 "summary": "Imported connection properties."
7573 },
7574 "name": "attrs",
7575 "type": {
7576 "fqn": "@aws-cdk/aws-events.ConnectionAttributes"
7577 }
7578 }
7579 ],
7580 "returns": {
7581 "type": {
7582 "fqn": "@aws-cdk/aws-events.IConnection"
7583 }
7584 },
7585 "static": true
7586 },
7587 {
7588 "docs": {
7589 "stability": "stable",
7590 "summary": "Import an existing connection resource."
7591 },
7592 "locationInModule": {
7593 "filename": "lib/connection.ts",
7594 "line": 302
7595 },
7596 "name": "fromEventBusArn",
7597 "parameters": [
7598 {
7599 "docs": {
7600 "summary": "Parent construct."
7601 },
7602 "name": "scope",
7603 "type": {
7604 "fqn": "constructs.Construct"
7605 }
7606 },
7607 {
7608 "docs": {
7609 "summary": "Construct ID."
7610 },
7611 "name": "id",
7612 "type": {
7613 "primitive": "string"
7614 }
7615 },
7616 {
7617 "docs": {
7618 "summary": "ARN of imported connection."
7619 },
7620 "name": "connectionArn",
7621 "type": {
7622 "primitive": "string"
7623 }
7624 },
7625 {
7626 "name": "connectionSecretArn",
7627 "type": {
7628 "primitive": "string"
7629 }
7630 }
7631 ],
7632 "returns": {
7633 "type": {
7634 "fqn": "@aws-cdk/aws-events.IConnection"
7635 }
7636 },
7637 "static": true
7638 }
7639 ],
7640 "name": "Connection",
7641 "properties": [
7642 {
7643 "docs": {
7644 "custom": {
7645 "attribute": "true"
7646 },
7647 "stability": "stable",
7648 "summary": "The ARN of the connection created."
7649 },
7650 "immutable": true,
7651 "locationInModule": {
7652 "filename": "lib/connection.ts",
7653 "line": 332
7654 },
7655 "name": "connectionArn",
7656 "overrides": "@aws-cdk/aws-events.IConnection",
7657 "type": {
7658 "primitive": "string"
7659 }
7660 },
7661 {
7662 "docs": {
7663 "custom": {
7664 "attribute": "true"
7665 },
7666 "stability": "stable",
7667 "summary": "The Name for the connection."
7668 },
7669 "immutable": true,
7670 "locationInModule": {
7671 "filename": "lib/connection.ts",
7672 "line": 326
7673 },
7674 "name": "connectionName",
7675 "overrides": "@aws-cdk/aws-events.IConnection",
7676 "type": {
7677 "primitive": "string"
7678 }
7679 },
7680 {
7681 "docs": {
7682 "custom": {
7683 "attribute": "true"
7684 },
7685 "stability": "stable",
7686 "summary": "The ARN for the secret created for the connection."
7687 },
7688 "immutable": true,
7689 "locationInModule": {
7690 "filename": "lib/connection.ts",
7691 "line": 338
7692 },
7693 "name": "connectionSecretArn",
7694 "overrides": "@aws-cdk/aws-events.IConnection",
7695 "type": {
7696 "primitive": "string"
7697 }
7698 }
7699 ],
7700 "symbolId": "lib/connection:Connection"
7701 },
7702 "@aws-cdk/aws-events.ConnectionAttributes": {
7703 "assembly": "@aws-cdk/aws-events",
7704 "datatype": true,
7705 "docs": {
7706 "stability": "stable",
7707 "summary": "Interface with properties necessary to import a reusable Connection.",
7708 "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 connectionAttributes: events.ConnectionAttributes = {\n connectionArn: 'connectionArn',\n connectionName: 'connectionName',\n connectionSecretArn: 'connectionSecretArn',\n};",
7709 "custom": {
7710 "exampleMetadata": "fixture=_generated"
7711 }
7712 },
7713 "fqn": "@aws-cdk/aws-events.ConnectionAttributes",
7714 "kind": "interface",
7715 "locationInModule": {
7716 "filename": "lib/connection.ts",
7717 "line": 273
7718 },
7719 "name": "ConnectionAttributes",
7720 "properties": [
7721 {
7722 "abstract": true,
7723 "docs": {
7724 "stability": "stable",
7725 "summary": "The ARN of the connection created."
7726 },
7727 "immutable": true,
7728 "locationInModule": {
7729 "filename": "lib/connection.ts",
7730 "line": 282
7731 },
7732 "name": "connectionArn",
7733 "type": {
7734 "primitive": "string"
7735 }
7736 },
7737 {
7738 "abstract": true,
7739 "docs": {
7740 "stability": "stable",
7741 "summary": "The Name for the connection."
7742 },
7743 "immutable": true,
7744 "locationInModule": {
7745 "filename": "lib/connection.ts",
7746 "line": 277
7747 },
7748 "name": "connectionName",
7749 "type": {
7750 "primitive": "string"
7751 }
7752 },
7753 {
7754 "abstract": true,
7755 "docs": {
7756 "stability": "stable",
7757 "summary": "The ARN for the secret created for the connection."
7758 },
7759 "immutable": true,
7760 "locationInModule": {
7761 "filename": "lib/connection.ts",
7762 "line": 287
7763 },
7764 "name": "connectionSecretArn",
7765 "type": {
7766 "primitive": "string"
7767 }
7768 }
7769 ],
7770 "symbolId": "lib/connection:ConnectionAttributes"
7771 },
7772 "@aws-cdk/aws-events.ConnectionProps": {
7773 "assembly": "@aws-cdk/aws-events",
7774 "datatype": true,
7775 "docs": {
7776 "remarks": "A connection defines the authorization type and credentials to use for authorization with an API destination HTTP endpoint.",
7777 "stability": "stable",
7778 "summary": "An API Destination Connection.",
7779 "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});",
7780 "custom": {
7781 "exampleMetadata": "infused"
7782 }
7783 },
7784 "fqn": "@aws-cdk/aws-events.ConnectionProps",
7785 "kind": "interface",
7786 "locationInModule": {
7787 "filename": "lib/connection.ts",
7788 "line": 10
7789 },
7790 "name": "ConnectionProps",
7791 "properties": [
7792 {
7793 "abstract": true,
7794 "docs": {
7795 "stability": "stable",
7796 "summary": "The authorization type for the connection."
7797 },
7798 "immutable": true,
7799 "locationInModule": {
7800 "filename": "lib/connection.ts",
7801 "line": 28
7802 },
7803 "name": "authorization",
7804 "type": {
7805 "fqn": "@aws-cdk/aws-events.Authorization"
7806 }
7807 },
7808 {
7809 "abstract": true,
7810 "docs": {
7811 "default": "- No additional parameters",
7812 "stability": "stable",
7813 "summary": "Additional string parameters to add to the invocation bodies."
7814 },
7815 "immutable": true,
7816 "locationInModule": {
7817 "filename": "lib/connection.ts",
7818 "line": 35
7819 },
7820 "name": "bodyParameters",
7821 "optional": true,
7822 "type": {
7823 "collection": {
7824 "elementtype": {
7825 "fqn": "@aws-cdk/aws-events.HttpParameter"
7826 },
7827 "kind": "map"
7828 }
7829 }
7830 },
7831 {
7832 "abstract": true,
7833 "docs": {
7834 "default": "- A name is automatically generated",
7835 "stability": "stable",
7836 "summary": "The name of the connection."
7837 },
7838 "immutable": true,
7839 "locationInModule": {
7840 "filename": "lib/connection.ts",
7841 "line": 16
7842 },
7843 "name": "connectionName",
7844 "optional": true,
7845 "type": {
7846 "primitive": "string"
7847 }
7848 },
7849 {
7850 "abstract": true,
7851 "docs": {
7852 "default": "- none",
7853 "stability": "stable",
7854 "summary": "The name of the connection."
7855 },
7856 "immutable": true,
7857 "locationInModule": {
7858 "filename": "lib/connection.ts",
7859 "line": 23
7860 },
7861 "name": "description",
7862 "optional": true,
7863 "type": {
7864 "primitive": "string"
7865 }
7866 },
7867 {
7868 "abstract": true,
7869 "docs": {
7870 "default": "- No additional parameters",
7871 "stability": "stable",
7872 "summary": "Additional string parameters to add to the invocation headers."
7873 },
7874 "immutable": true,
7875 "locationInModule": {
7876 "filename": "lib/connection.ts",
7877 "line": 42
7878 },
7879 "name": "headerParameters",
7880 "optional": true,
7881 "type": {
7882 "collection": {
7883 "elementtype": {
7884 "fqn": "@aws-cdk/aws-events.HttpParameter"
7885 },
7886 "kind": "map"
7887 }
7888 }
7889 },
7890 {
7891 "abstract": true,
7892 "docs": {
7893 "default": "- No additional parameters",
7894 "stability": "stable",
7895 "summary": "Additional string parameters to add to the invocation query strings."
7896 },
7897 "immutable": true,
7898 "locationInModule": {
7899 "filename": "lib/connection.ts",
7900 "line": 49
7901 },
7902 "name": "queryStringParameters",
7903 "optional": true,
7904 "type": {
7905 "collection": {
7906 "elementtype": {
7907 "fqn": "@aws-cdk/aws-events.HttpParameter"
7908 },
7909 "kind": "map"
7910 }
7911 }
7912 }
7913 ],
7914 "symbolId": "lib/connection:ConnectionProps"
7915 },
7916 "@aws-cdk/aws-events.CronOptions": {
7917 "assembly": "@aws-cdk/aws-events",
7918 "datatype": true,
7919 "docs": {
7920 "remarks": "All fields are strings so you can use complex expressions. Absence of\na field implies '*' or '?', whichever one is appropriate.",
7921 "see": "https://docs.aws.amazon.com/eventbridge/latest/userguide/scheduled-events.html#cron-expressions",
7922 "stability": "stable",
7923 "summary": "Options to configure a cron expression.",
7924 "example": "import * as events from '@aws-cdk/aws-events';\nimport * as targets from '@aws-cdk/aws-events-targets';\n\ndeclare const fn: lambda.Function;\nconst rule = new events.Rule(this, 'Schedule Rule', {\n schedule: events.Schedule.cron({ minute: '0', hour: '4' }),\n});\nrule.addTarget(new targets.LambdaFunction(fn));",
7925 "custom": {
7926 "exampleMetadata": "infused"
7927 }
7928 },
7929 "fqn": "@aws-cdk/aws-events.CronOptions",
7930 "kind": "interface",
7931 "locationInModule": {
7932 "filename": "lib/schedule.ts",
7933 "line": 91
7934 },
7935 "name": "CronOptions",
7936 "properties": [
7937 {
7938 "abstract": true,
7939 "docs": {
7940 "default": "- Every day of the month",
7941 "stability": "stable",
7942 "summary": "The day of the month to run this rule at."
7943 },
7944 "immutable": true,
7945 "locationInModule": {
7946 "filename": "lib/schedule.ts",
7947 "line": 111
7948 },
7949 "name": "day",
7950 "optional": true,
7951 "type": {
7952 "primitive": "string"
7953 }
7954 },
7955 {
7956 "abstract": true,
7957 "docs": {
7958 "default": "- Every hour",
7959 "stability": "stable",
7960 "summary": "The hour to run this rule at."
7961 },
7962 "immutable": true,
7963 "locationInModule": {
7964 "filename": "lib/schedule.ts",
7965 "line": 104
7966 },
7967 "name": "hour",
7968 "optional": true,
7969 "type": {
7970 "primitive": "string"
7971 }
7972 },
7973 {
7974 "abstract": true,
7975 "docs": {
7976 "default": "- Every minute",
7977 "stability": "stable",
7978 "summary": "The minute to run this rule at."
7979 },
7980 "immutable": true,
7981 "locationInModule": {
7982 "filename": "lib/schedule.ts",
7983 "line": 97
7984 },
7985 "name": "minute",
7986 "optional": true,
7987 "type": {
7988 "primitive": "string"
7989 }
7990 },
7991 {
7992 "abstract": true,
7993 "docs": {
7994 "default": "- Every month",
7995 "stability": "stable",
7996 "summary": "The month to run this rule at."
7997 },
7998 "immutable": true,
7999 "locationInModule": {
8000 "filename": "lib/schedule.ts",
8001 "line": 118
8002 },
8003 "name": "month",
8004 "optional": true,
8005 "type": {
8006 "primitive": "string"
8007 }
8008 },
8009 {
8010 "abstract": true,
8011 "docs": {
8012 "default": "- Any day of the week",
8013 "stability": "stable",
8014 "summary": "The day of the week to run this rule at."
8015 },
8016 "immutable": true,
8017 "locationInModule": {
8018 "filename": "lib/schedule.ts",
8019 "line": 132
8020 },
8021 "name": "weekDay",
8022 "optional": true,
8023 "type": {
8024 "primitive": "string"
8025 }
8026 },
8027 {
8028 "abstract": true,
8029 "docs": {
8030 "default": "- Every year",
8031 "stability": "stable",
8032 "summary": "The year to run this rule at."
8033 },
8034 "immutable": true,
8035 "locationInModule": {
8036 "filename": "lib/schedule.ts",
8037 "line": 125
8038 },
8039 "name": "year",
8040 "optional": true,
8041 "type": {
8042 "primitive": "string"
8043 }
8044 }
8045 ],
8046 "symbolId": "lib/schedule:CronOptions"
8047 },
8048 "@aws-cdk/aws-events.EventBus": {
8049 "assembly": "@aws-cdk/aws-events",
8050 "base": "@aws-cdk/core.Resource",
8051 "docs": {
8052 "custom": {
8053 "resource": "AWS::Events::EventBus",
8054 "exampleMetadata": "infused"
8055 },
8056 "stability": "stable",
8057 "summary": "Define an EventBridge EventBus.",
8058 "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});"
8059 },
8060 "fqn": "@aws-cdk/aws-events.EventBus",
8061 "initializer": {
8062 "docs": {
8063 "stability": "stable"
8064 },
8065 "locationInModule": {
8066 "filename": "lib/event-bus.ts",
8067 "line": 310
8068 },
8069 "parameters": [
8070 {
8071 "name": "scope",
8072 "type": {
8073 "fqn": "constructs.Construct"
8074 }
8075 },
8076 {
8077 "name": "id",
8078 "type": {
8079 "primitive": "string"
8080 }
8081 },
8082 {
8083 "name": "props",
8084 "optional": true,
8085 "type": {
8086 "fqn": "@aws-cdk/aws-events.EventBusProps"
8087 }
8088 }
8089 ]
8090 },
8091 "interfaces": [
8092 "@aws-cdk/aws-events.IEventBus"
8093 ],
8094 "kind": "class",
8095 "locationInModule": {
8096 "filename": "lib/event-bus.ts",
8097 "line": 163
8098 },
8099 "methods": [
8100 {
8101 "docs": {
8102 "stability": "stable",
8103 "summary": "Import an existing event bus resource."
8104 },
8105 "locationInModule": {
8106 "filename": "lib/event-bus.ts",
8107 "line": 171
8108 },
8109 "name": "fromEventBusArn",
8110 "parameters": [
8111 {
8112 "docs": {
8113 "summary": "Parent construct."
8114 },
8115 "name": "scope",
8116 "type": {
8117 "fqn": "constructs.Construct"
8118 }
8119 },
8120 {
8121 "docs": {
8122 "summary": "Construct ID."
8123 },
8124 "name": "id",
8125 "type": {
8126 "primitive": "string"
8127 }
8128 },
8129 {
8130 "docs": {
8131 "summary": "ARN of imported event bus."
8132 },
8133 "name": "eventBusArn",
8134 "type": {
8135 "primitive": "string"
8136 }
8137 }
8138 ],
8139 "returns": {
8140 "type": {
8141 "fqn": "@aws-cdk/aws-events.IEventBus"
8142 }
8143 },
8144 "static": true
8145 },
8146 {
8147 "docs": {
8148 "stability": "stable",
8149 "summary": "Import an existing event bus resource."
8150 },
8151 "locationInModule": {
8152 "filename": "lib/event-bus.ts",
8153 "line": 207
8154 },
8155 "name": "fromEventBusAttributes",
8156 "parameters": [
8157 {
8158 "docs": {
8159 "summary": "Parent construct."
8160 },
8161 "name": "scope",
8162 "type": {
8163 "fqn": "constructs.Construct"
8164 }
8165 },
8166 {
8167 "docs": {
8168 "summary": "Construct ID."
8169 },
8170 "name": "id",
8171 "type": {
8172 "primitive": "string"
8173 }
8174 },
8175 {
8176 "docs": {
8177 "summary": "Imported event bus properties."
8178 },
8179 "name": "attrs",
8180 "type": {
8181 "fqn": "@aws-cdk/aws-events.EventBusAttributes"
8182 }
8183 }
8184 ],
8185 "returns": {
8186 "type": {
8187 "fqn": "@aws-cdk/aws-events.IEventBus"
8188 }
8189 },
8190 "static": true
8191 },
8192 {
8193 "docs": {
8194 "stability": "stable",
8195 "summary": "Import an existing event bus resource."
8196 },
8197 "locationInModule": {
8198 "filename": "lib/event-bus.ts",
8199 "line": 187
8200 },
8201 "name": "fromEventBusName",
8202 "parameters": [
8203 {
8204 "docs": {
8205 "summary": "Parent construct."
8206 },
8207 "name": "scope",
8208 "type": {
8209 "fqn": "constructs.Construct"
8210 }
8211 },
8212 {
8213 "docs": {
8214 "summary": "Construct ID."
8215 },
8216 "name": "id",
8217 "type": {
8218 "primitive": "string"
8219 }
8220 },
8221 {
8222 "docs": {
8223 "summary": "Name of imported event bus."
8224 },
8225 "name": "eventBusName",
8226 "type": {
8227 "primitive": "string"
8228 }
8229 }
8230 ],
8231 "returns": {
8232 "type": {
8233 "fqn": "@aws-cdk/aws-events.IEventBus"
8234 }
8235 },
8236 "static": true
8237 },
8238 {
8239 "docs": {
8240 "stability": "stable",
8241 "summary": "Permits an IAM Principal to send custom events to EventBridge so that they can be matched to rules."
8242 },
8243 "locationInModule": {
8244 "filename": "lib/event-bus.ts",
8245 "line": 234
8246 },
8247 "name": "grantAllPutEvents",
8248 "parameters": [
8249 {
8250 "docs": {
8251 "summary": "The principal (no-op if undefined)."
8252 },
8253 "name": "grantee",
8254 "type": {
8255 "fqn": "@aws-cdk/aws-iam.IGrantable"
8256 }
8257 }
8258 ],
8259 "returns": {
8260 "type": {
8261 "fqn": "@aws-cdk/aws-iam.Grant"
8262 }
8263 },
8264 "static": true
8265 },
8266 {
8267 "docs": {
8268 "deprecated": "use grantAllPutEvents instead",
8269 "stability": "deprecated",
8270 "summary": "Permits an IAM Principal to send custom events to EventBridge so that they can be matched to rules."
8271 },
8272 "locationInModule": {
8273 "filename": "lib/event-bus.ts",
8274 "line": 218
8275 },
8276 "name": "grantPutEvents",
8277 "parameters": [
8278 {
8279 "docs": {
8280 "summary": "The principal (no-op if undefined)."
8281 },
8282 "name": "grantee",
8283 "type": {
8284 "fqn": "@aws-cdk/aws-iam.IGrantable"
8285 }
8286 }
8287 ],
8288 "returns": {
8289 "type": {
8290 "fqn": "@aws-cdk/aws-iam.Grant"
8291 }
8292 },
8293 "static": true
8294 },
8295 {
8296 "docs": {
8297 "remarks": "When you create an archive, incoming events might not immediately start being sent to the archive.\nAllow a short period of time for changes to take effect.",
8298 "stability": "stable",
8299 "summary": "Create an EventBridge archive to send events to."
8300 },
8301 "locationInModule": {
8302 "filename": "lib/event-bus.ts",
8303 "line": 139
8304 },
8305 "name": "archive",
8306 "overrides": "@aws-cdk/aws-events.IEventBus",
8307 "parameters": [
8308 {
8309 "name": "id",
8310 "type": {
8311 "primitive": "string"
8312 }
8313 },
8314 {
8315 "name": "props",
8316 "type": {
8317 "fqn": "@aws-cdk/aws-events.BaseArchiveProps"
8318 }
8319 }
8320 ],
8321 "returns": {
8322 "type": {
8323 "fqn": "@aws-cdk/aws-events.Archive"
8324 }
8325 }
8326 },
8327 {
8328 "docs": {
8329 "stability": "stable",
8330 "summary": "Grants an IAM Principal to send custom events to the eventBus so that they can be matched to rules."
8331 },
8332 "locationInModule": {
8333 "filename": "lib/event-bus.ts",
8334 "line": 149
8335 },
8336 "name": "grantPutEventsTo",
8337 "overrides": "@aws-cdk/aws-events.IEventBus",
8338 "parameters": [
8339 {
8340 "name": "grantee",
8341 "type": {
8342 "fqn": "@aws-cdk/aws-iam.IGrantable"
8343 }
8344 }
8345 ],
8346 "returns": {
8347 "type": {
8348 "fqn": "@aws-cdk/aws-iam.Grant"
8349 }
8350 }
8351 }
8352 ],
8353 "name": "EventBus",
8354 "properties": [
8355 {
8356 "docs": {
8357 "stability": "stable",
8358 "summary": "The ARN of the event bus, such as: arn:aws:events:us-east-2:123456789012:event-bus/aws.partner/PartnerName/acct1/repo1."
8359 },
8360 "immutable": true,
8361 "locationInModule": {
8362 "filename": "lib/event-bus.ts",
8363 "line": 298
8364 },
8365 "name": "eventBusArn",
8366 "overrides": "@aws-cdk/aws-events.IEventBus",
8367 "type": {
8368 "primitive": "string"
8369 }
8370 },
8371 {
8372 "docs": {
8373 "stability": "stable",
8374 "summary": "The physical ID of this event bus resource."
8375 },
8376 "immutable": true,
8377 "locationInModule": {
8378 "filename": "lib/event-bus.ts",
8379 "line": 292
8380 },
8381 "name": "eventBusName",
8382 "overrides": "@aws-cdk/aws-events.IEventBus",
8383 "type": {
8384 "primitive": "string"
8385 }
8386 },
8387 {
8388 "docs": {
8389 "stability": "stable",
8390 "summary": "The policy for the event bus in JSON form."
8391 },
8392 "immutable": true,
8393 "locationInModule": {
8394 "filename": "lib/event-bus.ts",
8395 "line": 303
8396 },
8397 "name": "eventBusPolicy",
8398 "overrides": "@aws-cdk/aws-events.IEventBus",
8399 "type": {
8400 "primitive": "string"
8401 }
8402 },
8403 {
8404 "docs": {
8405 "stability": "stable",
8406 "summary": "The name of the partner event source."
8407 },
8408 "immutable": true,
8409 "locationInModule": {
8410 "filename": "lib/event-bus.ts",
8411 "line": 308
8412 },
8413 "name": "eventSourceName",
8414 "optional": true,
8415 "overrides": "@aws-cdk/aws-events.IEventBus",
8416 "type": {
8417 "primitive": "string"
8418 }
8419 }
8420 ],
8421 "symbolId": "lib/event-bus:EventBus"
8422 },
8423 "@aws-cdk/aws-events.EventBusAttributes": {
8424 "assembly": "@aws-cdk/aws-events",
8425 "datatype": true,
8426 "docs": {
8427 "stability": "stable",
8428 "summary": "Interface with properties necessary to import a reusable EventBus.",
8429 "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 eventBusAttributes: events.EventBusAttributes = {\n eventBusArn: 'eventBusArn',\n eventBusName: 'eventBusName',\n eventBusPolicy: 'eventBusPolicy',\n\n // the properties below are optional\n eventSourceName: 'eventSourceName',\n};",
8430 "custom": {
8431 "exampleMetadata": "fixture=_generated"
8432 }
8433 },
8434 "fqn": "@aws-cdk/aws-events.EventBusAttributes",
8435 "kind": "interface",
8436 "locationInModule": {
8437 "filename": "lib/event-bus.ts",
8438 "line": 86
8439 },
8440 "name": "EventBusAttributes",
8441 "properties": [
8442 {
8443 "abstract": true,
8444 "docs": {
8445 "custom": {
8446 "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#Arn-fn::getatt"
8447 },
8448 "stability": "stable",
8449 "summary": "The ARN of this event bus resource."
8450 },
8451 "immutable": true,
8452 "locationInModule": {
8453 "filename": "lib/event-bus.ts",
8454 "line": 99
8455 },
8456 "name": "eventBusArn",
8457 "type": {
8458 "primitive": "string"
8459 }
8460 },
8461 {
8462 "abstract": true,
8463 "docs": {
8464 "custom": {
8465 "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-name"
8466 },
8467 "stability": "stable",
8468 "summary": "The physical ID of this event bus resource."
8469 },
8470 "immutable": true,
8471 "locationInModule": {
8472 "filename": "lib/event-bus.ts",
8473 "line": 92
8474 },
8475 "name": "eventBusName",
8476 "type": {
8477 "primitive": "string"
8478 }
8479 },
8480 {
8481 "abstract": true,
8482 "docs": {
8483 "custom": {
8484 "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#Policy-fn::getatt"
8485 },
8486 "stability": "stable",
8487 "summary": "The JSON policy of this event bus resource."
8488 },
8489 "immutable": true,
8490 "locationInModule": {
8491 "filename": "lib/event-bus.ts",
8492 "line": 106
8493 },
8494 "name": "eventBusPolicy",
8495 "type": {
8496 "primitive": "string"
8497 }
8498 },
8499 {
8500 "abstract": true,
8501 "docs": {
8502 "custom": {
8503 "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-eventsourcename"
8504 },
8505 "default": "- no partner event source",
8506 "stability": "stable",
8507 "summary": "The partner event source to associate with this event bus resource."
8508 },
8509 "immutable": true,
8510 "locationInModule": {
8511 "filename": "lib/event-bus.ts",
8512 "line": 114
8513 },
8514 "name": "eventSourceName",
8515 "optional": true,
8516 "type": {
8517 "primitive": "string"
8518 }
8519 }
8520 ],
8521 "symbolId": "lib/event-bus:EventBusAttributes"
8522 },
8523 "@aws-cdk/aws-events.EventBusProps": {
8524 "assembly": "@aws-cdk/aws-events",
8525 "datatype": true,
8526 "docs": {
8527 "stability": "stable",
8528 "summary": "Properties to define an event bus.",
8529 "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});",
8530 "custom": {
8531 "exampleMetadata": "infused"
8532 }
8533 },
8534 "fqn": "@aws-cdk/aws-events.EventBusProps",
8535 "kind": "interface",
8536 "locationInModule": {
8537 "filename": "lib/event-bus.ts",
8538 "line": 63
8539 },
8540 "name": "EventBusProps",
8541 "properties": [
8542 {
8543 "abstract": true,
8544 "docs": {
8545 "custom": {
8546 "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-name"
8547 },
8548 "default": "- automatically generated name",
8549 "stability": "stable",
8550 "summary": "The name of the event bus you are creating Note: If 'eventSourceName' is passed in, you cannot set this."
8551 },
8552 "immutable": true,
8553 "locationInModule": {
8554 "filename": "lib/event-bus.ts",
8555 "line": 71
8556 },
8557 "name": "eventBusName",
8558 "optional": true,
8559 "type": {
8560 "primitive": "string"
8561 }
8562 },
8563 {
8564 "abstract": true,
8565 "docs": {
8566 "custom": {
8567 "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-eventsourcename"
8568 },
8569 "default": "- no partner event source",
8570 "stability": "stable",
8571 "summary": "The partner event source to associate with this event bus resource Note: If 'eventBusName' is passed in, you cannot set this."
8572 },
8573 "immutable": true,
8574 "locationInModule": {
8575 "filename": "lib/event-bus.ts",
8576 "line": 80
8577 },
8578 "name": "eventSourceName",
8579 "optional": true,
8580 "type": {
8581 "primitive": "string"
8582 }
8583 }
8584 ],
8585 "symbolId": "lib/event-bus:EventBusProps"
8586 },
8587 "@aws-cdk/aws-events.EventField": {
8588 "assembly": "@aws-cdk/aws-events",
8589 "docs": {
8590 "stability": "stable",
8591 "summary": "Represents a field in the event pattern."
8592 },
8593 "fqn": "@aws-cdk/aws-events.EventField",
8594 "interfaces": [
8595 "@aws-cdk/core.IResolvable"
8596 ],
8597 "kind": "class",
8598 "locationInModule": {
8599 "filename": "lib/input.ts",
8600 "line": 242
8601 },
8602 "methods": [
8603 {
8604 "docs": {
8605 "stability": "stable",
8606 "summary": "Extract a custom JSON path from the event."
8607 },
8608 "locationInModule": {
8609 "filename": "lib/input.ts",
8610 "line": 288
8611 },
8612 "name": "fromPath",
8613 "parameters": [
8614 {
8615 "name": "path",
8616 "type": {
8617 "primitive": "string"
8618 }
8619 }
8620 ],
8621 "returns": {
8622 "type": {
8623 "primitive": "string"
8624 }
8625 },
8626 "static": true
8627 },
8628 {
8629 "docs": {
8630 "stability": "stable",
8631 "summary": "Produce the Token's value at resolution time."
8632 },
8633 "locationInModule": {
8634 "filename": "lib/input.ts",
8635 "line": 308
8636 },
8637 "name": "resolve",
8638 "overrides": "@aws-cdk/core.IResolvable",
8639 "parameters": [
8640 {
8641 "name": "_ctx",
8642 "type": {
8643 "fqn": "@aws-cdk/core.IResolveContext"
8644 }
8645 }
8646 ],
8647 "returns": {
8648 "type": {
8649 "primitive": "any"
8650 }
8651 }
8652 },
8653 {
8654 "docs": {
8655 "stability": "stable",
8656 "summary": "Convert the path to the field in the event pattern to JSON."
8657 },
8658 "locationInModule": {
8659 "filename": "lib/input.ts",
8660 "line": 319
8661 },
8662 "name": "toJSON",
8663 "returns": {
8664 "type": {
8665 "primitive": "string"
8666 }
8667 }
8668 },
8669 {
8670 "docs": {
8671 "remarks": "Returns a reversible string representation.",
8672 "stability": "stable",
8673 "summary": "Return a string representation of this resolvable object."
8674 },
8675 "locationInModule": {
8676 "filename": "lib/input.ts",
8677 "line": 312
8678 },
8679 "name": "toString",
8680 "overrides": "@aws-cdk/core.IResolvable",
8681 "returns": {
8682 "type": {
8683 "primitive": "string"
8684 }
8685 }
8686 }
8687 ],
8688 "name": "EventField",
8689 "properties": [
8690 {
8691 "docs": {
8692 "stability": "stable",
8693 "summary": "Extract the account from the event."
8694 },
8695 "immutable": true,
8696 "locationInModule": {
8697 "filename": "lib/input.ts",
8698 "line": 267
8699 },
8700 "name": "account",
8701 "static": true,
8702 "type": {
8703 "primitive": "string"
8704 }
8705 },
8706 {
8707 "docs": {
8708 "stability": "stable",
8709 "summary": "Extract the detail type from the event."
8710 },
8711 "immutable": true,
8712 "locationInModule": {
8713 "filename": "lib/input.ts",
8714 "line": 253
8715 },
8716 "name": "detailType",
8717 "static": true,
8718 "type": {
8719 "primitive": "string"
8720 }
8721 },
8722 {
8723 "docs": {
8724 "stability": "stable",
8725 "summary": "Extract the event ID from the event."
8726 },
8727 "immutable": true,
8728 "locationInModule": {
8729 "filename": "lib/input.ts",
8730 "line": 246
8731 },
8732 "name": "eventId",
8733 "static": true,
8734 "type": {
8735 "primitive": "string"
8736 }
8737 },
8738 {
8739 "docs": {
8740 "stability": "stable",
8741 "summary": "Extract the region from the event."
8742 },
8743 "immutable": true,
8744 "locationInModule": {
8745 "filename": "lib/input.ts",
8746 "line": 281
8747 },
8748 "name": "region",
8749 "static": true,
8750 "type": {
8751 "primitive": "string"
8752 }
8753 },
8754 {
8755 "docs": {
8756 "stability": "stable",
8757 "summary": "Extract the source from the event."
8758 },
8759 "immutable": true,
8760 "locationInModule": {
8761 "filename": "lib/input.ts",
8762 "line": 260
8763 },
8764 "name": "source",
8765 "static": true,
8766 "type": {
8767 "primitive": "string"
8768 }
8769 },
8770 {
8771 "docs": {
8772 "stability": "stable",
8773 "summary": "Extract the time from the event."
8774 },
8775 "immutable": true,
8776 "locationInModule": {
8777 "filename": "lib/input.ts",
8778 "line": 274
8779 },
8780 "name": "time",
8781 "static": true,
8782 "type": {
8783 "primitive": "string"
8784 }
8785 },
8786 {
8787 "docs": {
8788 "remarks": "This may return an array with a single informational element indicating how\nto get this property populated, if it was skipped for performance reasons.",
8789 "stability": "stable",
8790 "summary": "The creation stack of this resolvable which will be appended to errors thrown during resolution."
8791 },
8792 "immutable": true,
8793 "locationInModule": {
8794 "filename": "lib/input.ts",
8795 "line": 296
8796 },
8797 "name": "creationStack",
8798 "overrides": "@aws-cdk/core.IResolvable",
8799 "type": {
8800 "collection": {
8801 "elementtype": {
8802 "primitive": "string"
8803 },
8804 "kind": "array"
8805 }
8806 }
8807 },
8808 {
8809 "docs": {
8810 "stability": "stable",
8811 "summary": "Human readable display hint about the event pattern."
8812 },
8813 "immutable": true,
8814 "locationInModule": {
8815 "filename": "lib/input.ts",
8816 "line": 295
8817 },
8818 "name": "displayHint",
8819 "type": {
8820 "primitive": "string"
8821 }
8822 },
8823 {
8824 "docs": {
8825 "stability": "stable",
8826 "summary": "the path to a field in the event pattern."
8827 },
8828 "immutable": true,
8829 "locationInModule": {
8830 "filename": "lib/input.ts",
8831 "line": 302
8832 },
8833 "name": "path",
8834 "type": {
8835 "primitive": "string"
8836 }
8837 }
8838 ],
8839 "symbolId": "lib/input:EventField"
8840 },
8841 "@aws-cdk/aws-events.EventPattern": {
8842 "assembly": "@aws-cdk/aws-events",
8843 "datatype": true,
8844 "docs": {
8845 "remarks": "**Important**: this class can only be used with a `Rule` class. In particular,\ndo not use it with `CfnRule` class: your pattern will not be rendered\ncorrectly. In a `CfnRule` class, write the pattern as you normally would when\ndirectly writing CloudFormation.\n\nRules use event patterns to select events and route them to targets. A\npattern either matches an event or it doesn't. Event patterns are represented\nas JSON objects with a structure that is similar to that of events.\n\nIt is important to remember the following about event pattern matching:\n\n- For a pattern to match an event, the event must contain all the field names\n listed in the pattern. The field names must appear in the event with the\n same nesting structure.\n\n- Other fields of the event not mentioned in the pattern are ignored;\n effectively, there is a ``\"*\": \"*\"`` wildcard for fields not mentioned.\n\n- The matching is exact (character-by-character), without case-folding or any\n other string normalization.\n\n- The values being matched follow JSON rules: Strings enclosed in quotes,\n numbers, and the unquoted keywords true, false, and null.\n\n- Number matching is at the string representation level. For example, 300,\n 300.0, and 3.0e2 are not considered equal.",
8846 "see": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html",
8847 "stability": "stable",
8848 "summary": "Events in Amazon CloudWatch Events are represented as JSON objects. For more information about JSON objects, see RFC 7159.",
8849 "example": "import * as lambda from '@aws-cdk/aws-lambda';\n\nconst fn = new lambda.Function(this, 'MyFunc', {\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler',\n code: lambda.Code.fromInline(`exports.handler = handler.toString()`),\n});\n\nconst rule = new events.Rule(this, 'rule', {\n eventPattern: {\n source: [\"aws.ec2\"],\n },\n});\n\nconst queue = new sqs.Queue(this, 'Queue');\n\nrule.addTarget(new targets.LambdaFunction(fn, {\n deadLetterQueue: queue, // Optional: add a dead letter queue\n maxEventAge: cdk.Duration.hours(2), // Optional: set the maxEventAge retry policy\n retryAttempts: 2, // Optional: set the max number of retry attempts\n}));",
8850 "custom": {
8851 "exampleMetadata": "infused"
8852 }
8853 },
8854 "fqn": "@aws-cdk/aws-events.EventPattern",
8855 "kind": "interface",
8856 "locationInModule": {
8857 "filename": "lib/event-pattern.ts",
8858 "line": 34
8859 },
8860 "name": "EventPattern",
8861 "properties": [
8862 {
8863 "abstract": true,
8864 "docs": {
8865 "default": "- No filtering on account",
8866 "stability": "stable",
8867 "summary": "The 12-digit number identifying an AWS account."
8868 },
8869 "immutable": true,
8870 "locationInModule": {
8871 "filename": "lib/event-pattern.ts",
8872 "line": 80
8873 },
8874 "name": "account",
8875 "optional": true,
8876 "type": {
8877 "collection": {
8878 "elementtype": {
8879 "primitive": "string"
8880 },
8881 "kind": "array"
8882 }
8883 }
8884 },
8885 {
8886 "abstract": true,
8887 "docs": {
8888 "default": "- No filtering on detail",
8889 "stability": "stable",
8890 "summary": "A JSON object, whose content is at the discretion of the service originating the event."
8891 },
8892 "immutable": true,
8893 "locationInModule": {
8894 "filename": "lib/event-pattern.ts",
8895 "line": 119
8896 },
8897 "name": "detail",
8898 "optional": true,
8899 "type": {
8900 "collection": {
8901 "elementtype": {
8902 "primitive": "any"
8903 },
8904 "kind": "map"
8905 }
8906 }
8907 },
8908 {
8909 "abstract": true,
8910 "docs": {
8911 "default": "- No filtering on detail type",
8912 "remarks": "Represents the \"detail-type\" event field.",
8913 "stability": "stable",
8914 "summary": "Identifies, in combination with the source field, the fields and values that appear in the detail field."
8915 },
8916 "immutable": true,
8917 "locationInModule": {
8918 "filename": "lib/event-pattern.ts",
8919 "line": 58
8920 },
8921 "name": "detailType",
8922 "optional": true,
8923 "type": {
8924 "collection": {
8925 "elementtype": {
8926 "primitive": "string"
8927 },
8928 "kind": "array"
8929 }
8930 }
8931 },
8932 {
8933 "abstract": true,
8934 "docs": {
8935 "default": "- No filtering on id",
8936 "remarks": "This can be helpful in\ntracing events as they move through rules to targets, and are processed.",
8937 "stability": "stable",
8938 "summary": "A unique value is generated for every event."
8939 },
8940 "immutable": true,
8941 "locationInModule": {
8942 "filename": "lib/event-pattern.ts",
8943 "line": 48
8944 },
8945 "name": "id",
8946 "optional": true,
8947 "type": {
8948 "collection": {
8949 "elementtype": {
8950 "primitive": "string"
8951 },
8952 "kind": "array"
8953 }
8954 }
8955 },
8956 {
8957 "abstract": true,
8958 "docs": {
8959 "default": "- No filtering on region",
8960 "stability": "stable",
8961 "summary": "Identifies the AWS region where the event originated."
8962 },
8963 "immutable": true,
8964 "locationInModule": {
8965 "filename": "lib/event-pattern.ts",
8966 "line": 97
8967 },
8968 "name": "region",
8969 "optional": true,
8970 "type": {
8971 "collection": {
8972 "elementtype": {
8973 "primitive": "string"
8974 },
8975 "kind": "array"
8976 }
8977 }
8978 },
8979 {
8980 "abstract": true,
8981 "docs": {
8982 "default": "- No filtering on resource",
8983 "remarks": "Inclusion of these ARNs is at the discretion of the\nservice.\n\nFor example, Amazon EC2 instance state-changes include Amazon EC2\ninstance ARNs, Auto Scaling events include ARNs for both instances and\nAuto Scaling groups, but API calls with AWS CloudTrail do not include\nresource ARNs.",
8984 "stability": "stable",
8985 "summary": "This JSON array contains ARNs that identify resources that are involved in the event."
8986 },
8987 "immutable": true,
8988 "locationInModule": {
8989 "filename": "lib/event-pattern.ts",
8990 "line": 111
8991 },
8992 "name": "resources",
8993 "optional": true,
8994 "type": {
8995 "collection": {
8996 "elementtype": {
8997 "primitive": "string"
8998 },
8999 "kind": "array"
9000 }
9001 }
9002 },
9003 {
9004 "abstract": true,
9005 "docs": {
9006 "default": "- No filtering on source",
9007 "remarks": "All events sourced from\nwithin AWS begin with \"aws.\" Customer-generated events can have any value\nhere, as long as it doesn't begin with \"aws.\" We recommend the use of\nJava package-name style reverse domain-name strings.\n\nTo find the correct value for source for an AWS service, see the table in\nAWS Service Namespaces. For example, the source value for Amazon\nCloudFront is aws.cloudfront.",
9008 "see": "http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces",
9009 "stability": "stable",
9010 "summary": "Identifies the service that sourced the event."
9011 },
9012 "immutable": true,
9013 "locationInModule": {
9014 "filename": "lib/event-pattern.ts",
9015 "line": 73
9016 },
9017 "name": "source",
9018 "optional": true,
9019 "type": {
9020 "collection": {
9021 "elementtype": {
9022 "primitive": "string"
9023 },
9024 "kind": "array"
9025 }
9026 }
9027 },
9028 {
9029 "abstract": true,
9030 "docs": {
9031 "default": "- No filtering on time",
9032 "remarks": "If the event spans a time interval, the service might choose\nto report the start time, so this value can be noticeably before the time\nthe event is actually received.",
9033 "stability": "stable",
9034 "summary": "The event timestamp, which can be specified by the service originating the event."
9035 },
9036 "immutable": true,
9037 "locationInModule": {
9038 "filename": "lib/event-pattern.ts",
9039 "line": 90
9040 },
9041 "name": "time",
9042 "optional": true,
9043 "type": {
9044 "collection": {
9045 "elementtype": {
9046 "primitive": "string"
9047 },
9048 "kind": "array"
9049 }
9050 }
9051 },
9052 {
9053 "abstract": true,
9054 "docs": {
9055 "default": "- No filtering on version",
9056 "stability": "stable",
9057 "summary": "By default, this is set to 0 (zero) in all events."
9058 },
9059 "immutable": true,
9060 "locationInModule": {
9061 "filename": "lib/event-pattern.ts",
9062 "line": 40
9063 },
9064 "name": "version",
9065 "optional": true,
9066 "type": {
9067 "collection": {
9068 "elementtype": {
9069 "primitive": "string"
9070 },
9071 "kind": "array"
9072 }
9073 }
9074 }
9075 ],
9076 "symbolId": "lib/event-pattern:EventPattern"
9077 },
9078 "@aws-cdk/aws-events.HttpMethod": {
9079 "assembly": "@aws-cdk/aws-events",
9080 "docs": {
9081 "stability": "stable",
9082 "summary": "Supported HTTP operations."
9083 },
9084 "fqn": "@aws-cdk/aws-events.HttpMethod",
9085 "kind": "enum",
9086 "locationInModule": {
9087 "filename": "lib/connection.ts",
9088 "line": 389
9089 },
9090 "members": [
9091 {
9092 "docs": {
9093 "stability": "stable",
9094 "summary": "POST."
9095 },
9096 "name": "POST"
9097 },
9098 {
9099 "docs": {
9100 "stability": "stable",
9101 "summary": "GET."
9102 },
9103 "name": "GET"
9104 },
9105 {
9106 "docs": {
9107 "stability": "stable",
9108 "summary": "HEAD."
9109 },
9110 "name": "HEAD"
9111 },
9112 {
9113 "docs": {
9114 "stability": "stable",
9115 "summary": "OPTIONS."
9116 },
9117 "name": "OPTIONS"
9118 },
9119 {
9120 "docs": {
9121 "stability": "stable",
9122 "summary": "PUT."
9123 },
9124 "name": "PUT"
9125 },
9126 {
9127 "docs": {
9128 "stability": "stable",
9129 "summary": "PATCH."
9130 },
9131 "name": "PATCH"
9132 },
9133 {
9134 "docs": {
9135 "stability": "stable",
9136 "summary": "DELETE."
9137 },
9138 "name": "DELETE"
9139 }
9140 ],
9141 "name": "HttpMethod",
9142 "symbolId": "lib/connection:HttpMethod"
9143 },
9144 "@aws-cdk/aws-events.HttpParameter": {
9145 "abstract": true,
9146 "assembly": "@aws-cdk/aws-events",
9147 "docs": {
9148 "stability": "stable",
9149 "summary": "An additional HTTP parameter to send along with the OAuth request.",
9150 "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 secretValue: cdk.SecretValue;\nconst httpParameter = events.HttpParameter.fromSecret(secretValue);",
9151 "custom": {
9152 "exampleMetadata": "fixture=_generated"
9153 }
9154 },
9155 "fqn": "@aws-cdk/aws-events.HttpParameter",
9156 "initializer": {
9157 "docs": {
9158 "stability": "stable"
9159 }
9160 },
9161 "kind": "class",
9162 "locationInModule": {
9163 "filename": "lib/connection.ts",
9164 "line": 190
9165 },
9166 "methods": [
9167 {
9168 "docs": {
9169 "stability": "stable",
9170 "summary": "Make an OAuthParameter from a secret."
9171 },
9172 "locationInModule": {
9173 "filename": "lib/connection.ts",
9174 "line": 210
9175 },
9176 "name": "fromSecret",
9177 "parameters": [
9178 {
9179 "name": "value",
9180 "type": {
9181 "fqn": "@aws-cdk/core.SecretValue"
9182 }
9183 }
9184 ],
9185 "returns": {
9186 "type": {
9187 "fqn": "@aws-cdk/aws-events.HttpParameter"
9188 }
9189 },
9190 "static": true
9191 },
9192 {
9193 "docs": {
9194 "remarks": "The value is not treated as a secret.",
9195 "stability": "stable",
9196 "summary": "Make an OAuthParameter from a string value."
9197 },
9198 "locationInModule": {
9199 "filename": "lib/connection.ts",
9200 "line": 196
9201 },
9202 "name": "fromString",
9203 "parameters": [
9204 {
9205 "name": "value",
9206 "type": {
9207 "primitive": "string"
9208 }
9209 }
9210 ],
9211 "returns": {
9212 "type": {
9213 "fqn": "@aws-cdk/aws-events.HttpParameter"
9214 }
9215 },
9216 "static": true
9217 }
9218 ],
9219 "name": "HttpParameter",
9220 "symbolId": "lib/connection:HttpParameter"
9221 },
9222 "@aws-cdk/aws-events.IApiDestination": {
9223 "assembly": "@aws-cdk/aws-events",
9224 "docs": {
9225 "stability": "stable",
9226 "summary": "Interface for API Destinations."
9227 },
9228 "fqn": "@aws-cdk/aws-events.IApiDestination",
9229 "interfaces": [
9230 "@aws-cdk/core.IResource"
9231 ],
9232 "kind": "interface",
9233 "locationInModule": {
9234 "filename": "lib/api-destination.ts",
9235 "line": 51
9236 },
9237 "name": "IApiDestination",
9238 "properties": [
9239 {
9240 "abstract": true,
9241 "docs": {
9242 "custom": {
9243 "attribute": "true"
9244 },
9245 "stability": "stable",
9246 "summary": "The ARN of the Api Destination created."
9247 },
9248 "immutable": true,
9249 "locationInModule": {
9250 "filename": "lib/api-destination.ts",
9251 "line": 62
9252 },
9253 "name": "apiDestinationArn",
9254 "type": {
9255 "primitive": "string"
9256 }
9257 },
9258 {
9259 "abstract": true,
9260 "docs": {
9261 "custom": {
9262 "attribute": "true"
9263 },
9264 "stability": "stable",
9265 "summary": "The Name of the Api Destination created."
9266 },
9267 "immutable": true,
9268 "locationInModule": {
9269 "filename": "lib/api-destination.ts",
9270 "line": 56
9271 },
9272 "name": "apiDestinationName",
9273 "type": {
9274 "primitive": "string"
9275 }
9276 }
9277 ],
9278 "symbolId": "lib/api-destination:IApiDestination"
9279 },
9280 "@aws-cdk/aws-events.IConnection": {
9281 "assembly": "@aws-cdk/aws-events",
9282 "docs": {
9283 "stability": "stable",
9284 "summary": "Interface for EventBus Connections."
9285 },
9286 "fqn": "@aws-cdk/aws-events.IConnection",
9287 "interfaces": [
9288 "@aws-cdk/core.IResource"
9289 ],
9290 "kind": "interface",
9291 "locationInModule": {
9292 "filename": "lib/connection.ts",
9293 "line": 250
9294 },
9295 "name": "IConnection",
9296 "properties": [
9297 {
9298 "abstract": true,
9299 "docs": {
9300 "custom": {
9301 "attribute": "true"
9302 },
9303 "stability": "stable",
9304 "summary": "The ARN of the connection created."
9305 },
9306 "immutable": true,
9307 "locationInModule": {
9308 "filename": "lib/connection.ts",
9309 "line": 261
9310 },
9311 "name": "connectionArn",
9312 "type": {
9313 "primitive": "string"
9314 }
9315 },
9316 {
9317 "abstract": true,
9318 "docs": {
9319 "custom": {
9320 "attribute": "true"
9321 },
9322 "stability": "stable",
9323 "summary": "The Name for the connection."
9324 },
9325 "immutable": true,
9326 "locationInModule": {
9327 "filename": "lib/connection.ts",
9328 "line": 255
9329 },
9330 "name": "connectionName",
9331 "type": {
9332 "primitive": "string"
9333 }
9334 },
9335 {
9336 "abstract": true,
9337 "docs": {
9338 "custom": {
9339 "attribute": "true"
9340 },
9341 "stability": "stable",
9342 "summary": "The ARN for the secret created for the connection."
9343 },
9344 "immutable": true,
9345 "locationInModule": {
9346 "filename": "lib/connection.ts",
9347 "line": 267
9348 },
9349 "name": "connectionSecretArn",
9350 "type": {
9351 "primitive": "string"
9352 }
9353 }
9354 ],
9355 "symbolId": "lib/connection:IConnection"
9356 },
9357 "@aws-cdk/aws-events.IEventBus": {
9358 "assembly": "@aws-cdk/aws-events",
9359 "docs": {
9360 "stability": "stable",
9361 "summary": "Interface which all EventBus based classes MUST implement."
9362 },
9363 "fqn": "@aws-cdk/aws-events.IEventBus",
9364 "interfaces": [
9365 "@aws-cdk/core.IResource"
9366 ],
9367 "kind": "interface",
9368 "locationInModule": {
9369 "filename": "lib/event-bus.ts",
9370 "line": 10
9371 },
9372 "methods": [
9373 {
9374 "abstract": true,
9375 "docs": {
9376 "remarks": "When you create an archive, incoming events might not immediately start being sent to the archive.\nAllow a short period of time for changes to take effect.",
9377 "stability": "stable",
9378 "summary": "Create an EventBridge archive to send events to."
9379 },
9380 "locationInModule": {
9381 "filename": "lib/event-bus.ts",
9382 "line": 49
9383 },
9384 "name": "archive",
9385 "parameters": [
9386 {
9387 "name": "id",
9388 "type": {
9389 "primitive": "string"
9390 }
9391 },
9392 {
9393 "docs": {
9394 "summary": "Properties of the archive."
9395 },
9396 "name": "props",
9397 "type": {
9398 "fqn": "@aws-cdk/aws-events.BaseArchiveProps"
9399 }
9400 }
9401 ],
9402 "returns": {
9403 "type": {
9404 "fqn": "@aws-cdk/aws-events.Archive"
9405 }
9406 }
9407 },
9408 {
9409 "abstract": true,
9410 "docs": {
9411 "stability": "stable",
9412 "summary": "Grants an IAM Principal to send custom events to the eventBus so that they can be matched to rules."
9413 },
9414 "locationInModule": {
9415 "filename": "lib/event-bus.ts",
9416 "line": 57
9417 },
9418 "name": "grantPutEventsTo",
9419 "parameters": [
9420 {
9421 "docs": {
9422 "summary": "The principal (no-op if undefined)."
9423 },
9424 "name": "grantee",
9425 "type": {
9426 "fqn": "@aws-cdk/aws-iam.IGrantable"
9427 }
9428 }
9429 ],
9430 "returns": {
9431 "type": {
9432 "fqn": "@aws-cdk/aws-iam.Grant"
9433 }
9434 }
9435 }
9436 ],
9437 "name": "IEventBus",
9438 "properties": [
9439 {
9440 "abstract": true,
9441 "docs": {
9442 "custom": {
9443 "attribute": "true",
9444 "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#Arn-fn::getatt"
9445 },
9446 "stability": "stable",
9447 "summary": "The ARN of this event bus resource."
9448 },
9449 "immutable": true,
9450 "locationInModule": {
9451 "filename": "lib/event-bus.ts",
9452 "line": 25
9453 },
9454 "name": "eventBusArn",
9455 "type": {
9456 "primitive": "string"
9457 }
9458 },
9459 {
9460 "abstract": true,
9461 "docs": {
9462 "custom": {
9463 "attribute": "true",
9464 "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-name"
9465 },
9466 "stability": "stable",
9467 "summary": "The physical ID of this event bus resource."
9468 },
9469 "immutable": true,
9470 "locationInModule": {
9471 "filename": "lib/event-bus.ts",
9472 "line": 17
9473 },
9474 "name": "eventBusName",
9475 "type": {
9476 "primitive": "string"
9477 }
9478 },
9479 {
9480 "abstract": true,
9481 "docs": {
9482 "custom": {
9483 "attribute": "true",
9484 "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#Policy-fn::getatt"
9485 },
9486 "stability": "stable",
9487 "summary": "The JSON policy of this event bus resource."
9488 },
9489 "immutable": true,
9490 "locationInModule": {
9491 "filename": "lib/event-bus.ts",
9492 "line": 33
9493 },
9494 "name": "eventBusPolicy",
9495 "type": {
9496 "primitive": "string"
9497 }
9498 },
9499 {
9500 "abstract": true,
9501 "docs": {
9502 "custom": {
9503 "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-eventsourcename"
9504 },
9505 "stability": "stable",
9506 "summary": "The partner event source to associate with this event bus resource."
9507 },
9508 "immutable": true,
9509 "locationInModule": {
9510 "filename": "lib/event-bus.ts",
9511 "line": 40
9512 },
9513 "name": "eventSourceName",
9514 "optional": true,
9515 "type": {
9516 "primitive": "string"
9517 }
9518 }
9519 ],
9520 "symbolId": "lib/event-bus:IEventBus"
9521 },
9522 "@aws-cdk/aws-events.IRule": {
9523 "assembly": "@aws-cdk/aws-events",
9524 "docs": {
9525 "stability": "stable",
9526 "summary": "Represents an EventBridge Rule."
9527 },
9528 "fqn": "@aws-cdk/aws-events.IRule",
9529 "interfaces": [
9530 "@aws-cdk/core.IResource"
9531 ],
9532 "kind": "interface",
9533 "locationInModule": {
9534 "filename": "lib/rule-ref.ts",
9535 "line": 6
9536 },
9537 "name": "IRule",
9538 "properties": [
9539 {
9540 "abstract": true,
9541 "docs": {
9542 "custom": {
9543 "attribute": "true"
9544 },
9545 "stability": "stable",
9546 "summary": "The value of the event rule Amazon Resource Name (ARN), such as arn:aws:events:us-east-2:123456789012:rule/example."
9547 },
9548 "immutable": true,
9549 "locationInModule": {
9550 "filename": "lib/rule-ref.ts",
9551 "line": 13
9552 },
9553 "name": "ruleArn",
9554 "type": {
9555 "primitive": "string"
9556 }
9557 },
9558 {
9559 "abstract": true,
9560 "docs": {
9561 "custom": {
9562 "attribute": "true"
9563 },
9564 "stability": "stable",
9565 "summary": "The name event rule."
9566 },
9567 "immutable": true,
9568 "locationInModule": {
9569 "filename": "lib/rule-ref.ts",
9570 "line": 20
9571 },
9572 "name": "ruleName",
9573 "type": {
9574 "primitive": "string"
9575 }
9576 }
9577 ],
9578 "symbolId": "lib/rule-ref:IRule"
9579 },
9580 "@aws-cdk/aws-events.IRuleTarget": {
9581 "assembly": "@aws-cdk/aws-events",
9582 "docs": {
9583 "stability": "stable",
9584 "summary": "An abstract target for EventRules."
9585 },
9586 "fqn": "@aws-cdk/aws-events.IRuleTarget",
9587 "kind": "interface",
9588 "locationInModule": {
9589 "filename": "lib/target.ts",
9590 "line": 10
9591 },
9592 "methods": [
9593 {
9594 "abstract": true,
9595 "docs": {
9596 "remarks": "NOTE: Do not use the various `inputXxx` options. They can be set in a call to `addTarget`.",
9597 "stability": "stable",
9598 "summary": "Returns the rule target specification."
9599 },
9600 "locationInModule": {
9601 "filename": "lib/target.ts",
9602 "line": 18
9603 },
9604 "name": "bind",
9605 "parameters": [
9606 {
9607 "docs": {
9608 "summary": "The EventBridge Rule that would trigger this target."
9609 },
9610 "name": "rule",
9611 "type": {
9612 "fqn": "@aws-cdk/aws-events.IRule"
9613 }
9614 },
9615 {
9616 "docs": {
9617 "summary": "The id of the target that will be attached to the rule."
9618 },
9619 "name": "id",
9620 "optional": true,
9621 "type": {
9622 "primitive": "string"
9623 }
9624 }
9625 ],
9626 "returns": {
9627 "type": {
9628 "fqn": "@aws-cdk/aws-events.RuleTargetConfig"
9629 }
9630 }
9631 }
9632 ],
9633 "name": "IRuleTarget",
9634 "symbolId": "lib/target:IRuleTarget"
9635 },
9636 "@aws-cdk/aws-events.OAuthAuthorizationProps": {
9637 "assembly": "@aws-cdk/aws-events",
9638 "datatype": true,
9639 "docs": {
9640 "stability": "stable",
9641 "summary": "Properties for `Authorization.oauth()`.",
9642 "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 httpParameter: events.HttpParameter;\ndeclare const secretValue: cdk.SecretValue;\nconst oAuthAuthorizationProps: events.OAuthAuthorizationProps = {\n authorizationEndpoint: 'authorizationEndpoint',\n clientId: 'clientId',\n clientSecret: secretValue,\n httpMethod: events.HttpMethod.POST,\n\n // the properties below are optional\n bodyParameters: {\n bodyParametersKey: httpParameter,\n },\n headerParameters: {\n headerParametersKey: httpParameter,\n },\n queryStringParameters: {\n queryStringParametersKey: httpParameter,\n },\n};",
9643 "custom": {
9644 "exampleMetadata": "fixture=_generated"
9645 }
9646 },
9647 "fqn": "@aws-cdk/aws-events.OAuthAuthorizationProps",
9648 "kind": "interface",
9649 "locationInModule": {
9650 "filename": "lib/connection.ts",
9651 "line": 141
9652 },
9653 "name": "OAuthAuthorizationProps",
9654 "properties": [
9655 {
9656 "abstract": true,
9657 "docs": {
9658 "stability": "stable",
9659 "summary": "The URL to the authorization endpoint."
9660 },
9661 "immutable": true,
9662 "locationInModule": {
9663 "filename": "lib/connection.ts",
9664 "line": 146
9665 },
9666 "name": "authorizationEndpoint",
9667 "type": {
9668 "primitive": "string"
9669 }
9670 },
9671 {
9672 "abstract": true,
9673 "docs": {
9674 "stability": "stable",
9675 "summary": "The client ID to use for OAuth authorization for the connection."
9676 },
9677 "immutable": true,
9678 "locationInModule": {
9679 "filename": "lib/connection.ts",
9680 "line": 158
9681 },
9682 "name": "clientId",
9683 "type": {
9684 "primitive": "string"
9685 }
9686 },
9687 {
9688 "abstract": true,
9689 "docs": {
9690 "stability": "stable",
9691 "summary": "The client secret associated with the client ID to use for OAuth authorization for the connection."
9692 },
9693 "immutable": true,
9694 "locationInModule": {
9695 "filename": "lib/connection.ts",
9696 "line": 163
9697 },
9698 "name": "clientSecret",
9699 "type": {
9700 "fqn": "@aws-cdk/core.SecretValue"
9701 }
9702 },
9703 {
9704 "abstract": true,
9705 "docs": {
9706 "remarks": "(Can only choose POST, GET or PUT).",
9707 "stability": "stable",
9708 "summary": "The method to use for the authorization request."
9709 },
9710 "immutable": true,
9711 "locationInModule": {
9712 "filename": "lib/connection.ts",
9713 "line": 153
9714 },
9715 "name": "httpMethod",
9716 "type": {
9717 "fqn": "@aws-cdk/aws-events.HttpMethod"
9718 }
9719 },
9720 {
9721 "abstract": true,
9722 "docs": {
9723 "default": "- No additional parameters",
9724 "stability": "stable",
9725 "summary": "Additional string parameters to add to the OAuth request body."
9726 },
9727 "immutable": true,
9728 "locationInModule": {
9729 "filename": "lib/connection.ts",
9730 "line": 170
9731 },
9732 "name": "bodyParameters",
9733 "optional": true,
9734 "type": {
9735 "collection": {
9736 "elementtype": {
9737 "fqn": "@aws-cdk/aws-events.HttpParameter"
9738 },
9739 "kind": "map"
9740 }
9741 }
9742 },
9743 {
9744 "abstract": true,
9745 "docs": {
9746 "default": "- No additional parameters",
9747 "stability": "stable",
9748 "summary": "Additional string parameters to add to the OAuth request header."
9749 },
9750 "immutable": true,
9751 "locationInModule": {
9752 "filename": "lib/connection.ts",
9753 "line": 177
9754 },
9755 "name": "headerParameters",
9756 "optional": true,
9757 "type": {
9758 "collection": {
9759 "elementtype": {
9760 "fqn": "@aws-cdk/aws-events.HttpParameter"
9761 },
9762 "kind": "map"
9763 }
9764 }
9765 },
9766 {
9767 "abstract": true,
9768 "docs": {
9769 "default": "- No additional parameters",
9770 "stability": "stable",
9771 "summary": "Additional string parameters to add to the OAuth request query string."
9772 },
9773 "immutable": true,
9774 "locationInModule": {
9775 "filename": "lib/connection.ts",
9776 "line": 184
9777 },
9778 "name": "queryStringParameters",
9779 "optional": true,
9780 "type": {
9781 "collection": {
9782 "elementtype": {
9783 "fqn": "@aws-cdk/aws-events.HttpParameter"
9784 },
9785 "kind": "map"
9786 }
9787 }
9788 }
9789 ],
9790 "symbolId": "lib/connection:OAuthAuthorizationProps"
9791 },
9792 "@aws-cdk/aws-events.OnEventOptions": {
9793 "assembly": "@aws-cdk/aws-events",
9794 "datatype": true,
9795 "docs": {
9796 "stability": "stable",
9797 "summary": "Standard set of options for `onXxx` event handlers on construct.",
9798 "example": "// Lambda function containing logic that evaluates compliance with the rule.\nconst evalComplianceFn = new lambda.Function(this, 'CustomFunction', {\n code: lambda.AssetCode.fromInline('exports.handler = (event) => console.log(event);'),\n handler: 'index.handler',\n runtime: lambda.Runtime.NODEJS_14_X,\n});\n\n// A custom rule that runs on configuration changes of EC2 instances\nconst customRule = new config.CustomRule(this, 'Custom', {\n configurationChanges: true,\n lambdaFunction: evalComplianceFn,\n ruleScope: config.RuleScope.fromResource(config.ResourceType.EC2_INSTANCE),\n});\n\n// A rule to detect stack drifts\nconst driftRule = new config.CloudFormationStackDriftDetectionCheck(this, 'Drift');\n\n// Topic to which compliance notification events will be published\nconst complianceTopic = new sns.Topic(this, 'ComplianceTopic');\n\n// Send notification on compliance change events\ndriftRule.onComplianceChange('ComplianceChange', {\n target: new targets.SnsTopic(complianceTopic),\n});",
9799 "custom": {
9800 "exampleMetadata": "infused"
9801 }
9802 },
9803 "fqn": "@aws-cdk/aws-events.OnEventOptions",
9804 "kind": "interface",
9805 "locationInModule": {
9806 "filename": "lib/on-event-options.ts",
9807 "line": 7
9808 },
9809 "name": "OnEventOptions",
9810 "properties": [
9811 {
9812 "abstract": true,
9813 "docs": {
9814 "default": "- No description",
9815 "stability": "stable",
9816 "summary": "A description of the rule's purpose."
9817 },
9818 "immutable": true,
9819 "locationInModule": {
9820 "filename": "lib/on-event-options.ts",
9821 "line": 20
9822 },
9823 "name": "description",
9824 "optional": true,
9825 "type": {
9826 "primitive": "string"
9827 }
9828 },
9829 {
9830 "abstract": true,
9831 "docs": {
9832 "default": "- No additional filtering based on an event pattern.",
9833 "remarks": "The method that generates the rule probably imposes some type of event\nfiltering. The filtering implied by what you pass here is added\non top of that filtering.",
9834 "see": "https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html",
9835 "stability": "stable",
9836 "summary": "Additional restrictions for the event to route to the specified target."
9837 },
9838 "immutable": true,
9839 "locationInModule": {
9840 "filename": "lib/on-event-options.ts",
9841 "line": 41
9842 },
9843 "name": "eventPattern",
9844 "optional": true,
9845 "type": {
9846 "fqn": "@aws-cdk/aws-events.EventPattern"
9847 }
9848 },
9849 {
9850 "abstract": true,
9851 "docs": {
9852 "default": "AWS CloudFormation generates a unique physical ID.",
9853 "stability": "stable",
9854 "summary": "A name for the rule."
9855 },
9856 "immutable": true,
9857 "locationInModule": {
9858 "filename": "lib/on-event-options.ts",
9859 "line": 27
9860 },
9861 "name": "ruleName",
9862 "optional": true,
9863 "type": {
9864 "primitive": "string"
9865 }
9866 },
9867 {
9868 "abstract": true,
9869 "docs": {
9870 "default": "- No target is added to the rule. Use `addTarget()` to add a target.",
9871 "stability": "stable",
9872 "summary": "The target to register for the event."
9873 },
9874 "immutable": true,
9875 "locationInModule": {
9876 "filename": "lib/on-event-options.ts",
9877 "line": 13
9878 },
9879 "name": "target",
9880 "optional": true,
9881 "type": {
9882 "fqn": "@aws-cdk/aws-events.IRuleTarget"
9883 }
9884 }
9885 ],
9886 "symbolId": "lib/on-event-options:OnEventOptions"
9887 },
9888 "@aws-cdk/aws-events.Rule": {
9889 "assembly": "@aws-cdk/aws-events",
9890 "base": "@aws-cdk/core.Resource",
9891 "docs": {
9892 "custom": {
9893 "resource": "AWS::Events::Rule",
9894 "exampleMetadata": "infused"
9895 },
9896 "stability": "stable",
9897 "summary": "Defines an EventBridge Rule in this stack.",
9898 "example": "import * as lambda from '@aws-cdk/aws-lambda';\n\nconst fn = new lambda.Function(this, 'MyFunc', {\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler',\n code: lambda.Code.fromInline(`exports.handler = handler.toString()`),\n});\n\nconst rule = new events.Rule(this, 'rule', {\n eventPattern: {\n source: [\"aws.ec2\"],\n },\n});\n\nconst queue = new sqs.Queue(this, 'Queue');\n\nrule.addTarget(new targets.LambdaFunction(fn, {\n deadLetterQueue: queue, // Optional: add a dead letter queue\n maxEventAge: cdk.Duration.hours(2), // Optional: set the maxEventAge retry policy\n retryAttempts: 2, // Optional: set the max number of retry attempts\n}));"
9899 },
9900 "fqn": "@aws-cdk/aws-events.Rule",
9901 "initializer": {
9902 "docs": {
9903 "stability": "stable"
9904 },
9905 "locationInModule": {
9906 "filename": "lib/rule.ts",
9907 "line": 121
9908 },
9909 "parameters": [
9910 {
9911 "name": "scope",
9912 "type": {
9913 "fqn": "constructs.Construct"
9914 }
9915 },
9916 {
9917 "name": "id",
9918 "type": {
9919 "primitive": "string"
9920 }
9921 },
9922 {
9923 "name": "props",
9924 "optional": true,
9925 "type": {
9926 "fqn": "@aws-cdk/aws-events.RuleProps"
9927 }
9928 }
9929 ]
9930 },
9931 "interfaces": [
9932 "@aws-cdk/aws-events.IRule"
9933 ],
9934 "kind": "class",
9935 "locationInModule": {
9936 "filename": "lib/rule.ts",
9937 "line": 91
9938 },
9939 "methods": [
9940 {
9941 "docs": {
9942 "stability": "stable",
9943 "summary": "Import an existing EventBridge Rule provided an ARN."
9944 },
9945 "locationInModule": {
9946 "filename": "lib/rule.ts",
9947 "line": 100
9948 },
9949 "name": "fromEventRuleArn",
9950 "parameters": [
9951 {
9952 "docs": {
9953 "summary": "The parent creating construct (usually `this`)."
9954 },
9955 "name": "scope",
9956 "type": {
9957 "fqn": "constructs.Construct"
9958 }
9959 },
9960 {
9961 "docs": {
9962 "summary": "The construct's name."
9963 },
9964 "name": "id",
9965 "type": {
9966 "primitive": "string"
9967 }
9968 },
9969 {
9970 "docs": {
9971 "summary": "Event Rule ARN (i.e. arn:aws:events:<region>:<account-id>:rule/MyScheduledRule)."
9972 },
9973 "name": "eventRuleArn",
9974 "type": {
9975 "primitive": "string"
9976 }
9977 }
9978 ],
9979 "returns": {
9980 "type": {
9981 "fqn": "@aws-cdk/aws-events.IRule"
9982 }
9983 },
9984 "static": true
9985 },
9986 {
9987 "docs": {
9988 "remarks": "If a pattern was already specified,\nthese values are merged into the existing pattern.\n\nFor example, if the rule already contains the pattern:\n\n {\n \"resources\": [ \"r1\" ],\n \"detail\": {\n \"hello\": [ 1 ]\n }\n }\n\nAnd `addEventPattern` is called with the pattern:\n\n {\n \"resources\": [ \"r2\" ],\n \"detail\": {\n \"foo\": [ \"bar\" ]\n }\n }\n\nThe resulting event pattern will be:\n\n {\n \"resources\": [ \"r1\", \"r2\" ],\n \"detail\": {\n \"hello\": [ 1 ],\n \"foo\": [ \"bar\" ]\n }\n }",
9989 "stability": "stable",
9990 "summary": "Adds an event pattern filter to this rule."
9991 },
9992 "locationInModule": {
9993 "filename": "lib/rule.ts",
9994 "line": 308
9995 },
9996 "name": "addEventPattern",
9997 "parameters": [
9998 {
9999 "name": "eventPattern",
10000 "optional": true,
10001 "type": {
10002 "fqn": "@aws-cdk/aws-events.EventPattern"
10003 }
10004 }
10005 ]
10006 },
10007 {
10008 "docs": {
10009 "remarks": "No-op if target is undefined.",
10010 "stability": "stable",
10011 "summary": "Adds a target to the rule. The abstract class RuleTarget can be extended to define new targets."
10012 },
10013 "locationInModule": {
10014 "filename": "lib/rule.ts",
10015 "line": 166
10016 },
10017 "name": "addTarget",
10018 "parameters": [
10019 {
10020 "name": "target",
10021 "optional": true,
10022 "type": {
10023 "fqn": "@aws-cdk/aws-events.IRuleTarget"
10024 }
10025 }
10026 ]
10027 },
10028 {
10029 "docs": {
10030 "remarks": "This method can be implemented by derived constructs in order to perform\nvalidation logic. It is called on all constructs before synthesis.",
10031 "stability": "stable",
10032 "summary": "Validate the current construct."
10033 },
10034 "locationInModule": {
10035 "filename": "lib/rule.ts",
10036 "line": 324
10037 },
10038 "name": "validate",
10039 "overrides": "@aws-cdk/core.Construct",
10040 "protected": true,
10041 "returns": {
10042 "type": {
10043 "collection": {
10044 "elementtype": {
10045 "primitive": "string"
10046 },
10047 "kind": "array"
10048 }
10049 }
10050 }
10051 }
10052 ],
10053 "name": "Rule",
10054 "properties": [
10055 {
10056 "docs": {
10057 "stability": "stable",
10058 "summary": "The value of the event rule Amazon Resource Name (ARN), such as arn:aws:events:us-east-2:123456789012:rule/example."
10059 },
10060 "immutable": true,
10061 "locationInModule": {
10062 "filename": "lib/rule.ts",
10063 "line": 110
10064 },
10065 "name": "ruleArn",
10066 "overrides": "@aws-cdk/aws-events.IRule",
10067 "type": {
10068 "primitive": "string"
10069 }
10070 },
10071 {
10072 "docs": {
10073 "stability": "stable",
10074 "summary": "The name event rule."
10075 },
10076 "immutable": true,
10077 "locationInModule": {
10078 "filename": "lib/rule.ts",
10079 "line": 111
10080 },
10081 "name": "ruleName",
10082 "overrides": "@aws-cdk/aws-events.IRule",
10083 "type": {
10084 "primitive": "string"
10085 }
10086 }
10087 ],
10088 "symbolId": "lib/rule:Rule"
10089 },
10090 "@aws-cdk/aws-events.RuleProps": {
10091 "assembly": "@aws-cdk/aws-events",
10092 "datatype": true,
10093 "docs": {
10094 "stability": "stable",
10095 "summary": "Properties for defining an EventBridge Rule.",
10096 "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});",
10097 "custom": {
10098 "exampleMetadata": "infused"
10099 }
10100 },
10101 "fqn": "@aws-cdk/aws-events.RuleProps",
10102 "kind": "interface",
10103 "locationInModule": {
10104 "filename": "lib/rule.ts",
10105 "line": 15
10106 },
10107 "name": "RuleProps",
10108 "properties": [
10109 {
10110 "abstract": true,
10111 "docs": {
10112 "default": "- No description.",
10113 "stability": "stable",
10114 "summary": "A description of the rule's purpose."
10115 },
10116 "immutable": true,
10117 "locationInModule": {
10118 "filename": "lib/rule.ts",
10119 "line": 21
10120 },
10121 "name": "description",
10122 "optional": true,
10123 "type": {
10124 "primitive": "string"
10125 }
10126 },
10127 {
10128 "abstract": true,
10129 "docs": {
10130 "default": "true",
10131 "stability": "stable",
10132 "summary": "Indicates whether the rule is enabled."
10133 },
10134 "immutable": true,
10135 "locationInModule": {
10136 "filename": "lib/rule.ts",
10137 "line": 36
10138 },
10139 "name": "enabled",
10140 "optional": true,
10141 "type": {
10142 "primitive": "boolean"
10143 }
10144 },
10145 {
10146 "abstract": true,
10147 "docs": {
10148 "default": "- The default event bus.",
10149 "stability": "stable",
10150 "summary": "The event bus to associate with this rule."
10151 },
10152 "immutable": true,
10153 "locationInModule": {
10154 "filename": "lib/rule.ts",
10155 "line": 83
10156 },
10157 "name": "eventBus",
10158 "optional": true,
10159 "type": {
10160 "fqn": "@aws-cdk/aws-events.IEventBus"
10161 }
10162 },
10163 {
10164 "abstract": true,
10165 "docs": {
10166 "default": "- None.",
10167 "remarks": "These routed events are matched events. For more information, see Events\nand Event Patterns in the Amazon EventBridge User Guide.",
10168 "see": "https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html\n\nYou must specify this property (either via props or via\n`addEventPattern`), the `scheduleExpression` property, or both. The\nmethod `addEventPattern` can be used to add filter values to the event\npattern.",
10169 "stability": "stable",
10170 "summary": "Describes which events EventBridge routes to the specified target."
10171 },
10172 "immutable": true,
10173 "locationInModule": {
10174 "filename": "lib/rule.ts",
10175 "line": 66
10176 },
10177 "name": "eventPattern",
10178 "optional": true,
10179 "type": {
10180 "fqn": "@aws-cdk/aws-events.EventPattern"
10181 }
10182 },
10183 {
10184 "abstract": true,
10185 "docs": {
10186 "default": "- AWS CloudFormation generates a unique physical ID and uses that ID\nfor the rule name. For more information, see Name Type.",
10187 "stability": "stable",
10188 "summary": "A name for the rule."
10189 },
10190 "immutable": true,
10191 "locationInModule": {
10192 "filename": "lib/rule.ts",
10193 "line": 29
10194 },
10195 "name": "ruleName",
10196 "optional": true,
10197 "type": {
10198 "primitive": "string"
10199 }
10200 },
10201 {
10202 "abstract": true,
10203 "docs": {
10204 "default": "- None.",
10205 "remarks": "For more information, see Schedule Expression Syntax for\nRules in the Amazon EventBridge User Guide.",
10206 "see": "https://docs.aws.amazon.com/eventbridge/latest/userguide/scheduled-events.html\n\nYou must specify this property, the `eventPattern` property, or both.",
10207 "stability": "stable",
10208 "summary": "The schedule or rate (frequency) that determines when EventBridge runs the rule."
10209 },
10210 "immutable": true,
10211 "locationInModule": {
10212 "filename": "lib/rule.ts",
10213 "line": 49
10214 },
10215 "name": "schedule",
10216 "optional": true,
10217 "type": {
10218 "fqn": "@aws-cdk/aws-events.Schedule"
10219 }
10220 },
10221 {
10222 "abstract": true,
10223 "docs": {
10224 "default": "- No targets.",
10225 "remarks": "Input will be the full matched event. If you wish to specify custom\ntarget input, use `addTarget(target[, inputOptions])`.",
10226 "stability": "stable",
10227 "summary": "Targets to invoke when this rule matches an event."
10228 },
10229 "immutable": true,
10230 "locationInModule": {
10231 "filename": "lib/rule.ts",
10232 "line": 76
10233 },
10234 "name": "targets",
10235 "optional": true,
10236 "type": {
10237 "collection": {
10238 "elementtype": {
10239 "fqn": "@aws-cdk/aws-events.IRuleTarget"
10240 },
10241 "kind": "array"
10242 }
10243 }
10244 }
10245 ],
10246 "symbolId": "lib/rule:RuleProps"
10247 },
10248 "@aws-cdk/aws-events.RuleTargetConfig": {
10249 "assembly": "@aws-cdk/aws-events",
10250 "datatype": true,
10251 "docs": {
10252 "stability": "stable",
10253 "summary": "Properties for an event rule target.",
10254 "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 iam from '@aws-cdk/aws-iam';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const construct: cdk.Construct;\ndeclare const role: iam.Role;\ndeclare const ruleTargetInput: events.RuleTargetInput;\nconst ruleTargetConfig: events.RuleTargetConfig = {\n arn: 'arn',\n\n // the properties below are optional\n batchParameters: {\n jobDefinition: 'jobDefinition',\n jobName: 'jobName',\n\n // the properties below are optional\n arrayProperties: {\n size: 123,\n },\n retryStrategy: {\n attempts: 123,\n },\n },\n deadLetterConfig: {\n arn: 'arn',\n },\n ecsParameters: {\n taskDefinitionArn: 'taskDefinitionArn',\n\n // the properties below are optional\n capacityProviderStrategy: [{\n capacityProvider: 'capacityProvider',\n\n // the properties below are optional\n base: 123,\n weight: 123,\n }],\n enableEcsManagedTags: false,\n enableExecuteCommand: false,\n group: 'group',\n launchType: 'launchType',\n networkConfiguration: {\n awsVpcConfiguration: {\n subnets: ['subnets'],\n\n // the properties below are optional\n assignPublicIp: 'assignPublicIp',\n securityGroups: ['securityGroups'],\n },\n },\n placementConstraints: [{\n expression: 'expression',\n type: 'type',\n }],\n placementStrategies: [{\n field: 'field',\n type: 'type',\n }],\n platformVersion: 'platformVersion',\n propagateTags: 'propagateTags',\n referenceId: 'referenceId',\n tagList: [{\n key: 'key',\n value: 'value',\n }],\n taskCount: 123,\n },\n httpParameters: {\n headerParameters: {\n headerParametersKey: 'headerParameters',\n },\n pathParameterValues: ['pathParameterValues'],\n queryStringParameters: {\n queryStringParametersKey: 'queryStringParameters',\n },\n },\n id: 'id',\n input: ruleTargetInput,\n kinesisParameters: {\n partitionKeyPath: 'partitionKeyPath',\n },\n retryPolicy: {\n maximumEventAgeInSeconds: 123,\n maximumRetryAttempts: 123,\n },\n role: role,\n runCommandParameters: {\n runCommandTargets: [{\n key: 'key',\n values: ['values'],\n }],\n },\n sqsParameters: {\n messageGroupId: 'messageGroupId',\n },\n targetResource: construct,\n};",
10255 "custom": {
10256 "exampleMetadata": "fixture=_generated"
10257 }
10258 },
10259 "fqn": "@aws-cdk/aws-events.RuleTargetConfig",
10260 "kind": "interface",
10261 "locationInModule": {
10262 "filename": "lib/target.ts",
10263 "line": 24
10264 },
10265 "name": "RuleTargetConfig",
10266 "properties": [
10267 {
10268 "abstract": true,
10269 "docs": {
10270 "stability": "stable",
10271 "summary": "The Amazon Resource Name (ARN) of the target."
10272 },
10273 "immutable": true,
10274 "locationInModule": {
10275 "filename": "lib/target.ts",
10276 "line": 38
10277 },
10278 "name": "arn",
10279 "type": {
10280 "primitive": "string"
10281 }
10282 },
10283 {
10284 "abstract": true,
10285 "docs": {
10286 "default": "no parameters set",
10287 "stability": "stable",
10288 "summary": "Parameters used when the rule invokes Amazon AWS Batch Job/Queue."
10289 },
10290 "immutable": true,
10291 "locationInModule": {
10292 "filename": "lib/target.ts",
10293 "line": 49
10294 },
10295 "name": "batchParameters",
10296 "optional": true,
10297 "type": {
10298 "fqn": "@aws-cdk/aws-events.CfnRule.BatchParametersProperty"
10299 }
10300 },
10301 {
10302 "abstract": true,
10303 "docs": {
10304 "default": "no dead-letter queue set",
10305 "stability": "stable",
10306 "summary": "Contains information about a dead-letter queue configuration."
10307 },
10308 "immutable": true,
10309 "locationInModule": {
10310 "filename": "lib/target.ts",
10311 "line": 55
10312 },
10313 "name": "deadLetterConfig",
10314 "optional": true,
10315 "type": {
10316 "fqn": "@aws-cdk/aws-events.CfnRule.DeadLetterConfigProperty"
10317 }
10318 },
10319 {
10320 "abstract": true,
10321 "docs": {
10322 "stability": "stable",
10323 "summary": "The Amazon ECS task definition and task count to use, if the event target is an Amazon ECS task."
10324 },
10325 "immutable": true,
10326 "locationInModule": {
10327 "filename": "lib/target.ts",
10328 "line": 67
10329 },
10330 "name": "ecsParameters",
10331 "optional": true,
10332 "type": {
10333 "fqn": "@aws-cdk/aws-events.CfnRule.EcsParametersProperty"
10334 }
10335 },
10336 {
10337 "abstract": true,
10338 "docs": {
10339 "default": "- None",
10340 "stability": "stable",
10341 "summary": "Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge API destination."
10342 },
10343 "immutable": true,
10344 "locationInModule": {
10345 "filename": "lib/target.ts",
10346 "line": 74
10347 },
10348 "name": "httpParameters",
10349 "optional": true,
10350 "type": {
10351 "fqn": "@aws-cdk/aws-events.CfnRule.HttpParametersProperty"
10352 }
10353 },
10354 {
10355 "abstract": true,
10356 "docs": {
10357 "default": "- an auto-generated id",
10358 "deprecated": "no replacement. we will always use an autogenerated id.",
10359 "remarks": "Acceptable values\ninclude alphanumeric characters, periods (.), hyphens (-), and\nunderscores (_).",
10360 "stability": "deprecated",
10361 "summary": "A unique, user-defined identifier for the target."
10362 },
10363 "immutable": true,
10364 "locationInModule": {
10365 "filename": "lib/target.ts",
10366 "line": 33
10367 },
10368 "name": "id",
10369 "optional": true,
10370 "type": {
10371 "primitive": "string"
10372 }
10373 },
10374 {
10375 "abstract": true,
10376 "docs": {
10377 "default": "the entire event",
10378 "stability": "stable",
10379 "summary": "What input to send to the event target."
10380 },
10381 "immutable": true,
10382 "locationInModule": {
10383 "filename": "lib/target.ts",
10384 "line": 100
10385 },
10386 "name": "input",
10387 "optional": true,
10388 "type": {
10389 "fqn": "@aws-cdk/aws-events.RuleTargetInput"
10390 }
10391 },
10392 {
10393 "abstract": true,
10394 "docs": {
10395 "remarks": "If you don't include this parameter, eventId is used as the\npartition key.",
10396 "stability": "stable",
10397 "summary": "Settings that control shard assignment, when the target is a Kinesis stream."
10398 },
10399 "immutable": true,
10400 "locationInModule": {
10401 "filename": "lib/target.ts",
10402 "line": 81
10403 },
10404 "name": "kinesisParameters",
10405 "optional": true,
10406 "type": {
10407 "fqn": "@aws-cdk/aws-events.CfnRule.KinesisParametersProperty"
10408 }
10409 },
10410 {
10411 "abstract": true,
10412 "docs": {
10413 "default": "EventBridge default retry policy",
10414 "stability": "stable",
10415 "summary": "A RetryPolicy object that includes information about the retry policy settings."
10416 },
10417 "immutable": true,
10418 "locationInModule": {
10419 "filename": "lib/target.ts",
10420 "line": 61
10421 },
10422 "name": "retryPolicy",
10423 "optional": true,
10424 "type": {
10425 "fqn": "@aws-cdk/aws-events.CfnRule.RetryPolicyProperty"
10426 }
10427 },
10428 {
10429 "abstract": true,
10430 "docs": {
10431 "stability": "stable",
10432 "summary": "Role to use to invoke this event target."
10433 },
10434 "immutable": true,
10435 "locationInModule": {
10436 "filename": "lib/target.ts",
10437 "line": 43
10438 },
10439 "name": "role",
10440 "optional": true,
10441 "type": {
10442 "fqn": "@aws-cdk/aws-iam.IRole"
10443 }
10444 },
10445 {
10446 "abstract": true,
10447 "docs": {
10448 "stability": "stable",
10449 "summary": "Parameters used when the rule invokes Amazon EC2 Systems Manager Run Command."
10450 },
10451 "immutable": true,
10452 "locationInModule": {
10453 "filename": "lib/target.ts",
10454 "line": 87
10455 },
10456 "name": "runCommandParameters",
10457 "optional": true,
10458 "type": {
10459 "fqn": "@aws-cdk/aws-events.CfnRule.RunCommandParametersProperty"
10460 }
10461 },
10462 {
10463 "abstract": true,
10464 "docs": {
10465 "stability": "stable",
10466 "summary": "Parameters used when the FIFO sqs queue is used an event target by the rule."
10467 },
10468 "immutable": true,
10469 "locationInModule": {
10470 "filename": "lib/target.ts",
10471 "line": 93
10472 },
10473 "name": "sqsParameters",
10474 "optional": true,
10475 "type": {
10476 "fqn": "@aws-cdk/aws-events.CfnRule.SqsParametersProperty"
10477 }
10478 },
10479 {
10480 "abstract": true,
10481 "docs": {
10482 "default": "the target is not backed by any resource",
10483 "remarks": "This is the resource that will actually have some action performed on it when used as a target\n(for example, start a build for a CodeBuild project).\nWe need it to determine whether the rule belongs to a different account than the target -\nif so, we generate a more complex setup,\nincluding an additional stack containing the EventBusPolicy.",
10484 "see": "https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html",
10485 "stability": "stable",
10486 "summary": "The resource that is backing this target."
10487 },
10488 "immutable": true,
10489 "locationInModule": {
10490 "filename": "lib/target.ts",
10491 "line": 113
10492 },
10493 "name": "targetResource",
10494 "optional": true,
10495 "type": {
10496 "fqn": "@aws-cdk/core.IConstruct"
10497 }
10498 }
10499 ],
10500 "symbolId": "lib/target:RuleTargetConfig"
10501 },
10502 "@aws-cdk/aws-events.RuleTargetInput": {
10503 "abstract": true,
10504 "assembly": "@aws-cdk/aws-events",
10505 "docs": {
10506 "stability": "stable",
10507 "summary": "The input to send to the event target.",
10508 "example": "import * as iam from '@aws-cdk/aws-iam';\nimport * as sfn from '@aws-cdk/aws-stepfunctions';\n\nconst rule = new events.Rule(this, 'Rule', {\n schedule: events.Schedule.rate(cdk.Duration.minutes(1)),\n});\n\nconst dlq = new sqs.Queue(this, 'DeadLetterQueue');\n\nconst role = new iam.Role(this, 'Role', {\n assumedBy: new iam.ServicePrincipal('events.amazonaws.com'),\n});\nconst stateMachine = new sfn.StateMachine(this, 'SM', {\n definition: new sfn.Wait(this, 'Hello', { time: sfn.WaitTime.duration(cdk.Duration.seconds(10)) })\n});\n\nrule.addTarget(new targets.SfnStateMachine(stateMachine, {\n input: events.RuleTargetInput.fromObject({ SomeParam: 'SomeValue' }),\n deadLetterQueue: dlq,\n role: role\n}));",
10509 "custom": {
10510 "exampleMetadata": "infused"
10511 }
10512 },
10513 "fqn": "@aws-cdk/aws-events.RuleTargetInput",
10514 "initializer": {
10515 "docs": {
10516 "stability": "stable"
10517 },
10518 "locationInModule": {
10519 "filename": "lib/input.ts",
10520 "line": 55
10521 }
10522 },
10523 "kind": "class",
10524 "locationInModule": {
10525 "filename": "lib/input.ts",
10526 "line": 10
10527 },
10528 "methods": [
10529 {
10530 "docs": {
10531 "stability": "stable",
10532 "summary": "Take the event target input from a path in the event JSON."
10533 },
10534 "locationInModule": {
10535 "filename": "lib/input.ts",
10536 "line": 51
10537 },
10538 "name": "fromEventPath",
10539 "parameters": [
10540 {
10541 "name": "path",
10542 "type": {
10543 "primitive": "string"
10544 }
10545 }
10546 ],
10547 "returns": {
10548 "type": {
10549 "fqn": "@aws-cdk/aws-events.RuleTargetInput"
10550 }
10551 },
10552 "static": true
10553 },
10554 {
10555 "docs": {
10556 "remarks": "This is only useful when passing to a target that does not\ntake a single argument.\n\nMay contain strings returned by `EventField.from()` to substitute in parts\nof the matched event.",
10557 "stability": "stable",
10558 "summary": "Pass text to the event target, splitting on newlines."
10559 },
10560 "locationInModule": {
10561 "filename": "lib/input.ts",
10562 "line": 34
10563 },
10564 "name": "fromMultilineText",
10565 "parameters": [
10566 {
10567 "name": "text",
10568 "type": {
10569 "primitive": "string"
10570 }
10571 }
10572 ],
10573 "returns": {
10574 "type": {
10575 "fqn": "@aws-cdk/aws-events.RuleTargetInput"
10576 }
10577 },
10578 "static": true
10579 },
10580 {
10581 "docs": {
10582 "remarks": "May contain strings returned by `EventField.from()` to substitute in parts of the\nmatched event.",
10583 "stability": "stable",
10584 "summary": "Pass a JSON object to the event target."
10585 },
10586 "locationInModule": {
10587 "filename": "lib/input.ts",
10588 "line": 44
10589 },
10590 "name": "fromObject",
10591 "parameters": [
10592 {
10593 "name": "obj",
10594 "type": {
10595 "primitive": "any"
10596 }
10597 }
10598 ],
10599 "returns": {
10600 "type": {
10601 "fqn": "@aws-cdk/aws-events.RuleTargetInput"
10602 }
10603 },
10604 "static": true
10605 },
10606 {
10607 "docs": {
10608 "remarks": "May contain strings returned by `EventField.from()` to substitute in parts of the\nmatched event.\n\nThe Rule Target input value will be a single string: the string you pass\nhere. Do not use this method to pass a complex value like a JSON object to\na Rule Target. Use `RuleTargetInput.fromObject()` instead.",
10609 "stability": "stable",
10610 "summary": "Pass text to the event target."
10611 },
10612 "locationInModule": {
10613 "filename": "lib/input.ts",
10614 "line": 21
10615 },
10616 "name": "fromText",
10617 "parameters": [
10618 {
10619 "name": "text",
10620 "type": {
10621 "primitive": "string"
10622 }
10623 }
10624 ],
10625 "returns": {
10626 "type": {
10627 "fqn": "@aws-cdk/aws-events.RuleTargetInput"
10628 }
10629 },
10630 "static": true
10631 },
10632 {
10633 "abstract": true,
10634 "docs": {
10635 "stability": "stable",
10636 "summary": "Return the input properties for this input object."
10637 },
10638 "locationInModule": {
10639 "filename": "lib/input.ts",
10640 "line": 61
10641 },
10642 "name": "bind",
10643 "parameters": [
10644 {
10645 "name": "rule",
10646 "type": {
10647 "fqn": "@aws-cdk/aws-events.IRule"
10648 }
10649 }
10650 ],
10651 "returns": {
10652 "type": {
10653 "fqn": "@aws-cdk/aws-events.RuleTargetInputProperties"
10654 }
10655 }
10656 }
10657 ],
10658 "name": "RuleTargetInput",
10659 "symbolId": "lib/input:RuleTargetInput"
10660 },
10661 "@aws-cdk/aws-events.RuleTargetInputProperties": {
10662 "assembly": "@aws-cdk/aws-events",
10663 "datatype": true,
10664 "docs": {
10665 "stability": "stable",
10666 "summary": "The input properties for an event target.",
10667 "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 ruleTargetInputProperties: events.RuleTargetInputProperties = {\n input: 'input',\n inputPath: 'inputPath',\n inputPathsMap: {\n inputPathsMapKey: 'inputPathsMap',\n },\n inputTemplate: 'inputTemplate',\n};",
10668 "custom": {
10669 "exampleMetadata": "fixture=_generated"
10670 }
10671 },
10672 "fqn": "@aws-cdk/aws-events.RuleTargetInputProperties",
10673 "kind": "interface",
10674 "locationInModule": {
10675 "filename": "lib/input.ts",
10676 "line": 67
10677 },
10678 "name": "RuleTargetInputProperties",
10679 "properties": [
10680 {
10681 "abstract": true,
10682 "docs": {
10683 "default": "- input for the event target. If the input contains a paths map\nvalues wil be extracted from event and inserted into the `inputTemplate`.",
10684 "stability": "stable",
10685 "summary": "Literal input to the target service (must be valid JSON)."
10686 },
10687 "immutable": true,
10688 "locationInModule": {
10689 "filename": "lib/input.ts",
10690 "line": 74
10691 },
10692 "name": "input",
10693 "optional": true,
10694 "type": {
10695 "primitive": "string"
10696 }
10697 },
10698 {
10699 "abstract": true,
10700 "docs": {
10701 "default": "- None. The entire matched event is passed as input",
10702 "stability": "stable",
10703 "summary": "JsonPath to take input from the input event."
10704 },
10705 "immutable": true,
10706 "locationInModule": {
10707 "filename": "lib/input.ts",
10708 "line": 81
10709 },
10710 "name": "inputPath",
10711 "optional": true,
10712 "type": {
10713 "primitive": "string"
10714 }
10715 },
10716 {
10717 "abstract": true,
10718 "docs": {
10719 "default": "- No values extracted from event.",
10720 "stability": "stable",
10721 "summary": "Paths map to extract values from event and insert into `inputTemplate`."
10722 },
10723 "immutable": true,
10724 "locationInModule": {
10725 "filename": "lib/input.ts",
10726 "line": 95
10727 },
10728 "name": "inputPathsMap",
10729 "optional": true,
10730 "type": {
10731 "collection": {
10732 "elementtype": {
10733 "primitive": "string"
10734 },
10735 "kind": "map"
10736 }
10737 }
10738 },
10739 {
10740 "abstract": true,
10741 "docs": {
10742 "default": "- None.",
10743 "stability": "stable",
10744 "summary": "Input template to insert paths map into."
10745 },
10746 "immutable": true,
10747 "locationInModule": {
10748 "filename": "lib/input.ts",
10749 "line": 88
10750 },
10751 "name": "inputTemplate",
10752 "optional": true,
10753 "type": {
10754 "primitive": "string"
10755 }
10756 }
10757 ],
10758 "symbolId": "lib/input:RuleTargetInputProperties"
10759 },
10760 "@aws-cdk/aws-events.Schedule": {
10761 "abstract": true,
10762 "assembly": "@aws-cdk/aws-events",
10763 "docs": {
10764 "stability": "stable",
10765 "summary": "Schedule for scheduled event rules.",
10766 "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});",
10767 "custom": {
10768 "exampleMetadata": "infused"
10769 }
10770 },
10771 "fqn": "@aws-cdk/aws-events.Schedule",
10772 "initializer": {
10773 "docs": {
10774 "stability": "stable"
10775 },
10776 "locationInModule": {
10777 "filename": "lib/schedule.ts",
10778 "line": 74
10779 }
10780 },
10781 "kind": "class",
10782 "locationInModule": {
10783 "filename": "lib/schedule.ts",
10784 "line": 10
10785 },
10786 "methods": [
10787 {
10788 "docs": {
10789 "stability": "stable",
10790 "summary": "Create a schedule from a set of cron fields."
10791 },
10792 "locationInModule": {
10793 "filename": "lib/schedule.ts",
10794 "line": 44
10795 },
10796 "name": "cron",
10797 "parameters": [
10798 {
10799 "name": "options",
10800 "type": {
10801 "fqn": "@aws-cdk/aws-events.CronOptions"
10802 }
10803 }
10804 ],
10805 "returns": {
10806 "type": {
10807 "fqn": "@aws-cdk/aws-events.Schedule"
10808 }
10809 },
10810 "static": true
10811 },
10812 {
10813 "docs": {
10814 "stability": "stable",
10815 "summary": "Construct a schedule from a literal schedule expression."
10816 },
10817 "locationInModule": {
10818 "filename": "lib/schedule.ts",
10819 "line": 16
10820 },
10821 "name": "expression",
10822 "parameters": [
10823 {
10824 "docs": {
10825 "remarks": "Must be in a format that EventBridge will recognize",
10826 "summary": "The expression to use."
10827 },
10828 "name": "expression",
10829 "type": {
10830 "primitive": "string"
10831 }
10832 }
10833 ],
10834 "returns": {
10835 "type": {
10836 "fqn": "@aws-cdk/aws-events.Schedule"
10837 }
10838 },
10839 "static": true
10840 },
10841 {
10842 "docs": {
10843 "stability": "stable",
10844 "summary": "Construct a schedule from an interval and a time unit."
10845 },
10846 "locationInModule": {
10847 "filename": "lib/schedule.ts",
10848 "line": 23
10849 },
10850 "name": "rate",
10851 "parameters": [
10852 {
10853 "name": "duration",
10854 "type": {
10855 "fqn": "@aws-cdk/core.Duration"
10856 }
10857 }
10858 ],
10859 "returns": {
10860 "type": {
10861 "fqn": "@aws-cdk/aws-events.Schedule"
10862 }
10863 },
10864 "static": true
10865 }
10866 ],
10867 "name": "Schedule",
10868 "properties": [
10869 {
10870 "abstract": true,
10871 "docs": {
10872 "stability": "stable",
10873 "summary": "Retrieve the expression for this schedule."
10874 },
10875 "immutable": true,
10876 "locationInModule": {
10877 "filename": "lib/schedule.ts",
10878 "line": 72
10879 },
10880 "name": "expressionString",
10881 "type": {
10882 "primitive": "string"
10883 }
10884 }
10885 ],
10886 "symbolId": "lib/schedule:Schedule"
10887 }
10888 },
10889 "version": "1.204.0",
10890 "fingerprint": "**********"
10891}
\No newline at end of file