@aws-cdk/mixins-preview 2.267.0-alpha.0 → 2.269.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 +114 -218
- 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-b2bi/index.d.ts +0 -1
- package/lib/services/aws-b2bi/index.js +1 -2
- package/lib/services/aws-batch/events.generated.js +2 -2
- package/lib/services/aws-bedrock/logs-delivery-mixins.generated.d.ts +95 -376
- package/lib/services/aws-bedrock/logs-delivery-mixins.generated.js +118 -519
- package/lib/services/aws-bedrockagentcore/logs-delivery-mixins.generated.d.ts +295 -519
- package/lib/services/aws-bedrockagentcore/logs-delivery-mixins.generated.js +421 -727
- 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.d.ts +47 -11
- package/lib/services/aws-cloudfront/logs-delivery-mixins.generated.js +50 -14
- 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-connect/index.d.ts +0 -1
- package/lib/services/aws-connect/index.js +1 -2
- package/lib/services/aws-dataexchange/.events.jsiirc.json +16 -0
- package/lib/services/aws-dataexchange/.jsiirc.json +16 -0
- package/lib/services/aws-dataexchange/events.generated.d.ts +1223 -0
- package/lib/services/aws-dataexchange/events.generated.js +739 -0
- 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.d.ts +6 -4
- package/lib/services/aws-devopsagent/logs-delivery-mixins.generated.js +7 -5
- 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.d.ts +6 -606
- package/lib/services/aws-ec2/logs-delivery-mixins.generated.js +8 -901
- package/lib/services/aws-ecr/events.generated.js +7 -7
- package/lib/services/aws-ecs/.mixins.jsiirc.json +16 -0
- package/lib/services/aws-ecs/events.generated.js +5 -5
- package/lib/services/aws-ecs/index.d.ts +1 -0
- package/lib/services/aws-ecs/index.js +2 -1
- package/lib/services/aws-ecs/logs-delivery-mixins.generated.d.ts +134 -0
- package/lib/services/{aws-logs → aws-ecs}/logs-delivery-mixins.generated.js +49 -63
- package/lib/services/aws-eks/logs-delivery-mixins.generated.d.ts +366 -276
- package/lib/services/aws-eks/logs-delivery-mixins.generated.js +354 -264
- 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.d.ts +139 -139
- package/lib/services/aws-elasticloadbalancingv2/logs-delivery-mixins.generated.js +144 -144
- package/lib/services/aws-elementalinference/.jsiirc.json +16 -0
- package/lib/services/aws-elementalinference/.mixins.jsiirc.json +16 -0
- package/lib/services/{aws-cognito → aws-elementalinference}/logs-delivery-mixins.generated.d.ts +58 -32
- package/lib/services/{aws-cognito → aws-elementalinference}/logs-delivery-mixins.generated.js +68 -50
- package/lib/services/aws-emr/events.generated.js +7 -7
- package/lib/services/aws-entityresolution/logs-delivery-mixins.generated.d.ts +26 -10
- package/lib/services/aws-entityresolution/logs-delivery-mixins.generated.js +26 -10
- package/lib/services/aws-events/events.generated.js +1 -1
- package/lib/services/aws-events/logs-delivery-mixins.generated.d.ts +15 -12
- package/lib/services/aws-events/logs-delivery-mixins.generated.js +16 -13
- 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-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/index.d.ts +0 -1
- package/lib/services/aws-logs/index.js +1 -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.d.ts +65 -62
- package/lib/services/aws-mediapackagev2/logs-delivery-mixins.generated.js +84 -81
- package/lib/services/aws-mediatailor/logs-delivery-mixins.generated.d.ts +38 -14
- package/lib/services/aws-mediatailor/logs-delivery-mixins.generated.js +42 -18
- package/lib/services/aws-mgn/.events.jsiirc.json +16 -0
- package/lib/services/{aws-msk → aws-mgn}/.jsiirc.json +4 -4
- package/lib/services/aws-mgn/events.d.ts +1 -0
- package/lib/services/aws-mgn/events.generated.d.ts +100 -0
- package/lib/services/aws-mgn/events.generated.js +135 -0
- package/lib/services/aws-mgn/events.js +17 -0
- package/lib/services/aws-mgn/index.d.ts +1 -0
- package/lib/services/{aws-cleanrooms → aws-mgn}/index.js +2 -2
- package/lib/services/aws-networkfirewall/events.generated.js +3 -3
- package/lib/services/aws-networkfirewall/logs-delivery-mixins.generated.d.ts +197 -62
- package/lib/services/aws-networkfirewall/logs-delivery-mixins.generated.js +214 -103
- 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 +89 -86
- package/lib/services/aws-pcs/logs-delivery-mixins.generated.js +104 -101
- package/lib/services/aws-qbusiness/logs-delivery-mixins.generated.d.ts +110 -97
- package/lib/services/aws-qbusiness/logs-delivery-mixins.generated.js +97 -84
- 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-cognito → aws-rtbfabric}/.jsiirc.json +4 -4
- package/lib/services/aws-rtbfabric/.mixins.jsiirc.json +16 -0
- package/lib/services/{aws-logs → aws-rtbfabric}/logs-delivery-mixins.generated.d.ts +48 -48
- package/lib/services/{aws-kafkaconnect → aws-rtbfabric}/logs-delivery-mixins.generated.js +74 -46
- package/lib/services/aws-s3/events.generated.js +12 -12
- package/lib/services/aws-s3/logs-delivery-mixins.generated.d.ts +1 -1
- package/lib/services/aws-s3/logs-delivery-mixins.generated.js +8 -8
- package/lib/services/aws-sagemaker/events.generated.d.ts +132 -151
- package/lib/services/aws-sagemaker/events.generated.js +94 -136
- package/lib/services/aws-sagemaker/index.d.ts +0 -1
- package/lib/services/aws-sagemaker/index.js +1 -2
- package/lib/services/aws-securityhub/.mixins.jsiirc.json +16 -0
- package/lib/services/aws-securityhub/events.generated.js +3 -3
- package/lib/services/aws-securityhub/index.d.ts +1 -0
- package/lib/services/aws-securityhub/index.js +2 -1
- package/lib/services/aws-securityhub/logs-delivery-mixins.generated.d.ts +177 -0
- package/lib/services/aws-securityhub/logs-delivery-mixins.generated.js +306 -0
- package/lib/services/aws-ses/events.generated.js +2 -2
- package/lib/services/aws-ses/logs-delivery-mixins.generated.d.ts +19 -14
- package/lib/services/aws-ses/logs-delivery-mixins.generated.js +21 -16
- package/lib/services/aws-shield/logs-delivery-mixins.generated.d.ts +5 -4
- package/lib/services/aws-shield/logs-delivery-mixins.generated.js +6 -5
- 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-transfer/index.d.ts +0 -1
- package/lib/services/aws-transfer/index.js +1 -2
- package/lib/services/aws-translate/.events.jsiirc.json +16 -0
- package/lib/services/{aws-ivschat → aws-translate}/.jsiirc.json +4 -4
- package/lib/services/aws-translate/events.d.ts +1 -0
- package/lib/services/aws-translate/events.generated.d.ts +102 -0
- package/lib/services/aws-translate/events.generated.js +96 -0
- package/lib/services/aws-translate/events.js +17 -0
- package/lib/services/aws-translate/index.d.ts +1 -0
- package/lib/services/aws-translate/index.js +37 -0
- 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.d.ts +7 -5
- package/lib/services/aws-wisdom/logs-delivery-mixins.generated.js +7 -5
- 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 +5 -19
- package/lib/services/index.js +7 -21
- package/package.json +22 -48
- package/lib/services/aws-apigateway/.jsiirc.json +0 -16
- package/lib/services/aws-apigateway/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-apigateway/logs-delivery-mixins.generated.d.ts +0 -248
- package/lib/services/aws-apigateway/logs-delivery-mixins.generated.js +0 -382
- package/lib/services/aws-aps/.jsiirc.json +0 -16
- package/lib/services/aws-aps/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-aps/logs-delivery-mixins.generated.d.ts +0 -227
- package/lib/services/aws-aps/logs-delivery-mixins.generated.js +0 -400
- package/lib/services/aws-b2bi/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-b2bi/logs-delivery-mixins.generated.d.ts +0 -121
- package/lib/services/aws-b2bi/logs-delivery-mixins.generated.js +0 -226
- package/lib/services/aws-backupgateway/.jsiirc.json +0 -16
- package/lib/services/aws-backupgateway/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-backupgateway/index.d.ts +0 -1
- package/lib/services/aws-backupgateway/index.js +0 -37
- package/lib/services/aws-backupgateway/logs-delivery-mixins.generated.d.ts +0 -194
- package/lib/services/aws-backupgateway/logs-delivery-mixins.generated.js +0 -344
- package/lib/services/aws-cleanrooms/.jsiirc.json +0 -16
- package/lib/services/aws-cleanrooms/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-cleanrooms/index.d.ts +0 -1
- package/lib/services/aws-cleanrooms/logs-delivery-mixins.generated.d.ts +0 -112
- package/lib/services/aws-cleanrooms/logs-delivery-mixins.generated.js +0 -217
- package/lib/services/aws-cleanrooms/mixins.d.ts +0 -1
- package/lib/services/aws-cleanrooms/mixins.js +0 -17
- package/lib/services/aws-cognito/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-cognito/index.d.ts +0 -1
- package/lib/services/aws-cognito/index.js +0 -37
- package/lib/services/aws-cognito/mixins.d.ts +0 -1
- package/lib/services/aws-cognito/mixins.js +0 -17
- package/lib/services/aws-connect/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-connect/logs-delivery-mixins.generated.d.ts +0 -156
- package/lib/services/aws-connect/logs-delivery-mixins.generated.js +0 -253
- package/lib/services/aws-connect/mixins.d.ts +0 -1
- package/lib/services/aws-connect/mixins.js +0 -17
- package/lib/services/aws-iotfleetwise/.jsiirc.json +0 -16
- package/lib/services/aws-iotfleetwise/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-iotfleetwise/index.d.ts +0 -1
- package/lib/services/aws-iotfleetwise/index.js +0 -37
- package/lib/services/aws-iotfleetwise/logs-delivery-mixins.generated.d.ts +0 -231
- package/lib/services/aws-iotfleetwise/logs-delivery-mixins.generated.js +0 -404
- package/lib/services/aws-iotfleetwise/mixins.d.ts +0 -1
- package/lib/services/aws-iotfleetwise/mixins.js +0 -17
- package/lib/services/aws-ivschat/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-ivschat/index.d.ts +0 -1
- package/lib/services/aws-ivschat/index.js +0 -37
- package/lib/services/aws-ivschat/logs-delivery-mixins.generated.d.ts +0 -114
- package/lib/services/aws-ivschat/logs-delivery-mixins.generated.js +0 -219
- package/lib/services/aws-ivschat/mixins.d.ts +0 -1
- package/lib/services/aws-ivschat/mixins.js +0 -17
- package/lib/services/aws-kafkaconnect/.jsiirc.json +0 -16
- package/lib/services/aws-kafkaconnect/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-kafkaconnect/index.d.ts +0 -1
- package/lib/services/aws-kafkaconnect/index.js +0 -37
- package/lib/services/aws-kafkaconnect/logs-delivery-mixins.generated.d.ts +0 -112
- package/lib/services/aws-kafkaconnect/mixins.d.ts +0 -1
- package/lib/services/aws-kafkaconnect/mixins.js +0 -17
- package/lib/services/aws-logs/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-logs/mixins.d.ts +0 -1
- package/lib/services/aws-logs/mixins.js +0 -17
- package/lib/services/aws-m2/.jsiirc.json +0 -16
- package/lib/services/aws-m2/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-m2/index.d.ts +0 -1
- package/lib/services/aws-m2/index.js +0 -37
- package/lib/services/aws-m2/logs-delivery-mixins.generated.d.ts +0 -354
- package/lib/services/aws-m2/logs-delivery-mixins.generated.js +0 -594
- package/lib/services/aws-m2/mixins.d.ts +0 -1
- package/lib/services/aws-m2/mixins.js +0 -17
- package/lib/services/aws-msk/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-msk/index.d.ts +0 -1
- package/lib/services/aws-msk/index.js +0 -37
- package/lib/services/aws-msk/logs-delivery-mixins.generated.d.ts +0 -245
- package/lib/services/aws-msk/logs-delivery-mixins.generated.js +0 -410
- package/lib/services/aws-msk/mixins.d.ts +0 -1
- package/lib/services/aws-msk/mixins.js +0 -17
- package/lib/services/aws-osis/.jsiirc.json +0 -16
- package/lib/services/aws-osis/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-osis/index.d.ts +0 -1
- package/lib/services/aws-osis/index.js +0 -37
- package/lib/services/aws-osis/logs-delivery-mixins.generated.d.ts +0 -112
- package/lib/services/aws-osis/logs-delivery-mixins.generated.js +0 -217
- package/lib/services/aws-osis/mixins.d.ts +0 -1
- package/lib/services/aws-osis/mixins.js +0 -17
- package/lib/services/aws-pipes/.jsiirc.json +0 -16
- package/lib/services/aws-pipes/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-pipes/index.d.ts +0 -1
- package/lib/services/aws-pipes/index.js +0 -37
- package/lib/services/aws-pipes/logs-delivery-mixins.generated.d.ts +0 -116
- package/lib/services/aws-pipes/logs-delivery-mixins.generated.js +0 -221
- package/lib/services/aws-pipes/mixins.d.ts +0 -1
- package/lib/services/aws-pipes/mixins.js +0 -17
- package/lib/services/aws-route53globalresolver/.jsiirc.json +0 -16
- package/lib/services/aws-route53globalresolver/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-route53globalresolver/index.d.ts +0 -1
- package/lib/services/aws-route53globalresolver/index.js +0 -37
- package/lib/services/aws-route53globalresolver/logs-delivery-mixins.generated.d.ts +0 -166
- package/lib/services/aws-route53globalresolver/logs-delivery-mixins.generated.js +0 -263
- package/lib/services/aws-route53globalresolver/mixins.d.ts +0 -1
- package/lib/services/aws-route53globalresolver/mixins.js +0 -17
- package/lib/services/aws-route53profiles/.jsiirc.json +0 -16
- package/lib/services/aws-route53profiles/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-route53profiles/index.d.ts +0 -1
- package/lib/services/aws-route53profiles/index.js +0 -37
- package/lib/services/aws-route53profiles/logs-delivery-mixins.generated.d.ts +0 -112
- package/lib/services/aws-route53profiles/logs-delivery-mixins.generated.js +0 -217
- package/lib/services/aws-route53profiles/mixins.d.ts +0 -1
- package/lib/services/aws-route53profiles/mixins.js +0 -17
- package/lib/services/aws-rum/.jsiirc.json +0 -16
- package/lib/services/aws-rum/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-rum/index.d.ts +0 -1
- package/lib/services/aws-rum/index.js +0 -37
- package/lib/services/aws-rum/logs-delivery-mixins.generated.d.ts +0 -276
- package/lib/services/aws-rum/logs-delivery-mixins.generated.js +0 -471
- package/lib/services/aws-rum/mixins.d.ts +0 -1
- package/lib/services/aws-rum/mixins.js +0 -17
- package/lib/services/aws-sagemaker/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-sagemaker/logs-delivery-mixins.generated.d.ts +0 -99
- package/lib/services/aws-sagemaker/logs-delivery-mixins.generated.js +0 -192
- package/lib/services/aws-sagemaker/mixins.d.ts +0 -1
- package/lib/services/aws-sagemaker/mixins.js +0 -17
- package/lib/services/aws-states/.events.jsiirc.json +0 -16
- package/lib/services/aws-states/.jsiirc.json +0 -16
- package/lib/services/aws-states/events.generated.d.ts +0 -555
- package/lib/services/aws-states/events.generated.js +0 -265
- package/lib/services/aws-stepfunctions/.jsiirc.json +0 -16
- package/lib/services/aws-stepfunctions/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-stepfunctions/index.d.ts +0 -1
- package/lib/services/aws-stepfunctions/index.js +0 -37
- package/lib/services/aws-stepfunctions/logs-delivery-mixins.generated.d.ts +0 -162
- package/lib/services/aws-stepfunctions/logs-delivery-mixins.generated.js +0 -268
- package/lib/services/aws-stepfunctions/mixins.d.ts +0 -1
- package/lib/services/aws-stepfunctions/mixins.js +0 -17
- package/lib/services/aws-transfer/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-transfer/logs-delivery-mixins.generated.d.ts +0 -114
- package/lib/services/aws-transfer/logs-delivery-mixins.generated.js +0 -219
- package/lib/services/aws-transfer/mixins.d.ts +0 -1
- package/lib/services/aws-transfer/mixins.js +0 -17
- package/lib/services/aws-vpclattice/.jsiirc.json +0 -16
- package/lib/services/aws-vpclattice/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-vpclattice/index.d.ts +0 -1
- package/lib/services/aws-vpclattice/index.js +0 -37
- package/lib/services/aws-vpclattice/logs-delivery-mixins.generated.d.ts +0 -225
- package/lib/services/aws-vpclattice/logs-delivery-mixins.generated.js +0 -398
- package/lib/services/aws-vpclattice/mixins.d.ts +0 -1
- package/lib/services/aws-vpclattice/mixins.js +0 -17
- package/lib/services/aws-wafv2/.jsiirc.json +0 -16
- package/lib/services/aws-wafv2/.mixins.jsiirc.json +0 -16
- package/lib/services/aws-wafv2/index.d.ts +0 -1
- package/lib/services/aws-wafv2/index.js +0 -37
- package/lib/services/aws-wafv2/logs-delivery-mixins.generated.d.ts +0 -212
- package/lib/services/aws-wafv2/logs-delivery-mixins.generated.js +0 -362
- package/lib/services/aws-wafv2/mixins.d.ts +0 -1
- package/lib/services/aws-wafv2/mixins.js +0 -17
- /package/lib/services/{aws-states → aws-dataexchange}/events.d.ts +0 -0
- /package/lib/services/{aws-states → aws-dataexchange}/events.js +0 -0
- /package/lib/services/{aws-states → aws-dataexchange}/index.d.ts +0 -0
- /package/lib/services/{aws-states → aws-dataexchange}/index.js +0 -0
- /package/lib/services/{aws-apigateway → aws-ecs}/mixins.d.ts +0 -0
- /package/lib/services/{aws-apigateway → aws-ecs}/mixins.js +0 -0
- /package/lib/services/{aws-apigateway → aws-elementalinference}/index.d.ts +0 -0
- /package/lib/services/{aws-apigateway → aws-elementalinference}/index.js +0 -0
- /package/lib/services/{aws-aps → aws-elementalinference}/mixins.d.ts +0 -0
- /package/lib/services/{aws-aps → aws-elementalinference}/mixins.js +0 -0
- /package/lib/services/{aws-aps → aws-rtbfabric}/index.d.ts +0 -0
- /package/lib/services/{aws-aps → aws-rtbfabric}/index.js +0 -0
- /package/lib/services/{aws-b2bi → aws-rtbfabric}/mixins.d.ts +0 -0
- /package/lib/services/{aws-b2bi → aws-rtbfabric}/mixins.js +0 -0
- /package/lib/services/{aws-backupgateway → aws-securityhub}/mixins.d.ts +0 -0
- /package/lib/services/{aws-backupgateway → aws-securityhub}/mixins.js +0 -0
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.CfnKnowledgeBaseApplicationLogsRecordFields = exports.CfnKnowledgeBaseApplicationLogsOutputFormat = exports.CfnKnowledgeBaseTracesRecordFields = exports.CfnKnowledgeBaseTracesOutputFormat = exports.CfnKnowledgeBaseLogsMixin = exports.CfnKnowledgeBaseApplicationLogs = exports.CfnKnowledgeBaseTraces = exports.CfnAgentAliasApplicationLogsRecordFields = exports.CfnAgentAliasApplicationLogsOutputFormat = exports.CfnAgentAliasEventLogsRecordFields = exports.CfnAgentAliasEventLogsOutputFormat = exports.CfnAgentAliasLogsMixin = exports.CfnAgentAliasApplicationLogs = exports.CfnAgentAliasEventLogs = void 0;
|
|
37
37
|
const jsiiDeprecationWarnings = require("../../../.warnings.jsii.js");
|
|
38
38
|
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
39
39
|
/* eslint-disable @stylistic/max-len, eol-last */
|
|
@@ -41,14 +41,14 @@ const cdk = __importStar(require("aws-cdk-lib/core"));
|
|
|
41
41
|
const logsDelivery = __importStar(require("../aws-logs/logs-delivery"));
|
|
42
42
|
const service = __importStar(require("aws-cdk-lib/aws-bedrock"));
|
|
43
43
|
/**
|
|
44
|
-
* Builder for
|
|
44
|
+
* Builder for CfnAgentAliasLogsMixin to generate EVENT_LOGS for CfnAgentAlias
|
|
45
45
|
*
|
|
46
|
-
* @cloudformationResource AWS::Bedrock::
|
|
47
|
-
* @logType
|
|
46
|
+
* @cloudformationResource AWS::Bedrock::AgentAlias
|
|
47
|
+
* @logType EVENT_LOGS
|
|
48
48
|
* @stability external
|
|
49
49
|
*/
|
|
50
|
-
class
|
|
51
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.
|
|
50
|
+
class CfnAgentAliasEventLogs {
|
|
51
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnAgentAliasEventLogs", version: "2.269.0-alpha.0" };
|
|
52
52
|
/**
|
|
53
53
|
* Send logs to an S3 Bucket
|
|
54
54
|
*
|
|
@@ -56,7 +56,7 @@ class CfnAgentApplicationLogs {
|
|
|
56
56
|
*/
|
|
57
57
|
toS3(bucket, props) {
|
|
58
58
|
try {
|
|
59
|
-
jsiiDeprecationWarnings.
|
|
59
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnAgentAliasEventLogsS3Props(props);
|
|
60
60
|
}
|
|
61
61
|
catch (error) {
|
|
62
62
|
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
@@ -65,12 +65,12 @@ class CfnAgentApplicationLogs {
|
|
|
65
65
|
throw error;
|
|
66
66
|
}
|
|
67
67
|
{
|
|
68
|
-
return new
|
|
68
|
+
return new CfnAgentAliasLogsMixin("EVENT_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
69
69
|
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V2,
|
|
70
70
|
kmsKey: props?.encryptionKey,
|
|
71
71
|
outputFormat: props?.outputFormat,
|
|
72
72
|
providedFields: props?.recordFields,
|
|
73
|
-
mandatoryFields:
|
|
73
|
+
mandatoryFields: ["timestamp", "resourceId", "traceId", "spanId", "sessionId", "requestId", "operation", "attributes", "body", "eventType", "eventVersion", "eventName", "level"]
|
|
74
74
|
}));
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -81,7 +81,7 @@ class CfnAgentApplicationLogs {
|
|
|
81
81
|
*/
|
|
82
82
|
toLogGroup(logGroup, props) {
|
|
83
83
|
try {
|
|
84
|
-
jsiiDeprecationWarnings.
|
|
84
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnAgentAliasEventLogsLogGroupProps(props);
|
|
85
85
|
}
|
|
86
86
|
catch (error) {
|
|
87
87
|
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
@@ -90,10 +90,10 @@ class CfnAgentApplicationLogs {
|
|
|
90
90
|
throw error;
|
|
91
91
|
}
|
|
92
92
|
{
|
|
93
|
-
return new
|
|
93
|
+
return new CfnAgentAliasLogsMixin("EVENT_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
94
94
|
outputFormat: props?.outputFormat,
|
|
95
95
|
providedFields: props?.recordFields,
|
|
96
|
-
mandatoryFields:
|
|
96
|
+
mandatoryFields: ["timestamp", "resourceId", "traceId", "spanId", "sessionId", "requestId", "operation", "attributes", "body", "eventType", "eventVersion", "eventName", "level"]
|
|
97
97
|
}));
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -104,7 +104,7 @@ class CfnAgentApplicationLogs {
|
|
|
104
104
|
*/
|
|
105
105
|
toFirehose(deliveryStream, props) {
|
|
106
106
|
try {
|
|
107
|
-
jsiiDeprecationWarnings.
|
|
107
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnAgentAliasEventLogsFirehoseProps(props);
|
|
108
108
|
}
|
|
109
109
|
catch (error) {
|
|
110
110
|
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
@@ -113,10 +113,10 @@ class CfnAgentApplicationLogs {
|
|
|
113
113
|
throw error;
|
|
114
114
|
}
|
|
115
115
|
{
|
|
116
|
-
return new
|
|
116
|
+
return new CfnAgentAliasLogsMixin("EVENT_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
|
|
117
117
|
outputFormat: props?.outputFormat,
|
|
118
118
|
providedFields: props?.recordFields,
|
|
119
|
-
mandatoryFields:
|
|
119
|
+
mandatoryFields: ["timestamp", "resourceId", "traceId", "spanId", "sessionId", "requestId", "operation", "attributes", "body", "eventType", "eventVersion", "eventName", "level"]
|
|
120
120
|
}));
|
|
121
121
|
}
|
|
122
122
|
}
|
|
@@ -131,7 +131,7 @@ class CfnAgentApplicationLogs {
|
|
|
131
131
|
*/
|
|
132
132
|
toDestination(destination, props) {
|
|
133
133
|
try {
|
|
134
|
-
jsiiDeprecationWarnings.
|
|
134
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnAgentAliasEventLogsDestProps(props);
|
|
135
135
|
}
|
|
136
136
|
catch (error) {
|
|
137
137
|
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
@@ -140,121 +140,23 @@ class CfnAgentApplicationLogs {
|
|
|
140
140
|
throw error;
|
|
141
141
|
}
|
|
142
142
|
{
|
|
143
|
-
return new
|
|
143
|
+
return new CfnAgentAliasLogsMixin("EVENT_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
144
144
|
providedFields: props?.recordFields,
|
|
145
|
-
mandatoryFields:
|
|
145
|
+
mandatoryFields: ["timestamp", "resourceId", "traceId", "spanId", "sessionId", "requestId", "operation", "attributes", "body", "eventType", "eventVersion", "eventName", "level"]
|
|
146
146
|
}));
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
exports.
|
|
151
|
-
/**
|
|
152
|
-
* Specifies an agent as a resource in a top-level template. Minimally, you must specify the following properties:.
|
|
153
|
-
*
|
|
154
|
-
* - AgentName – Specify a name for the agent.
|
|
155
|
-
* - AgentResourceRoleArn – Specify the Amazon Resource Name (ARN) of the service role with permissions to invoke API operations on the agent. For more information, see [Create a service role for Agents for Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-permissions.html) .
|
|
156
|
-
* - FoundationModel – Specify the model ID of a foundation model to use when invoking the agent. For more information, see [Supported regions and models for Agents for Amazon Bedrock](https://docs.aws.amazon.com//bedrock/latest/userguide/agents-supported.html) .
|
|
157
|
-
*
|
|
158
|
-
* For more information about using agents in Amazon Bedrock , see [Agents for Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/agents.html) .
|
|
159
|
-
*
|
|
160
|
-
* See the *Properties* section below for descriptions of both the required and optional properties.
|
|
161
|
-
*
|
|
162
|
-
* @cloudformationResource AWS::Bedrock::Agent
|
|
163
|
-
* @mixin true
|
|
164
|
-
* @stability external
|
|
165
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html
|
|
166
|
-
*/
|
|
167
|
-
class CfnAgentLogsMixin extends cdk.Mixin {
|
|
168
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnAgentLogsMixin", version: "2.267.0-alpha.0" };
|
|
169
|
-
static APPLICATION_LOGS = new CfnAgentApplicationLogs();
|
|
170
|
-
logType;
|
|
171
|
-
logDelivery;
|
|
172
|
-
/**
|
|
173
|
-
* Create a mixin to enable vended logs for `AWS::Bedrock::Agent`.
|
|
174
|
-
*
|
|
175
|
-
* @param logType Type of logs that are getting vended
|
|
176
|
-
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
177
|
-
*/
|
|
178
|
-
constructor(logType, logDelivery) {
|
|
179
|
-
super();
|
|
180
|
-
try {
|
|
181
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
|
|
182
|
-
}
|
|
183
|
-
catch (error) {
|
|
184
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
185
|
-
Error.captureStackTrace(error, CfnAgentLogsMixin);
|
|
186
|
-
}
|
|
187
|
-
throw error;
|
|
188
|
-
}
|
|
189
|
-
this.logType = logType;
|
|
190
|
-
this.logDelivery = logDelivery;
|
|
191
|
-
}
|
|
192
|
-
/**
|
|
193
|
-
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
194
|
-
*/
|
|
195
|
-
supports(construct) {
|
|
196
|
-
return (cdk.CfnResource.isCfnResource(construct) && service.CfnAgent.isCfnAgent(construct));
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Apply vended logs configuration to the construct
|
|
200
|
-
*/
|
|
201
|
-
applyTo(resource) {
|
|
202
|
-
if (!this.supports(resource)) {
|
|
203
|
-
return;
|
|
204
|
-
}
|
|
205
|
-
const sourceArn = service.CfnAgent.arnForAgent(resource);
|
|
206
|
-
this.logDelivery.bind(resource, this.logType, sourceArn);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
exports.CfnAgentLogsMixin = CfnAgentLogsMixin;
|
|
210
|
-
/**
|
|
211
|
-
* Output Format options for each destination of CfnAgentApplicationLogs.
|
|
212
|
-
*/
|
|
213
|
-
class CfnAgentApplicationLogsOutputFormat {
|
|
214
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnAgentApplicationLogsOutputFormat", version: "2.267.0-alpha.0" };
|
|
215
|
-
}
|
|
216
|
-
exports.CfnAgentApplicationLogsOutputFormat = CfnAgentApplicationLogsOutputFormat;
|
|
217
|
-
(function (CfnAgentApplicationLogsOutputFormat) {
|
|
218
|
-
let S3;
|
|
219
|
-
(function (S3) {
|
|
220
|
-
S3["JSON"] = "json";
|
|
221
|
-
S3["PLAIN"] = "plain";
|
|
222
|
-
S3["W3C"] = "w3c";
|
|
223
|
-
S3["PARQUET"] = "parquet";
|
|
224
|
-
})(S3 = CfnAgentApplicationLogsOutputFormat.S3 || (CfnAgentApplicationLogsOutputFormat.S3 = {}));
|
|
225
|
-
let LogGroup;
|
|
226
|
-
(function (LogGroup) {
|
|
227
|
-
LogGroup["PLAIN"] = "plain";
|
|
228
|
-
LogGroup["JSON"] = "json";
|
|
229
|
-
})(LogGroup = CfnAgentApplicationLogsOutputFormat.LogGroup || (CfnAgentApplicationLogsOutputFormat.LogGroup = {}));
|
|
230
|
-
let Firehose;
|
|
231
|
-
(function (Firehose) {
|
|
232
|
-
Firehose["JSON"] = "json";
|
|
233
|
-
Firehose["PLAIN"] = "plain";
|
|
234
|
-
Firehose["RAW"] = "raw";
|
|
235
|
-
})(Firehose = CfnAgentApplicationLogsOutputFormat.Firehose || (CfnAgentApplicationLogsOutputFormat.Firehose = {}));
|
|
236
|
-
})(CfnAgentApplicationLogsOutputFormat || (exports.CfnAgentApplicationLogsOutputFormat = CfnAgentApplicationLogsOutputFormat = {}));
|
|
237
|
-
var CfnAgentApplicationLogsRecordFields;
|
|
238
|
-
(function (CfnAgentApplicationLogsRecordFields) {
|
|
239
|
-
CfnAgentApplicationLogsRecordFields["AGENT_ALIAS_ARN"] = "agent_alias_arn";
|
|
240
|
-
CfnAgentApplicationLogsRecordFields["EVENT_TIMESTAMP"] = "event_timestamp";
|
|
241
|
-
CfnAgentApplicationLogsRecordFields["EVENT_VERSION"] = "event_version";
|
|
242
|
-
CfnAgentApplicationLogsRecordFields["OPERATION"] = "operation";
|
|
243
|
-
CfnAgentApplicationLogsRecordFields["EVENT_TYPE"] = "event_type";
|
|
244
|
-
CfnAgentApplicationLogsRecordFields["WORKFLOW"] = "workflow";
|
|
245
|
-
CfnAgentApplicationLogsRecordFields["LEVEL"] = "level";
|
|
246
|
-
CfnAgentApplicationLogsRecordFields["EVENT"] = "event";
|
|
247
|
-
CfnAgentApplicationLogsRecordFields["AGENT_ARN"] = "agent_arn";
|
|
248
|
-
})(CfnAgentApplicationLogsRecordFields || (exports.CfnAgentApplicationLogsRecordFields = CfnAgentApplicationLogsRecordFields = {}));
|
|
150
|
+
exports.CfnAgentAliasEventLogs = CfnAgentAliasEventLogs;
|
|
249
151
|
/**
|
|
250
|
-
* Builder for CfnAgentAliasLogsMixin to generate
|
|
152
|
+
* Builder for CfnAgentAliasLogsMixin to generate APPLICATION_LOGS for CfnAgentAlias
|
|
251
153
|
*
|
|
252
154
|
* @cloudformationResource AWS::Bedrock::AgentAlias
|
|
253
|
-
* @logType
|
|
155
|
+
* @logType APPLICATION_LOGS
|
|
254
156
|
* @stability external
|
|
255
157
|
*/
|
|
256
|
-
class
|
|
257
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.
|
|
158
|
+
class CfnAgentAliasApplicationLogs {
|
|
159
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnAgentAliasApplicationLogs", version: "2.269.0-alpha.0" };
|
|
258
160
|
/**
|
|
259
161
|
* Send logs to an S3 Bucket
|
|
260
162
|
*
|
|
@@ -262,7 +164,7 @@ class CfnAgentAliasEventLogs {
|
|
|
262
164
|
*/
|
|
263
165
|
toS3(bucket, props) {
|
|
264
166
|
try {
|
|
265
|
-
jsiiDeprecationWarnings.
|
|
167
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnAgentAliasApplicationLogsS3Props(props);
|
|
266
168
|
}
|
|
267
169
|
catch (error) {
|
|
268
170
|
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
@@ -271,12 +173,12 @@ class CfnAgentAliasEventLogs {
|
|
|
271
173
|
throw error;
|
|
272
174
|
}
|
|
273
175
|
{
|
|
274
|
-
return new CfnAgentAliasLogsMixin("
|
|
176
|
+
return new CfnAgentAliasLogsMixin("APPLICATION_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
275
177
|
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V2,
|
|
276
178
|
kmsKey: props?.encryptionKey,
|
|
277
179
|
outputFormat: props?.outputFormat,
|
|
278
180
|
providedFields: props?.recordFields,
|
|
279
|
-
mandatoryFields:
|
|
181
|
+
mandatoryFields: undefined
|
|
280
182
|
}));
|
|
281
183
|
}
|
|
282
184
|
}
|
|
@@ -287,7 +189,7 @@ class CfnAgentAliasEventLogs {
|
|
|
287
189
|
*/
|
|
288
190
|
toLogGroup(logGroup, props) {
|
|
289
191
|
try {
|
|
290
|
-
jsiiDeprecationWarnings.
|
|
192
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnAgentAliasApplicationLogsLogGroupProps(props);
|
|
291
193
|
}
|
|
292
194
|
catch (error) {
|
|
293
195
|
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
@@ -296,10 +198,10 @@ class CfnAgentAliasEventLogs {
|
|
|
296
198
|
throw error;
|
|
297
199
|
}
|
|
298
200
|
{
|
|
299
|
-
return new CfnAgentAliasLogsMixin("
|
|
201
|
+
return new CfnAgentAliasLogsMixin("APPLICATION_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
300
202
|
outputFormat: props?.outputFormat,
|
|
301
203
|
providedFields: props?.recordFields,
|
|
302
|
-
mandatoryFields:
|
|
204
|
+
mandatoryFields: undefined
|
|
303
205
|
}));
|
|
304
206
|
}
|
|
305
207
|
}
|
|
@@ -310,7 +212,7 @@ class CfnAgentAliasEventLogs {
|
|
|
310
212
|
*/
|
|
311
213
|
toFirehose(deliveryStream, props) {
|
|
312
214
|
try {
|
|
313
|
-
jsiiDeprecationWarnings.
|
|
215
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnAgentAliasApplicationLogsFirehoseProps(props);
|
|
314
216
|
}
|
|
315
217
|
catch (error) {
|
|
316
218
|
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
@@ -319,10 +221,10 @@ class CfnAgentAliasEventLogs {
|
|
|
319
221
|
throw error;
|
|
320
222
|
}
|
|
321
223
|
{
|
|
322
|
-
return new CfnAgentAliasLogsMixin("
|
|
224
|
+
return new CfnAgentAliasLogsMixin("APPLICATION_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
|
|
323
225
|
outputFormat: props?.outputFormat,
|
|
324
226
|
providedFields: props?.recordFields,
|
|
325
|
-
mandatoryFields:
|
|
227
|
+
mandatoryFields: undefined
|
|
326
228
|
}));
|
|
327
229
|
}
|
|
328
230
|
}
|
|
@@ -337,7 +239,7 @@ class CfnAgentAliasEventLogs {
|
|
|
337
239
|
*/
|
|
338
240
|
toDestination(destination, props) {
|
|
339
241
|
try {
|
|
340
|
-
jsiiDeprecationWarnings.
|
|
242
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnAgentAliasApplicationLogsDestProps(props);
|
|
341
243
|
}
|
|
342
244
|
catch (error) {
|
|
343
245
|
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
@@ -346,14 +248,14 @@ class CfnAgentAliasEventLogs {
|
|
|
346
248
|
throw error;
|
|
347
249
|
}
|
|
348
250
|
{
|
|
349
|
-
return new CfnAgentAliasLogsMixin("
|
|
251
|
+
return new CfnAgentAliasLogsMixin("APPLICATION_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
350
252
|
providedFields: props?.recordFields,
|
|
351
|
-
mandatoryFields:
|
|
253
|
+
mandatoryFields: undefined
|
|
352
254
|
}));
|
|
353
255
|
}
|
|
354
256
|
}
|
|
355
257
|
}
|
|
356
|
-
exports.
|
|
258
|
+
exports.CfnAgentAliasApplicationLogs = CfnAgentAliasApplicationLogs;
|
|
357
259
|
/**
|
|
358
260
|
* Specifies an agent alias as a resource in a top-level template. Minimally, you must specify the following properties:.
|
|
359
261
|
*
|
|
@@ -369,8 +271,9 @@ exports.CfnAgentAliasEventLogs = CfnAgentAliasEventLogs;
|
|
|
369
271
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agentalias.html
|
|
370
272
|
*/
|
|
371
273
|
class CfnAgentAliasLogsMixin extends cdk.Mixin {
|
|
372
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnAgentAliasLogsMixin", version: "2.
|
|
274
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnAgentAliasLogsMixin", version: "2.269.0-alpha.0" };
|
|
373
275
|
static EVENT_LOGS = new CfnAgentAliasEventLogs();
|
|
276
|
+
static APPLICATION_LOGS = new CfnAgentAliasApplicationLogs();
|
|
374
277
|
logType;
|
|
375
278
|
logDelivery;
|
|
376
279
|
/**
|
|
@@ -415,14 +318,14 @@ exports.CfnAgentAliasLogsMixin = CfnAgentAliasLogsMixin;
|
|
|
415
318
|
* Output Format options for each destination of CfnAgentAliasEventLogs.
|
|
416
319
|
*/
|
|
417
320
|
class CfnAgentAliasEventLogsOutputFormat {
|
|
418
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnAgentAliasEventLogsOutputFormat", version: "2.
|
|
321
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnAgentAliasEventLogsOutputFormat", version: "2.269.0-alpha.0" };
|
|
419
322
|
}
|
|
420
323
|
exports.CfnAgentAliasEventLogsOutputFormat = CfnAgentAliasEventLogsOutputFormat;
|
|
421
324
|
(function (CfnAgentAliasEventLogsOutputFormat) {
|
|
422
325
|
let S3;
|
|
423
326
|
(function (S3) {
|
|
424
|
-
S3["JSON"] = "json";
|
|
425
327
|
S3["PLAIN"] = "plain";
|
|
328
|
+
S3["JSON"] = "json";
|
|
426
329
|
S3["W3C"] = "w3c";
|
|
427
330
|
S3["PARQUET"] = "parquet";
|
|
428
331
|
})(S3 = CfnAgentAliasEventLogsOutputFormat.S3 || (CfnAgentAliasEventLogsOutputFormat.S3 = {}));
|
|
@@ -433,13 +336,14 @@ exports.CfnAgentAliasEventLogsOutputFormat = CfnAgentAliasEventLogsOutputFormat;
|
|
|
433
336
|
})(LogGroup = CfnAgentAliasEventLogsOutputFormat.LogGroup || (CfnAgentAliasEventLogsOutputFormat.LogGroup = {}));
|
|
434
337
|
let Firehose;
|
|
435
338
|
(function (Firehose) {
|
|
436
|
-
Firehose["JSON"] = "json";
|
|
437
339
|
Firehose["PLAIN"] = "plain";
|
|
340
|
+
Firehose["JSON"] = "json";
|
|
438
341
|
Firehose["RAW"] = "raw";
|
|
439
342
|
})(Firehose = CfnAgentAliasEventLogsOutputFormat.Firehose || (CfnAgentAliasEventLogsOutputFormat.Firehose = {}));
|
|
440
343
|
})(CfnAgentAliasEventLogsOutputFormat || (exports.CfnAgentAliasEventLogsOutputFormat = CfnAgentAliasEventLogsOutputFormat = {}));
|
|
441
344
|
var CfnAgentAliasEventLogsRecordFields;
|
|
442
345
|
(function (CfnAgentAliasEventLogsRecordFields) {
|
|
346
|
+
CfnAgentAliasEventLogsRecordFields["RESOURCE_ID"] = "resource_id";
|
|
443
347
|
CfnAgentAliasEventLogsRecordFields["TIMESTAMP"] = "timestamp";
|
|
444
348
|
CfnAgentAliasEventLogsRecordFields["RESOURCEID"] = "resourceId";
|
|
445
349
|
CfnAgentAliasEventLogsRecordFields["TRACEID"] = "traceId";
|
|
@@ -455,298 +359,83 @@ var CfnAgentAliasEventLogsRecordFields;
|
|
|
455
359
|
CfnAgentAliasEventLogsRecordFields["LEVEL"] = "level";
|
|
456
360
|
})(CfnAgentAliasEventLogsRecordFields || (exports.CfnAgentAliasEventLogsRecordFields = CfnAgentAliasEventLogsRecordFields = {}));
|
|
457
361
|
/**
|
|
458
|
-
*
|
|
459
|
-
*
|
|
460
|
-
* @cloudformationResource AWS::Bedrock::Flow
|
|
461
|
-
* @logType APPLICATION_LOGS
|
|
462
|
-
* @stability external
|
|
463
|
-
*/
|
|
464
|
-
class CfnFlowApplicationLogs {
|
|
465
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnFlowApplicationLogs", version: "2.267.0-alpha.0" };
|
|
466
|
-
/**
|
|
467
|
-
* Send logs to an S3 Bucket
|
|
468
|
-
*
|
|
469
|
-
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
470
|
-
*/
|
|
471
|
-
toS3(bucket, props) {
|
|
472
|
-
try {
|
|
473
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnFlowApplicationLogsS3Props(props);
|
|
474
|
-
}
|
|
475
|
-
catch (error) {
|
|
476
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
477
|
-
Error.captureStackTrace(error, this.toS3);
|
|
478
|
-
}
|
|
479
|
-
throw error;
|
|
480
|
-
}
|
|
481
|
-
{
|
|
482
|
-
return new CfnFlowLogsMixin("APPLICATION_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
483
|
-
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V2,
|
|
484
|
-
kmsKey: props?.encryptionKey,
|
|
485
|
-
outputFormat: props?.outputFormat,
|
|
486
|
-
providedFields: props?.recordFields,
|
|
487
|
-
mandatoryFields: undefined
|
|
488
|
-
}));
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
/**
|
|
492
|
-
* Send logs to a CloudWatch Log Group
|
|
493
|
-
*
|
|
494
|
-
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
495
|
-
*/
|
|
496
|
-
toLogGroup(logGroup, props) {
|
|
497
|
-
try {
|
|
498
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnFlowApplicationLogsLogGroupProps(props);
|
|
499
|
-
}
|
|
500
|
-
catch (error) {
|
|
501
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
502
|
-
Error.captureStackTrace(error, this.toLogGroup);
|
|
503
|
-
}
|
|
504
|
-
throw error;
|
|
505
|
-
}
|
|
506
|
-
{
|
|
507
|
-
return new CfnFlowLogsMixin("APPLICATION_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
508
|
-
outputFormat: props?.outputFormat,
|
|
509
|
-
providedFields: props?.recordFields,
|
|
510
|
-
mandatoryFields: undefined
|
|
511
|
-
}));
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
/**
|
|
515
|
-
* Send logs to a Firehose Delivery Stream
|
|
516
|
-
*
|
|
517
|
-
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
518
|
-
*/
|
|
519
|
-
toFirehose(deliveryStream, props) {
|
|
520
|
-
try {
|
|
521
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnFlowApplicationLogsFirehoseProps(props);
|
|
522
|
-
}
|
|
523
|
-
catch (error) {
|
|
524
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
525
|
-
Error.captureStackTrace(error, this.toFirehose);
|
|
526
|
-
}
|
|
527
|
-
throw error;
|
|
528
|
-
}
|
|
529
|
-
{
|
|
530
|
-
return new CfnFlowLogsMixin("APPLICATION_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
|
|
531
|
-
outputFormat: props?.outputFormat,
|
|
532
|
-
providedFields: props?.recordFields,
|
|
533
|
-
mandatoryFields: undefined
|
|
534
|
-
}));
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
/**
|
|
538
|
-
* Delivers logs to a pre-created delivery destination
|
|
539
|
-
*
|
|
540
|
-
* Supported destinations are S3, CWL, FH
|
|
541
|
-
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
542
|
-
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
543
|
-
*
|
|
544
|
-
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
545
|
-
*/
|
|
546
|
-
toDestination(destination, props) {
|
|
547
|
-
try {
|
|
548
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnFlowApplicationLogsDestProps(props);
|
|
549
|
-
}
|
|
550
|
-
catch (error) {
|
|
551
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
552
|
-
Error.captureStackTrace(error, this.toDestination);
|
|
553
|
-
}
|
|
554
|
-
throw error;
|
|
555
|
-
}
|
|
556
|
-
{
|
|
557
|
-
return new CfnFlowLogsMixin("APPLICATION_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
558
|
-
providedFields: props?.recordFields,
|
|
559
|
-
mandatoryFields: undefined
|
|
560
|
-
}));
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
exports.CfnFlowApplicationLogs = CfnFlowApplicationLogs;
|
|
565
|
-
/**
|
|
566
|
-
* Creates a prompt flow that you can use to send an input through various steps to yield an output.
|
|
567
|
-
*
|
|
568
|
-
* You define a flow by configuring nodes, each of which corresponds to a step of the flow, and creating connections between the nodes to create paths to different outputs. You can define the flow in one of the following ways:
|
|
569
|
-
*
|
|
570
|
-
* - Define a [FlowDefinition](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flowdefinition.html) in the `Definition` property.
|
|
571
|
-
* - Provide the definition in the `DefinitionString` property as a JSON-formatted string matching the [FlowDefinition](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flowdefinition.html) property.
|
|
572
|
-
* - Provide an Amazon S3 location in the `DefinitionS3Location` property that matches the [FlowDefinition](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flowdefinition.html) .
|
|
573
|
-
*
|
|
574
|
-
* If you use the `DefinitionString` or `DefinitionS3Location` property, you can use the `DefinitionSubstitutions` property to define key-value pairs to replace at runtime.
|
|
575
|
-
*
|
|
576
|
-
* For more information, see [How it works](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-how-it-works.html) and [Create a prompt flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-create.html) in the Amazon Bedrock User Guide.
|
|
577
|
-
*
|
|
578
|
-
* @cloudformationResource AWS::Bedrock::Flow
|
|
579
|
-
* @mixin true
|
|
580
|
-
* @stability external
|
|
581
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-flow.html
|
|
582
|
-
*/
|
|
583
|
-
class CfnFlowLogsMixin extends cdk.Mixin {
|
|
584
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnFlowLogsMixin", version: "2.267.0-alpha.0" };
|
|
585
|
-
static APPLICATION_LOGS = new CfnFlowApplicationLogs();
|
|
586
|
-
logType;
|
|
587
|
-
logDelivery;
|
|
588
|
-
/**
|
|
589
|
-
* Create a mixin to enable vended logs for `AWS::Bedrock::Flow`.
|
|
590
|
-
*
|
|
591
|
-
* @param logType Type of logs that are getting vended
|
|
592
|
-
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
593
|
-
*/
|
|
594
|
-
constructor(logType, logDelivery) {
|
|
595
|
-
super();
|
|
596
|
-
try {
|
|
597
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
|
|
598
|
-
}
|
|
599
|
-
catch (error) {
|
|
600
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
601
|
-
Error.captureStackTrace(error, CfnFlowLogsMixin);
|
|
602
|
-
}
|
|
603
|
-
throw error;
|
|
604
|
-
}
|
|
605
|
-
this.logType = logType;
|
|
606
|
-
this.logDelivery = logDelivery;
|
|
607
|
-
}
|
|
608
|
-
/**
|
|
609
|
-
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
610
|
-
*/
|
|
611
|
-
supports(construct) {
|
|
612
|
-
return (cdk.CfnResource.isCfnResource(construct) && service.CfnFlow.isCfnFlow(construct));
|
|
613
|
-
}
|
|
614
|
-
/**
|
|
615
|
-
* Apply vended logs configuration to the construct
|
|
616
|
-
*/
|
|
617
|
-
applyTo(resource) {
|
|
618
|
-
if (!this.supports(resource)) {
|
|
619
|
-
return;
|
|
620
|
-
}
|
|
621
|
-
const sourceArn = service.CfnFlow.arnForFlow(resource);
|
|
622
|
-
this.logDelivery.bind(resource, this.logType, sourceArn);
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
exports.CfnFlowLogsMixin = CfnFlowLogsMixin;
|
|
626
|
-
/**
|
|
627
|
-
* Output Format options for each destination of CfnFlowApplicationLogs.
|
|
362
|
+
* Output Format options for each destination of CfnAgentAliasApplicationLogs.
|
|
628
363
|
*/
|
|
629
|
-
class
|
|
630
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.
|
|
364
|
+
class CfnAgentAliasApplicationLogsOutputFormat {
|
|
365
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnAgentAliasApplicationLogsOutputFormat", version: "2.269.0-alpha.0" };
|
|
631
366
|
}
|
|
632
|
-
exports.
|
|
633
|
-
(function (
|
|
367
|
+
exports.CfnAgentAliasApplicationLogsOutputFormat = CfnAgentAliasApplicationLogsOutputFormat;
|
|
368
|
+
(function (CfnAgentAliasApplicationLogsOutputFormat) {
|
|
634
369
|
let S3;
|
|
635
370
|
(function (S3) {
|
|
636
|
-
S3["JSON"] = "json";
|
|
637
371
|
S3["PLAIN"] = "plain";
|
|
372
|
+
S3["JSON"] = "json";
|
|
638
373
|
S3["W3C"] = "w3c";
|
|
639
374
|
S3["PARQUET"] = "parquet";
|
|
640
|
-
})(S3 =
|
|
375
|
+
})(S3 = CfnAgentAliasApplicationLogsOutputFormat.S3 || (CfnAgentAliasApplicationLogsOutputFormat.S3 = {}));
|
|
641
376
|
let LogGroup;
|
|
642
377
|
(function (LogGroup) {
|
|
643
378
|
LogGroup["PLAIN"] = "plain";
|
|
644
379
|
LogGroup["JSON"] = "json";
|
|
645
|
-
})(LogGroup =
|
|
380
|
+
})(LogGroup = CfnAgentAliasApplicationLogsOutputFormat.LogGroup || (CfnAgentAliasApplicationLogsOutputFormat.LogGroup = {}));
|
|
646
381
|
let Firehose;
|
|
647
382
|
(function (Firehose) {
|
|
648
|
-
Firehose["JSON"] = "json";
|
|
649
383
|
Firehose["PLAIN"] = "plain";
|
|
384
|
+
Firehose["JSON"] = "json";
|
|
650
385
|
Firehose["RAW"] = "raw";
|
|
651
|
-
})(Firehose =
|
|
652
|
-
})(
|
|
653
|
-
var
|
|
654
|
-
(function (
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
386
|
+
})(Firehose = CfnAgentAliasApplicationLogsOutputFormat.Firehose || (CfnAgentAliasApplicationLogsOutputFormat.Firehose = {}));
|
|
387
|
+
})(CfnAgentAliasApplicationLogsOutputFormat || (exports.CfnAgentAliasApplicationLogsOutputFormat = CfnAgentAliasApplicationLogsOutputFormat = {}));
|
|
388
|
+
var CfnAgentAliasApplicationLogsRecordFields;
|
|
389
|
+
(function (CfnAgentAliasApplicationLogsRecordFields) {
|
|
390
|
+
CfnAgentAliasApplicationLogsRecordFields["TIMESTAMP"] = "timestamp";
|
|
391
|
+
CfnAgentAliasApplicationLogsRecordFields["AGENT_ALIAS_ARN"] = "agent_alias_arn";
|
|
392
|
+
CfnAgentAliasApplicationLogsRecordFields["RESOURCE_ID"] = "resource_id";
|
|
393
|
+
CfnAgentAliasApplicationLogsRecordFields["EVENT_TIMESTAMP"] = "event_timestamp";
|
|
394
|
+
CfnAgentAliasApplicationLogsRecordFields["EVENT_VERSION"] = "event_version";
|
|
395
|
+
CfnAgentAliasApplicationLogsRecordFields["OPERATION"] = "operation";
|
|
396
|
+
CfnAgentAliasApplicationLogsRecordFields["EVENT_TYPE"] = "event_type";
|
|
397
|
+
CfnAgentAliasApplicationLogsRecordFields["WORKFLOW"] = "workflow";
|
|
398
|
+
CfnAgentAliasApplicationLogsRecordFields["LEVEL"] = "level";
|
|
399
|
+
CfnAgentAliasApplicationLogsRecordFields["EVENT"] = "event";
|
|
400
|
+
CfnAgentAliasApplicationLogsRecordFields["AGENT_ID"] = "agent_id";
|
|
401
|
+
CfnAgentAliasApplicationLogsRecordFields["AGENT_ALIAS_ID"] = "agent_alias_id";
|
|
402
|
+
CfnAgentAliasApplicationLogsRecordFields["AGENT_ARN"] = "agent_arn";
|
|
403
|
+
})(CfnAgentAliasApplicationLogsRecordFields || (exports.CfnAgentAliasApplicationLogsRecordFields = CfnAgentAliasApplicationLogsRecordFields = {}));
|
|
666
404
|
/**
|
|
667
|
-
* Builder for CfnKnowledgeBaseLogsMixin to generate
|
|
405
|
+
* Builder for CfnKnowledgeBaseLogsMixin to generate TRACES for CfnKnowledgeBase
|
|
668
406
|
*
|
|
669
407
|
* @cloudformationResource AWS::Bedrock::KnowledgeBase
|
|
670
|
-
* @logType
|
|
408
|
+
* @logType TRACES
|
|
671
409
|
* @stability external
|
|
672
410
|
*/
|
|
673
|
-
class
|
|
674
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.
|
|
675
|
-
/**
|
|
676
|
-
* Send logs to an S3 Bucket
|
|
677
|
-
*
|
|
678
|
-
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
679
|
-
*/
|
|
680
|
-
toS3(bucket, props) {
|
|
681
|
-
try {
|
|
682
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnKnowledgeBaseApplicationLogsS3Props(props);
|
|
683
|
-
}
|
|
684
|
-
catch (error) {
|
|
685
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
686
|
-
Error.captureStackTrace(error, this.toS3);
|
|
687
|
-
}
|
|
688
|
-
throw error;
|
|
689
|
-
}
|
|
690
|
-
{
|
|
691
|
-
return new CfnKnowledgeBaseLogsMixin("APPLICATION_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
692
|
-
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V2,
|
|
693
|
-
kmsKey: props?.encryptionKey,
|
|
694
|
-
outputFormat: props?.outputFormat,
|
|
695
|
-
providedFields: props?.recordFields,
|
|
696
|
-
mandatoryFields: undefined
|
|
697
|
-
}));
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
/**
|
|
701
|
-
* Send logs to a CloudWatch Log Group
|
|
702
|
-
*
|
|
703
|
-
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
704
|
-
*/
|
|
705
|
-
toLogGroup(logGroup, props) {
|
|
706
|
-
try {
|
|
707
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnKnowledgeBaseApplicationLogsLogGroupProps(props);
|
|
708
|
-
}
|
|
709
|
-
catch (error) {
|
|
710
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
711
|
-
Error.captureStackTrace(error, this.toLogGroup);
|
|
712
|
-
}
|
|
713
|
-
throw error;
|
|
714
|
-
}
|
|
715
|
-
{
|
|
716
|
-
return new CfnKnowledgeBaseLogsMixin("APPLICATION_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
717
|
-
outputFormat: props?.outputFormat,
|
|
718
|
-
providedFields: props?.recordFields,
|
|
719
|
-
mandatoryFields: undefined
|
|
720
|
-
}));
|
|
721
|
-
}
|
|
722
|
-
}
|
|
411
|
+
class CfnKnowledgeBaseTraces {
|
|
412
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnKnowledgeBaseTraces", version: "2.269.0-alpha.0" };
|
|
723
413
|
/**
|
|
724
|
-
* Send
|
|
414
|
+
* Send traces to X-Ray
|
|
725
415
|
*
|
|
726
|
-
* @param props Additional properties that are optionally used in log delivery for
|
|
416
|
+
* @param props Additional properties that are optionally used in log delivery for XRay destinations
|
|
727
417
|
*/
|
|
728
|
-
|
|
418
|
+
toXRay(props) {
|
|
729
419
|
try {
|
|
730
|
-
jsiiDeprecationWarnings.
|
|
420
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnKnowledgeBaseTracesXRayProps(props);
|
|
731
421
|
}
|
|
732
422
|
catch (error) {
|
|
733
423
|
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
734
|
-
Error.captureStackTrace(error, this.
|
|
424
|
+
Error.captureStackTrace(error, this.toXRay);
|
|
735
425
|
}
|
|
736
426
|
throw error;
|
|
737
427
|
}
|
|
738
428
|
{
|
|
739
|
-
return new CfnKnowledgeBaseLogsMixin("
|
|
740
|
-
outputFormat: props?.outputFormat,
|
|
429
|
+
return new CfnKnowledgeBaseLogsMixin("TRACES", new logsDelivery.XRayLogsDelivery({
|
|
741
430
|
providedFields: props?.recordFields,
|
|
742
|
-
mandatoryFields:
|
|
431
|
+
mandatoryFields: ["trace"]
|
|
743
432
|
}));
|
|
744
433
|
}
|
|
745
434
|
}
|
|
746
435
|
/**
|
|
747
436
|
* Delivers logs to a pre-created delivery destination
|
|
748
437
|
*
|
|
749
|
-
* Supported destinations are
|
|
438
|
+
* Supported destinations are XRAY
|
|
750
439
|
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
751
440
|
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
752
441
|
*
|
|
@@ -754,7 +443,7 @@ class CfnKnowledgeBaseApplicationLogs {
|
|
|
754
443
|
*/
|
|
755
444
|
toDestination(destination, props) {
|
|
756
445
|
try {
|
|
757
|
-
jsiiDeprecationWarnings.
|
|
446
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnKnowledgeBaseTracesDestProps(props);
|
|
758
447
|
}
|
|
759
448
|
catch (error) {
|
|
760
449
|
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
@@ -763,23 +452,23 @@ class CfnKnowledgeBaseApplicationLogs {
|
|
|
763
452
|
throw error;
|
|
764
453
|
}
|
|
765
454
|
{
|
|
766
|
-
return new CfnKnowledgeBaseLogsMixin("
|
|
455
|
+
return new CfnKnowledgeBaseLogsMixin("TRACES", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
767
456
|
providedFields: props?.recordFields,
|
|
768
|
-
mandatoryFields:
|
|
457
|
+
mandatoryFields: ["trace"]
|
|
769
458
|
}));
|
|
770
459
|
}
|
|
771
460
|
}
|
|
772
461
|
}
|
|
773
|
-
exports.
|
|
462
|
+
exports.CfnKnowledgeBaseTraces = CfnKnowledgeBaseTraces;
|
|
774
463
|
/**
|
|
775
|
-
* Builder for CfnKnowledgeBaseLogsMixin to generate
|
|
464
|
+
* Builder for CfnKnowledgeBaseLogsMixin to generate APPLICATION_LOGS for CfnKnowledgeBase
|
|
776
465
|
*
|
|
777
466
|
* @cloudformationResource AWS::Bedrock::KnowledgeBase
|
|
778
|
-
* @logType
|
|
467
|
+
* @logType APPLICATION_LOGS
|
|
779
468
|
* @stability external
|
|
780
469
|
*/
|
|
781
|
-
class
|
|
782
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.
|
|
470
|
+
class CfnKnowledgeBaseApplicationLogs {
|
|
471
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnKnowledgeBaseApplicationLogs", version: "2.269.0-alpha.0" };
|
|
783
472
|
/**
|
|
784
473
|
* Send logs to an S3 Bucket
|
|
785
474
|
*
|
|
@@ -787,7 +476,7 @@ class CfnKnowledgeBaseRuntimeLogs {
|
|
|
787
476
|
*/
|
|
788
477
|
toS3(bucket, props) {
|
|
789
478
|
try {
|
|
790
|
-
jsiiDeprecationWarnings.
|
|
479
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnKnowledgeBaseApplicationLogsS3Props(props);
|
|
791
480
|
}
|
|
792
481
|
catch (error) {
|
|
793
482
|
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
@@ -796,7 +485,7 @@ class CfnKnowledgeBaseRuntimeLogs {
|
|
|
796
485
|
throw error;
|
|
797
486
|
}
|
|
798
487
|
{
|
|
799
|
-
return new CfnKnowledgeBaseLogsMixin("
|
|
488
|
+
return new CfnKnowledgeBaseLogsMixin("APPLICATION_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
800
489
|
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V2,
|
|
801
490
|
kmsKey: props?.encryptionKey,
|
|
802
491
|
outputFormat: props?.outputFormat,
|
|
@@ -812,7 +501,7 @@ class CfnKnowledgeBaseRuntimeLogs {
|
|
|
812
501
|
*/
|
|
813
502
|
toLogGroup(logGroup, props) {
|
|
814
503
|
try {
|
|
815
|
-
jsiiDeprecationWarnings.
|
|
504
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnKnowledgeBaseApplicationLogsLogGroupProps(props);
|
|
816
505
|
}
|
|
817
506
|
catch (error) {
|
|
818
507
|
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
@@ -821,7 +510,7 @@ class CfnKnowledgeBaseRuntimeLogs {
|
|
|
821
510
|
throw error;
|
|
822
511
|
}
|
|
823
512
|
{
|
|
824
|
-
return new CfnKnowledgeBaseLogsMixin("
|
|
513
|
+
return new CfnKnowledgeBaseLogsMixin("APPLICATION_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
825
514
|
outputFormat: props?.outputFormat,
|
|
826
515
|
providedFields: props?.recordFields,
|
|
827
516
|
mandatoryFields: undefined
|
|
@@ -835,7 +524,7 @@ class CfnKnowledgeBaseRuntimeLogs {
|
|
|
835
524
|
*/
|
|
836
525
|
toFirehose(deliveryStream, props) {
|
|
837
526
|
try {
|
|
838
|
-
jsiiDeprecationWarnings.
|
|
527
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnKnowledgeBaseApplicationLogsFirehoseProps(props);
|
|
839
528
|
}
|
|
840
529
|
catch (error) {
|
|
841
530
|
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
@@ -844,7 +533,7 @@ class CfnKnowledgeBaseRuntimeLogs {
|
|
|
844
533
|
throw error;
|
|
845
534
|
}
|
|
846
535
|
{
|
|
847
|
-
return new CfnKnowledgeBaseLogsMixin("
|
|
536
|
+
return new CfnKnowledgeBaseLogsMixin("APPLICATION_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
|
|
848
537
|
outputFormat: props?.outputFormat,
|
|
849
538
|
providedFields: props?.recordFields,
|
|
850
539
|
mandatoryFields: undefined
|
|
@@ -862,7 +551,7 @@ class CfnKnowledgeBaseRuntimeLogs {
|
|
|
862
551
|
*/
|
|
863
552
|
toDestination(destination, props) {
|
|
864
553
|
try {
|
|
865
|
-
jsiiDeprecationWarnings.
|
|
554
|
+
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnKnowledgeBaseApplicationLogsDestProps(props);
|
|
866
555
|
}
|
|
867
556
|
catch (error) {
|
|
868
557
|
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
@@ -871,73 +560,14 @@ class CfnKnowledgeBaseRuntimeLogs {
|
|
|
871
560
|
throw error;
|
|
872
561
|
}
|
|
873
562
|
{
|
|
874
|
-
return new CfnKnowledgeBaseLogsMixin("
|
|
563
|
+
return new CfnKnowledgeBaseLogsMixin("APPLICATION_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
875
564
|
providedFields: props?.recordFields,
|
|
876
565
|
mandatoryFields: undefined
|
|
877
566
|
}));
|
|
878
567
|
}
|
|
879
568
|
}
|
|
880
569
|
}
|
|
881
|
-
exports.
|
|
882
|
-
/**
|
|
883
|
-
* Builder for CfnKnowledgeBaseLogsMixin to generate TRACES for CfnKnowledgeBase
|
|
884
|
-
*
|
|
885
|
-
* @cloudformationResource AWS::Bedrock::KnowledgeBase
|
|
886
|
-
* @logType TRACES
|
|
887
|
-
* @stability external
|
|
888
|
-
*/
|
|
889
|
-
class CfnKnowledgeBaseTraces {
|
|
890
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnKnowledgeBaseTraces", version: "2.267.0-alpha.0" };
|
|
891
|
-
/**
|
|
892
|
-
* Send traces to X-Ray
|
|
893
|
-
*
|
|
894
|
-
* @param props Additional properties that are optionally used in log delivery for XRay destinations
|
|
895
|
-
*/
|
|
896
|
-
toXRay(props) {
|
|
897
|
-
try {
|
|
898
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnKnowledgeBaseTracesXRayProps(props);
|
|
899
|
-
}
|
|
900
|
-
catch (error) {
|
|
901
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
902
|
-
Error.captureStackTrace(error, this.toXRay);
|
|
903
|
-
}
|
|
904
|
-
throw error;
|
|
905
|
-
}
|
|
906
|
-
{
|
|
907
|
-
return new CfnKnowledgeBaseLogsMixin("TRACES", new logsDelivery.XRayLogsDelivery({
|
|
908
|
-
providedFields: props?.recordFields,
|
|
909
|
-
mandatoryFields: ["trace"]
|
|
910
|
-
}));
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
/**
|
|
914
|
-
* Delivers logs to a pre-created delivery destination
|
|
915
|
-
*
|
|
916
|
-
* Supported destinations are XRAY
|
|
917
|
-
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
918
|
-
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
919
|
-
*
|
|
920
|
-
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
921
|
-
*/
|
|
922
|
-
toDestination(destination, props) {
|
|
923
|
-
try {
|
|
924
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_bedrock_mixins_CfnKnowledgeBaseTracesDestProps(props);
|
|
925
|
-
}
|
|
926
|
-
catch (error) {
|
|
927
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
928
|
-
Error.captureStackTrace(error, this.toDestination);
|
|
929
|
-
}
|
|
930
|
-
throw error;
|
|
931
|
-
}
|
|
932
|
-
{
|
|
933
|
-
return new CfnKnowledgeBaseLogsMixin("TRACES", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
934
|
-
providedFields: props?.recordFields,
|
|
935
|
-
mandatoryFields: ["trace"]
|
|
936
|
-
}));
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
exports.CfnKnowledgeBaseTraces = CfnKnowledgeBaseTraces;
|
|
570
|
+
exports.CfnKnowledgeBaseApplicationLogs = CfnKnowledgeBaseApplicationLogs;
|
|
941
571
|
/**
|
|
942
572
|
* Specifies a knowledge base as a resource in a top-level template. Minimally, you must specify the following properties:.
|
|
943
573
|
*
|
|
@@ -962,10 +592,9 @@ exports.CfnKnowledgeBaseTraces = CfnKnowledgeBaseTraces;
|
|
|
962
592
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html
|
|
963
593
|
*/
|
|
964
594
|
class CfnKnowledgeBaseLogsMixin extends cdk.Mixin {
|
|
965
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnKnowledgeBaseLogsMixin", version: "2.
|
|
966
|
-
static APPLICATION_LOGS = new CfnKnowledgeBaseApplicationLogs();
|
|
967
|
-
static RUNTIME_LOGS = new CfnKnowledgeBaseRuntimeLogs();
|
|
595
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnKnowledgeBaseLogsMixin", version: "2.269.0-alpha.0" };
|
|
968
596
|
static TRACES = new CfnKnowledgeBaseTraces();
|
|
597
|
+
static APPLICATION_LOGS = new CfnKnowledgeBaseApplicationLogs();
|
|
969
598
|
logType;
|
|
970
599
|
logDelivery;
|
|
971
600
|
/**
|
|
@@ -1006,18 +635,31 @@ class CfnKnowledgeBaseLogsMixin extends cdk.Mixin {
|
|
|
1006
635
|
}
|
|
1007
636
|
}
|
|
1008
637
|
exports.CfnKnowledgeBaseLogsMixin = CfnKnowledgeBaseLogsMixin;
|
|
638
|
+
/**
|
|
639
|
+
* Output Format options for each destination of CfnKnowledgeBaseTraces.
|
|
640
|
+
*/
|
|
641
|
+
class CfnKnowledgeBaseTracesOutputFormat {
|
|
642
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnKnowledgeBaseTracesOutputFormat", version: "2.269.0-alpha.0" };
|
|
643
|
+
}
|
|
644
|
+
exports.CfnKnowledgeBaseTracesOutputFormat = CfnKnowledgeBaseTracesOutputFormat;
|
|
645
|
+
var CfnKnowledgeBaseTracesRecordFields;
|
|
646
|
+
(function (CfnKnowledgeBaseTracesRecordFields) {
|
|
647
|
+
CfnKnowledgeBaseTracesRecordFields["TIMESTAMP"] = "timestamp";
|
|
648
|
+
CfnKnowledgeBaseTracesRecordFields["RESOURCEARN"] = "resourceArn";
|
|
649
|
+
CfnKnowledgeBaseTracesRecordFields["TRACE"] = "trace";
|
|
650
|
+
})(CfnKnowledgeBaseTracesRecordFields || (exports.CfnKnowledgeBaseTracesRecordFields = CfnKnowledgeBaseTracesRecordFields = {}));
|
|
1009
651
|
/**
|
|
1010
652
|
* Output Format options for each destination of CfnKnowledgeBaseApplicationLogs.
|
|
1011
653
|
*/
|
|
1012
654
|
class CfnKnowledgeBaseApplicationLogsOutputFormat {
|
|
1013
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnKnowledgeBaseApplicationLogsOutputFormat", version: "2.
|
|
655
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnKnowledgeBaseApplicationLogsOutputFormat", version: "2.269.0-alpha.0" };
|
|
1014
656
|
}
|
|
1015
657
|
exports.CfnKnowledgeBaseApplicationLogsOutputFormat = CfnKnowledgeBaseApplicationLogsOutputFormat;
|
|
1016
658
|
(function (CfnKnowledgeBaseApplicationLogsOutputFormat) {
|
|
1017
659
|
let S3;
|
|
1018
660
|
(function (S3) {
|
|
1019
|
-
S3["JSON"] = "json";
|
|
1020
661
|
S3["PLAIN"] = "plain";
|
|
662
|
+
S3["JSON"] = "json";
|
|
1021
663
|
S3["W3C"] = "w3c";
|
|
1022
664
|
})(S3 = CfnKnowledgeBaseApplicationLogsOutputFormat.S3 || (CfnKnowledgeBaseApplicationLogsOutputFormat.S3 = {}));
|
|
1023
665
|
let LogGroup;
|
|
@@ -1027,61 +669,18 @@ exports.CfnKnowledgeBaseApplicationLogsOutputFormat = CfnKnowledgeBaseApplicatio
|
|
|
1027
669
|
})(LogGroup = CfnKnowledgeBaseApplicationLogsOutputFormat.LogGroup || (CfnKnowledgeBaseApplicationLogsOutputFormat.LogGroup = {}));
|
|
1028
670
|
let Firehose;
|
|
1029
671
|
(function (Firehose) {
|
|
1030
|
-
Firehose["JSON"] = "json";
|
|
1031
672
|
Firehose["PLAIN"] = "plain";
|
|
673
|
+
Firehose["JSON"] = "json";
|
|
1032
674
|
Firehose["RAW"] = "raw";
|
|
1033
675
|
})(Firehose = CfnKnowledgeBaseApplicationLogsOutputFormat.Firehose || (CfnKnowledgeBaseApplicationLogsOutputFormat.Firehose = {}));
|
|
1034
676
|
})(CfnKnowledgeBaseApplicationLogsOutputFormat || (exports.CfnKnowledgeBaseApplicationLogsOutputFormat = CfnKnowledgeBaseApplicationLogsOutputFormat = {}));
|
|
1035
677
|
var CfnKnowledgeBaseApplicationLogsRecordFields;
|
|
1036
678
|
(function (CfnKnowledgeBaseApplicationLogsRecordFields) {
|
|
679
|
+
CfnKnowledgeBaseApplicationLogsRecordFields["TIMESTAMP"] = "timestamp";
|
|
680
|
+
CfnKnowledgeBaseApplicationLogsRecordFields["RESOURCE_ID"] = "resource_id";
|
|
1037
681
|
CfnKnowledgeBaseApplicationLogsRecordFields["EVENT_TIMESTAMP"] = "event_timestamp";
|
|
1038
682
|
CfnKnowledgeBaseApplicationLogsRecordFields["EVENT"] = "event";
|
|
1039
683
|
CfnKnowledgeBaseApplicationLogsRecordFields["EVENT_VERSION"] = "event_version";
|
|
1040
684
|
CfnKnowledgeBaseApplicationLogsRecordFields["EVENT_TYPE"] = "event_type";
|
|
1041
685
|
CfnKnowledgeBaseApplicationLogsRecordFields["LEVEL"] = "level";
|
|
1042
686
|
})(CfnKnowledgeBaseApplicationLogsRecordFields || (exports.CfnKnowledgeBaseApplicationLogsRecordFields = CfnKnowledgeBaseApplicationLogsRecordFields = {}));
|
|
1043
|
-
/**
|
|
1044
|
-
* Output Format options for each destination of CfnKnowledgeBaseRuntimeLogs.
|
|
1045
|
-
*/
|
|
1046
|
-
class CfnKnowledgeBaseRuntimeLogsOutputFormat {
|
|
1047
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnKnowledgeBaseRuntimeLogsOutputFormat", version: "2.267.0-alpha.0" };
|
|
1048
|
-
}
|
|
1049
|
-
exports.CfnKnowledgeBaseRuntimeLogsOutputFormat = CfnKnowledgeBaseRuntimeLogsOutputFormat;
|
|
1050
|
-
(function (CfnKnowledgeBaseRuntimeLogsOutputFormat) {
|
|
1051
|
-
let S3;
|
|
1052
|
-
(function (S3) {
|
|
1053
|
-
S3["JSON"] = "json";
|
|
1054
|
-
S3["PLAIN"] = "plain";
|
|
1055
|
-
S3["W3C"] = "w3c";
|
|
1056
|
-
})(S3 = CfnKnowledgeBaseRuntimeLogsOutputFormat.S3 || (CfnKnowledgeBaseRuntimeLogsOutputFormat.S3 = {}));
|
|
1057
|
-
let LogGroup;
|
|
1058
|
-
(function (LogGroup) {
|
|
1059
|
-
LogGroup["PLAIN"] = "plain";
|
|
1060
|
-
LogGroup["JSON"] = "json";
|
|
1061
|
-
})(LogGroup = CfnKnowledgeBaseRuntimeLogsOutputFormat.LogGroup || (CfnKnowledgeBaseRuntimeLogsOutputFormat.LogGroup = {}));
|
|
1062
|
-
let Firehose;
|
|
1063
|
-
(function (Firehose) {
|
|
1064
|
-
Firehose["JSON"] = "json";
|
|
1065
|
-
Firehose["PLAIN"] = "plain";
|
|
1066
|
-
Firehose["RAW"] = "raw";
|
|
1067
|
-
})(Firehose = CfnKnowledgeBaseRuntimeLogsOutputFormat.Firehose || (CfnKnowledgeBaseRuntimeLogsOutputFormat.Firehose = {}));
|
|
1068
|
-
})(CfnKnowledgeBaseRuntimeLogsOutputFormat || (exports.CfnKnowledgeBaseRuntimeLogsOutputFormat = CfnKnowledgeBaseRuntimeLogsOutputFormat = {}));
|
|
1069
|
-
var CfnKnowledgeBaseRuntimeLogsRecordFields;
|
|
1070
|
-
(function (CfnKnowledgeBaseRuntimeLogsRecordFields) {
|
|
1071
|
-
CfnKnowledgeBaseRuntimeLogsRecordFields["EVENT_TIMESTAMP"] = "event_timestamp";
|
|
1072
|
-
CfnKnowledgeBaseRuntimeLogsRecordFields["EVENT"] = "event";
|
|
1073
|
-
CfnKnowledgeBaseRuntimeLogsRecordFields["EVENT_VERSION"] = "event_version";
|
|
1074
|
-
CfnKnowledgeBaseRuntimeLogsRecordFields["EVENT_TYPE"] = "event_type";
|
|
1075
|
-
CfnKnowledgeBaseRuntimeLogsRecordFields["LEVEL"] = "level";
|
|
1076
|
-
})(CfnKnowledgeBaseRuntimeLogsRecordFields || (exports.CfnKnowledgeBaseRuntimeLogsRecordFields = CfnKnowledgeBaseRuntimeLogsRecordFields = {}));
|
|
1077
|
-
/**
|
|
1078
|
-
* Output Format options for each destination of CfnKnowledgeBaseTraces.
|
|
1079
|
-
*/
|
|
1080
|
-
class CfnKnowledgeBaseTracesOutputFormat {
|
|
1081
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_bedrock.mixins.CfnKnowledgeBaseTracesOutputFormat", version: "2.267.0-alpha.0" };
|
|
1082
|
-
}
|
|
1083
|
-
exports.CfnKnowledgeBaseTracesOutputFormat = CfnKnowledgeBaseTracesOutputFormat;
|
|
1084
|
-
var CfnKnowledgeBaseTracesRecordFields;
|
|
1085
|
-
(function (CfnKnowledgeBaseTracesRecordFields) {
|
|
1086
|
-
CfnKnowledgeBaseTracesRecordFields["TRACE"] = "trace";
|
|
1087
|
-
})(CfnKnowledgeBaseTracesRecordFields || (exports.CfnKnowledgeBaseTracesRecordFields = CfnKnowledgeBaseTracesRecordFields = {}));
|