@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
@@ -0,0 +1,265 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExecutionEvents = exports.StepFunctionsExecutionStatusChange = 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.states@AWSAPICallViaCloudTrail
8
+ */
9
+ class AWSAPICallViaCloudTrail {
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_states.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_states_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.states"],
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 convertAWSAPICallViaCloudTrailResponseElementsToEventPattern(obj) {
37
+ const ret = {
38
+ updateDate: obj?.updateDate,
39
+ executionArn: obj?.executionArn,
40
+ creationDate: obj?.creationDate,
41
+ stateMachineArn: obj?.stateMachineArn,
42
+ activityArn: obj?.activityArn,
43
+ startDate: obj?.startDate,
44
+ stopDate: obj?.stopDate
45
+ };
46
+ for (const [key, value] of Object.entries(ret)) {
47
+ if ((value === undefined))
48
+ delete ret[key];
49
+ }
50
+ if (Object.keys(ret).length === 0)
51
+ return undefined;
52
+ ;
53
+ return ret;
54
+ }
55
+ // @ts-ignore TS6133
56
+ function convertAWSAPICallViaCloudTrailRequestParametersToEventPattern(obj) {
57
+ const ret = {
58
+ input: obj?.input,
59
+ executionArn: obj?.executionArn,
60
+ roleArn: obj?.roleArn,
61
+ name: obj?.name,
62
+ definition: obj?.definition,
63
+ stateMachineArn: obj?.stateMachineArn,
64
+ activityArn: obj?.activityArn,
65
+ tags: obj?.tags
66
+ };
67
+ for (const [key, value] of Object.entries(ret)) {
68
+ if ((value === undefined))
69
+ delete ret[key];
70
+ }
71
+ if (Object.keys(ret).length === 0)
72
+ return undefined;
73
+ ;
74
+ return ret;
75
+ }
76
+ // @ts-ignore TS6133
77
+ function convertAWSAPICallViaCloudTrailSessionIssuerToEventPattern(obj) {
78
+ const ret = {
79
+ accountId: obj?.accountId,
80
+ principalId: obj?.principalId,
81
+ type: obj?.type,
82
+ arn: obj?.arn,
83
+ userName: obj?.userName
84
+ };
85
+ for (const [key, value] of Object.entries(ret)) {
86
+ if ((value === undefined))
87
+ delete ret[key];
88
+ }
89
+ if (Object.keys(ret).length === 0)
90
+ return undefined;
91
+ ;
92
+ return ret;
93
+ }
94
+ // @ts-ignore TS6133
95
+ function convertAWSAPICallViaCloudTrailAttributesToEventPattern(obj) {
96
+ const ret = {
97
+ mfaAuthenticated: obj?.mfaAuthenticated,
98
+ creationDate: obj?.creationDate
99
+ };
100
+ for (const [key, value] of Object.entries(ret)) {
101
+ if ((value === undefined))
102
+ delete ret[key];
103
+ }
104
+ if (Object.keys(ret).length === 0)
105
+ return undefined;
106
+ ;
107
+ return ret;
108
+ }
109
+ // @ts-ignore TS6133
110
+ function convertAWSAPICallViaCloudTrailSessionContextToEventPattern(obj) {
111
+ const ret = {
112
+ webIdFederationData: obj?.webIdFederationData,
113
+ sessionIssuer: convertAWSAPICallViaCloudTrailSessionIssuerToEventPattern(obj?.sessionIssuer),
114
+ attributes: convertAWSAPICallViaCloudTrailAttributesToEventPattern(obj?.attributes)
115
+ };
116
+ for (const [key, value] of Object.entries(ret)) {
117
+ if ((value === undefined))
118
+ delete ret[key];
119
+ }
120
+ if (Object.keys(ret).length === 0)
121
+ return undefined;
122
+ ;
123
+ return ret;
124
+ }
125
+ // @ts-ignore TS6133
126
+ function convertAWSAPICallViaCloudTrailUserIdentityToEventPattern(obj) {
127
+ const ret = {
128
+ sessionContext: convertAWSAPICallViaCloudTrailSessionContextToEventPattern(obj?.sessionContext),
129
+ accessKeyId: obj?.accessKeyId,
130
+ accountId: obj?.accountId,
131
+ principalId: obj?.principalId,
132
+ type: obj?.type,
133
+ arn: obj?.arn,
134
+ invokedBy: obj?.invokedBy,
135
+ userName: obj?.userName
136
+ };
137
+ for (const [key, value] of Object.entries(ret)) {
138
+ if ((value === undefined))
139
+ delete ret[key];
140
+ }
141
+ if (Object.keys(ret).length === 0)
142
+ return undefined;
143
+ ;
144
+ return ret;
145
+ }
146
+ // @ts-ignore TS6133
147
+ function convertAWSAPICallViaCloudTrailDetailToEventPattern(obj) {
148
+ const ret = {
149
+ responseElements: convertAWSAPICallViaCloudTrailResponseElementsToEventPattern(obj?.responseElements),
150
+ requestParameters: convertAWSAPICallViaCloudTrailRequestParametersToEventPattern(obj?.requestParameters),
151
+ userIdentity: convertAWSAPICallViaCloudTrailUserIdentityToEventPattern(obj?.userIdentity),
152
+ eventID: obj?.eventId,
153
+ awsRegion: obj?.awsRegion,
154
+ eventVersion: obj?.eventVersion,
155
+ sourceIPAddress: obj?.sourceIpAddress,
156
+ eventSource: obj?.eventSource,
157
+ errorMessage: obj?.errorMessage,
158
+ errorCode: obj?.errorCode,
159
+ userAgent: obj?.userAgent,
160
+ eventType: obj?.eventType,
161
+ requestID: obj?.requestId,
162
+ eventTime: obj?.eventTime,
163
+ eventName: obj?.eventName
164
+ };
165
+ for (const [key, value] of Object.entries(ret)) {
166
+ if ((value === undefined))
167
+ delete ret[key];
168
+ }
169
+ if (Object.keys(ret).length === 0)
170
+ return undefined;
171
+ ;
172
+ return ret;
173
+ }
174
+ /**
175
+ * EventBridge event pattern for aws.states@StepFunctionsExecutionStatusChange
176
+ */
177
+ class StepFunctionsExecutionStatusChange {
178
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_states.events.StepFunctionsExecutionStatusChange", version: "2.264.0-alpha.0" };
179
+ /**
180
+ * EventBridge event pattern for Step Functions Execution Status Change
181
+ */
182
+ static eventPattern(options) {
183
+ try {
184
+ jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_states_events_StepFunctionsExecutionStatusChange_StepFunctionsExecutionStatusChangeProps(options);
185
+ }
186
+ catch (error) {
187
+ if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
188
+ Error.captureStackTrace(error, this.eventPattern);
189
+ }
190
+ throw error;
191
+ }
192
+ return {
193
+ source: ["aws.states"],
194
+ detailType: ["Step Functions Execution Status Change"],
195
+ detail: convertStepFunctionsExecutionStatusChangeDetailToEventPattern(options),
196
+ version: options?.eventMetadata?.version,
197
+ resources: options?.eventMetadata?.resources,
198
+ region: options?.eventMetadata?.region
199
+ };
200
+ }
201
+ }
202
+ exports.StepFunctionsExecutionStatusChange = StepFunctionsExecutionStatusChange;
203
+ // @ts-ignore TS6133
204
+ function convertStepFunctionsExecutionStatusChangeDetailToEventPattern(obj, iRef) {
205
+ const ret = {
206
+ output: obj?.output,
207
+ input: obj?.input,
208
+ executionArn: (obj?.executionArn ?? [iRef?.executionRef.executionArn]),
209
+ name: obj?.name,
210
+ stateMachineArn: obj?.stateMachineArn,
211
+ startDate: obj?.startDate,
212
+ stopDate: obj?.stopDate,
213
+ status: obj?.status
214
+ };
215
+ for (const [key, value] of Object.entries(ret)) {
216
+ if ((value === undefined))
217
+ delete ret[key];
218
+ }
219
+ if (Object.keys(ret).length === 0)
220
+ return undefined;
221
+ ;
222
+ return ret;
223
+ }
224
+ /**
225
+ * EventBridge event patterns for Execution
226
+ */
227
+ class ExecutionEvents {
228
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_states.events.ExecutionEvents", version: "2.264.0-alpha.0" };
229
+ /**
230
+ * Create ExecutionEvents from a Execution reference
231
+ */
232
+ static fromExecution(executionRef) {
233
+ return new ExecutionEvents(executionRef);
234
+ }
235
+ /**
236
+ * Reference to the Execution construct
237
+ */
238
+ executionRef;
239
+ constructor(executionRef) {
240
+ this.executionRef = executionRef;
241
+ }
242
+ /**
243
+ * EventBridge event pattern for Execution Step Functions Execution Status Change
244
+ */
245
+ stepFunctionsExecutionStatusChangePattern(options) {
246
+ try {
247
+ jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_states_events_StepFunctionsExecutionStatusChange_StepFunctionsExecutionStatusChangeProps(options);
248
+ }
249
+ catch (error) {
250
+ if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
251
+ Error.captureStackTrace(error, this.stepFunctionsExecutionStatusChangePattern);
252
+ }
253
+ throw error;
254
+ }
255
+ return {
256
+ source: ["aws.states"],
257
+ detailType: ["Step Functions Execution Status Change"],
258
+ detail: convertStepFunctionsExecutionStatusChangeDetailToEventPattern(options, this.executionRef),
259
+ version: options?.eventMetadata?.version,
260
+ resources: options?.eventMetadata?.resources,
261
+ region: options?.eventMetadata?.region
262
+ };
263
+ }
264
+ }
265
+ exports.ExecutionEvents = ExecutionEvents;
@@ -48,7 +48,7 @@ const service = __importStar(require("aws-cdk-lib/aws-stepfunctions"));
48
48
  * @stability external
