@aws-cdk/mixins-preview 2.274.0-alpha.0 → 2.275.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 +32 -6
- package/lib/services/aws-appmesh/events.generated.js +1 -1
- 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-batch/events.generated.js +2 -2
- package/lib/services/aws-bedrock/logs-delivery-mixins.generated.js +12 -12
- package/lib/services/aws-bedrockagentcore/logs-delivery-mixins.generated.js +34 -34
- package/lib/services/aws-chime/events.generated.js +1 -1
- 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-connect/events.generated.js +4 -4
- package/lib/services/aws-dataexchange/events.generated.js +4 -4
- 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 +3 -3
- package/lib/services/aws-ecr/events.generated.js +7 -7
- package/lib/services/aws-ecs/events.generated.js +5 -5
- package/lib/services/aws-ecs/logs-delivery-mixins.generated.js +3 -3
- package/lib/services/aws-eks/logs-delivery-mixins.generated.d.ts +123 -0
- package/lib/services/aws-eks/logs-delivery-mixins.generated.js +185 -25
- package/lib/services/aws-elasticache/events.generated.js +10 -10
- package/lib/services/aws-elasticloadbalancing/events.generated.js +1 -1
- package/lib/services/aws-elasticloadbalancingv2/logs-delivery-mixins.generated.js +9 -9
- package/lib/services/aws-elementalinference/logs-delivery-mixins.generated.js +3 -3
- 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/.mixins.jsiirc.json +16 -0
- package/lib/services/aws-gamelift/events.generated.js +2 -2
- package/lib/services/aws-gamelift/index.d.ts +1 -0
- package/lib/services/aws-gamelift/index.js +2 -1
- package/lib/services/aws-gamelift/logs-delivery-mixins.generated.d.ts +143 -0
- package/lib/services/aws-gamelift/logs-delivery-mixins.generated.js +240 -0
- package/lib/services/aws-gamelift/mixins.d.ts +1 -0
- package/lib/services/aws-gamelift/mixins.js +17 -0
- 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-ivs/events.generated.js +4 -4
- 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.js +5 -5
- package/lib/services/aws-logs/logs-destination.js +4 -4
- package/lib/services/aws-managedblockchain/events.generated.js +2 -2
- package/lib/services/aws-medialive/events.generated.js +6 -6
- package/lib/services/aws-mediapackage/events.generated.js +4 -4
- 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-mgn/events.generated.js +3 -3
- package/lib/services/aws-networkfirewall/events.generated.js +3 -3
- 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 +4 -4
- package/lib/services/aws-organizations/events.generated.js +2 -2
- package/lib/services/aws-pcs/logs-delivery-mixins.generated.d.ts +85 -85
- package/lib/services/aws-pcs/logs-delivery-mixins.generated.js +99 -99
- 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-route53recoveryreadiness/events.generated.js +6 -6
- package/lib/services/aws-route53resolver/events.generated.js +3 -3
- package/lib/services/aws-rtbfabric/logs-delivery-mixins.generated.js +3 -3
- 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 +14 -14
- package/lib/services/aws-securityhub/events.generated.js +3 -3
- package/lib/services/aws-securityhub/logs-delivery-mixins.generated.js +6 -6
- 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-storagegateway/events.generated.js +3 -3
- package/lib/services/aws-synthetics/events.generated.js +3 -3
- package/lib/services/aws-transcribe/events.generated.js +3 -3
- package/lib/services/aws-transfer/events.generated.js +56 -56
- package/lib/services/aws-translate/events.generated.js +2 -2
- package/lib/services/aws-voiceid/events.generated.js +9 -9
- package/lib/services/aws-wellarchitected/events.generated.js +1 -1
- 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 +9 -9
|
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
* EventBridge event pattern for aws.emr@EMRAutoScalingPolicyStateChange
|
|
8
8
|
*/
|
|
9
9
|
class EMRAutoScalingPolicyStateChange {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_emr.events.EMRAutoScalingPolicyStateChange", version: "2.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_emr.events.EMRAutoScalingPolicyStateChange", version: "2.275.0-alpha.0" };
|
|
11
11
|
/**
|
|
12
12
|
* EventBridge event pattern for EMR Auto Scaling Policy State Change
|
|
13
13
|
*/
|
|
@@ -55,7 +55,7 @@ function convertEMRAutoScalingPolicyStateChangeDetailToEventPattern(obj) {
|
|
|
55
55
|
* EventBridge event pattern for aws.emr@EMRClusterStateChange
|
|
56
56
|
*/
|
|
57
57
|
class EMRClusterStateChange {
|
|
58
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_emr.events.EMRClusterStateChange", version: "2.
|
|
58
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_emr.events.EMRClusterStateChange", version: "2.275.0-alpha.0" };
|
|
59
59
|
/**
|
|
60
60
|
* EventBridge event pattern for EMR Cluster State Change
|
|
61
61
|
*/
|
|
@@ -103,7 +103,7 @@ function convertEMRClusterStateChangeDetailToEventPattern(obj) {
|
|
|
103
103
|
* EventBridge event pattern for aws.emr@EMRConfigurationError
|
|
104
104
|
*/
|
|
105
105
|
class EMRConfigurationError {
|
|
106
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_emr.events.EMRConfigurationError", version: "2.
|
|
106
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_emr.events.EMRConfigurationError", version: "2.275.0-alpha.0" };
|
|
107
107
|
/**
|
|
108
108
|
* EventBridge event pattern for EMR Configuration Error
|
|
109
109
|
*/
|
|
@@ -148,7 +148,7 @@ function convertEMRConfigurationErrorDetailToEventPattern(obj) {
|
|
|
148
148
|
* EventBridge event pattern for aws.emr@EMRInstanceFleetStateChange
|
|
149
149
|
*/
|
|
150
150
|
class EMRInstanceFleetStateChange {
|
|
151
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_emr.events.EMRInstanceFleetStateChange", version: "2.
|
|
151
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_emr.events.EMRInstanceFleetStateChange", version: "2.275.0-alpha.0" };
|
|
152
152
|
/**
|
|
153
153
|
* EventBridge event pattern for EMR Instance Fleet State Change
|
|
154
154
|
*/
|
|
@@ -200,7 +200,7 @@ function convertEMRInstanceFleetStateChangeDetailToEventPattern(obj) {
|
|
|
200
200
|
* EventBridge event pattern for aws.emr@EMRInstanceGroupStateChange
|
|
201
201
|
*/
|
|
202
202
|
class EMRInstanceGroupStateChange {
|
|
203
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_emr.events.EMRInstanceGroupStateChange", version: "2.
|
|
203
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_emr.events.EMRInstanceGroupStateChange", version: "2.275.0-alpha.0" };
|
|
204
204
|
/**
|
|
205
205
|
* EventBridge event pattern for EMR Instance Group State Change
|
|
206
206
|
*/
|
|
@@ -254,7 +254,7 @@ function convertEMRInstanceGroupStateChangeDetailToEventPattern(obj) {
|
|
|
254
254
|
* EventBridge event pattern for aws.emr@EMRInstanceGroupStatusNotification
|
|
255
255
|
*/
|
|
256
256
|
class EMRInstanceGroupStatusNotification {
|
|
257
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_emr.events.EMRInstanceGroupStatusNotification", version: "2.
|
|
257
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_emr.events.EMRInstanceGroupStatusNotification", version: "2.275.0-alpha.0" };
|
|
258
258
|
/**
|
|
259
259
|
* EventBridge event pattern for EMR Instance Group Status Notification
|
|
260
260
|
*/
|
|
@@ -308,7 +308,7 @@ function convertEMRInstanceGroupStatusNotificationDetailToEventPattern(obj) {
|
|
|
308
308
|
* EventBridge event pattern for aws.emr@EMRStepStatusChange
|
|
309
309
|
*/
|
|
310
310
|
class EMRStepStatusChange {
|
|
311
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_emr.events.EMRStepStatusChange", version: "2.
|
|
311
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_emr.events.EMRStepStatusChange", version: "2.275.0-alpha.0" };
|
|
312
312
|
/**
|
|
313
313
|
* EventBridge event pattern for EMR Step Status Change
|
|
314
314
|
*/
|
|
@@ -48,7 +48,7 @@ const service = __importStar(require("aws-cdk-lib/aws-entityresolution"));
|
|
|
48
48
|
* @stability external
|
|
49
49
|
*/
|
|
50
50
|
class CfnMatchingWorkflowWorkflowLogs {
|
|
51
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_entityresolution.mixins.CfnMatchingWorkflowWorkflowLogs", version: "2.
|
|
51
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_entityresolution.mixins.CfnMatchingWorkflowWorkflowLogs", version: "2.275.0-alpha.0" };
|
|
52
52
|
/**
|
|
53
53
|
* Send logs to an S3 Bucket
|
|
54
54
|
*
|
|
@@ -161,7 +161,7 @@ exports.CfnMatchingWorkflowWorkflowLogs = CfnMatchingWorkflowWorkflowLogs;
|
|
|
161
161
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-matchingworkflow.html
|
|
162
162
|
*/
|
|
163
163
|
class CfnMatchingWorkflowLogsMixin extends cdk.Mixin {
|
|
164
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_entityresolution.mixins.CfnMatchingWorkflowLogsMixin", version: "2.
|
|
164
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_entityresolution.mixins.CfnMatchingWorkflowLogsMixin", version: "2.275.0-alpha.0" };
|
|
165
165
|
static WORKFLOW_LOGS = new CfnMatchingWorkflowWorkflowLogs();
|
|
166
166
|
logType;
|
|
167
167
|
logDelivery;
|
|
@@ -207,7 +207,7 @@ exports.CfnMatchingWorkflowLogsMixin = CfnMatchingWorkflowLogsMixin;
|
|
|
207
207
|
* Output Format options for each destination of CfnMatchingWorkflowWorkflowLogs.
|
|
208
208
|
*/
|
|
209
209
|
class CfnMatchingWorkflowWorkflowLogsOutputFormat {
|
|
210
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_entityresolution.mixins.CfnMatchingWorkflowWorkflowLogsOutputFormat", version: "2.
|
|
210
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_entityresolution.mixins.CfnMatchingWorkflowWorkflowLogsOutputFormat", version: "2.275.0-alpha.0" };
|
|
211
211
|
}
|
|
212
212
|
exports.CfnMatchingWorkflowWorkflowLogsOutputFormat = CfnMatchingWorkflowWorkflowLogsOutputFormat;
|
|
213
213
|
(function (CfnMatchingWorkflowWorkflowLogsOutputFormat) {
|
|
@@ -263,7 +263,7 @@ var CfnMatchingWorkflowWorkflowLogsRecordFields;
|
|
|
263
263
|
* @stability external
|
|
264
264
|
*/
|
|
265
265
|
class CfnIdMappingWorkflowWorkflowLogs {
|
|
266
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_entityresolution.mixins.CfnIdMappingWorkflowWorkflowLogs", version: "2.
|
|
266
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_entityresolution.mixins.CfnIdMappingWorkflowWorkflowLogs", version: "2.275.0-alpha.0" };
|
|
267
267
|
/**
|
|
268
268
|
* Send logs to an S3 Bucket
|
|
269
269
|
*
|
|
@@ -376,7 +376,7 @@ exports.CfnIdMappingWorkflowWorkflowLogs = CfnIdMappingWorkflowWorkflowLogs;
|
|
|
376
376
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-idmappingworkflow.html
|
|
377
377
|
*/
|
|
378
378
|
class CfnIdMappingWorkflowLogsMixin extends cdk.Mixin {
|
|
379
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_entityresolution.mixins.CfnIdMappingWorkflowLogsMixin", version: "2.
|
|
379
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_entityresolution.mixins.CfnIdMappingWorkflowLogsMixin", version: "2.275.0-alpha.0" };
|
|
380
380
|
static WORKFLOW_LOGS = new CfnIdMappingWorkflowWorkflowLogs();
|
|
381
381
|
logType;
|
|
382
382
|
logDelivery;
|
|
@@ -422,7 +422,7 @@ exports.CfnIdMappingWorkflowLogsMixin = CfnIdMappingWorkflowLogsMixin;
|
|
|
422
422
|
* Output Format options for each destination of CfnIdMappingWorkflowWorkflowLogs.
|
|
423
423
|
*/
|
|
424
424
|
class CfnIdMappingWorkflowWorkflowLogsOutputFormat {
|
|
425
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_entityresolution.mixins.CfnIdMappingWorkflowWorkflowLogsOutputFormat", version: "2.
|
|
425
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_entityresolution.mixins.CfnIdMappingWorkflowWorkflowLogsOutputFormat", version: "2.275.0-alpha.0" };
|
|
426
426
|
}
|
|
427
427
|
exports.CfnIdMappingWorkflowWorkflowLogsOutputFormat = CfnIdMappingWorkflowWorkflowLogsOutputFormat;
|
|
428
428
|
(function (CfnIdMappingWorkflowWorkflowLogsOutputFormat) {
|
|
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
* EventBridge event pattern for aws.events@ScheduledJson
|
|
8
8
|
*/
|
|
9
9
|
class ScheduledJson {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.events.ScheduledJson", version: "2.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.events.ScheduledJson", version: "2.275.0-alpha.0" };
|
|
11
11
|
/**
|
|
12
12
|
* EventBridge event pattern for Scheduled Event
|
|
13
13
|
*/
|
|
@@ -48,7 +48,7 @@ const service = __importStar(require("aws-cdk-lib/aws-events"));
|
|
|
48
48
|
* @stability external
|
|
49
49
|
*/
|
|
50
50
|
class CfnEventBusErrorLogs {
|
|
51
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.mixins.CfnEventBusErrorLogs", version: "2.
|
|
51
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.mixins.CfnEventBusErrorLogs", version: "2.275.0-alpha.0" };
|
|
52
52
|
/**
|
|
53
53
|
* Send logs to an S3 Bucket
|
|
54
54
|
*
|
|
@@ -156,7 +156,7 @@ exports.CfnEventBusErrorLogs = CfnEventBusErrorLogs;
|
|
|
156
156
|
* @stability external
|
|
157
157
|
*/
|
|
158
158
|
class CfnEventBusInfoLogs {
|
|
159
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.mixins.CfnEventBusInfoLogs", version: "2.
|
|
159
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.mixins.CfnEventBusInfoLogs", version: "2.275.0-alpha.0" };
|
|
160
160
|
/**
|
|
161
161
|
* Send logs to an S3 Bucket
|
|
162
162
|
*
|
|
@@ -264,7 +264,7 @@ exports.CfnEventBusInfoLogs = CfnEventBusInfoLogs;
|
|
|
264
264
|
* @stability external
|
|
265
265
|
*/
|
|
266
266
|
class CfnEventBusTraceLogs {
|
|
267
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.mixins.CfnEventBusTraceLogs", version: "2.
|
|
267
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.mixins.CfnEventBusTraceLogs", version: "2.275.0-alpha.0" };
|
|
268
268
|
/**
|
|
269
269
|
* Send logs to an S3 Bucket
|
|
270
270
|
*
|
|
@@ -377,7 +377,7 @@ exports.CfnEventBusTraceLogs = CfnEventBusTraceLogs;
|
|
|
377
377
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html
|
|
378
378
|
*/
|
|
379
379
|
class CfnEventBusLogsMixin extends cdk.Mixin {
|
|
380
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.mixins.CfnEventBusLogsMixin", version: "2.
|
|
380
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.mixins.CfnEventBusLogsMixin", version: "2.275.0-alpha.0" };
|
|
381
381
|
static ERROR_LOGS = new CfnEventBusErrorLogs();
|
|
382
382
|
static INFO_LOGS = new CfnEventBusInfoLogs();
|
|
383
383
|
static TRACE_LOGS = new CfnEventBusTraceLogs();
|
|
@@ -425,7 +425,7 @@ exports.CfnEventBusLogsMixin = CfnEventBusLogsMixin;
|
|
|
425
425
|
* Output Format options for each destination of CfnEventBusErrorLogs.
|
|
426
426
|
*/
|
|
427
427
|
class CfnEventBusErrorLogsOutputFormat {
|
|
428
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.mixins.CfnEventBusErrorLogsOutputFormat", version: "2.
|
|
428
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.mixins.CfnEventBusErrorLogsOutputFormat", version: "2.275.0-alpha.0" };
|
|
429
429
|
}
|
|
430
430
|
exports.CfnEventBusErrorLogsOutputFormat = CfnEventBusErrorLogsOutputFormat;
|
|
431
431
|
(function (CfnEventBusErrorLogsOutputFormat) {
|
|
@@ -466,7 +466,7 @@ var CfnEventBusErrorLogsRecordFields;
|
|
|
466
466
|
* Output Format options for each destination of CfnEventBusInfoLogs.
|
|
467
467
|
*/
|
|
468
468
|
class CfnEventBusInfoLogsOutputFormat {
|
|
469
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.mixins.CfnEventBusInfoLogsOutputFormat", version: "2.
|
|
469
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.mixins.CfnEventBusInfoLogsOutputFormat", version: "2.275.0-alpha.0" };
|
|
470
470
|
}
|
|
471
471
|
exports.CfnEventBusInfoLogsOutputFormat = CfnEventBusInfoLogsOutputFormat;
|
|
472
472
|
(function (CfnEventBusInfoLogsOutputFormat) {
|
|
@@ -507,7 +507,7 @@ var CfnEventBusInfoLogsRecordFields;
|
|
|
507
507
|
* Output Format options for each destination of CfnEventBusTraceLogs.
|
|
508
508
|
*/
|
|
509
509
|
class CfnEventBusTraceLogsOutputFormat {
|
|
510
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.mixins.CfnEventBusTraceLogsOutputFormat", version: "2.
|
|
510
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_events.mixins.CfnEventBusTraceLogsOutputFormat", version: "2.275.0-alpha.0" };
|
|
511
511
|
}
|
|
512
512
|
exports.CfnEventBusTraceLogsOutputFormat = CfnEventBusTraceLogsOutputFormat;
|
|
513
513
|
(function (CfnEventBusTraceLogsOutputFormat) {
|
|
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
* EventBridge event pattern for aws.fis@FISExperimentStateChange
|
|
8
8
|
*/
|
|
9
9
|
class FISExperimentStateChange {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_fis.events.FISExperimentStateChange", version: "2.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_fis.events.FISExperimentStateChange", version: "2.275.0-alpha.0" };
|
|
11
11
|
/**
|
|
12
12
|
* EventBridge event pattern for FIS Experiment State Change
|
|
13
13
|
*/
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"targets": {
|
|
3
|
+
"java": {
|
|
4
|
+
"package": "software.amazon.awscdk.mixins.preview.services.gamelift.mixins"
|
|
5
|
+
},
|
|
6
|
+
"dotnet": {
|
|
7
|
+
"namespace": "Amazon.CDK.Mixins.Preview.AWS.GameLift.Mixins"
|
|
8
|
+
},
|
|
9
|
+
"python": {
|
|
10
|
+
"module": "aws_cdk.mixins_preview.aws_gamelift.mixins"
|
|
11
|
+
},
|
|
12
|
+
"go": {
|
|
13
|
+
"packageName": "previewawsgameliftmixins"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -7,7 +7,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
7
7
|
* EventBridge event pattern for aws.gamelift@GameLiftMatchmakingEvent
|
|
8
8
|
*/
|
|
9
9
|
class GameLiftMatchmakingEvent {
|
|
10
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_gamelift.events.GameLiftMatchmakingEvent", version: "2.
|
|
10
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_gamelift.events.GameLiftMatchmakingEvent", version: "2.275.0-alpha.0" };
|
|
11
11
|
/**
|
|
12
12
|
* EventBridge event pattern for GameLift Matchmaking Event
|
|
13
13
|
*/
|
|
@@ -124,7 +124,7 @@ function convertGameLiftMatchmakingEventDetailToEventPattern(obj) {
|
|
|
124
124
|
* EventBridge event pattern for aws.gamelift@GameLiftQueuePlacementEvent
|
|
125
125
|
*/
|
|
126
126
|
class GameLiftQueuePlacementEvent {
|
|
127
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_gamelift.events.GameLiftQueuePlacementEvent", version: "2.
|
|
127
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_gamelift.events.GameLiftQueuePlacementEvent", version: "2.275.0-alpha.0" };
|
|
128
128
|
/**
|
|
129
129
|
* EventBridge event pattern for GameLift Queue Placement Event
|
|
130
130
|
*/
|
|
@@ -33,5 +33,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.events = void 0;
|
|
36
|
+
exports.mixins = exports.events = void 0;
|
|
37
37
|
exports.events = __importStar(require("./events"));
|
|
38
|
+
exports.mixins = __importStar(require("./mixins"));
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import * as cdk from "aws-cdk-lib/core";
|
|
2
|
+
import * as interfaces from "aws-cdk-lib/interfaces";
|
|
3
|
+
import * as constructs from "constructs";
|
|
4
|
+
import * as logsDelivery from "../aws-logs/logs-delivery";
|
|
5
|
+
import * as service from "aws-cdk-lib/aws-gamelift";
|
|
6
|
+
/**
|
|
7
|
+
* Builder for CfnGameSessionQueueLogsMixin to generate QUEUE_PLACEMENT_LOGS for CfnGameSessionQueue
|
|
8
|
+
*
|
|
9
|
+
* @cloudformationResource AWS::GameLift::GameSessionQueue
|
|
10
|
+
* @logType QUEUE_PLACEMENT_LOGS
|
|
11
|
+
* @stability external
|
|
12
|
+
*/
|
|
13
|
+
export declare class CfnGameSessionQueueQueuePlacementLogs {
|
|
14
|
+
/**
|
|
15
|
+
* Send logs to an S3 Bucket
|
|
16
|
+
*
|
|
17
|
+
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
18
|
+
*/
|
|
19
|
+
toS3(bucket: interfaces.aws_s3.IBucketRef, props?: CfnGameSessionQueueQueuePlacementLogsS3Props): CfnGameSessionQueueLogsMixin;
|
|
20
|
+
/**
|
|
21
|
+
* Send logs to a CloudWatch Log Group
|
|
22
|
+
*
|
|
23
|
+
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
24
|
+
*/
|
|
25
|
+
toLogGroup(logGroup: interfaces.aws_logs.ILogGroupRef, props?: CfnGameSessionQueueQueuePlacementLogsLogGroupProps): CfnGameSessionQueueLogsMixin;
|
|
26
|
+
/**
|
|
27
|
+
* Send logs to a Firehose Delivery Stream
|
|
28
|
+
*
|
|
29
|
+
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
30
|
+
*/
|
|
31
|
+
toFirehose(deliveryStream: interfaces.aws_kinesisfirehose.IDeliveryStreamRef, props?: CfnGameSessionQueueQueuePlacementLogsFirehoseProps): CfnGameSessionQueueLogsMixin;
|
|
32
|
+
/**
|
|
33
|
+
* Delivers logs to a pre-created delivery destination
|
|
34
|
+
*
|
|
35
|
+
* Supported destinations are S3, CWL, FH
|
|
36
|
+
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
37
|
+
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
38
|
+
*
|
|
39
|
+
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
40
|
+
*/
|
|
41
|
+
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnGameSessionQueueQueuePlacementLogsDestProps): CfnGameSessionQueueLogsMixin;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The `AWS::GameLift::GameSessionQueue` resource creates a placement queue that processes requests for new game sessions.
|
|
45
|
+
*
|
|
46
|
+
* A queue uses FleetIQ algorithms to determine the best placement locations and find an available game server, then prompts the game server to start a new game session. Queues can have destinations (GameLift fleets or aliases), which determine where the queue can place new game sessions. A queue can have destinations with varied fleet type (Spot and On-Demand), instance type, and AWS Region .
|
|
47
|
+
*
|
|
48
|
+
* @cloudformationResource AWS::GameLift::GameSessionQueue
|
|
49
|
+
* @mixin true
|
|
50
|
+
* @stability external
|
|
51
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gamesessionqueue.html
|
|
52
|
+
*/
|
|
53
|
+
export declare class CfnGameSessionQueueLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
54
|
+
static readonly QUEUE_PLACEMENT_LOGS: CfnGameSessionQueueQueuePlacementLogs;
|
|
55
|
+
protected readonly logType: string;
|
|
56
|
+
protected readonly logDelivery: logsDelivery.ILogsDelivery;
|
|
57
|
+
/**
|
|
58
|
+
* Create a mixin to enable vended logs for `AWS::GameLift::GameSessionQueue`.
|
|
59
|
+
*
|
|
60
|
+
* @param logType Type of logs that are getting vended
|
|
61
|
+
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
62
|
+
*/
|
|
63
|
+
constructor(logType: string, logDelivery: logsDelivery.ILogsDelivery);
|
|
64
|
+
/**
|
|
65
|
+
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
66
|
+
*/
|
|
67
|
+
supports(construct: constructs.IConstruct): construct is service.CfnGameSessionQueue;
|
|
68
|
+
/**
|
|
69
|
+
* Apply vended logs configuration to the construct
|
|
70
|
+
*/
|
|
71
|
+
applyTo(resource: constructs.IConstruct): void;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Output Format options for each destination of CfnGameSessionQueueQueuePlacementLogs.
|
|
75
|
+
*/
|
|
76
|
+
export declare class CfnGameSessionQueueQueuePlacementLogsOutputFormat {
|
|
77
|
+
}
|
|
78
|
+
export declare namespace CfnGameSessionQueueQueuePlacementLogsOutputFormat {
|
|
79
|
+
enum S3 {
|
|
80
|
+
PLAIN = "plain",
|
|
81
|
+
JSON = "json",
|
|
82
|
+
W3C = "w3c",
|
|
83
|
+
PARQUET = "parquet"
|
|
84
|
+
}
|
|
85
|
+
enum LogGroup {
|
|
86
|
+
PLAIN = "plain",
|
|
87
|
+
JSON = "json"
|
|
88
|
+
}
|
|
89
|
+
enum Firehose {
|
|
90
|
+
PLAIN = "plain",
|
|
91
|
+
JSON = "json",
|
|
92
|
+
RAW = "raw"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
export declare enum CfnGameSessionQueueQueuePlacementLogsRecordFields {
|
|
96
|
+
TIMESTAMP = "timestamp",
|
|
97
|
+
PLACEMENT_ID = "placement_id",
|
|
98
|
+
EVENT_TYPE = "event_type",
|
|
99
|
+
SUMMARY = "summary",
|
|
100
|
+
DATA = "data",
|
|
101
|
+
RESOURCE_ARN = "resource_arn",
|
|
102
|
+
EVENT_TIMESTAMP = "event_timestamp"
|
|
103
|
+
}
|
|
104
|
+
export interface CfnGameSessionQueueQueuePlacementLogsS3Props {
|
|
105
|
+
/**
|
|
106
|
+
* Encrpytion key for your delivery bucket
|
|
107
|
+
*/
|
|
108
|
+
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
109
|
+
/**
|
|
110
|
+
* Format for log output, options are plain,json,w3c,parquet
|
|
111
|
+
*/
|
|
112
|
+
readonly outputFormat?: CfnGameSessionQueueQueuePlacementLogsOutputFormat.S3;
|
|
113
|
+
/**
|
|
114
|
+
* Record fields that can be provided to a log delivery
|
|
115
|
+
*/
|
|
116
|
+
readonly recordFields?: Array<CfnGameSessionQueueQueuePlacementLogsRecordFields>;
|
|
117
|
+
}
|
|
118
|
+
export interface CfnGameSessionQueueQueuePlacementLogsLogGroupProps {
|
|
119
|
+
/**
|
|
120
|
+
* Format for log output, options are plain,json
|
|
121
|
+
*/
|
|
122
|
+
readonly outputFormat?: CfnGameSessionQueueQueuePlacementLogsOutputFormat.LogGroup;
|
|
123
|
+
/**
|
|
124
|
+
* Record fields that can be provided to a log delivery
|
|
125
|
+
*/
|
|
126
|
+
readonly recordFields?: Array<CfnGameSessionQueueQueuePlacementLogsRecordFields>;
|
|
127
|
+
}
|
|
128
|
+
export interface CfnGameSessionQueueQueuePlacementLogsFirehoseProps {
|
|
129
|
+
/**
|
|
130
|
+
* Format for log output, options are plain,json,raw
|
|
131
|
+
*/
|
|
132
|
+
readonly outputFormat?: CfnGameSessionQueueQueuePlacementLogsOutputFormat.Firehose;
|
|
133
|
+
/**
|
|
134
|
+
* Record fields that can be provided to a log delivery
|
|
135
|
+
*/
|
|
136
|
+
readonly recordFields?: Array<CfnGameSessionQueueQueuePlacementLogsRecordFields>;
|
|
137
|
+
}
|
|
138
|
+
export interface CfnGameSessionQueueQueuePlacementLogsDestProps {
|
|
139
|
+
/**
|
|
140
|
+
* Record fields that can be provided to a log delivery
|
|
141
|
+
*/
|
|
142
|
+
readonly recordFields?: Array<CfnGameSessionQueueQueuePlacementLogsRecordFields>;
|
|
143
|
+
}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.CfnGameSessionQueueQueuePlacementLogsRecordFields = exports.CfnGameSessionQueueQueuePlacementLogsOutputFormat = exports.CfnGameSessionQueueLogsMixin = exports.CfnGameSessionQueueQueuePlacementLogs = void 0;
|
|
37
|
+
const jsiiDeprecationWarnings = require("../../../.warnings.jsii.js");
|
|
38
|
+
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
39
|
+
/* eslint-disable @stylistic/max-len, eol-last */
|
|
40
|
+
const cdk = __importStar(require("aws-cdk-lib/core"));
|
|
41
|
+
const logsDelivery = __importStar(require("../aws-logs/logs-delivery"));
|
|
42
|
+
const service = __importStar(require("aws-cdk-lib/aws-gamelift"));
|
|
43
|
+
/**
|
|
44
|
+
* Builder for CfnGameSessionQueueLogsMixin to generate QUEUE_PLACEMENT_LOGS for CfnGameSessionQueue
|
|
45
|
+
*
|
|
46
|
+
* @cloudformationResource AWS::GameLift::GameSessionQueue
|
|
47
|
+
* @logType QUEUE_PLACEMENT_LOGS
|
|
48
|
+
* @stability external
|
|
49
|
+
*/
|
|
50
|
+
class CfnGameSessionQueueQueuePlacementLogs {
|
|
51
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_gamelift.mixins.CfnGameSessionQueueQueuePlacementLogs", version: "2.275.0-alpha.0" };
|
|
52
|
+
/**
|
|
53
|
+
* Send logs to an S3 Bucket
|
|
54
|
+
*
|
|
55
|
+
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
56
|
+
*/
|
|
57
|
+
toS3(bucket, props) {
|
|
58
|
+
try {
|
|
59
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_gamelift_mixins_CfnGameSessionQueueQueuePlacementLogsS3Props(props);
|
|
60
|
+
}
|
|
61
|
+
catch (error) {
|
|
62
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
63
|
+
Error.captureStackTrace(error, this.toS3);
|
|
64
|
+
}
|
|
65
|
+
throw error;
|
|
66
|
+
}
|
|
67
|
+
{
|
|
68
|
+
return new CfnGameSessionQueueLogsMixin("QUEUE_PLACEMENT_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
69
|
+
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V2,
|
|
70
|
+
kmsKey: props?.encryptionKey,
|
|
71
|
+
outputFormat: props?.outputFormat,
|
|
72
|
+
providedFields: props?.recordFields,
|
|
73
|
+
mandatoryFields: ["resource_arn", "event_timestamp"]
|
|
74
|
+
}));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Send logs to a CloudWatch Log Group
|
|
79
|
+
*
|
|
80
|
+
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
81
|
+
*/
|
|
82
|
+
toLogGroup(logGroup, props) {
|
|
83
|
+
try {
|
|
84
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_gamelift_mixins_CfnGameSessionQueueQueuePlacementLogsLogGroupProps(props);
|
|
85
|
+
}
|
|
86
|
+
catch (error) {
|
|
87
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
88
|
+
Error.captureStackTrace(error, this.toLogGroup);
|
|
89
|
+
}
|
|
90
|
+
throw error;
|
|
91
|
+
}
|
|
92
|
+
{
|
|
93
|
+
return new CfnGameSessionQueueLogsMixin("QUEUE_PLACEMENT_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
94
|
+
outputFormat: props?.outputFormat,
|
|
95
|
+
providedFields: props?.recordFields,
|
|
96
|
+
mandatoryFields: ["resource_arn", "event_timestamp"]
|
|
97
|
+
}));
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Send logs to a Firehose Delivery Stream
|
|
102
|
+
*
|
|
103
|
+
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
104
|
+
*/
|
|
105
|
+
toFirehose(deliveryStream, props) {
|
|
106
|
+
try {
|
|
107
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_gamelift_mixins_CfnGameSessionQueueQueuePlacementLogsFirehoseProps(props);
|
|
108
|
+
}
|
|
109
|
+
catch (error) {
|
|
110
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
111
|
+
Error.captureStackTrace(error, this.toFirehose);
|
|
112
|
+
}
|
|
113
|
+
throw error;
|
|
114
|
+
}
|
|
115
|
+
{
|
|
116
|
+
return new CfnGameSessionQueueLogsMixin("QUEUE_PLACEMENT_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
|
|
117
|
+
outputFormat: props?.outputFormat,
|
|
118
|
+
providedFields: props?.recordFields,
|
|
119
|
+
mandatoryFields: ["resource_arn", "event_timestamp"]
|
|
120
|
+
}));
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Delivers logs to a pre-created delivery destination
|
|
125
|
+
*
|
|
126
|
+
* Supported destinations are S3, CWL, FH
|
|
127
|
+
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
128
|
+
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
129
|
+
*
|
|
130
|
+
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
131
|
+
*/
|
|
132
|
+
toDestination(destination, props) {
|
|
133
|
+
try {
|
|
134
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_gamelift_mixins_CfnGameSessionQueueQueuePlacementLogsDestProps(props);
|
|
135
|
+
}
|
|
136
|
+
catch (error) {
|
|
137
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
138
|
+
Error.captureStackTrace(error, this.toDestination);
|
|
139
|
+
}
|
|
140
|
+
throw error;
|
|
141
|
+
}
|
|
142
|
+
{
|
|
143
|
+
return new CfnGameSessionQueueLogsMixin("QUEUE_PLACEMENT_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
144
|
+
providedFields: props?.recordFields,
|
|
145
|
+
mandatoryFields: ["resource_arn", "event_timestamp"]
|
|
146
|
+
}));
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
exports.CfnGameSessionQueueQueuePlacementLogs = CfnGameSessionQueueQueuePlacementLogs;
|
|
151
|
+
/**
|
|
152
|
+
* The `AWS::GameLift::GameSessionQueue` resource creates a placement queue that processes requests for new game sessions.
|
|
153
|
+
*
|
|
154
|
+
* A queue uses FleetIQ algorithms to determine the best placement locations and find an available game server, then prompts the game server to start a new game session. Queues can have destinations (GameLift fleets or aliases), which determine where the queue can place new game sessions. A queue can have destinations with varied fleet type (Spot and On-Demand), instance type, and AWS Region .
|
|
155
|
+
*
|
|
156
|
+
* @cloudformationResource AWS::GameLift::GameSessionQueue
|
|
157
|
+
* @mixin true
|
|
158
|
+
* @stability external
|
|
159
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gamesessionqueue.html
|
|
160
|
+
*/
|
|
161
|
+
class CfnGameSessionQueueLogsMixin extends cdk.Mixin {
|
|
162
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_gamelift.mixins.CfnGameSessionQueueLogsMixin", version: "2.275.0-alpha.0" };
|
|
163
|
+
static QUEUE_PLACEMENT_LOGS = new CfnGameSessionQueueQueuePlacementLogs();
|
|
164
|
+
logType;
|
|
165
|
+
logDelivery;
|
|
166
|
+
/**
|
|
167
|
+
* Create a mixin to enable vended logs for `AWS::GameLift::GameSessionQueue`.
|
|
168
|
+
*
|
|
169
|
+
* @param logType Type of logs that are getting vended
|
|
170
|
+
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
171
|
+
*/
|
|
172
|
+
constructor(logType, logDelivery) {
|
|
173
|
+
super();
|
|
174
|
+
try {
|
|
175
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
|
|
176
|
+
}
|
|
177
|
+
catch (error) {
|
|
178
|
+
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
179
|
+
Error.captureStackTrace(error, CfnGameSessionQueueLogsMixin);
|
|
180
|
+
}
|
|
181
|
+
throw error;
|
|
182
|
+
}
|
|
183
|
+
this.logType = logType;
|
|
184
|
+
this.logDelivery = logDelivery;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
188
|
+
*/
|
|
189
|
+
supports(construct) {
|
|
190
|
+
return (cdk.CfnResource.isCfnResource(construct) && service.CfnGameSessionQueue.isCfnGameSessionQueue(construct));
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Apply vended logs configuration to the construct
|
|
194
|
+
*/
|
|
195
|
+
applyTo(resource) {
|
|
196
|
+
if (!this.supports(resource)) {
|
|
197
|
+
return;
|
|
198
|
+
}
|
|
199
|
+
const sourceArn = service.CfnGameSessionQueue.arnForGameSessionQueue(resource);
|
|
200
|
+
this.logDelivery.bind(resource, this.logType, sourceArn);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
exports.CfnGameSessionQueueLogsMixin = CfnGameSessionQueueLogsMixin;
|
|
204
|
+
/**
|
|
205
|
+
* Output Format options for each destination of CfnGameSessionQueueQueuePlacementLogs.
|
|
206
|
+
*/
|
|
207
|
+
class CfnGameSessionQueueQueuePlacementLogsOutputFormat {
|
|
208
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_gamelift.mixins.CfnGameSessionQueueQueuePlacementLogsOutputFormat", version: "2.275.0-alpha.0" };
|
|
209
|
+
}
|
|
210
|
+
exports.CfnGameSessionQueueQueuePlacementLogsOutputFormat = CfnGameSessionQueueQueuePlacementLogsOutputFormat;
|
|
211
|
+
(function (CfnGameSessionQueueQueuePlacementLogsOutputFormat) {
|
|
212
|
+
let S3;
|
|
213
|
+
(function (S3) {
|
|
214
|
+
S3["PLAIN"] = "plain";
|
|
215
|
+
S3["JSON"] = "json";
|
|
216
|
+
S3["W3C"] = "w3c";
|
|
217
|
+
S3["PARQUET"] = "parquet";
|
|
218
|
+
})(S3 = CfnGameSessionQueueQueuePlacementLogsOutputFormat.S3 || (CfnGameSessionQueueQueuePlacementLogsOutputFormat.S3 = {}));
|
|
219
|
+
let LogGroup;
|
|
220
|
+
(function (LogGroup) {
|
|
221
|
+
LogGroup["PLAIN"] = "plain";
|
|
222
|
+
LogGroup["JSON"] = "json";
|
|
223
|
+
})(LogGroup = CfnGameSessionQueueQueuePlacementLogsOutputFormat.LogGroup || (CfnGameSessionQueueQueuePlacementLogsOutputFormat.LogGroup = {}));
|
|
224
|
+
let Firehose;
|
|
225
|
+
(function (Firehose) {
|
|
226
|
+
Firehose["PLAIN"] = "plain";
|
|
227
|
+
Firehose["JSON"] = "json";
|
|
228
|
+
Firehose["RAW"] = "raw";
|
|
229
|
+
})(Firehose = CfnGameSessionQueueQueuePlacementLogsOutputFormat.Firehose || (CfnGameSessionQueueQueuePlacementLogsOutputFormat.Firehose = {}));
|
|
230
|
+
})(CfnGameSessionQueueQueuePlacementLogsOutputFormat || (exports.CfnGameSessionQueueQueuePlacementLogsOutputFormat = CfnGameSessionQueueQueuePlacementLogsOutputFormat = {}));
|
|
231
|
+
var CfnGameSessionQueueQueuePlacementLogsRecordFields;
|
|
232
|
+
(function (CfnGameSessionQueueQueuePlacementLogsRecordFields) {
|
|
233
|
+
CfnGameSessionQueueQueuePlacementLogsRecordFields["TIMESTAMP"] = "timestamp";
|
|
234
|
+
CfnGameSessionQueueQueuePlacementLogsRecordFields["PLACEMENT_ID"] = "placement_id";
|
|
235
|
+
CfnGameSessionQueueQueuePlacementLogsRecordFields["EVENT_TYPE"] = "event_type";
|
|
236
|
+
CfnGameSessionQueueQueuePlacementLogsRecordFields["SUMMARY"] = "summary";
|
|
237
|
+
CfnGameSessionQueueQueuePlacementLogsRecordFields["DATA"] = "data";
|
|
238
|
+
CfnGameSessionQueueQueuePlacementLogsRecordFields["RESOURCE_ARN"] = "resource_arn";
|
|
239
|
+
CfnGameSessionQueueQueuePlacementLogsRecordFields["EVENT_TIMESTAMP"] = "event_timestamp";
|
|
240
|
+
})(CfnGameSessionQueueQueuePlacementLogsRecordFields || (exports.CfnGameSessionQueueQueuePlacementLogsRecordFields = CfnGameSessionQueueQueuePlacementLogsRecordFields = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './logs-delivery-mixins.generated';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./logs-delivery-mixins.generated"), exports);
|