@aws-cdk/mixins-preview 2.262.2-alpha.0 → 2.264.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/.jsii.gz +0 -0
  2. package/.jsii.tabl.json.gz +0 -0
  3. package/.warnings.jsii.js +26 -0
  4. package/lib/services/aws-apigateway/logs-delivery-mixins.generated.js +5 -5
  5. package/lib/services/aws-appmesh/events.generated.js +1 -1
  6. package/lib/services/aws-aps/logs-delivery-mixins.generated.js +6 -6
  7. package/lib/services/aws-athena/events.generated.js +2 -2
  8. package/lib/services/aws-autoscaling/events.generated.js +8 -8
  9. package/lib/services/aws-b2bi/events.generated.js +4 -4
  10. package/lib/services/aws-b2bi/logs-delivery-mixins.generated.js +3 -3
  11. package/lib/services/aws-backupgateway/logs-delivery-mixins.generated.js +5 -5
  12. package/lib/services/aws-batch/events.generated.js +2 -2
  13. package/lib/services/aws-bedrock/logs-delivery-mixins.generated.js +16 -16
  14. package/lib/services/aws-bedrockagentcore/logs-delivery-mixins.generated.d.ts +257 -0
  15. package/lib/services/aws-bedrockagentcore/logs-delivery-mixins.generated.js +386 -32
  16. package/lib/services/aws-chime/events.generated.js +1 -1
  17. package/lib/services/aws-cleanrooms/logs-delivery-mixins.generated.js +3 -3
  18. package/lib/services/aws-cloudformation/events.generated.js +1 -1
  19. package/lib/services/aws-cloudfront/logs-delivery-mixins.generated.js +5 -5
  20. package/lib/services/aws-cloudwatch/events.generated.js +3 -3
  21. package/lib/services/aws-codebuild/events.generated.js +5 -5
  22. package/lib/services/aws-codecommit/events.generated.js +7 -7
  23. package/lib/services/aws-codedeploy/events.generated.js +2 -2
  24. package/lib/services/aws-codeguruprofiler/events.generated.js +1 -1
  25. package/lib/services/aws-codepipeline/events.generated.js +3 -3
  26. package/lib/services/aws-cognito/logs-delivery-mixins.generated.js +3 -3
  27. package/lib/services/aws-connect/events.generated.js +4 -4
  28. package/lib/services/aws-connect/logs-delivery-mixins.generated.js +3 -3
  29. package/lib/services/aws-datasync/events.generated.js +4 -4
  30. package/lib/services/aws-deadline/events.generated.js +1 -1
  31. package/lib/services/aws-devopsagent/logs-delivery-mixins.generated.js +3 -3
  32. package/lib/services/aws-devopsguru/events.generated.js +5 -5
  33. package/lib/services/aws-dlm/events.generated.js +2 -2
  34. package/lib/services/aws-ec2/events.generated.js +8 -8
  35. package/lib/services/aws-ec2/logs-delivery-mixins.generated.js +17 -17
  36. package/lib/services/aws-ecr/events.generated.js +7 -7
  37. package/lib/services/aws-ecs/events.generated.js +5 -5
  38. package/lib/services/aws-eks/logs-delivery-mixins.generated.js +24 -24
  39. package/lib/services/aws-elasticache/events.generated.js +10 -10
  40. package/lib/services/aws-elasticloadbalancing/events.generated.js +1 -1
  41. package/lib/services/aws-elasticloadbalancingv2/logs-delivery-mixins.generated.js +9 -9
  42. package/lib/services/aws-emr/events.generated.js +7 -7
  43. package/lib/services/aws-entityresolution/logs-delivery-mixins.generated.js +6 -6
  44. package/lib/services/aws-events/events.generated.js +1 -1
  45. package/lib/services/aws-events/logs-delivery-mixins.generated.js +7 -7
  46. package/lib/services/aws-fis/events.generated.js +1 -1
  47. package/lib/services/aws-gamelift/events.generated.js +2 -2
  48. package/lib/services/aws-glue/events.generated.js +7 -7
  49. package/lib/services/aws-guardduty/events.generated.js +7 -7
  50. package/lib/services/aws-healthimaging/events.generated.js +20 -20
  51. package/lib/services/aws-healthlake/events.generated.js +14 -14
  52. package/lib/services/aws-imagebuilder/events.generated.js +3 -3
  53. package/lib/services/aws-iotanalytics/events.generated.js +3 -3
  54. package/lib/services/aws-iotfleetwise/logs-delivery-mixins.generated.js +6 -6
  55. package/lib/services/aws-ivs/events.generated.js +4 -4
  56. package/lib/services/aws-ivschat/logs-delivery-mixins.generated.js +3 -3
  57. package/lib/services/aws-kafkaconnect/logs-delivery-mixins.generated.js +3 -3
  58. package/lib/services/aws-kms/events.generated.js +5 -5
  59. package/lib/services/aws-logs/events.generated.js +2 -2
  60. package/lib/services/aws-logs/logs-delivery-mixins.generated.js +3 -3
  61. package/lib/services/aws-logs/logs-delivery.js +5 -5
  62. package/lib/services/aws-logs/logs-destination.js +4 -4
  63. package/lib/services/aws-m2/logs-delivery-mixins.generated.js +9 -9
  64. package/lib/services/aws-managedblockchain/events.generated.js +2 -2
  65. package/lib/services/aws-medialive/events.generated.js +6 -6
  66. package/lib/services/aws-mediapackage/events.generated.js +4 -4
  67. package/lib/services/aws-mediapackagev2/logs-delivery-mixins.generated.js +5 -5
  68. package/lib/services/aws-mediatailor/logs-delivery-mixins.generated.js +7 -7
  69. package/lib/services/aws-msk/logs-delivery-mixins.generated.js +6 -6
  70. package/lib/services/aws-networkfirewall/events.generated.js +3 -3
  71. package/lib/services/aws-networkfirewall/logs-delivery-mixins.generated.js +7 -7
  72. package/lib/services/aws-networkmanager/events.generated.js +3 -3
  73. package/lib/services/aws-omics/events.generated.js +18 -18
  74. package/lib/services/aws-opsworks/events.generated.d.ts +50 -95
  75. package/lib/services/aws-opsworks/events.generated.js +35 -163
  76. package/lib/services/aws-organizations/events.generated.js +2 -2
  77. package/lib/services/aws-osis/logs-delivery-mixins.generated.js +3 -3
  78. package/lib/services/aws-pcs/logs-delivery-mixins.generated.js +7 -7
  79. package/lib/services/aws-pipes/logs-delivery-mixins.generated.js +3 -3
  80. package/lib/services/aws-qbusiness/logs-delivery-mixins.generated.js +5 -5
  81. package/lib/services/aws-qldb/events.generated.js +1 -1
  82. package/lib/services/aws-rds/events.generated.js +7 -7
  83. package/lib/services/aws-route53globalresolver/logs-delivery-mixins.generated.js +3 -3
  84. package/lib/services/aws-route53profiles/logs-delivery-mixins.generated.js +3 -3
  85. package/lib/services/aws-route53recoveryreadiness/events.generated.js +6 -6
  86. package/lib/services/aws-route53resolver/events.generated.js +3 -3
  87. package/lib/services/aws-rum/logs-delivery-mixins.generated.js +7 -7
  88. package/lib/services/aws-s3/events.generated.js +12 -12
  89. package/lib/services/aws-s3/logs-delivery-mixins.generated.js +3 -3
  90. package/lib/services/aws-sagemaker/events.generated.js +15 -15
  91. package/lib/services/aws-sagemaker/logs-delivery-mixins.generated.js +3 -3
  92. package/lib/services/aws-securityhub/events.generated.js +3 -3
  93. package/lib/services/aws-ses/events.generated.js +2 -2
  94. package/lib/services/aws-ses/logs-delivery-mixins.generated.js +8 -8
  95. package/lib/services/aws-shield/logs-delivery-mixins.generated.js +3 -3
  96. package/lib/services/aws-ssm/events.generated.js +1 -1
  97. package/lib/services/aws-states/.events.jsiirc.json +16 -0
  98. package/lib/services/aws-states/.jsiirc.json +16 -0
  99. package/lib/services/aws-states/events.generated.d.ts +555 -0
  100. package/lib/services/aws-states/events.generated.js +265 -0
  101. package/lib/services/aws-stepfunctions/logs-delivery-mixins.generated.js +5 -5
  102. package/lib/services/aws-storagegateway/.events.jsiirc.json +16 -0
  103. package/lib/services/aws-storagegateway/.jsiirc.json +16 -0
  104. package/lib/services/aws-storagegateway/events.d.ts +1 -0
  105. package/lib/services/aws-storagegateway/events.generated.d.ts +188 -0
  106. package/lib/services/aws-storagegateway/events.generated.js +146 -0
  107. package/lib/services/aws-storagegateway/events.js +17 -0
  108. package/lib/services/aws-storagegateway/index.d.ts +1 -0
  109. package/lib/services/aws-storagegateway/index.js +37 -0
  110. package/lib/services/aws-synthetics/events.generated.js +3 -3
  111. package/lib/services/aws-transcribe/.events.jsiirc.json +16 -0
  112. package/lib/services/aws-transcribe/.jsiirc.json +16 -0
  113. package/lib/services/aws-transcribe/events.d.ts +1 -0
  114. package/lib/services/aws-transcribe/events.generated.d.ts +562 -0
  115. package/lib/services/aws-transcribe/events.generated.js +314 -0
  116. package/lib/services/aws-transcribe/events.js +17 -0
  117. package/lib/services/aws-transcribe/index.d.ts +1 -0
  118. package/lib/services/aws-transcribe/index.js +37 -0
  119. package/lib/services/aws-transfer/events.generated.js +56 -56
  120. package/lib/services/aws-transfer/logs-delivery-mixins.generated.js +3 -3
  121. package/lib/services/aws-voiceid/events.generated.js +9 -9
  122. package/lib/services/aws-vpclattice/logs-delivery-mixins.generated.js +6 -6
  123. package/lib/services/aws-wafv2/logs-delivery-mixins.generated.js +5 -5
  124. package/lib/services/aws-wellarchitected/.events.jsiirc.json +16 -0
  125. package/lib/services/aws-wellarchitected/.jsiirc.json +16 -0
  126. package/lib/services/aws-wellarchitected/events.d.ts +1 -0
  127. package/lib/services/aws-wellarchitected/events.generated.d.ts +378 -0
  128. package/lib/services/aws-wellarchitected/events.generated.js +164 -0
  129. package/lib/services/aws-wellarchitected/events.js +17 -0
  130. package/lib/services/aws-wellarchitected/index.d.ts +1 -0
  131. package/lib/services/aws-wellarchitected/index.js +37 -0
  132. package/lib/services/aws-wisdom/logs-delivery-mixins.generated.js +3 -3
  133. package/lib/services/aws-workspaces/events.generated.js +2 -2
  134. package/lib/services/aws-xray/events.generated.js +1 -1
  135. package/lib/services/index.d.ts +4 -1
  136. package/lib/services/index.js +6 -3
  137. package/package.json +21 -12
  138. package/lib/services/aws-dataexchange/.events.jsiirc.json +0 -16
  139. package/lib/services/aws-dataexchange/.jsiirc.json +0 -16
  140. package/lib/services/aws-dataexchange/events.generated.d.ts +0 -1223
  141. package/lib/services/aws-dataexchange/events.generated.js +0 -739
  142. /package/lib/services/{aws-dataexchange → aws-states}/events.d.ts +0 -0
  143. /package/lib/services/{aws-dataexchange → aws-states}/events.js +0 -0
  144. /package/lib/services/{aws-dataexchange → aws-states}/index.d.ts +0 -0
  145. /package/lib/services/{aws-dataexchange → aws-states}/index.js +0 -0
