@aws-cdk/mixins-preview 2.243.0-alpha.0 → 2.244.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.
- package/.jsii.gz +0 -0
- package/.jsii.tabl.json.gz +0 -0
- package/.warnings.jsii.js +65 -1
- package/lib/services/aws-appmesh/events.generated.js +1 -1
- package/lib/services/aws-aps/logs-delivery-mixins.generated.js +6 -6
- package/lib/services/aws-athena/events.generated.js +2 -2
- package/lib/services/aws-autoscaling/events.generated.js +8 -8
- package/lib/services/aws-b2bi/events.generated.js +4 -4
- package/lib/services/aws-b2bi/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-backupgateway/logs-delivery-mixins.generated.js +5 -5
- package/lib/services/aws-batch/events.generated.js +2 -2
- package/lib/services/aws-bedrock/logs-delivery-mixins.generated.js +16 -16
- package/lib/services/aws-bedrockagentcore/logs-delivery-mixins.generated.js +28 -28
- package/lib/services/aws-cleanrooms/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-cloudformation/events.generated.js +1 -1
- package/lib/services/aws-cloudfront/logs-delivery-mixins.generated.js +5 -5
- package/lib/services/aws-cloudwatch/events.generated.js +3 -3
- package/lib/services/aws-codebuild/events.generated.js +5 -5
- package/lib/services/aws-codecommit/events.generated.js +7 -7
- package/lib/services/aws-codedeploy/events.generated.js +2 -2
- package/lib/services/aws-codeguruprofiler/events.generated.js +1 -1
- package/lib/services/aws-codepipeline/events.generated.js +3 -3
- package/lib/services/aws-cognito/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-connect/events.generated.js +4 -4
- package/lib/services/aws-connect/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-datasync/events.generated.js +4 -4
- package/lib/services/aws-deadline/events.generated.js +1 -1
- package/lib/services/aws-devopsagent/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-devopsguru/events.generated.js +5 -5
- package/lib/services/aws-dlm/events.generated.js +2 -2
- package/lib/services/aws-ec2/events.generated.js +8 -8
- package/lib/services/aws-ec2/logs-delivery-mixins.generated.js +14 -14
- package/lib/services/aws-ecr/events.generated.d.ts +32 -0
- package/lib/services/aws-ecr/events.generated.js +13 -9
- package/lib/services/aws-ecs/events.generated.js +5 -5
- package/lib/services/aws-eks/logs-delivery-mixins.generated.js +16 -16
- package/lib/services/aws-elasticache/events.generated.js +10 -10
- package/lib/services/aws-elasticloadbalancingv2/logs-delivery-mixins.generated.js +9 -9
- package/lib/services/aws-emr/events.generated.js +7 -7
- package/lib/services/aws-entityresolution/logs-delivery-mixins.generated.js +6 -6
- package/lib/services/aws-events/events.generated.js +1 -1
- package/lib/services/aws-events/logs-delivery-mixins.generated.js +7 -7
- package/lib/services/aws-fis/events.generated.js +1 -1
- package/lib/services/aws-gamelift/events.generated.js +2 -2
- package/lib/services/aws-glue/events.generated.js +7 -7
- package/lib/services/aws-guardduty/events.generated.js +7 -7
- package/lib/services/aws-healthimaging/events.generated.js +20 -20
- package/lib/services/aws-healthlake/events.generated.js +14 -14
- package/lib/services/aws-imagebuilder/events.generated.js +3 -3
- package/lib/services/aws-iotanalytics/events.generated.js +3 -3
- package/lib/services/aws-iotfleetwise/logs-delivery-mixins.generated.js +6 -6
- package/lib/services/aws-ivschat/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-kafkaconnect/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-kms/events.generated.js +5 -5
- package/lib/services/aws-logs/events.generated.js +2 -2
- package/lib/services/aws-logs/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-logs/logs-delivery.js +5 -5
- package/lib/services/aws-logs/logs-destination.d.ts +1 -15
- package/lib/services/aws-logs/logs-destination.js +57 -129
- package/lib/services/aws-logs/reflections.d.ts +0 -18
- package/lib/services/aws-logs/reflections.js +0 -32
- package/lib/services/aws-m2/logs-delivery-mixins.generated.js +9 -9
- package/lib/services/aws-managedblockchain/events.generated.js +2 -2
- package/lib/services/aws-medialive/events.generated.js +6 -6
- package/lib/services/aws-mediapackagev2/logs-delivery-mixins.generated.js +5 -5
- package/lib/services/aws-mediatailor/logs-delivery-mixins.generated.js +7 -7
- package/lib/services/aws-msk/logs-delivery-mixins.generated.js +6 -6
- package/lib/services/aws-networkfirewall/.events.jsiirc.json +16 -0
- package/lib/services/aws-networkfirewall/events.d.ts +1 -0
- package/lib/services/aws-networkfirewall/events.generated.d.ts +310 -0
- package/lib/services/aws-networkfirewall/events.generated.js +234 -0
- package/lib/services/aws-networkfirewall/events.js +17 -0
- package/lib/services/aws-networkfirewall/index.d.ts +1 -0
- package/lib/services/aws-networkfirewall/index.js +2 -1
- package/lib/services/aws-networkfirewall/logs-delivery-mixins.generated.js +7 -7
- package/lib/services/aws-networkmanager/events.generated.js +3 -3
- package/lib/services/aws-omics/events.generated.js +18 -18
- package/lib/services/aws-opsworks/events.generated.js +6 -6
- package/lib/services/aws-organizations/events.generated.js +2 -2
- package/lib/services/aws-osis/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-pcs/logs-delivery-mixins.generated.js +7 -7
- package/lib/services/aws-pipes/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-qbusiness/logs-delivery-mixins.generated.js +5 -5
- package/lib/services/aws-qldb/events.generated.js +1 -1
- package/lib/services/aws-rds/events.generated.js +7 -7
- package/lib/services/aws-route53profiles/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-route53recoveryreadiness/events.generated.js +6 -6
- package/lib/services/aws-route53resolver/events.generated.js +3 -3
- package/lib/services/aws-rum/logs-delivery-mixins.generated.js +7 -7
- package/lib/services/aws-s3/events.generated.js +12 -12
- package/lib/services/aws-s3/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-sagemaker/events.generated.js +16 -16
- package/lib/services/aws-sagemaker/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-securityhub/events.generated.js +3 -3
- package/lib/services/aws-ses/events.generated.js +2 -2
- package/lib/services/aws-ses/logs-delivery-mixins.generated.js +8 -8
- package/lib/services/aws-shield/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-ssm/events.generated.js +1 -1
- package/lib/services/aws-stepfunctions/logs-delivery-mixins.generated.js +5 -5
- package/lib/services/aws-synthetics/events.generated.js +3 -3
- package/lib/services/aws-transfer/events.generated.js +56 -56
- package/lib/services/aws-transfer/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-voiceid/events.generated.js +9 -9
- package/lib/services/aws-vpclattice/logs-delivery-mixins.generated.js +6 -6
- package/lib/services/aws-wafv2/logs-delivery-mixins.generated.js +5 -5
- package/lib/services/aws-wisdom/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-workspaces/events.generated.js +2 -2
- package/lib/services/aws-xray/events.generated.js +1 -1
- package/package.json +10 -9
- package/scripts/spec2logs/generate.js +1 -0
|
@@ -15,7 +15,7 @@ const service = require("aws-cdk-lib/aws-mediatailor");
|
|
|
15
15
|
* @stability external
|
|
16
16
|
*/
|
|
17
17
|
class CfnPlaybackConfigurationAdDecisionServerLogs {
|
|
18
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_mediatailor.mixins.CfnPlaybackConfigurationAdDecisionServerLogs", version: "2.
|
|
18
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_mediatailor.mixins.CfnPlaybackConfigurationAdDecisionServerLogs", version: "2.244.0-alpha.0" };
|
|
19
19
|
/**
|
|
20
20
|
* Send logs to an S3 Bucket
|
|
21
21
|
*
|
|
@@ -123,7 +123,7 @@ exports.CfnPlaybackConfigurationAdDecisionServerLogs = CfnPlaybackConfigurationA
|
|
|
123
123
|
* @stability external
|
|
124
124
|
*/
|
|
125
125
|
class CfnPlaybackConfigurationManifestServiceLogs {
|
|
126
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_mediatailor.mixins.CfnPlaybackConfigurationManifestServiceLogs", version: "2.
|
|
126
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_mediatailor.mixins.CfnPlaybackConfigurationManifestServiceLogs", version: "2.244.0-alpha.0" };
|
|
127
127
|
/**
|
|
128
128
|
* Send logs to an S3 Bucket
|
|
129
129
|
*
|
|
@@ -231,7 +231,7 @@ exports.CfnPlaybackConfigurationManifestServiceLogs = CfnPlaybackConfigurationMa
|
|
|
231
231
|
* @stability external
|
|
232
232
|
*/
|
|
233
233
|
class CfnPlaybackConfigurationTranscodeLogs {
|
|
234
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_mediatailor.mixins.CfnPlaybackConfigurationTranscodeLogs", version: "2.
|
|
234
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_mediatailor.mixins.CfnPlaybackConfigurationTranscodeLogs", version: "2.244.0-alpha.0" };
|
|
235
235
|
/**
|
|
236
236
|
* Send logs to an S3 Bucket
|
|
237
237
|
*
|
|
@@ -340,7 +340,7 @@ exports.CfnPlaybackConfigurationTranscodeLogs = CfnPlaybackConfigurationTranscod
|
|
|
340
340
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-playbackconfiguration.html
|
|
341
341
|
*/
|
|
342
342
|
class CfnPlaybackConfigurationLogsMixin extends cdk.Mixin {
|
|
343
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_mediatailor.mixins.CfnPlaybackConfigurationLogsMixin", version: "2.
|
|
343
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_mediatailor.mixins.CfnPlaybackConfigurationLogsMixin", version: "2.244.0-alpha.0" };
|
|
344
344
|
static AD_DECISION_SERVER_LOGS = new CfnPlaybackConfigurationAdDecisionServerLogs();
|
|
345
345
|
static MANIFEST_SERVICE_LOGS = new CfnPlaybackConfigurationManifestServiceLogs();
|
|
346
346
|
static TRANSCODE_LOGS = new CfnPlaybackConfigurationTranscodeLogs();
|
|
@@ -388,7 +388,7 @@ exports.CfnPlaybackConfigurationLogsMixin = CfnPlaybackConfigurationLogsMixin;
|
|
|
388
388
|
* Output Format options for each destination of CfnPlaybackConfigurationAdDecisionServerLogs.
|
|
389
389
|
*/
|
|
390
390
|
class CfnPlaybackConfigurationAdDecisionServerLogsOutputFormat {
|
|
391
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_mediatailor.mixins.CfnPlaybackConfigurationAdDecisionServerLogsOutputFormat", version: "2.
|
|
391
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_mediatailor.mixins.CfnPlaybackConfigurationAdDecisionServerLogsOutputFormat", version: "2.244.0-alpha.0" };
|
|
392
392
|
}
|
|
393
393
|
exports.CfnPlaybackConfigurationAdDecisionServerLogsOutputFormat = CfnPlaybackConfigurationAdDecisionServerLogsOutputFormat;
|
|
394
394
|
(function (CfnPlaybackConfigurationAdDecisionServerLogsOutputFormat) {
|
|
@@ -446,7 +446,7 @@ var CfnPlaybackConfigurationAdDecisionServerLogsRecordFields;
|
|
|
446
446
|
* Output Format options for each destination of CfnPlaybackConfigurationManifestServiceLogs.
|
|
447
447
|
*/
|
|
448
448
|
class CfnPlaybackConfigurationManifestServiceLogsOutputFormat {
|
|
449
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_mediatailor.mixins.CfnPlaybackConfigurationManifestServiceLogsOutputFormat", version: "2.
|
|
449
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_mediatailor.mixins.CfnPlaybackConfigurationManifestServiceLogsOutputFormat", version: "2.244.0-alpha.0" };
|
|
450
450
|
}
|
|
451
451
|
exports.CfnPlaybackConfigurationManifestServiceLogsOutputFormat = CfnPlaybackConfigurationManifestServiceLogsOutputFormat;
|
|
452
452
|
(function (CfnPlaybackConfigurationManifestServiceLogsOutputFormat) {
|
|
@@ -506,7 +506,7 @@ var CfnPlaybackConfigurationManifestServiceLogsRecordFields;
|
|
|
506
506
|
* Output Format options for each destination of CfnPlaybackConfigurationTranscodeLogs.
|
|
507
507
|
*/
|
|
508
508
|
class CfnPlaybackConfigurationTranscodeLogsOutputFormat {
|
|
509
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_mediatailor.mixins.CfnPlaybackConfigurationTranscodeLogsOutputFormat", version: "2.
|
|
509
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_mediatailor.mixins.CfnPlaybackConfigurationTranscodeLogsOutputFormat", version: "2.244.0-alpha.0" };
|
|
510
510
|
}
|
|
511
511
|
exports.CfnPlaybackConfigurationTranscodeLogsOutputFormat = CfnPlaybackConfigurationTranscodeLogsOutputFormat;
|
|
512
512
|
(function (CfnPlaybackConfigurationTranscodeLogsOutputFormat) {
|
|
@@ -15,7 +15,7 @@ const service = require("aws-cdk-lib/aws-msk");
|
|
|
15
15
|
* @stability external
|
|
16
16
|
*/
|
|
17
17
|
class CfnClusterBrokerLogs {
|
|
18
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnClusterBrokerLogs", version: "2.
|
|
18
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnClusterBrokerLogs", version: "2.244.0-alpha.0" };
|
|
19
19
|
/**
|
|
20
20
|
* Send logs to an S3 Bucket
|
|
21
21
|
*
|
|
@@ -113,7 +113,7 @@ exports.CfnClusterBrokerLogs = CfnClusterBrokerLogs;
|
|
|
113
113
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html
|
|
114
114
|
*/
|
|
115
115
|
class CfnClusterLogsMixin extends cdk.Mixin {
|
|
116
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnClusterLogsMixin", version: "2.
|
|
116
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnClusterLogsMixin", version: "2.244.0-alpha.0" };
|
|
117
117
|
static BROKER_LOGS = new CfnClusterBrokerLogs();
|
|
118
118
|
logType;
|
|
119
119
|
logDelivery;
|
|
@@ -159,7 +159,7 @@ exports.CfnClusterLogsMixin = CfnClusterLogsMixin;
|
|
|
159
159
|
* Output Format options for each destination of CfnClusterBrokerLogs.
|
|
160
160
|
*/
|
|
161
161
|
class CfnClusterBrokerLogsOutputFormat {
|
|
162
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnClusterBrokerLogsOutputFormat", version: "2.
|
|
162
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnClusterBrokerLogsOutputFormat", version: "2.244.0-alpha.0" };
|
|
163
163
|
}
|
|
164
164
|
exports.CfnClusterBrokerLogsOutputFormat = CfnClusterBrokerLogsOutputFormat;
|
|
165
165
|
(function (CfnClusterBrokerLogsOutputFormat) {
|
|
@@ -190,7 +190,7 @@ exports.CfnClusterBrokerLogsOutputFormat = CfnClusterBrokerLogsOutputFormat;
|
|
|
190
190
|
* @stability external
|
|
191
191
|
*/
|
|
192
192
|
class CfnReplicatorApplicationLogs {
|
|
193
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnReplicatorApplicationLogs", version: "2.
|
|
193
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnReplicatorApplicationLogs", version: "2.244.0-alpha.0" };
|
|
194
194
|
/**
|
|
195
195
|
* Send logs to an S3 Bucket
|
|
196
196
|
*
|
|
@@ -299,7 +299,7 @@ exports.CfnReplicatorApplicationLogs = CfnReplicatorApplicationLogs;
|
|
|
299
299
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-replicator.html
|
|
300
300
|
*/
|
|
301
301
|
class CfnReplicatorLogsMixin extends cdk.Mixin {
|
|
302
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnReplicatorLogsMixin", version: "2.
|
|
302
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnReplicatorLogsMixin", version: "2.244.0-alpha.0" };
|
|
303
303
|
static APPLICATION_LOGS = new CfnReplicatorApplicationLogs();
|
|
304
304
|
logType;
|
|
305
305
|
logDelivery;
|
|
@@ -345,7 +345,7 @@ exports.CfnReplicatorLogsMixin = CfnReplicatorLogsMixin;
|
|
|
345
345
|
* Output Format options for each destination of CfnReplicatorApplicationLogs.
|
|
346
346
|
*/
|
|
347
347
|
class CfnReplicatorApplicationLogsOutputFormat {
|
|
348
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnReplicatorApplicationLogsOutputFormat", version: "2.
|
|
348
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnReplicatorApplicationLogsOutputFormat", version: "2.244.0-alpha.0" };
|
|
349
349
|
}
|
|
350
350
|
exports.CfnReplicatorApplicationLogsOutputFormat = CfnReplicatorApplicationLogsOutputFormat;
|
|
351
351
|
(function (CfnReplicatorApplicationLogsOutputFormat) {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"targets": {
|
|
3
|
+
"java": {
|
|
4
|
+
"package": "software.amazon.awscdk.mixins.preview.services.networkfirewall.events"
|
|
5
|
+
},
|
|
6
|
+
"dotnet": {
|
|
7
|
+
"namespace": "Amazon.CDK.Mixins.Preview.AWS.NetworkFirewall.Events"
|
|
8
|
+
},
|
|
9
|
+
"python": {
|
|
10
|
+
"module": "aws_cdk.mixins_preview.aws_networkfirewall.events"
|
|
11
|
+
},
|
|
12
|
+
"go": {
|
|
13
|
+
"packageName": "previewawsnetworkfirewallevents"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './events.generated';
|
|
@@ -0,0 +1,310 @@
|
|
|
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.networkfirewall@FirewallAttachmentStatusChanged
|
|
5
|
+
*/
|
|
6
|
+
export declare class FirewallAttachmentStatusChanged {
|
|
7
|
+
/**
|
|
8
|
+
* EventBridge event pattern for Firewall Attachment Status Changed
|
|
9
|
+
*/
|
|
10
|
+
static firewallAttachmentStatusChangedPattern(options?: FirewallAttachmentStatusChanged.FirewallAttachmentStatusChangedProps): events.EventPattern;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace FirewallAttachmentStatusChanged {
|
|
13
|
+
/**
|
|
14
|
+
* Props type for aws.networkfirewall@FirewallAttachmentStatusChanged event
|
|
15
|
+
*/
|
|
16
|
+
interface FirewallAttachmentStatusChangedProps {
|
|
17
|
+
/**
|
|
18
|
+
* data property
|
|
19
|
+
*
|
|
20
|
+
* Specify an array of string values to match this event if the actual value of data 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 data?: Array<FirewallAttachmentStatusChanged.DataItem>;
|
|
25
|
+
/**
|
|
26
|
+
* metadata property
|
|
27
|
+
*
|
|
28
|
+
* Specify an array of string values to match this event if the actual value of metadata 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 metadata?: FirewallAttachmentStatusChanged.Metadata;
|
|
33
|
+
/**
|
|
34
|
+
* version property
|
|
35
|
+
*
|
|
36
|
+
* Specify an array of string values to match this event if the actual value of version 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 version?: Array<string>;
|
|
41
|
+
/**
|
|
42
|
+
* EventBridge event metadata
|
|
43
|
+
*
|
|
44
|
+
* @default - -
|
|
45
|
+
*/
|
|
46
|
+
readonly eventMetadata?: cdk.AWSEventMetadataProps;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Type definition for DataItem
|
|
50
|
+
*
|
|
51
|
+
* @struct
|
|
52
|
+
*/
|
|
53
|
+
interface DataItem {
|
|
54
|
+
/**
|
|
55
|
+
* Availability Zone property
|
|
56
|
+
*
|
|
57
|
+
* Specify an array of string values to match this event if the actual value of Availability Zone is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
58
|
+
*
|
|
59
|
+
* @default - Do not filter on this field
|
|
60
|
+
*/
|
|
61
|
+
readonly availabilityZone?: Array<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Current Attachment Status property
|
|
64
|
+
*
|
|
65
|
+
* Specify an array of string values to match this event if the actual value of Current Attachment Status is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
66
|
+
*
|
|
67
|
+
* @default - Do not filter on this field
|
|
68
|
+
*/
|
|
69
|
+
readonly currentAttachmentStatus?: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Endpoint ID property
|
|
72
|
+
*
|
|
73
|
+
* Specify an array of string values to match this event if the actual value of Endpoint ID is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
74
|
+
*
|
|
75
|
+
* @default - Do not filter on this field
|
|
76
|
+
*/
|
|
77
|
+
readonly endpointId?: Array<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Previous Attachment Status property
|
|
80
|
+
*
|
|
81
|
+
* Specify an array of string values to match this event if the actual value of Previous Attachment Status is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
82
|
+
*
|
|
83
|
+
* @default - Do not filter on this field
|
|
84
|
+
*/
|
|
85
|
+
readonly previousAttachmentStatus?: Array<string>;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Type definition for Metadata
|
|
89
|
+
*
|
|
90
|
+
* @struct
|
|
91
|
+
*/
|
|
92
|
+
interface Metadata {
|
|
93
|
+
/**
|
|
94
|
+
* State Change ID property
|
|
95
|
+
*
|
|
96
|
+
* Specify an array of string values to match this event if the actual value of State Change ID is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
97
|
+
*
|
|
98
|
+
* @default - Do not filter on this field
|
|
99
|
+
*/
|
|
100
|
+
readonly stateChangeId?: Array<string>;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* EventBridge event pattern for aws.networkfirewall@FirewallConfigurationChanged
|
|
105
|
+
*/
|
|
106
|
+
export declare class FirewallConfigurationChanged {
|
|
107
|
+
/**
|
|
108
|
+
* EventBridge event pattern for Firewall Configuration Changed
|
|
109
|
+
*/
|
|
110
|
+
static firewallConfigurationChangedPattern(options?: FirewallConfigurationChanged.FirewallConfigurationChangedProps): events.EventPattern;
|
|
111
|
+
}
|
|
112
|
+
export declare namespace FirewallConfigurationChanged {
|
|
113
|
+
/**
|
|
114
|
+
* Props type for aws.networkfirewall@FirewallConfigurationChanged event
|
|
115
|
+
*/
|
|
116
|
+
interface FirewallConfigurationChangedProps {
|
|
117
|
+
/**
|
|
118
|
+
* data property
|
|
119
|
+
*
|
|
120
|
+
* Specify an array of string values to match this event if the actual value of data is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
121
|
+
*
|
|
122
|
+
* @default - Do not filter on this field
|
|
123
|
+
*/
|
|
124
|
+
readonly data?: Array<FirewallConfigurationChanged.DataItem>;
|
|
125
|
+
/**
|
|
126
|
+
* metadata property
|
|
127
|
+
*
|
|
128
|
+
* Specify an array of string values to match this event if the actual value of metadata is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
129
|
+
*
|
|
130
|
+
* @default - Do not filter on this field
|
|
131
|
+
*/
|
|
132
|
+
readonly metadata?: FirewallConfigurationChanged.Metadata;
|
|
133
|
+
/**
|
|
134
|
+
* version property
|
|
135
|
+
*
|
|
136
|
+
* Specify an array of string values to match this event if the actual value of version is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
137
|
+
*
|
|
138
|
+
* @default - Do not filter on this field
|
|
139
|
+
*/
|
|
140
|
+
readonly version?: Array<string>;
|
|
141
|
+
/**
|
|
142
|
+
* EventBridge event metadata
|
|
143
|
+
*
|
|
144
|
+
* @default - -
|
|
145
|
+
*/
|
|
146
|
+
readonly eventMetadata?: cdk.AWSEventMetadataProps;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Type definition for DataItem
|
|
150
|
+
*
|
|
151
|
+
* @struct
|
|
152
|
+
*/
|
|
153
|
+
interface DataItem {
|
|
154
|
+
/**
|
|
155
|
+
* Availability Zone property
|
|
156
|
+
*
|
|
157
|
+
* Specify an array of string values to match this event if the actual value of Availability Zone is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
158
|
+
*
|
|
159
|
+
* @default - Do not filter on this field
|
|
160
|
+
*/
|
|
161
|
+
readonly availabilityZone?: Array<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Configuration Resource ARN property
|
|
164
|
+
*
|
|
165
|
+
* Specify an array of string values to match this event if the actual value of Configuration Resource ARN is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
166
|
+
*
|
|
167
|
+
* @default - Do not filter on this field
|
|
168
|
+
*/
|
|
169
|
+
readonly configurationResourceArn?: Array<string>;
|
|
170
|
+
/**
|
|
171
|
+
* Current Configuration Sync Status property
|
|
172
|
+
*
|
|
173
|
+
* Specify an array of string values to match this event if the actual value of Current Configuration Sync Status is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
174
|
+
*
|
|
175
|
+
* @default - Do not filter on this field
|
|
176
|
+
*/
|
|
177
|
+
readonly currentConfigurationSyncStatus?: Array<string>;
|
|
178
|
+
/**
|
|
179
|
+
* Previous Configuration Sync Status property
|
|
180
|
+
*
|
|
181
|
+
* Specify an array of string values to match this event if the actual value of Previous Configuration Sync Status is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
182
|
+
*
|
|
183
|
+
* @default - Do not filter on this field
|
|
184
|
+
*/
|
|
185
|
+
readonly previousConfigurationSyncStatus?: Array<string>;
|
|
186
|
+
/**
|
|
187
|
+
* Current Configuration Update Token property
|
|
188
|
+
*
|
|
189
|
+
* Specify an array of string values to match this event if the actual value of Current Configuration Update Token is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
190
|
+
*
|
|
191
|
+
* @default - Do not filter on this field
|
|
192
|
+
*/
|
|
193
|
+
readonly currentConfigurationUpdateToken?: Array<string>;
|
|
194
|
+
/**
|
|
195
|
+
* Previous Configuration Update Token property
|
|
196
|
+
*
|
|
197
|
+
* Specify an array of string values to match this event if the actual value of Previous Configuration Update Token is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
198
|
+
*
|
|
199
|
+
* @default - Do not filter on this field
|
|
200
|
+
*/
|
|
201
|
+
readonly previousConfigurationUpdateToken?: Array<string>;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Type definition for Metadata
|
|
205
|
+
*
|
|
206
|
+
* @struct
|
|
207
|
+
*/
|
|
208
|
+
interface Metadata {
|
|
209
|
+
/**
|
|
210
|
+
* State Change ID property
|
|
211
|
+
*
|
|
212
|
+
* Specify an array of string values to match this event if the actual value of State Change ID is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
213
|
+
*
|
|
214
|
+
* @default - Do not filter on this field
|
|
215
|
+
*/
|
|
216
|
+
readonly stateChangeId?: Array<string>;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* EventBridge event pattern for aws.networkfirewall@FirewallTransitGatewayAttachmentStatusChanged
|
|
221
|
+
*/
|
|
222
|
+
export declare class FirewallTransitGatewayAttachmentStatusChanged {
|
|
223
|
+
/**
|
|
224
|
+
* EventBridge event pattern for Firewall Transit Gateway Attachment Status Changed
|
|
225
|
+
*/
|
|
226
|
+
static firewallTransitGatewayAttachmentStatusChangedPattern(options?: FirewallTransitGatewayAttachmentStatusChanged.FirewallTransitGatewayAttachmentStatusChangedProps): events.EventPattern;
|
|
227
|
+
}
|
|
228
|
+
export declare namespace FirewallTransitGatewayAttachmentStatusChanged {
|
|
229
|
+
/**
|
|
230
|
+
* Props type for aws.networkfirewall@FirewallTransitGatewayAttachmentStatusChanged event
|
|
231
|
+
*/
|
|
232
|
+
interface FirewallTransitGatewayAttachmentStatusChangedProps {
|
|
233
|
+
/**
|
|
234
|
+
* data property
|
|
235
|
+
*
|
|
236
|
+
* Specify an array of string values to match this event if the actual value of data is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
237
|
+
*
|
|
238
|
+
* @default - Do not filter on this field
|
|
239
|
+
*/
|
|
240
|
+
readonly data?: FirewallTransitGatewayAttachmentStatusChanged.Data;
|
|
241
|
+
/**
|
|
242
|
+
* metadata property
|
|
243
|
+
*
|
|
244
|
+
* Specify an array of string values to match this event if the actual value of metadata is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
245
|
+
*
|
|
246
|
+
* @default - Do not filter on this field
|
|
247
|
+
*/
|
|
248
|
+
readonly metadata?: FirewallTransitGatewayAttachmentStatusChanged.Metadata;
|
|
249
|
+
/**
|
|
250
|
+
* version property
|
|
251
|
+
*
|
|
252
|
+
* Specify an array of string values to match this event if the actual value of version is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
253
|
+
*
|
|
254
|
+
* @default - Do not filter on this field
|
|
255
|
+
*/
|
|
256
|
+
readonly version?: Array<string>;
|
|
257
|
+
/**
|
|
258
|
+
* EventBridge event metadata
|
|
259
|
+
*
|
|
260
|
+
* @default - -
|
|
261
|
+
*/
|
|
262
|
+
readonly eventMetadata?: cdk.AWSEventMetadataProps;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Type definition for Data
|
|
266
|
+
*
|
|
267
|
+
* @struct
|
|
268
|
+
*/
|
|
269
|
+
interface Data {
|
|
270
|
+
/**
|
|
271
|
+
* Current Transit Gateway Attachment Status property
|
|
272
|
+
*
|
|
273
|
+
* Specify an array of string values to match this event if the actual value of Current Transit Gateway Attachment Status is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
274
|
+
*
|
|
275
|
+
* @default - Do not filter on this field
|
|
276
|
+
*/
|
|
277
|
+
readonly currentTransitGatewayAttachmentStatus?: Array<string>;
|
|
278
|
+
/**
|
|
279
|
+
* Attachment ID property
|
|
280
|
+
*
|
|
281
|
+
* Specify an array of string values to match this event if the actual value of Attachment ID is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
282
|
+
*
|
|
283
|
+
* @default - Do not filter on this field
|
|
284
|
+
*/
|
|
285
|
+
readonly attachmentId?: Array<string>;
|
|
286
|
+
/**
|
|
287
|
+
* Previous Transit Gateway Attachment Status property
|
|
288
|
+
*
|
|
289
|
+
* Specify an array of string values to match this event if the actual value of Previous Transit Gateway Attachment Status is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
290
|
+
*
|
|
291
|
+
* @default - Do not filter on this field
|
|
292
|
+
*/
|
|
293
|
+
readonly previousTransitGatewayAttachmentStatus?: Array<string>;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Type definition for Metadata
|
|
297
|
+
*
|
|
298
|
+
* @struct
|
|
299
|
+
*/
|
|
300
|
+
interface Metadata {
|
|
301
|
+
/**
|
|
302
|
+
* State Change ID property
|
|
303
|
+
*
|
|
304
|
+
* Specify an array of string values to match this event if the actual value of State Change ID is one of the values in the array. Use one of the constructors on the `aws_events.Match` for more advanced matching options.
|
|
305
|
+
*
|
|
306
|
+
* @default - Do not filter on this field
|
|
307
|
+
*/
|
|
308
|
+
readonly stateChangeId?: Array<string>;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FirewallTransitGatewayAttachmentStatusChanged = exports.FirewallConfigurationChanged = exports.FirewallAttachmentStatusChanged = 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.networkfirewall@FirewallAttachmentStatusChanged
|
|
8
|
+
*/
|
|
9
|
+
class FirewallAttachmentStatusChanged {
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_networkfirewall.events.FirewallAttachmentStatusChanged", version: "2.244.0-alpha.0" };
|
|
11
|
+
/**
|
|
12
|
+
* EventBridge event pattern for Firewall Attachment Status Changed
|
|
13
|
+
*/
|
|
14
|
+
static firewallAttachmentStatusChangedPattern(options) {
|
|
15
|
+
try {
|
|
16
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_networkfirewall_events_FirewallAttachmentStatusChanged_FirewallAttachmentStatusChangedProps(options);
|
|
17
|
+
}
|
|
18
|
+
catch (error) {
|
|
19
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
20
|
+
Error.captureStackTrace(error, this.firewallAttachmentStatusChangedPattern);
|
|
21
|
+
}
|
|
22
|
+
throw error;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
source: ["aws.network-firewall"],
|
|
26
|
+
detailType: ["Firewall Attachment Status Changed"],
|
|
27
|
+
detail: convertFirewallAttachmentStatusChangedDetailToEventPattern(options),
|
|
28
|
+
version: options?.eventMetadata?.version,
|
|
29
|
+
resources: options?.eventMetadata?.resources,
|
|
30
|
+
region: options?.eventMetadata?.region
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.FirewallAttachmentStatusChanged = FirewallAttachmentStatusChanged;
|
|
35
|
+
// @ts-ignore TS6133
|
|
36
|
+
function convertFirewallAttachmentStatusChangedDataItemToEventPattern(obj) {
|
|
37
|
+
const ret = {
|
|
38
|
+
"Availability Zone": obj?.availabilityZone,
|
|
39
|
+
"Current Attachment Status": obj?.currentAttachmentStatus,
|
|
40
|
+
"Endpoint ID": obj?.endpointId,
|
|
41
|
+
"Previous Attachment Status": obj?.previousAttachmentStatus
|
|
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 convertFirewallAttachmentStatusChangedMetadataToEventPattern(obj) {
|
|
54
|
+
const ret = {
|
|
55
|
+
"State Change ID": obj?.stateChangeId
|
|
56
|
+
};
|
|
57
|
+
for (const [key, value] of Object.entries(ret)) {
|
|
58
|
+
if ((value === undefined))
|
|
59
|
+
delete ret[key];
|
|
60
|
+
}
|
|
61
|
+
if (Object.keys(ret).length === 0)
|
|
62
|
+
return undefined;
|
|
63
|
+
;
|
|
64
|
+
return ret;
|
|
65
|
+
}
|
|
66
|
+
// @ts-ignore TS6133
|
|
67
|
+
function convertFirewallAttachmentStatusChangedDetailToEventPattern(obj) {
|
|
68
|
+
const ret = {
|
|
69
|
+
data: obj?.data,
|
|
70
|
+
metadata: convertFirewallAttachmentStatusChangedMetadataToEventPattern(obj?.metadata),
|
|
71
|
+
version: obj?.version
|
|
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
|
+
/**
|
|
83
|
+
* EventBridge event pattern for aws.networkfirewall@FirewallConfigurationChanged
|
|
84
|
+
*/
|
|
85
|
+
class FirewallConfigurationChanged {
|
|
86
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_networkfirewall.events.FirewallConfigurationChanged", version: "2.244.0-alpha.0" };
|
|
87
|
+
/**
|
|
88
|
+
* EventBridge event pattern for Firewall Configuration Changed
|
|
89
|
+
*/
|
|
90
|
+
static firewallConfigurationChangedPattern(options) {
|
|
91
|
+
try {
|
|
92
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_networkfirewall_events_FirewallConfigurationChanged_FirewallConfigurationChangedProps(options);
|
|
93
|
+
}
|
|
94
|
+
catch (error) {
|
|
95
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
96
|
+
Error.captureStackTrace(error, this.firewallConfigurationChangedPattern);
|
|
97
|
+
}
|
|
98
|
+
throw error;
|
|
99
|
+
}
|
|
100
|
+
return {
|
|
101
|
+
source: ["aws.network-firewall"],
|
|
102
|
+
detailType: ["Firewall Configuration Changed"],
|
|
103
|
+
detail: convertFirewallConfigurationChangedDetailToEventPattern(options),
|
|
104
|
+
version: options?.eventMetadata?.version,
|
|
105
|
+
resources: options?.eventMetadata?.resources,
|
|
106
|
+
region: options?.eventMetadata?.region
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.FirewallConfigurationChanged = FirewallConfigurationChanged;
|
|
111
|
+
// @ts-ignore TS6133
|
|
112
|
+
function convertFirewallConfigurationChangedDataItemToEventPattern(obj) {
|
|
113
|
+
const ret = {
|
|
114
|
+
"Availability Zone": obj?.availabilityZone,
|
|
115
|
+
"Configuration Resource ARN": obj?.configurationResourceArn,
|
|
116
|
+
"Current Configuration Sync Status": obj?.currentConfigurationSyncStatus,
|
|
117
|
+
"Previous Configuration Sync Status": obj?.previousConfigurationSyncStatus,
|
|
118
|
+
"Current Configuration Update Token": obj?.currentConfigurationUpdateToken,
|
|
119
|
+
"Previous Configuration Update Token": obj?.previousConfigurationUpdateToken
|
|
120
|
+
};
|
|
121
|
+
for (const [key, value] of Object.entries(ret)) {
|
|
122
|
+
if ((value === undefined))
|
|
123
|
+
delete ret[key];
|
|
124
|
+
}
|
|
125
|
+
if (Object.keys(ret).length === 0)
|
|
126
|
+
return undefined;
|
|
127
|
+
;
|
|
128
|
+
return ret;
|
|
129
|
+
}
|
|
130
|
+
// @ts-ignore TS6133
|
|
131
|
+
function convertFirewallConfigurationChangedMetadataToEventPattern(obj) {
|
|
132
|
+
const ret = {
|
|
133
|
+
"State Change ID": obj?.stateChangeId
|
|
134
|
+
};
|
|
135
|
+
for (const [key, value] of Object.entries(ret)) {
|
|
136
|
+
if ((value === undefined))
|
|
137
|
+
delete ret[key];
|
|
138
|
+
}
|
|
139
|
+
if (Object.keys(ret).length === 0)
|
|
140
|
+
return undefined;
|
|
141
|
+
;
|
|
142
|
+
return ret;
|
|
143
|
+
}
|
|
144
|
+
// @ts-ignore TS6133
|
|
145
|
+
function convertFirewallConfigurationChangedDetailToEventPattern(obj) {
|
|
146
|
+
const ret = {
|
|
147
|
+
data: obj?.data,
|
|
148
|
+
metadata: convertFirewallConfigurationChangedMetadataToEventPattern(obj?.metadata),
|
|
149
|
+
version: obj?.version
|
|
150
|
+
};
|
|
151
|
+
for (const [key, value] of Object.entries(ret)) {
|
|
152
|
+
if ((value === undefined))
|
|
153
|
+
delete ret[key];
|
|
154
|
+
}
|
|
155
|
+
if (Object.keys(ret).length === 0)
|
|
156
|
+
return undefined;
|
|
157
|
+
;
|
|
158
|
+
return ret;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* EventBridge event pattern for aws.networkfirewall@FirewallTransitGatewayAttachmentStatusChanged
|
|
162
|
+
*/
|
|
163
|
+
class FirewallTransitGatewayAttachmentStatusChanged {
|
|
164
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_networkfirewall.events.FirewallTransitGatewayAttachmentStatusChanged", version: "2.244.0-alpha.0" };
|
|
165
|
+
/**
|
|
166
|
+
* EventBridge event pattern for Firewall Transit Gateway Attachment Status Changed
|
|
167
|
+
*/
|
|
168
|
+
static firewallTransitGatewayAttachmentStatusChangedPattern(options) {
|
|
169
|
+
try {
|
|
170
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_networkfirewall_events_FirewallTransitGatewayAttachmentStatusChanged_FirewallTransitGatewayAttachmentStatusChangedProps(options);
|
|
171
|
+
}
|
|
172
|
+
catch (error) {
|
|
173
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
174
|
+
Error.captureStackTrace(error, this.firewallTransitGatewayAttachmentStatusChangedPattern);
|
|
175
|
+
}
|
|
176
|
+
throw error;
|
|
177
|
+
}
|
|
178
|
+
return {
|
|
179
|
+
source: ["aws.network-firewall"],
|
|
180
|
+
detailType: ["Firewall Transit Gateway Attachment Status Changed"],
|
|
181
|
+
detail: convertFirewallTransitGatewayAttachmentStatusChangedDetailToEventPattern(options),
|
|
182
|
+
version: options?.eventMetadata?.version,
|
|
183
|
+
resources: options?.eventMetadata?.resources,
|
|
184
|
+
region: options?.eventMetadata?.region
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
exports.FirewallTransitGatewayAttachmentStatusChanged = FirewallTransitGatewayAttachmentStatusChanged;
|
|
189
|
+
// @ts-ignore TS6133
|
|
190
|
+
function convertFirewallTransitGatewayAttachmentStatusChangedDataToEventPattern(obj) {
|
|
191
|
+
const ret = {
|
|
192
|
+
"Current Transit Gateway Attachment Status": obj?.currentTransitGatewayAttachmentStatus,
|
|
193
|
+
"Attachment ID": obj?.attachmentId,
|
|
194
|
+
"Previous Transit Gateway Attachment Status": obj?.previousTransitGatewayAttachmentStatus
|
|
195
|
+
};
|
|
196
|
+
for (const [key, value] of Object.entries(ret)) {
|
|
197
|
+
if ((value === undefined))
|
|
198
|
+
delete ret[key];
|
|
199
|
+
}
|
|
200
|
+
if (Object.keys(ret).length === 0)
|
|
201
|
+
return undefined;
|
|
202
|
+
;
|
|
203
|
+
return ret;
|
|
204
|
+
}
|
|
205
|
+
// @ts-ignore TS6133
|
|
206
|
+
function convertFirewallTransitGatewayAttachmentStatusChangedMetadataToEventPattern(obj) {
|
|
207
|
+
const ret = {
|
|
208
|
+
"State Change ID": obj?.stateChangeId
|
|
209
|
+
};
|
|
210
|
+
for (const [key, value] of Object.entries(ret)) {
|
|
211
|
+
if ((value === undefined))
|
|
212
|
+
delete ret[key];
|
|
213
|
+
}
|
|
214
|
+
if (Object.keys(ret).length === 0)
|
|
215
|
+
return undefined;
|
|
216
|
+
;
|
|
217
|
+
return ret;
|
|
218
|
+
}
|
|
219
|
+
// @ts-ignore TS6133
|
|
220
|
+
function convertFirewallTransitGatewayAttachmentStatusChangedDetailToEventPattern(obj) {
|
|
221
|
+
const ret = {
|
|
222
|
+
data: convertFirewallTransitGatewayAttachmentStatusChangedDataToEventPattern(obj?.data),
|
|
223
|
+
metadata: convertFirewallTransitGatewayAttachmentStatusChangedMetadataToEventPattern(obj?.metadata),
|
|
224
|
+
version: obj?.version
|
|
225
|
+
};
|
|
226
|
+
for (const [key, value] of Object.entries(ret)) {
|
|
227
|
+
if ((value === undefined))
|
|
228
|
+
delete ret[key];
|
|
229
|
+
}
|
|
230
|
+
if (Object.keys(ret).length === 0)
|
|
231
|
+
return undefined;
|
|
232
|
+
;
|
|
233
|
+
return ret;
|
|
234
|
+
}
|