49
49
  */
50
50
  class CfnStateMachineExpressLogs {
51
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_stepfunctions.mixins.CfnStateMachineExpressLogs", version: "2.262.2-alpha.0" };
51
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_stepfunctions.mixins.CfnStateMachineExpressLogs", version: "2.264.0-alpha.0" };
52
52
  /**
53
53
  * Send logs to a CloudWatch Log Group
54
54
  *
@@ -108,7 +108,7 @@ exports.CfnStateMachineExpressLogs = CfnStateMachineExpressLogs;
108
108
  * @stability external
109
109
  */
110
110
  class CfnStateMachineStandardLogs {
111
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_stepfunctions.mixins.CfnStateMachineStandardLogs", version: "2.262.2-alpha.0" };
111
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_stepfunctions.mixins.CfnStateMachineStandardLogs", version: "2.264.0-alpha.0" };
112
112
  /**
113
113
  * Send logs to a CloudWatch Log Group
114
114
  *
@@ -171,7 +171,7 @@ exports.CfnStateMachineStandardLogs = CfnStateMachineStandardLogs;
171
171
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html
172
172
  */
173
173
  class CfnStateMachineLogsMixin extends cdk.Mixin {
174
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_stepfunctions.mixins.CfnStateMachineLogsMixin", version: "2.262.2-alpha.0" };
174
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_stepfunctions.mixins.CfnStateMachineLogsMixin", version: "2.264.0-alpha.0" };
175
175
  static EXPRESS_LOGS = new CfnStateMachineExpressLogs();
176
176
  static STANDARD_LOGS = new CfnStateMachineStandardLogs();
177
177
  logType;
@@ -218,7 +218,7 @@ exports.CfnStateMachineLogsMixin = CfnStateMachineLogsMixin;
218
218
  * Output Format options for each destination of CfnStateMachineExpressLogs.
219
219
  */
220
220
  class CfnStateMachineExpressLogsOutputFormat {
221
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_stepfunctions.mixins.CfnStateMachineExpressLogsOutputFormat", version: "2.262.2-alpha.0" };
221
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_stepfunctions.mixins.CfnStateMachineExpressLogsOutputFormat", version: "2.264.0-alpha.0" };
222
222
  }
223
223
  exports.CfnStateMachineExpressLogsOutputFormat = CfnStateMachineExpressLogsOutputFormat;
224
224
  (function (CfnStateMachineExpressLogsOutputFormat) {
@@ -244,7 +244,7 @@ var CfnStateMachineExpressLogsRecordFields;
244
244
  * Output Format options for each destination of CfnStateMachineStandardLogs.
245
245
  */
246
246
  class CfnStateMachineStandardLogsOutputFormat {
247
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_stepfunctions.mixins.CfnStateMachineStandardLogsOutputFormat", version: "2.262.2-alpha.0" };
247
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_stepfunctions.mixins.CfnStateMachineStandardLogsOutputFormat", version: "2.264.0-alpha.0" };
248
248
  }
249
249
  exports.CfnStateMachineStandardLogsOutputFormat = CfnStateMachineStandardLogsOutputFormat;
250
250
  (function (CfnStateMachineStandardLogsOutputFormat) {
@@ -0,0 +1,16 @@
1
+ {
2
+ "targets": {
3
+ "java": {
4
+ "package": "software.amazon.awscdk.mixins.preview.services.storagegateway.events"
5
+ },
6
+ "dotnet": {
7
+ "namespace": "Amazon.CDK.Mixins.Preview.AWS.StorageGateway.Events"
8
+ },
9
+ "python": {
10
+ "module": "aws_cdk.mixins_preview.aws_storagegateway.events"
11
+ },
12
+ "go": {
13
+ "packageName": "previewawsstoragegatewayevents"
14
+ }
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "targets": {
3
+ "java": {
4
+ "package": "software.amazon.awscdk.mixins.preview.services.storagegateway"
5
+ },
6
+ "dotnet": {
7
+ "namespace": "Amazon.CDK.Mixins.Preview.AWS.StorageGateway"
8
+ },
9
+ "python": {
10
+ "module": "aws_cdk.mixins_preview.aws_storagegateway"
11
+ },
12
+ "go": {
13
+ "packageName": "previewawsstoragegateway"
14
+ }
15
+ }
16
+ }
@@ -0,0 +1 @@
1
+ export * from './events.generated';
@@ -0,0 +1,188 @@
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.storagegateway@StorageGatewayFileUploadEvent
5
+ */
6
+ export declare class StorageGatewayFileUploadEvent {
7
+ /**
8
+ * EventBridge event pattern for Storage Gateway File Upload Event
9
+ */
10
+ static eventPattern(options?: StorageGatewayFileUploadEvent.StorageGatewayFileUploadEventProps): events.EventPattern;
11
+ }
12
+ export declare namespace StorageGatewayFileUploadEvent {
13
+ /**
14
+ * Props type for aws.storagegateway@StorageGatewayFileUploadEvent event
15
+ */
16
+ interface StorageGatewayFileUploadEventProps {
17
+ /**
18
+ * completed property
19
+ *
20
+ * Specify an array of string values to match this event if the actual value of completed 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 completed?: Array<string>;
25
+ /**
26
+ * event-type property
27
+ *
28
+ * Specify an array of string values to match this event if the actual value of event-type 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 eventType?: Array<string>;
33
+ /**
34
+ * notification-id property
35
+ *
36
+ * Specify an array of string values to match this event if the actual value of notification-id 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 notificationId?: Array<string>;
41
+ /**
42
+ * request-received property
43
+ *
44
+ * Specify an array of string values to match this event if the actual value of request-received 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 requestReceived?: Array<string>;
49
+ /**
50
+ * EventBridge event metadata
51
+ *
52
+ * @default - -
53
+ */
54
+ readonly eventMetadata?: cdk.AWSEventMetadataProps;
55
+ }
56
+ }
57
+ /**
58
+ * EventBridge event pattern for aws.storagegateway@StorageGatewayObjectUploadEvent
59
+ */
60
+ export declare class StorageGatewayObjectUploadEvent {
61
+ /**
62
+ * EventBridge event pattern for Storage Gateway Object Upload Event
63
+ */
64
+ static eventPattern(options?: StorageGatewayObjectUploadEvent.StorageGatewayObjectUploadEventProps): events.EventPattern;
65
+ }
66
+ export declare namespace StorageGatewayObjectUploadEvent {
67
+ /**
68
+ * Props type for aws.storagegateway@StorageGatewayObjectUploadEvent event
69
+ */
70
+ interface StorageGatewayObjectUploadEventProps {
71
+ /**
72
+ * bucket-name property
73
+ *
74
+ * Specify an array of string values to match this event if the actual value of bucket-name is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
75
+ *
76
+ * @default - Do not filter on this field
77
+ */
78
+ readonly bucketName?: Array<string>;
79
+ /**
80
+ * event-type property
81
+ *
82
+ * Specify an array of string values to match this event if the actual value of event-type is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
83
+ *
84
+ * @default - Do not filter on this field
85
+ */
86
+ readonly eventType?: Array<string>;
87
+ /**
88
+ * modification-time property
89
+ *
90
+ * Specify an array of string values to match this event if the actual value of modification-time is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
91
+ *
92
+ * @default - Do not filter on this field
93
+ */
94
+ readonly modificationTime?: Array<string>;
95
+ /**
96
+ * object-key property
97
+ *
98
+ * Specify an array of string values to match this event if the actual value of object-key is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
99
+ *
100
+ * @default - Do not filter on this field
101
+ */
102
+ readonly objectKey?: Array<string>;
103
+ /**
104
+ * object-size property
105
+ *
106
+ * Specify an array of string values to match this event if the actual value of object-size is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
107
+ *
108
+ * @default - Do not filter on this field
109
+ */
110
+ readonly objectSize?: Array<string>;
111
+ /**
112
+ * prefix property
113
+ *
114
+ * Specify an array of string values to match this event if the actual value of prefix is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
115
+ *
116
+ * @default - Do not filter on this field
117
+ */
118
+ readonly prefix?: Array<string>;
119
+ /**
120
+ * EventBridge event metadata
121
+ *
122
+ * @default - -
123
+ */
124
+ readonly eventMetadata?: cdk.AWSEventMetadataProps;
125
+ }
126
+ }
127
+ /**
128
+ * EventBridge event pattern for aws.storagegateway@StorageGatewayRefreshCacheEvent
129
+ */
130
+ export declare class StorageGatewayRefreshCacheEvent {
131
+ /**
132
+ * EventBridge event pattern for Storage Gateway Refresh Cache Event
133
+ */
134
+ static eventPattern(options?: StorageGatewayRefreshCacheEvent.StorageGatewayRefreshCacheEventProps): events.EventPattern;
135
+ }
136
+ export declare namespace StorageGatewayRefreshCacheEvent {
137
+ /**
138
+ * Props type for aws.storagegateway@StorageGatewayRefreshCacheEvent event
139
+ */
140
+ interface StorageGatewayRefreshCacheEventProps {
141
+ /**
142
+ * completed property
143
+ *
144
+ * Specify an array of string values to match this event if the actual value of completed is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
145
+ *
146
+ * @default - Do not filter on this field
147
+ */
148
+ readonly completed?: Array<string>;
149
+ /**
150
+ * event-type property
151
+ *
152
+ * Specify an array of string values to match this event if the actual value of event-type is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
153
+ *
154
+ * @default - Do not filter on this field
155
+ */
156
+ readonly eventType?: Array<string>;
157
+ /**
158
+ * folderList property
159
+ *
160
+ * Specify an array of string values to match this event if the actual value of folderList is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
161
+ *
162
+ * @default - Do not filter on this field
163
+ */
164
+ readonly folderList?: Array<string>;
165
+ /**
166
+ * notification-id property
167
+ *
168
+ * Specify an array of string values to match this event if the actual value of notification-id is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
169
+ *
170
+ * @default - Do not filter on this field
171
+ */
172
+ readonly notificationId?: Array<string>;
173
+ /**
174
+ * started property
175
+ *
176
+ * Specify an array of string values to match this event if the actual value of started is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
177
+ *
178
+ * @default - Do not filter on this field
179
+ */
180
+ readonly started?: Array<string>;
181
+ /**
182
+ * EventBridge event metadata
183
+ *
184
+ * @default - -
185
+ */
186
+ readonly eventMetadata?: cdk.AWSEventMetadataProps;
187
+ }
188
+ }
@@ -0,0 +1,146 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StorageGatewayRefreshCacheEvent = exports.StorageGatewayObjectUploadEvent = exports.StorageGatewayFileUploadEvent = 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.storagegateway@StorageGatewayFileUploadEvent
8
+ */
9
+ class StorageGatewayFileUploadEvent {
10
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_storagegateway.events.StorageGatewayFileUploadEvent", version: "2.264.0-alpha.0" };
11
+ /**
12
+ * EventBridge event pattern for Storage Gateway File Upload Event
13
+ */
14
+ static eventPattern(options) {
15
+ try {
16
+ jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_storagegateway_events_StorageGatewayFileUploadEvent_StorageGatewayFileUploadEventProps(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.storagegateway"],
26
+ detailType: ["Storage Gateway File Upload Event"],
27
+ detail: convertStorageGatewayFileUploadEventDetailToEventPattern(options),
28
+ version: options?.eventMetadata?.version,
29
+ resources: options?.eventMetadata?.resources,
30
+ region: options?.eventMetadata?.region
31
+ };
32
+ }
33
+ }
34
+ exports.StorageGatewayFileUploadEvent = StorageGatewayFileUploadEvent;
35
+ // @ts-ignore TS6133
36
+ function convertStorageGatewayFileUploadEventDetailToEventPattern(obj) {
37
+ const ret = {
38
+ completed: obj?.completed,
39
+ "event-type": obj?.eventType,
40
+ "notification-id": obj?.notificationId,
41
+ "request-received": obj?.requestReceived
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
+ /**
53
+ * EventBridge event pattern for aws.storagegateway@StorageGatewayObjectUploadEvent
54
+ */
55
+ class StorageGatewayObjectUploadEvent {
56
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_storagegateway.events.StorageGatewayObjectUploadEvent", version: "2.264.0-alpha.0" };
57
+ /**
58
+ * EventBridge event pattern for Storage Gateway Object Upload Event
59
+ */
60
+ static eventPattern(options) {
61
+ try {
62
+ jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_storagegateway_events_StorageGatewayObjectUploadEvent_StorageGatewayObjectUploadEventProps(options);
63
+ }
64
+ catch (error) {
65
+ if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
66
+ Error.captureStackTrace(error, this.eventPattern);
67
+ }
68
+ throw error;
69
+ }
70
+ return {
71
+ source: ["aws.storagegateway"],
72
+ detailType: ["Storage Gateway Object Upload Event"],
73
+ detail: convertStorageGatewayObjectUploadEventDetailToEventPattern(options),
74
+ version: options?.eventMetadata?.version,
75
+ resources: options?.eventMetadata?.resources,
76
+ region: options?.eventMetadata?.region
77
+ };
78
+ }
79
+ }
80
+ exports.StorageGatewayObjectUploadEvent = StorageGatewayObjectUploadEvent;
81
+ // @ts-ignore TS6133
82
+ function convertStorageGatewayObjectUploadEventDetailToEventPattern(obj) {
83
+ const ret = {
84
+ "bucket-name": obj?.bucketName,
85
+ "event-type": obj?.eventType,
86
+ "modification-time": obj?.modificationTime,
87
+ "object-key": obj?.objectKey,
88
+ "object-size": obj?.objectSize,
89
+ prefix: obj?.prefix
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
+ /**
101
+ * EventBridge event pattern for aws.storagegateway@StorageGatewayRefreshCacheEvent
102
+ */
103
+ class StorageGatewayRefreshCacheEvent {
104
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_storagegateway.events.StorageGatewayRefreshCacheEvent", version: "2.264.0-alpha.0" };
105
+ /**
106
+ * EventBridge event pattern for Storage Gateway Refresh Cache Event
107
+ */
108
+ static eventPattern(options) {
109
+ try {
110
+ jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_storagegateway_events_StorageGatewayRefreshCacheEvent_StorageGatewayRefreshCacheEventProps(options);
111
+ }
112
+ catch (error) {
113
+ if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
114
+ Error.captureStackTrace(error, this.eventPattern);
115
+ }
116
+ throw error;
117
+ }
118
+ return {
119
+ source: ["aws.storagegateway"],
120
+ detailType: ["Storage Gateway Refresh Cache Event"],
121
+ detail: convertStorageGatewayRefreshCacheEventDetailToEventPattern(options),
122
+ version: options?.eventMetadata?.version,
123
+ resources: options?.eventMetadata?.resources,
124
+ region: options?.eventMetadata?.region
125
+ };
126
+ }
127
+ }
128
+ exports.StorageGatewayRefreshCacheEvent = StorageGatewayRefreshCacheEvent;
129
+ // @ts-ignore TS6133
130
+ function convertStorageGatewayRefreshCacheEventDetailToEventPattern(obj) {
131
+ const ret = {
132
+ completed: obj?.completed,
133
+ "event-type": obj?.eventType,
134
+ folderList: obj?.folderList,
135
+ "notification-id": obj?.notificationId,
136
+ started: obj?.started
137
+ };
138
+ for (const [key, value] of Object.entries(ret)) {
139
+ if ((value === undefined))
140
+ delete ret[key];
141
+ }
142
+ if (Object.keys(ret).length === 0)
143
+ return undefined;
144
+ ;
145
+ return ret;
146
+ }