@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.
- package/.jsii.gz +0 -0
- package/.jsii.tabl.json.gz +0 -0
- package/.warnings.jsii.js +26 -0
- package/lib/services/aws-apigateway/logs-delivery-mixins.generated.js +5 -5
- 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.d.ts +257 -0
- package/lib/services/aws-bedrockagentcore/logs-delivery-mixins.generated.js +386 -32
- package/lib/services/aws-chime/events.generated.js +1 -1
- 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 +17 -17
- package/lib/services/aws-ecr/events.generated.js +7 -7
- package/lib/services/aws-ecs/events.generated.js +5 -5
- package/lib/services/aws-eks/logs-delivery-mixins.generated.js +24 -24
- 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-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-ivs/events.generated.js +4 -4
- 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.js +4 -4
- 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-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-msk/logs-delivery-mixins.generated.js +6 -6
- 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.d.ts +50 -95
- package/lib/services/aws-opsworks/events.generated.js +35 -163
- 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-route53globalresolver/logs-delivery-mixins.generated.js +3 -3
- 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 +15 -15
- 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-states/.events.jsiirc.json +16 -0
- package/lib/services/aws-states/.jsiirc.json +16 -0
- package/lib/services/aws-states/events.generated.d.ts +555 -0
- package/lib/services/aws-states/events.generated.js +265 -0
- package/lib/services/aws-stepfunctions/logs-delivery-mixins.generated.js +5 -5
- package/lib/services/aws-storagegateway/.events.jsiirc.json +16 -0
- package/lib/services/aws-storagegateway/.jsiirc.json +16 -0
- package/lib/services/aws-storagegateway/events.d.ts +1 -0
- package/lib/services/aws-storagegateway/events.generated.d.ts +188 -0
- package/lib/services/aws-storagegateway/events.generated.js +146 -0
- package/lib/services/aws-storagegateway/events.js +17 -0
- package/lib/services/aws-storagegateway/index.d.ts +1 -0
- package/lib/services/aws-storagegateway/index.js +37 -0
- package/lib/services/aws-synthetics/events.generated.js +3 -3
- package/lib/services/aws-transcribe/.events.jsiirc.json +16 -0
- package/lib/services/aws-transcribe/.jsiirc.json +16 -0
- package/lib/services/aws-transcribe/events.d.ts +1 -0
- package/lib/services/aws-transcribe/events.generated.d.ts +562 -0
- package/lib/services/aws-transcribe/events.generated.js +314 -0
- package/lib/services/aws-transcribe/events.js +17 -0
- package/lib/services/aws-transcribe/index.d.ts +1 -0
- package/lib/services/aws-transcribe/index.js +37 -0
- 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-wellarchitected/.events.jsiirc.json +16 -0
- package/lib/services/aws-wellarchitected/.jsiirc.json +16 -0
- package/lib/services/aws-wellarchitected/events.d.ts +1 -0
- package/lib/services/aws-wellarchitected/events.generated.d.ts +378 -0
- package/lib/services/aws-wellarchitected/events.generated.js +164 -0
- package/lib/services/aws-wellarchitected/events.js +17 -0
- package/lib/services/aws-wellarchitected/index.d.ts +1 -0
- package/lib/services/aws-wellarchitected/index.js +37 -0
- 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/lib/services/index.d.ts +4 -1
- package/lib/services/index.js +6 -3
- package/package.json +21 -12
- package/lib/services/aws-dataexchange/.events.jsiirc.json +0 -16
- package/lib/services/aws-dataexchange/.jsiirc.json +0 -16
- package/lib/services/aws-dataexchange/events.generated.d.ts +0 -1223
- package/lib/services/aws-dataexchange/events.generated.js +0 -739
- /package/lib/services/{aws-dataexchange → aws-states}/events.d.ts +0 -0
- /package/lib/services/{aws-dataexchange → aws-states}/events.js +0 -0
- /package/lib/services/{aws-dataexchange → aws-states}/index.d.ts +0 -0
- /package/lib/services/{aws-dataexchange → aws-states}/index.js +0 -0
|
@@ -277,6 +277,263 @@ export interface CfnBrowserCustomUsageLogsDestProps {
|
|
|
277
277
|
*/
|
|
278
278
|
readonly recordFields?: Array<CfnBrowserCustomUsageLogsRecordFields>;
|
|
279
279
|
}
|
|
280
|
+
/**
|
|
281
|
+
* Builder for CfnCodeInterpreterLogsMixin to generate APPLICATION_LOGS for CfnCodeInterpreter
|
|
282
|
+
*
|
|
283
|
+
* @cloudformationResource AWS::BedrockAgentCore::CodeInterpreter
|
|
284
|
+
* @logType APPLICATION_LOGS
|
|
285
|
+
* @stability external
|
|
286
|
+
*/
|
|
287
|
+
export declare class CfnCodeInterpreterApplicationLogs {
|
|
288
|
+
/**
|
|
289
|
+
* Send logs to an S3 Bucket
|
|
290
|
+
*
|
|
291
|
+
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
292
|
+
*/
|
|
293
|
+
toS3(bucket: interfaces.aws_s3.IBucketRef, props?: CfnCodeInterpreterApplicationLogsS3Props): CfnCodeInterpreterLogsMixin;
|
|
294
|
+
/**
|
|
295
|
+
* Send logs to a CloudWatch Log Group
|
|
296
|
+
*
|
|
297
|
+
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
298
|
+
*/
|
|
299
|
+
toLogGroup(logGroup: interfaces.aws_logs.ILogGroupRef, props?: CfnCodeInterpreterApplicationLogsLogGroupProps): CfnCodeInterpreterLogsMixin;
|
|
300
|
+
/**
|
|
301
|
+
* Send logs to a Firehose Delivery Stream
|
|
302
|
+
*
|
|
303
|
+
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
304
|
+
*/
|
|
305
|
+
toFirehose(deliveryStream: interfaces.aws_kinesisfirehose.IDeliveryStreamRef, props?: CfnCodeInterpreterApplicationLogsFirehoseProps): CfnCodeInterpreterLogsMixin;
|
|
306
|
+
/**
|
|
307
|
+
* Delivers logs to a pre-created delivery destination
|
|
308
|
+
*
|
|
309
|
+
* Supported destinations are S3, CWL, FH
|
|
310
|
+
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
311
|
+
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
312
|
+
*
|
|
313
|
+
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
314
|
+
*/
|
|
315
|
+
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnCodeInterpreterApplicationLogsDestProps): CfnCodeInterpreterLogsMixin;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* Builder for CfnCodeInterpreterLogsMixin to generate USAGE_LOGS for CfnCodeInterpreter
|
|
319
|
+
*
|
|
320
|
+
* @cloudformationResource AWS::BedrockAgentCore::CodeInterpreter
|
|
321
|
+
* @logType USAGE_LOGS
|
|
322
|
+
* @stability external
|
|
323
|
+
*/
|
|
324
|
+
export declare class CfnCodeInterpreterUsageLogs {
|
|
325
|
+
/**
|
|
326
|
+
* Send logs to an S3 Bucket
|
|
327
|
+
*
|
|
328
|
+
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
329
|
+
*/
|
|
330
|
+
toS3(bucket: interfaces.aws_s3.IBucketRef, props?: CfnCodeInterpreterUsageLogsS3Props): CfnCodeInterpreterLogsMixin;
|
|
331
|
+
/**
|
|
332
|
+
* Send logs to a CloudWatch Log Group
|
|
333
|
+
*
|
|
334
|
+
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
335
|
+
*/
|
|
336
|
+
toLogGroup(logGroup: interfaces.aws_logs.ILogGroupRef, props?: CfnCodeInterpreterUsageLogsLogGroupProps): CfnCodeInterpreterLogsMixin;
|
|
337
|
+
/**
|
|
338
|
+
* Send logs to a Firehose Delivery Stream
|
|
339
|
+
*
|
|
340
|
+
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
341
|
+
*/
|
|
342
|
+
toFirehose(deliveryStream: interfaces.aws_kinesisfirehose.IDeliveryStreamRef, props?: CfnCodeInterpreterUsageLogsFirehoseProps): CfnCodeInterpreterLogsMixin;
|
|
343
|
+
/**
|
|
344
|
+
* Delivers logs to a pre-created delivery destination
|
|
345
|
+
*
|
|
346
|
+
* Supported destinations are S3, CWL, FH
|
|
347
|
+
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
348
|
+
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
349
|
+
*
|
|
350
|
+
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
351
|
+
*/
|
|
352
|
+
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnCodeInterpreterUsageLogsDestProps): CfnCodeInterpreterLogsMixin;
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Definition of AWS::BedrockAgentCore::CodeInterpreter Resource Type.
|
|
356
|
+
*
|
|
357
|
+
* This is a read-only resource representing the AWS-managed default code interpreter (aws.codeinterpreter.v1).
|
|
358
|
+
*
|
|
359
|
+
* @cloudformationResource AWS::BedrockAgentCore::CodeInterpreter
|
|
360
|
+
* @mixin true
|
|
361
|
+
* @stability external
|
|
362
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpreter.html
|
|
363
|
+
*/
|
|
364
|
+
export declare class CfnCodeInterpreterLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
365
|
+
static readonly APPLICATION_LOGS: CfnCodeInterpreterApplicationLogs;
|
|
366
|
+
static readonly USAGE_LOGS: CfnCodeInterpreterUsageLogs;
|
|
367
|
+
protected readonly logType: string;
|
|
368
|
+
protected readonly logDelivery: logsDelivery.ILogsDelivery;
|
|
369
|
+
/**
|
|
370
|
+
* Create a mixin to enable vended logs for `AWS::BedrockAgentCore::CodeInterpreter`.
|
|
371
|
+
*
|
|
372
|
+
* @param logType Type of logs that are getting vended
|
|
373
|
+
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
374
|
+
*/
|
|
375
|
+
constructor(logType: string, logDelivery: logsDelivery.ILogsDelivery);
|
|
376
|
+
/**
|
|
377
|
+
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
378
|
+
*/
|
|
379
|
+
supports(construct: constructs.IConstruct): construct is service.CfnCodeInterpreter;
|
|
380
|
+
/**
|
|
381
|
+
* Apply vended logs configuration to the construct
|
|
382
|
+
*/
|
|
383
|
+
applyTo(resource: constructs.IConstruct): void;
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* Output Format options for each destination of CfnCodeInterpreterApplicationLogs.
|
|
387
|
+
*/
|
|
388
|
+
export declare class CfnCodeInterpreterApplicationLogsOutputFormat {
|
|
389
|
+
}
|
|
390
|
+
export declare namespace CfnCodeInterpreterApplicationLogsOutputFormat {
|
|
391
|
+
enum S3 {
|
|
392
|
+
JSON = "json",
|
|
393
|
+
PLAIN = "plain",
|
|
394
|
+
W3C = "w3c",
|
|
395
|
+
PARQUET = "parquet"
|
|
396
|
+
}
|
|
397
|
+
enum LogGroup {
|
|
398
|
+
PLAIN = "plain",
|
|
399
|
+
JSON = "json"
|
|
400
|
+
}
|
|
401
|
+
enum Firehose {
|
|
402
|
+
JSON = "json",
|
|
403
|
+
PLAIN = "plain",
|
|
404
|
+
RAW = "raw"
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
export declare enum CfnCodeInterpreterApplicationLogsRecordFields {
|
|
408
|
+
ACCOUNT_ID = "account_id",
|
|
409
|
+
REQUEST_ID = "request_id",
|
|
410
|
+
TOOL_SESSION_ID = "tool_session_id",
|
|
411
|
+
SPAN_ID = "span_id",
|
|
412
|
+
TRACE_ID = "trace_id",
|
|
413
|
+
SERVICE_NAME = "service_name",
|
|
414
|
+
OPERATION = "operation",
|
|
415
|
+
REQUEST_PAYLOAD = "request_payload",
|
|
416
|
+
RESPONSE_PAYLOAD = "response_payload",
|
|
417
|
+
RESOURCE = "resource",
|
|
418
|
+
ATTRIBUTES = "attributes",
|
|
419
|
+
TIMEUNIXNANO = "timeUnixNano",
|
|
420
|
+
SEVERITYNUMBER = "severityNumber",
|
|
421
|
+
SEVERITYTEXT = "severityText",
|
|
422
|
+
BODY = "body",
|
|
423
|
+
TRACEID = "traceId",
|
|
424
|
+
SPANID = "spanId",
|
|
425
|
+
RESOURCE_ARN = "resource_arn",
|
|
426
|
+
EVENT_TIMESTAMP = "event_timestamp"
|
|
427
|
+
}
|
|
428
|
+
export interface CfnCodeInterpreterApplicationLogsS3Props {
|
|
429
|
+
/**
|
|
430
|
+
* Encrpytion key for your delivery bucket
|
|
431
|
+
*/
|
|
432
|
+
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
433
|
+
/**
|
|
434
|
+
* Format for log output, options are json,plain,w3c,parquet
|
|
435
|
+
*/
|
|
436
|
+
readonly outputFormat?: CfnCodeInterpreterApplicationLogsOutputFormat.S3;
|
|
437
|
+
/**
|
|
438
|
+
* Record fields that can be provided to a log delivery
|
|
439
|
+
*/
|
|
440
|
+
readonly recordFields?: Array<CfnCodeInterpreterApplicationLogsRecordFields>;
|
|
441
|
+
}
|
|
442
|
+
export interface CfnCodeInterpreterApplicationLogsLogGroupProps {
|
|
443
|
+
/**
|
|
444
|
+
* Format for log output, options are plain,json
|
|
445
|
+
*/
|
|
446
|
+
readonly outputFormat?: CfnCodeInterpreterApplicationLogsOutputFormat.LogGroup;
|
|
447
|
+
/**
|
|
448
|
+
* Record fields that can be provided to a log delivery
|
|
449
|
+
*/
|
|
450
|
+
readonly recordFields?: Array<CfnCodeInterpreterApplicationLogsRecordFields>;
|
|
451
|
+
}
|
|
452
|
+
export interface CfnCodeInterpreterApplicationLogsFirehoseProps {
|
|
453
|
+
/**
|
|
454
|
+
* Format for log output, options are json,plain,raw
|
|
455
|
+
*/
|
|
456
|
+
readonly outputFormat?: CfnCodeInterpreterApplicationLogsOutputFormat.Firehose;
|
|
457
|
+
/**
|
|
458
|
+
* Record fields that can be provided to a log delivery
|
|
459
|
+
*/
|
|
460
|
+
readonly recordFields?: Array<CfnCodeInterpreterApplicationLogsRecordFields>;
|
|
461
|
+
}
|
|
462
|
+
export interface CfnCodeInterpreterApplicationLogsDestProps {
|
|
463
|
+
/**
|
|
464
|
+
* Record fields that can be provided to a log delivery
|
|
465
|
+
*/
|
|
466
|
+
readonly recordFields?: Array<CfnCodeInterpreterApplicationLogsRecordFields>;
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* Output Format options for each destination of CfnCodeInterpreterUsageLogs.
|
|
470
|
+
*/
|
|
471
|
+
export declare class CfnCodeInterpreterUsageLogsOutputFormat {
|
|
472
|
+
}
|
|
473
|
+
export declare namespace CfnCodeInterpreterUsageLogsOutputFormat {
|
|
474
|
+
enum S3 {
|
|
475
|
+
JSON = "json",
|
|
476
|
+
PLAIN = "plain",
|
|
477
|
+
W3C = "w3c",
|
|
478
|
+
PARQUET = "parquet"
|
|
479
|
+
}
|
|
480
|
+
enum LogGroup {
|
|
481
|
+
PLAIN = "plain",
|
|
482
|
+
JSON = "json"
|
|
483
|
+
}
|
|
484
|
+
enum Firehose {
|
|
485
|
+
JSON = "json",
|
|
486
|
+
PLAIN = "plain",
|
|
487
|
+
RAW = "raw"
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
export declare enum CfnCodeInterpreterUsageLogsRecordFields {
|
|
491
|
+
RESOURCE_ARN = "resource_arn",
|
|
492
|
+
EVENT_TIMESTAMP = "event_timestamp",
|
|
493
|
+
RESOURCE = "resource",
|
|
494
|
+
ATTRIBUTES = "attributes",
|
|
495
|
+
METRICS = "metrics"
|
|
496
|
+
}
|
|
497
|
+
export interface CfnCodeInterpreterUsageLogsS3Props {
|
|
498
|
+
/**
|
|
499
|
+
* Encrpytion key for your delivery bucket
|
|
500
|
+
*/
|
|
501
|
+
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
502
|
+
/**
|
|
503
|
+
* Format for log output, options are json,plain,w3c,parquet
|
|
504
|
+
*/
|
|
505
|
+
readonly outputFormat?: CfnCodeInterpreterUsageLogsOutputFormat.S3;
|
|
506
|
+
/**
|
|
507
|
+
* Record fields that can be provided to a log delivery
|
|
508
|
+
*/
|
|
509
|
+
readonly recordFields?: Array<CfnCodeInterpreterUsageLogsRecordFields>;
|
|
510
|
+
}
|
|
511
|
+
export interface CfnCodeInterpreterUsageLogsLogGroupProps {
|
|
512
|
+
/**
|
|
513
|
+
* Format for log output, options are plain,json
|
|
514
|
+
*/
|
|
515
|
+
readonly outputFormat?: CfnCodeInterpreterUsageLogsOutputFormat.LogGroup;
|
|
516
|
+
/**
|
|
517
|
+
* Record fields that can be provided to a log delivery
|
|
518
|
+
*/
|
|
519
|
+
readonly recordFields?: Array<CfnCodeInterpreterUsageLogsRecordFields>;
|
|
520
|
+
}
|
|
521
|
+
export interface CfnCodeInterpreterUsageLogsFirehoseProps {
|
|
522
|
+
/**
|
|
523
|
+
* Format for log output, options are json,plain,raw
|
|
524
|
+
*/
|
|
525
|
+
readonly outputFormat?: CfnCodeInterpreterUsageLogsOutputFormat.Firehose;
|
|
526
|
+
/**
|
|
527
|
+
* Record fields that can be provided to a log delivery
|
|
528
|
+
*/
|
|
529
|
+
readonly recordFields?: Array<CfnCodeInterpreterUsageLogsRecordFields>;
|
|
530
|
+
}
|
|
531
|
+
export interface CfnCodeInterpreterUsageLogsDestProps {
|
|
532
|
+
/**
|
|
533
|
+
* Record fields that can be provided to a log delivery
|
|
534
|
+
*/
|
|
535
|
+
readonly recordFields?: Array<CfnCodeInterpreterUsageLogsRecordFields>;
|
|
536
|
+
}
|
|
280
537
|
/**
|
|
281
538
|
* Builder for CfnCodeInterpreterCustomLogsMixin to generate APPLICATION_LOGS for CfnCodeInterpreterCustom
|
|
282
539
|
*
|