@@ -48,7 +48,7 @@ const service = __importStar(require("aws-cdk-lib/aws-vpclattice"));
48
48
  * @stability external
49
49
  */
50
50
  class CfnServiceAccessLogs {
51
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnServiceAccessLogs", version: "2.262.2-alpha.0" };
51
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnServiceAccessLogs", version: "2.264.0-alpha.0" };
52
52
  /**
53
53
  * Send logs to an S3 Bucket
54
54
  *
@@ -150,7 +150,7 @@ exports.CfnServiceAccessLogs = CfnServiceAccessLogs;
150
150
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-service.html
151
151
  */
152
152
  class CfnServiceLogsMixin extends cdk.Mixin {
153
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnServiceLogsMixin", version: "2.262.2-alpha.0" };
153
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnServiceLogsMixin", version: "2.264.0-alpha.0" };
154
154
  static ACCESS_LOGS = new CfnServiceAccessLogs();
155
155
  logType;
156
156
  logDelivery;
@@ -196,7 +196,7 @@ exports.CfnServiceLogsMixin = CfnServiceLogsMixin;
196
196
  * Output Format options for each destination of CfnServiceAccessLogs.
197
197
  */
198
198
  class CfnServiceAccessLogsOutputFormat {
199
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnServiceAccessLogsOutputFormat", version: "2.262.2-alpha.0" };
199
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnServiceAccessLogsOutputFormat", version: "2.264.0-alpha.0" };
200
200
  }
201
201
  exports.CfnServiceAccessLogsOutputFormat = CfnServiceAccessLogsOutputFormat;
202
202
  (function (CfnServiceAccessLogsOutputFormat) {
@@ -227,7 +227,7 @@ exports.CfnServiceAccessLogsOutputFormat = CfnServiceAccessLogsOutputFormat;
227
227
  * @stability external
228
228
  */
229
229
  class CfnResourceConfigurationResourceAccessLogs {
230
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnResourceConfigurationResourceAccessLogs", version: "2.262.2-alpha.0" };
230
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnResourceConfigurationResourceAccessLogs", version: "2.264.0-alpha.0" };
231
231
  /**
232
232
  * Send logs to an S3 Bucket
233
233
  *
@@ -327,7 +327,7 @@ exports.CfnResourceConfigurationResourceAccessLogs = CfnResourceConfigurationRes
327
327
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourceconfiguration.html
328
328
  */
329
329
  class CfnResourceConfigurationLogsMixin extends cdk.Mixin {
330
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnResourceConfigurationLogsMixin", version: "2.262.2-alpha.0" };
330
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnResourceConfigurationLogsMixin", version: "2.264.0-alpha.0" };
331
331
  static RESOURCE_ACCESS_LOGS = new CfnResourceConfigurationResourceAccessLogs();
332
332
  logType;
333
333
  logDelivery;
@@ -373,7 +373,7 @@ exports.CfnResourceConfigurationLogsMixin = CfnResourceConfigurationLogsMixin;
373
373
  * Output Format options for each destination of CfnResourceConfigurationResourceAccessLogs.
374
374
  */
375
375
  class CfnResourceConfigurationResourceAccessLogsOutputFormat {
376
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnResourceConfigurationResourceAccessLogsOutputFormat", version: "2.262.2-alpha.0" };
376
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnResourceConfigurationResourceAccessLogsOutputFormat", version: "2.264.0-alpha.0" };
377
377
  }
378
378
  exports.CfnResourceConfigurationResourceAccessLogsOutputFormat = CfnResourceConfigurationResourceAccessLogsOutputFormat;
379
379
  (function (CfnResourceConfigurationResourceAccessLogsOutputFormat) {
@@ -48,7 +48,7 @@ const service = __importStar(require("aws-cdk-lib/aws-wafv2"));
48
48
  * @stability external
49
49
  */
50
50
  class CfnWebACLAccessLogs {
51
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLAccessLogs", version: "2.262.2-alpha.0" };
51
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLAccessLogs", version: "2.264.0-alpha.0" };
52
52
  /**
53
53
  * Send logs to an S3 Bucket
54
54
  *
@@ -145,7 +145,7 @@ exports.CfnWebACLAccessLogs = CfnWebACLAccessLogs;
145
145
  * @stability external
146
146
  */
147
147
  class CfnWebACLTokenLogs {
148
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLTokenLogs", version: "2.262.2-alpha.0" };
148
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLTokenLogs", version: "2.264.0-alpha.0" };
149
149
  /**
150
150
  * Send logs to an S3 Bucket
151
151
  *
@@ -263,7 +263,7 @@ exports.CfnWebACLTokenLogs = CfnWebACLTokenLogs;
263
263
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html
264
264
  */
265
265
  class CfnWebACLLogsMixin extends cdk.Mixin {
266
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLLogsMixin", version: "2.262.2-alpha.0" };
266
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLLogsMixin", version: "2.264.0-alpha.0" };
267
267
  static ACCESS_LOGS = new CfnWebACLAccessLogs();
268
268
  static TOKEN_LOGS = new CfnWebACLTokenLogs();
269
269
  logType;
@@ -310,7 +310,7 @@ exports.CfnWebACLLogsMixin = CfnWebACLLogsMixin;
310
310
  * Output Format options for each destination of CfnWebACLAccessLogs.
311
311
  */
312
312
  class CfnWebACLAccessLogsOutputFormat {
313
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLAccessLogsOutputFormat", version: "2.262.2-alpha.0" };
313
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLAccessLogsOutputFormat", version: "2.264.0-alpha.0" };
314
314
  }
315
315
  exports.CfnWebACLAccessLogsOutputFormat = CfnWebACLAccessLogsOutputFormat;
316
316
  (function (CfnWebACLAccessLogsOutputFormat) {
@@ -337,7 +337,7 @@ exports.CfnWebACLAccessLogsOutputFormat = CfnWebACLAccessLogsOutputFormat;
337
337
  * Output Format options for each destination of CfnWebACLTokenLogs.
338
338
  */
339
339
  class CfnWebACLTokenLogsOutputFormat {
340
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLTokenLogsOutputFormat", version: "2.262.2-alpha.0" };
340
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wafv2.mixins.CfnWebACLTokenLogsOutputFormat", version: "2.264.0-alpha.0" };
341
341
  }
342
342
  exports.CfnWebACLTokenLogsOutputFormat = CfnWebACLTokenLogsOutputFormat;
343
343
  (function (CfnWebACLTokenLogsOutputFormat) {
@@ -0,0 +1,16 @@
1
+ {
2
+ "targets": {
3
+ "java": {
4
+ "package": "software.amazon.awscdk.mixins.preview.services.wellarchitected.events"
5
+ },
6
+ "dotnet": {
7
+ "namespace": "Amazon.CDK.Mixins.Preview.AWS.WellArchitected.Events"
8
+ },
9
+ "python": {
10
+ "module": "aws_cdk.mixins_preview.aws_wellarchitected.events"
11
+ },
12
+ "go": {
13
+ "packageName": "previewawswellarchitectedevents"
14
+ }
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "targets": {
3
+ "java": {
4
+ "package": "software.amazon.awscdk.mixins.preview.services.wellarchitected"
5
+ },
6
+ "dotnet": {
7
+ "namespace": "Amazon.CDK.Mixins.Preview.AWS.WellArchitected"
8
+ },
9
+ "python": {
10
+ "module": "aws_cdk.mixins_preview.aws_wellarchitected"
11
+ },
12
+ "go": {
13
+ "packageName": "previewawswellarchitected"
14
+ }
15
+ }
16
+ }
@@ -0,0 +1 @@
1
+ export * from './events.generated';
@@ -0,0 +1,378 @@
1
+ import * as cdk from "aws-cdk-lib/core";
2
+ import * as events from "aws-cdk-lib/aws-events";
3
+ /**
4
+ * EventBridge event pattern for aws.wellarchitected@AWSAPICallViaCloudTrail
5
+ */
6
+ export declare class AWSAPICallViaCloudTrail {
7
+ /**
8
+ * EventBridge event pattern for AWS API Call via CloudTrail
9
+ */
10
+ static eventPattern(options?: AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps): events.EventPattern;
11
+ }
12
+ export declare namespace AWSAPICallViaCloudTrail {
13
+ /**
14
+ * Props type for aws.wellarchitected@AWSAPICallViaCloudTrail event
15
+ */
16
+ interface AWSAPICallViaCloudTrailProps {
17
+ /**
18
+ * requestParameters property
19
+ *
20
+ * Specify an array of string values to match this event if the actual value of requestParameters is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
21
+ *
22
+ * @default - Do not filter on this field
23
+ */
24
+ readonly requestParameters?: AWSAPICallViaCloudTrail.RequestParameters;
25
+ /**
26
+ * responseElements property
27
+ *
28
+ * Specify an array of string values to match this event if the actual value of responseElements is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
29
+ *
30
+ * @default - Do not filter on this field
31
+ */
32
+ readonly responseElements?: AWSAPICallViaCloudTrail.ResponseElements;
33
+ /**
34
+ * userIdentity property
35
+ *
36
+ * Specify an array of string values to match this event if the actual value of userIdentity is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
37
+ *
38
+ * @default - Do not filter on this field
39
+ */
40
+ readonly userIdentity?: AWSAPICallViaCloudTrail.UserIdentity;
41
+ /**
42
+ * awsRegion property
43
+ *
44
+ * Specify an array of string values to match this event if the actual value of awsRegion is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
45
+ *
46
+ * @default - Do not filter on this field
47
+ */
48
+ readonly awsRegion?: Array<string>;
49
+ /**
50
+ * eventCategory property
51
+ *
52
+ * Specify an array of string values to match this event if the actual value of eventCategory is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
53
+ *
54
+ * @default - Do not filter on this field
55
+ */
56
+ readonly eventCategory?: Array<string>;
57
+ /**
58
+ * eventID property
59
+ *
60
+ * Specify an array of string values to match this event if the actual value of eventID is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
61
+ *
62
+ * @default - Do not filter on this field
63
+ */
64
+ readonly eventId?: Array<string>;
65
+ /**
66
+ * eventName property
67
+ *
68
+ * Specify an array of string values to match this event if the actual value of eventName is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
69
+ *
70
+ * @default - Do not filter on this field
71
+ */
72
+ readonly eventName?: Array<string>;
73
+ /**
74
+ * eventSource property
75
+ *
76
+ * Specify an array of string values to match this event if the actual value of eventSource is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
77
+ *
78
+ * @default - Do not filter on this field
79
+ */
80
+ readonly eventSource?: Array<string>;
81
+ /**
82
+ * eventTime property
83
+ *
84
+ * Specify an array of string values to match this event if the actual value of eventTime is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
85
+ *
86
+ * @default - Do not filter on this field
87
+ */
88
+ readonly eventTime?: Array<string>;
89
+ /**
90
+ * eventType property
91
+ *
92
+ * Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
93
+ *
94
+ * @default - Do not filter on this field
95
+ */
96
+ readonly eventType?: Array<string>;
97
+ /**
98
+ * eventVersion property
99
+ *
100
+ * Specify an array of string values to match this event if the actual value of eventVersion is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
101
+ *
102
+ * @default - Do not filter on this field
103
+ */
104
+ readonly eventVersion?: Array<string>;
105
+ /**
106
+ * managementEvent property
107
+ *
108
+ * Specify an array of string values to match this event if the actual value of managementEvent is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
109
+ *
110
+ * @default - Do not filter on this field
111
+ */
112
+ readonly managementEvent?: Array<string>;
113
+ /**
114
+ * readOnly property
115
+ *
116
+ * Specify an array of string values to match this event if the actual value of readOnly is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
117
+ *
118
+ * @default - Do not filter on this field
119
+ */
120
+ readonly readOnly?: Array<string>;
121
+ /**
122
+ * recipientAccountId property
123
+ *
124
+ * Specify an array of string values to match this event if the actual value of recipientAccountId is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
125
+ *
126
+ * @default - Do not filter on this field
127
+ */
128
+ readonly recipientAccountId?: Array<string>;
129
+ /**
130
+ * requestID property
131
+ *
132
+ * Specify an array of string values to match this event if the actual value of requestID is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
133
+ *
134
+ * @default - Do not filter on this field
135
+ */
136
+ readonly requestId?: Array<string>;
137
+ /**
138
+ * sourceIPAddress property
139
+ *
140
+ * Specify an array of string values to match this event if the actual value of sourceIPAddress is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
141
+ *
142
+ * @default - Do not filter on this field
143
+ */
144
+ readonly sourceIpAddress?: Array<string>;
145
+ /**
146
+ * userAgent property
147
+ *
148
+ * Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
149
+ *
150
+ * @default - Do not filter on this field
151
+ */
152
+ readonly userAgent?: Array<string>;
153
+ /**
154
+ * EventBridge event metadata
155
+ *
156
+ * @default - -
157
+ */
158
+ readonly eventMetadata?: cdk.AWSEventMetadataProps;
159
+ }
160
+ /**
161
+ * Type definition for RequestParameters
162
+ *
163
+ * @struct
164
+ */
165
+ interface RequestParameters {
166
+ /**
167
+ * IsMajorVersion property
168
+ *
169
+ * Specify an array of string values to match this event if the actual value of IsMajorVersion is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
170
+ *
171
+ * @default - Do not filter on this field
172
+ */
173
+ readonly isMajorVersion?: Array<string>;
174
+ /**
175
+ * LensVersion property
176
+ *
177
+ * Specify an array of string values to match this event if the actual value of LensVersion is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
178
+ *
179
+ * @default - Do not filter on this field
180
+ */
181
+ readonly lensVersion?: Array<string>;
182
+ /**
183
+ * ClientRequestToken property
184
+ *
185
+ * Specify an array of string values to match this event if the actual value of ClientRequestToken is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
186
+ *
187
+ * @default - Do not filter on this field
188
+ */
189
+ readonly clientRequestToken?: Array<string>;
190
+ /**
191
+ * LensAlias property
192
+ *
193
+ * Specify an array of string values to match this event if the actual value of LensAlias is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
194
+ *
195
+ * @default - Do not filter on this field
196
+ */
197
+ readonly lensAlias?: Array<string>;
198
+ }
199
+ /**
200
+ * Type definition for ResponseElements
201
+ *
202
+ * @struct
203
+ */
204
+ interface ResponseElements {
205
+ /**
206
+ * LensArn property
207
+ *
208
+ * Specify an array of string values to match this event if the actual value of LensArn is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
209
+ *
210
+ * @default - Do not filter on this field
211
+ */
212
+ readonly lensArn?: Array<string>;
213
+ /**
214
+ * LensVersion property
215
+ *
216
+ * Specify an array of string values to match this event if the actual value of LensVersion is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
217
+ *
218
+ * @default - Do not filter on this field
219
+ */
220
+ readonly lensVersion?: Array<string>;
221
+ }
222
+ /**
223
+ * Type definition for UserIdentity
224
+ *
225
+ * @struct
226
+ */
227
+ interface UserIdentity {
228
+ /**
229
+ * sessionContext property
230
+ *
231
+ * Specify an array of string values to match this event if the actual value of sessionContext is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
232
+ *
233
+ * @default - Do not filter on this field
234
+ */
235
+ readonly sessionContext?: AWSAPICallViaCloudTrail.SessionContext;
236
+ /**
237
+ * accessKeyId property
238
+ *
239
+ * Specify an array of string values to match this event if the actual value of accessKeyId is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
240
+ *
241
+ * @default - Do not filter on this field
242
+ */
243
+ readonly accessKeyId?: Array<string>;
244
+ /**
245
+ * accountId property
246
+ *
247
+ * Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
248
+ *
249
+ * @default - Do not filter on this field
250
+ */
251
+ readonly accountId?: Array<string>;
252
+ /**
253
+ * arn property
254
+ *
255
+ * Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
256
+ *
257
+ * @default - Do not filter on this field
258
+ */
259
+ readonly arn?: Array<string>;
260
+ /**
261
+ * principalId property
262
+ *
263
+ * Specify an array of string values to match this event if the actual value of principalId is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
264
+ *
265
+ * @default - Do not filter on this field
266
+ */
267
+ readonly principalId?: Array<string>;
268
+ /**
269
+ * type property
270
+ *
271
+ * Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
272
+ *
273
+ * @default - Do not filter on this field
274
+ */
275
+ readonly type?: Array<string>;
276
+ }
277
+ /**
278
+ * Type definition for SessionContext
279
+ *
280
+ * @struct
281
+ */
282
+ interface SessionContext {
283
+ /**
284
+ * attributes property
285
+ *
286
+ * Specify an array of string values to match this event if the actual value of attributes is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
287
+ *
288
+ * @default - Do not filter on this field
289
+ */
290
+ readonly attributes?: AWSAPICallViaCloudTrail.Attributes;
291
+ /**
292
+ * sessionIssuer property
293
+ *
294
+ * Specify an array of string values to match this event if the actual value of sessionIssuer is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
295
+ *
296
+ * @default - Do not filter on this field
297
+ */
298
+ readonly sessionIssuer?: AWSAPICallViaCloudTrail.SessionIssuer;
299
+ /**
300
+ * webIdFederationData property
301
+ *
302
+ * Specify an array of string values to match this event if the actual value of webIdFederationData is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
303
+ *
304
+ * @default - Do not filter on this field
305
+ */
306
+ readonly webIdFederationData?: Array<string>;
307
+ }
308
+ /**
309
+ * Type definition for Attributes
310
+ *
311
+ * @struct
312
+ */
313
+ interface Attributes {
314
+ /**
315
+ * creationDate property
316
+ *
317
+ * Specify an array of string values to match this event if the actual value of creationDate is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
318
+ *
319
+ * @default - Do not filter on this field
320
+ */
321
+ readonly creationDate?: Array<string>;
322
+ /**
323
+ * mfaAuthenticated property
324
+ *
325
+ * Specify an array of string values to match this event if the actual value of mfaAuthenticated is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
326
+ *
327
+ * @default - Do not filter on this field
328
+ */
329
+ readonly mfaAuthenticated?: Array<string>;
330
+ }
331
+ /**
332
+ * Type definition for SessionIssuer
333
+ *
334
+ * @struct
335
+ */
336
+ interface SessionIssuer {
337
+ /**
338
+ * accountId property
339
+ *
340
+ * Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
341
+ *
342
+ * @default - Do not filter on this field
343
+ */
344
+ readonly accountId?: Array<string>;
345
+ /**
346
+ * arn property
347
+ *
348
+ * Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
349
+ *
350
+ * @default - Do not filter on this field
351
+ */
352
+ readonly arn?: Array<string>;
353
+ /**
354
+ * principalId property
355
+ *
356
+ * Specify an array of string values to match this event if the actual value of principalId is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
357
+ *
358
+ * @default - Do not filter on this field
359
+ */
360
+ readonly principalId?: Array<string>;
361
+ /**
362
+ * type property
363
+ *
364
+ * Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
365
+ *
366
+ * @default - Do not filter on this field
367
+ */
368
+ readonly type?: Array<string>;
369
+ /**
370
+ * userName property
371
+ *
372
+ * Specify an array of string values to match this event if the actual value of userName is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
373
+ *
374
+ * @default - Do not filter on this field
375
+ */
376
+ readonly userName?: Array<string>;
377
+ }
378
+ }
@@ -0,0 +1,164 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AWSAPICallViaCloudTrail = void 0;
4
+ const jsiiDeprecationWarnings = require("../../../.warnings.jsii.js");
5
+ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
6
+ /**
7
+ * EventBridge event pattern for aws.wellarchitected@AWSAPICallViaCloudTrail
8
+ */
9
+ class AWSAPICallViaCloudTrail {
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_wellarchitected.events.AWSAPICallViaCloudTrail", version: "2.264.0-alpha.0" };
11
+ /**
12
+ * EventBridge event pattern for AWS API Call via CloudTrail
13
+ */
14
+ static eventPattern(options) {
15
+ try {
16
+ jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_wellarchitected_events_AWSAPICallViaCloudTrail_AWSAPICallViaCloudTrailProps(options);
17
+ }
18
+ catch (error) {
19
+ if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
20
+ Error.captureStackTrace(error, this.eventPattern);
21
+ }
22
+ throw error;
23
+ }
24
+ return {
25
+ source: ["aws.wellarchitected"],
26
+ detailType: ["AWS API Call via CloudTrail"],
27
+ detail: convertAWSAPICallViaCloudTrailDetailToEventPattern(options),
28
+ version: options?.eventMetadata?.version,
29
+ resources: options?.eventMetadata?.resources,
30
+ region: options?.eventMetadata?.region
31
+ };
32
+ }
33
+ }
34
+ exports.AWSAPICallViaCloudTrail = AWSAPICallViaCloudTrail;
35
+ // @ts-ignore TS6133
36
+ function convertAWSAPICallViaCloudTrailRequestParametersToEventPattern(obj) {
37
+ const ret = {
38
+ IsMajorVersion: obj?.isMajorVersion,
39
+ LensVersion: obj?.lensVersion,
40
+ ClientRequestToken: obj?.clientRequestToken,
41
+ LensAlias: obj?.lensAlias
42
+ };
43
+ for (const [key, value] of Object.entries(ret)) {
44
+ if ((value === undefined))
45
+ delete ret[key];
46
+ }
47
+ if (Object.keys(ret).length === 0)
48
+ return undefined;
49
+ ;
50
+ return ret;
51
+ }
52
+ // @ts-ignore TS6133
53
+ function convertAWSAPICallViaCloudTrailResponseElementsToEventPattern(obj) {
54
+ const ret = {
55
+ LensArn: obj?.lensArn,
56
+ LensVersion: obj?.lensVersion
57
+ };
58
+ for (const [key, value] of Object.entries(ret)) {
59
+ if ((value === undefined))
60
+ delete ret[key];
61
+ }
62
+ if (Object.keys(ret).length === 0)
63
+ return undefined;
64
+ ;
65
+ return ret;
66
+ }
67
+ // @ts-ignore TS6133
68
+ function convertAWSAPICallViaCloudTrailAttributesToEventPattern(obj) {
69
+ const ret = {
70
+ creationDate: obj?.creationDate,
71
+ mfaAuthenticated: obj?.mfaAuthenticated
72
+ };
73
+ for (const [key, value] of Object.entries(ret)) {
74
+ if ((value === undefined))
75
+ delete ret[key];
76
+ }
77
+ if (Object.keys(ret).length === 0)
78
+ return undefined;
79
+ ;
80
+ return ret;
81
+ }
82
+ // @ts-ignore TS6133
83
+ function convertAWSAPICallViaCloudTrailSessionIssuerToEventPattern(obj) {
84
+ const ret = {
85
+ accountId: obj?.accountId,
86
+ arn: obj?.arn,
87
+ principalId: obj?.principalId,
88
+ type: obj?.type,
89
+ userName: obj?.userName
90
+ };
91
+ for (const [key, value] of Object.entries(ret)) {
92
+ if ((value === undefined))
93
+ delete ret[key];
94
+ }
95
+ if (Object.keys(ret).length === 0)
96
+ return undefined;
97
+ ;
98
+ return ret;
99
+ }
100
+ // @ts-ignore TS6133
101
+ function convertAWSAPICallViaCloudTrailSessionContextToEventPattern(obj) {
102
+ const ret = {
103
+ attributes: convertAWSAPICallViaCloudTrailAttributesToEventPattern(obj?.attributes),
104
+ sessionIssuer: convertAWSAPICallViaCloudTrailSessionIssuerToEventPattern(obj?.sessionIssuer),
105
+ webIdFederationData: obj?.webIdFederationData
106
+ };
107
+ for (const [key, value] of Object.entries(ret)) {
108
+ if ((value === undefined))
109
+ delete ret[key];
110
+ }
111
+ if (Object.keys(ret).length === 0)
112
+ return undefined;
113
+ ;
114
+ return ret;
115
+ }
116
+ // @ts-ignore TS6133
117
+ function convertAWSAPICallViaCloudTrailUserIdentityToEventPattern(obj) {
118
+ const ret = {
119
+ sessionContext: convertAWSAPICallViaCloudTrailSessionContextToEventPattern(obj?.sessionContext),
120
+ accessKeyId: obj?.accessKeyId,
121
+ accountId: obj?.accountId,
122
+ arn: obj?.arn,
123
+ principalId: obj?.principalId,
124
+ type: obj?.type
125
+ };
126
+ for (const [key, value] of Object.entries(ret)) {
127
+ if ((value === undefined))
128
+ delete ret[key];
129
+ }
130
+ if (Object.keys(ret).length === 0)
131
+ return undefined;
132
+ ;
133
+ return ret;
134
+ }
135
+ // @ts-ignore TS6133
136
+ function convertAWSAPICallViaCloudTrailDetailToEventPattern(obj) {
137
+ const ret = {
138
+ requestParameters: convertAWSAPICallViaCloudTrailRequestParametersToEventPattern(obj?.requestParameters),
139
+ responseElements: convertAWSAPICallViaCloudTrailResponseElementsToEventPattern(obj?.responseElements),
140
+ userIdentity: convertAWSAPICallViaCloudTrailUserIdentityToEventPattern(obj?.userIdentity),
141
+ awsRegion: obj?.awsRegion,
142
+ eventCategory: obj?.eventCategory,
143
+ eventID: obj?.eventId,
144
+ eventName: obj?.eventName,
145
+ eventSource: obj?.eventSource,
146
+ eventTime: obj?.eventTime,
147
+ eventType: obj?.eventType,
148
+ eventVersion: obj?.eventVersion,
149
+ managementEvent: obj?.managementEvent,
150
+ readOnly: obj?.readOnly,
151
+ recipientAccountId: obj?.recipientAccountId,
152
+ requestID: obj?.requestId,
153
+ sourceIPAddress: obj?.sourceIpAddress,
154
+ userAgent: obj?.userAgent
155
+ };
156
+ for (const [key, value] of Object.entries(ret)) {
157
+ if ((value === undefined))
158
+ delete ret[key];
159
+ }
160
+ if (Object.keys(ret).length === 0)
161
+ return undefined;
162
+ ;
163
+ return ret;
164
+ }