@aws-cdk/mixins-preview 2.267.0-alpha.0 → 2.268.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 +103 -220
- 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-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-backupgateway/mixins.js → aws-mgn/events.js} +1 -1
- package/lib/services/aws-mgn/index.d.ts +1 -0
- package/lib/services/{aws-aps → 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-cognito → aws-rtbfabric}/logs-delivery-mixins.generated.js +73 -49
- 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-cleanrooms → aws-translate}/index.js +2 -2
- package/lib/services/aws-voiceid/events.generated.js +9 -9
- package/lib/services/aws-wellarchitected/events.generated.js +1 -1
- package/lib/services/aws-wisdom/logs-delivery-mixins.generated.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 +4 -19
- package/lib/services/index.js +6 -21
- package/package.json +20 -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/index.d.ts +0 -1
- 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-backupgateway/mixins.d.ts +0 -1
- 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/logs-delivery-mixins.generated.d.ts +0 -116
- 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/logs-delivery-mixins.generated.js +0 -217
- 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-rtbfabric}/index.d.ts +0 -0
- /package/lib/services/{aws-apigateway → aws-rtbfabric}/index.js +0 -0
- /package/lib/services/{aws-aps → aws-rtbfabric}/mixins.d.ts +0 -0
- /package/lib/services/{aws-aps → aws-rtbfabric}/mixins.js +0 -0
- /package/lib/services/{aws-b2bi → aws-securityhub}/mixins.d.ts +0 -0
- /package/lib/services/{aws-b2bi → aws-securityhub}/mixins.js +0 -0
|
@@ -4,140 +4,29 @@ import * as constructs from "constructs";
|
|
|
4
4
|
import * as logsDelivery from "../aws-logs/logs-delivery";
|
|
5
5
|
import * as service from "aws-cdk-lib/aws-bedrockagentcore";
|
|
6
6
|
/**
|
|
7
|
-
* Builder for
|
|
7
|
+
* Builder for CfnBrowserCustomLogsMixin to generate TRACES for CfnBrowserCustom
|
|
8
8
|
*
|
|
9
|
-
* @cloudformationResource AWS::BedrockAgentCore::
|
|
10
|
-
* @logType
|
|
9
|
+
* @cloudformationResource AWS::BedrockAgentCore::BrowserCustom
|
|
10
|
+
* @logType TRACES
|
|
11
11
|
* @stability external
|
|
12
12
|
*/
|
|
13
|
-
export declare class
|
|
14
|
-
/**
|
|
15
|
-
* Send logs to an S3 Bucket
|
|
16
|
-
*
|
|
17
|
-
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
18
|
-
*/
|
|
19
|
-
toS3(bucket: interfaces.aws_s3.IBucketRef, props?: CfnBrowserUsageLogsS3Props): CfnBrowserLogsMixin;
|
|
20
|
-
/**
|
|
21
|
-
* Send logs to a CloudWatch Log Group
|
|
22
|
-
*
|
|
23
|
-
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
24
|
-
*/
|
|
25
|
-
toLogGroup(logGroup: interfaces.aws_logs.ILogGroupRef, props?: CfnBrowserUsageLogsLogGroupProps): CfnBrowserLogsMixin;
|
|
13
|
+
export declare class CfnBrowserCustomTraces {
|
|
26
14
|
/**
|
|
27
|
-
* Send
|
|
15
|
+
* Send traces to X-Ray
|
|
28
16
|
*
|
|
29
|
-
* @param props Additional properties that are optionally used in log delivery for
|
|
17
|
+
* @param props Additional properties that are optionally used in log delivery for XRay destinations
|
|
30
18
|
*/
|
|
31
|
-
|
|
19
|
+
toXRay(props?: CfnBrowserCustomTracesXRayProps): CfnBrowserCustomLogsMixin;
|
|
32
20
|
/**
|
|
33
21
|
* Delivers logs to a pre-created delivery destination
|
|
34
22
|
*
|
|
35
|
-
* Supported destinations are
|
|
23
|
+
* Supported destinations are XRAY
|
|
36
24
|
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
37
25
|
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
38
26
|
*
|
|
39
27
|
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
40
28
|
*/
|
|
41
|
-
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?:
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Definition of AWS::BedrockAgentCore::Browser Resource Type.
|
|
45
|
-
*
|
|
46
|
-
* This is a read-only resource representing the default service-managed browser.
|
|
47
|
-
*
|
|
48
|
-
* @cloudformationResource AWS::BedrockAgentCore::Browser
|
|
49
|
-
* @mixin true
|
|
50
|
-
* @stability external
|
|
51
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browser.html
|
|
52
|
-
*/
|
|
53
|
-
export declare class CfnBrowserLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
54
|
-
static readonly USAGE_LOGS: CfnBrowserUsageLogs;
|
|
55
|
-
protected readonly logType: string;
|
|
56
|
-
protected readonly logDelivery: logsDelivery.ILogsDelivery;
|
|
57
|
-
/**
|
|
58
|
-
* Create a mixin to enable vended logs for `AWS::BedrockAgentCore::Browser`.
|
|
59
|
-
*
|
|
60
|
-
* @param logType Type of logs that are getting vended
|
|
61
|
-
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
62
|
-
*/
|
|
63
|
-
constructor(logType: string, logDelivery: logsDelivery.ILogsDelivery);
|
|
64
|
-
/**
|
|
65
|
-
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
66
|
-
*/
|
|
67
|
-
supports(construct: constructs.IConstruct): construct is service.CfnBrowser;
|
|
68
|
-
/**
|
|
69
|
-
* Apply vended logs configuration to the construct
|
|
70
|
-
*/
|
|
71
|
-
applyTo(resource: constructs.IConstruct): void;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Output Format options for each destination of CfnBrowserUsageLogs.
|
|
75
|
-
*/
|
|
76
|
-
export declare class CfnBrowserUsageLogsOutputFormat {
|
|
77
|
-
}
|
|
78
|
-
export declare namespace CfnBrowserUsageLogsOutputFormat {
|
|
79
|
-
enum S3 {
|
|
80
|
-
JSON = "json",
|
|
81
|
-
PLAIN = "plain",
|
|
82
|
-
W3C = "w3c",
|
|
83
|
-
PARQUET = "parquet"
|
|
84
|
-
}
|
|
85
|
-
enum LogGroup {
|
|
86
|
-
PLAIN = "plain",
|
|
87
|
-
JSON = "json"
|
|
88
|
-
}
|
|
89
|
-
enum Firehose {
|
|
90
|
-
JSON = "json",
|
|
91
|
-
PLAIN = "plain",
|
|
92
|
-
RAW = "raw"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
export declare enum CfnBrowserUsageLogsRecordFields {
|
|
96
|
-
RESOURCE_ARN = "resource_arn",
|
|
97
|
-
EVENT_TIMESTAMP = "event_timestamp",
|
|
98
|
-
RESOURCE = "resource",
|
|
99
|
-
ATTRIBUTES = "attributes",
|
|
100
|
-
METRICS = "metrics"
|
|
101
|
-
}
|
|
102
|
-
export interface CfnBrowserUsageLogsS3Props {
|
|
103
|
-
/**
|
|
104
|
-
* Encrpytion key for your delivery bucket
|
|
105
|
-
*/
|
|
106
|
-
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
107
|
-
/**
|
|
108
|
-
* Format for log output, options are json,plain,w3c,parquet
|
|
109
|
-
*/
|
|
110
|
-
readonly outputFormat?: CfnBrowserUsageLogsOutputFormat.S3;
|
|
111
|
-
/**
|
|
112
|
-
* Record fields that can be provided to a log delivery
|
|
113
|
-
*/
|
|
114
|
-
readonly recordFields?: Array<CfnBrowserUsageLogsRecordFields>;
|
|
115
|
-
}
|
|
116
|
-
export interface CfnBrowserUsageLogsLogGroupProps {
|
|
117
|
-
/**
|
|
118
|
-
* Format for log output, options are plain,json
|
|
119
|
-
*/
|
|
120
|
-
readonly outputFormat?: CfnBrowserUsageLogsOutputFormat.LogGroup;
|
|
121
|
-
/**
|
|
122
|
-
* Record fields that can be provided to a log delivery
|
|
123
|
-
*/
|
|
124
|
-
readonly recordFields?: Array<CfnBrowserUsageLogsRecordFields>;
|
|
125
|
-
}
|
|
126
|
-
export interface CfnBrowserUsageLogsFirehoseProps {
|
|
127
|
-
/**
|
|
128
|
-
* Format for log output, options are json,plain,raw
|
|
129
|
-
*/
|
|
130
|
-
readonly outputFormat?: CfnBrowserUsageLogsOutputFormat.Firehose;
|
|
131
|
-
/**
|
|
132
|
-
* Record fields that can be provided to a log delivery
|
|
133
|
-
*/
|
|
134
|
-
readonly recordFields?: Array<CfnBrowserUsageLogsRecordFields>;
|
|
135
|
-
}
|
|
136
|
-
export interface CfnBrowserUsageLogsDestProps {
|
|
137
|
-
/**
|
|
138
|
-
* Record fields that can be provided to a log delivery
|
|
139
|
-
*/
|
|
140
|
-
readonly recordFields?: Array<CfnBrowserUsageLogsRecordFields>;
|
|
29
|
+
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnBrowserCustomTracesDestProps): CfnBrowserCustomLogsMixin;
|
|
141
30
|
}
|
|
142
31
|
/**
|
|
143
32
|
* Builder for CfnBrowserCustomLogsMixin to generate USAGE_LOGS for CfnBrowserCustom
|
|
@@ -189,6 +78,7 @@ export declare class CfnBrowserCustomUsageLogs {
|
|
|
189
78
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html
|
|
190
79
|
*/
|
|
191
80
|
export declare class CfnBrowserCustomLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
81
|
+
static readonly TRACES: CfnBrowserCustomTraces;
|
|
192
82
|
static readonly USAGE_LOGS: CfnBrowserCustomUsageLogs;
|
|
193
83
|
protected readonly logType: string;
|
|
194
84
|
protected readonly logDelivery: logsDelivery.ILogsDelivery;
|
|
@@ -208,6 +98,28 @@ export declare class CfnBrowserCustomLogsMixin extends cdk.Mixin implements cons
|
|
|
208
98
|
*/
|
|
209
99
|
applyTo(resource: constructs.IConstruct): void;
|
|
210
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* Output Format options for each destination of CfnBrowserCustomTraces.
|
|
103
|
+
*/
|
|
104
|
+
export declare class CfnBrowserCustomTracesOutputFormat {
|
|
105
|
+
}
|
|
106
|
+
export declare enum CfnBrowserCustomTracesRecordFields {
|
|
107
|
+
TIMESTAMP = "timestamp",
|
|
108
|
+
RESOURCEARN = "resourceArn",
|
|
109
|
+
TRACE = "trace"
|
|
110
|
+
}
|
|
111
|
+
export interface CfnBrowserCustomTracesXRayProps {
|
|
112
|
+
/**
|
|
113
|
+
* Record fields that can be provided to a log delivery
|
|
114
|
+
*/
|
|
115
|
+
readonly recordFields?: Array<CfnBrowserCustomTracesRecordFields>;
|
|
116
|
+
}
|
|
117
|
+
export interface CfnBrowserCustomTracesDestProps {
|
|
118
|
+
/**
|
|
119
|
+
* Record fields that can be provided to a log delivery
|
|
120
|
+
*/
|
|
121
|
+
readonly recordFields?: Array<CfnBrowserCustomTracesRecordFields>;
|
|
122
|
+
}
|
|
211
123
|
/**
|
|
212
124
|
* Output Format options for each destination of CfnBrowserCustomUsageLogs.
|
|
213
125
|
*/
|
|
@@ -215,8 +127,8 @@ export declare class CfnBrowserCustomUsageLogsOutputFormat {
|
|
|
215
127
|
}
|
|
216
128
|
export declare namespace CfnBrowserCustomUsageLogsOutputFormat {
|
|
217
129
|
enum S3 {
|
|
218
|
-
JSON = "json",
|
|
219
130
|
PLAIN = "plain",
|
|
131
|
+
JSON = "json",
|
|
220
132
|
W3C = "w3c",
|
|
221
133
|
PARQUET = "parquet"
|
|
222
134
|
}
|
|
@@ -225,12 +137,15 @@ export declare namespace CfnBrowserCustomUsageLogsOutputFormat {
|
|
|
225
137
|
JSON = "json"
|
|
226
138
|
}
|
|
227
139
|
enum Firehose {
|
|
228
|
-
JSON = "json",
|
|
229
140
|
PLAIN = "plain",
|
|
141
|
+
JSON = "json",
|
|
230
142
|
RAW = "raw"
|
|
231
143
|
}
|
|
232
144
|
}
|
|
233
145
|
export declare enum CfnBrowserCustomUsageLogsRecordFields {
|
|
146
|
+
TIMESTAMP = "timestamp",
|
|
147
|
+
BROWSER_ID = "browser_id",
|
|
148
|
+
INTERNAL_ACCOUNTID_BASED_ARN = "internal_accountid_based_arn",
|
|
234
149
|
RESOURCE_ARN = "resource_arn",
|
|
235
150
|
EVENT_TIMESTAMP = "event_timestamp",
|
|
236
151
|
RESOURCE = "resource",
|
|
@@ -243,7 +158,7 @@ export interface CfnBrowserCustomUsageLogsS3Props {
|
|
|
243
158
|
*/
|
|
244
159
|
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
245
160
|
/**
|
|
246
|
-
* Format for log output, options are json,
|
|
161
|
+
* Format for log output, options are plain,json,w3c,parquet
|
|
247
162
|
*/
|
|
248
163
|
readonly outputFormat?: CfnBrowserCustomUsageLogsOutputFormat.S3;
|
|
249
164
|
/**
|
|
@@ -263,7 +178,7 @@ export interface CfnBrowserCustomUsageLogsLogGroupProps {
|
|
|
263
178
|
}
|
|
264
179
|
export interface CfnBrowserCustomUsageLogsFirehoseProps {
|
|
265
180
|
/**
|
|
266
|
-
* Format for log output, options are json,
|
|
181
|
+
* Format for log output, options are plain,json,raw
|
|
267
182
|
*/
|
|
268
183
|
readonly outputFormat?: CfnBrowserCustomUsageLogsOutputFormat.Firehose;
|
|
269
184
|
/**
|
|
@@ -278,261 +193,29 @@ export interface CfnBrowserCustomUsageLogsDestProps {
|
|
|
278
193
|
readonly recordFields?: Array<CfnBrowserCustomUsageLogsRecordFields>;
|
|
279
194
|
}
|
|
280
195
|
/**
|
|
281
|
-
* Builder for
|
|
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
|
|
196
|
+
* Builder for CfnCodeInterpreterCustomLogsMixin to generate TRACES for CfnCodeInterpreterCustom
|
|
319
197
|
*
|
|
320
|
-
* @cloudformationResource AWS::BedrockAgentCore::
|
|
321
|
-
* @logType
|
|
198
|
+
* @cloudformationResource AWS::BedrockAgentCore::CodeInterpreterCustom
|
|
199
|
+
* @logType TRACES
|
|
322
200
|
* @stability external
|
|
323
201
|
*/
|
|
324
|
-
export declare class
|
|
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;
|
|
202
|
+
export declare class CfnCodeInterpreterCustomTraces {
|
|
331
203
|
/**
|
|
332
|
-
* Send
|
|
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
|
|
204
|
+
* Send traces to X-Ray
|
|
339
205
|
*
|
|
340
|
-
* @param props Additional properties that are optionally used in log delivery for
|
|
206
|
+
* @param props Additional properties that are optionally used in log delivery for XRay destinations
|
|
341
207
|
*/
|
|
342
|
-
|
|
208
|
+
toXRay(props?: CfnCodeInterpreterCustomTracesXRayProps): CfnCodeInterpreterCustomLogsMixin;
|
|
343
209
|
/**
|
|
344
210
|
* Delivers logs to a pre-created delivery destination
|
|
345
211
|
*
|
|
346
|
-
* Supported destinations are
|
|
212
|
+
* Supported destinations are XRAY
|
|
347
213
|
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
348
214
|
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
349
215
|
*
|
|
350
216
|
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
351
217
|
*/
|
|
352
|
-
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?:
|
|
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>;
|
|
218
|
+
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnCodeInterpreterCustomTracesDestProps): CfnCodeInterpreterCustomLogsMixin;
|
|
536
219
|
}
|
|
537
220
|
/**
|
|
538
221
|
* Builder for CfnCodeInterpreterCustomLogsMixin to generate APPLICATION_LOGS for CfnCodeInterpreterCustom
|
|
@@ -623,6 +306,7 @@ export declare class CfnCodeInterpreterCustomUsageLogs {
|
|
|
623
306
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html
|
|
624
307
|
*/
|
|
625
308
|
export declare class CfnCodeInterpreterCustomLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
309
|
+
static readonly TRACES: CfnCodeInterpreterCustomTraces;
|
|
626
310
|
static readonly APPLICATION_LOGS: CfnCodeInterpreterCustomApplicationLogs;
|
|
627
311
|
static readonly USAGE_LOGS: CfnCodeInterpreterCustomUsageLogs;
|
|
628
312
|
protected readonly logType: string;
|
|
@@ -643,6 +327,28 @@ export declare class CfnCodeInterpreterCustomLogsMixin extends cdk.Mixin impleme
|
|
|
643
327
|
*/
|
|
644
328
|
applyTo(resource: constructs.IConstruct): void;
|
|
645
329
|
}
|
|
330
|
+
/**
|
|
331
|
+
* Output Format options for each destination of CfnCodeInterpreterCustomTraces.
|
|
332
|
+
*/
|
|
333
|
+
export declare class CfnCodeInterpreterCustomTracesOutputFormat {
|
|
334
|
+
}
|
|
335
|
+
export declare enum CfnCodeInterpreterCustomTracesRecordFields {
|
|
336
|
+
TIMESTAMP = "timestamp",
|
|
337
|
+
RESOURCEARN = "resourceArn",
|
|
338
|
+
TRACE = "trace"
|
|
339
|
+
}
|
|
340
|
+
export interface CfnCodeInterpreterCustomTracesXRayProps {
|
|
341
|
+
/**
|
|
342
|
+
* Record fields that can be provided to a log delivery
|
|
343
|
+
*/
|
|
344
|
+
readonly recordFields?: Array<CfnCodeInterpreterCustomTracesRecordFields>;
|
|
345
|
+
}
|
|
346
|
+
export interface CfnCodeInterpreterCustomTracesDestProps {
|
|
347
|
+
/**
|
|
348
|
+
* Record fields that can be provided to a log delivery
|
|
349
|
+
*/
|
|
350
|
+
readonly recordFields?: Array<CfnCodeInterpreterCustomTracesRecordFields>;
|
|
351
|
+
}
|
|
646
352
|
/**
|
|
647
353
|
* Output Format options for each destination of CfnCodeInterpreterCustomApplicationLogs.
|
|
648
354
|
*/
|
|
@@ -650,8 +356,8 @@ export declare class CfnCodeInterpreterCustomApplicationLogsOutputFormat {
|
|
|
650
356
|
}
|
|
651
357
|
export declare namespace CfnCodeInterpreterCustomApplicationLogsOutputFormat {
|
|
652
358
|
enum S3 {
|
|
653
|
-
JSON = "json",
|
|
654
359
|
PLAIN = "plain",
|
|
360
|
+
JSON = "json",
|
|
655
361
|
W3C = "w3c",
|
|
656
362
|
PARQUET = "parquet"
|
|
657
363
|
}
|
|
@@ -660,12 +366,15 @@ export declare namespace CfnCodeInterpreterCustomApplicationLogsOutputFormat {
|
|
|
660
366
|
JSON = "json"
|
|
661
367
|
}
|
|
662
368
|
enum Firehose {
|
|
663
|
-
JSON = "json",
|
|
664
369
|
PLAIN = "plain",
|
|
370
|
+
JSON = "json",
|
|
665
371
|
RAW = "raw"
|
|
666
372
|
}
|
|
667
373
|
}
|
|
668
374
|
export declare enum CfnCodeInterpreterCustomApplicationLogsRecordFields {
|
|
375
|
+
TIMESTAMP = "timestamp",
|
|
376
|
+
TOOL_ID = "tool_id",
|
|
377
|
+
INTERNAL_ACCOUNTID_BASED_ARN = "internal_accountid_based_arn",
|
|
669
378
|
ACCOUNT_ID = "account_id",
|
|
670
379
|
REQUEST_ID = "request_id",
|
|
671
380
|
TOOL_SESSION_ID = "tool_session_id",
|
|
@@ -692,7 +401,7 @@ export interface CfnCodeInterpreterCustomApplicationLogsS3Props {
|
|
|
692
401
|
*/
|
|
693
402
|
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
694
403
|
/**
|
|
695
|
-
* Format for log output, options are json,
|
|
404
|
+
* Format for log output, options are plain,json,w3c,parquet
|
|
696
405
|
*/
|
|
697
406
|
readonly outputFormat?: CfnCodeInterpreterCustomApplicationLogsOutputFormat.S3;
|
|
698
407
|
/**
|
|
@@ -712,7 +421,7 @@ export interface CfnCodeInterpreterCustomApplicationLogsLogGroupProps {
|
|
|
712
421
|
}
|
|
713
422
|
export interface CfnCodeInterpreterCustomApplicationLogsFirehoseProps {
|
|
714
423
|
/**
|
|
715
|
-
* Format for log output, options are json,
|
|
424
|
+
* Format for log output, options are plain,json,raw
|
|
716
425
|
*/
|
|
717
426
|
readonly outputFormat?: CfnCodeInterpreterCustomApplicationLogsOutputFormat.Firehose;
|
|
718
427
|
/**
|
|
@@ -733,8 +442,8 @@ export declare class CfnCodeInterpreterCustomUsageLogsOutputFormat {
|
|
|
733
442
|
}
|
|
734
443
|
export declare namespace CfnCodeInterpreterCustomUsageLogsOutputFormat {
|
|
735
444
|
enum S3 {
|
|
736
|
-
JSON = "json",
|
|
737
445
|
PLAIN = "plain",
|
|
446
|
+
JSON = "json",
|
|
738
447
|
W3C = "w3c",
|
|
739
448
|
PARQUET = "parquet"
|
|
740
449
|
}
|
|
@@ -743,12 +452,15 @@ export declare namespace CfnCodeInterpreterCustomUsageLogsOutputFormat {
|
|
|
743
452
|
JSON = "json"
|
|
744
453
|
}
|
|
745
454
|
enum Firehose {
|
|
746
|
-
JSON = "json",
|
|
747
455
|
PLAIN = "plain",
|
|
456
|
+
JSON = "json",
|
|
748
457
|
RAW = "raw"
|
|
749
458
|
}
|
|
750
459
|
}
|
|
751
460
|
export declare enum CfnCodeInterpreterCustomUsageLogsRecordFields {
|
|
461
|
+
TIMESTAMP = "timestamp",
|
|
462
|
+
CODEINTERPRETER_ID = "codeinterpreter_id",
|
|
463
|
+
INTERNAL_ACCOUNTID_BASED_ARN = "internal_accountid_based_arn",
|
|
752
464
|
RESOURCE_ARN = "resource_arn",
|
|
753
465
|
EVENT_TIMESTAMP = "event_timestamp",
|
|
754
466
|
RESOURCE = "resource",
|
|
@@ -761,7 +473,7 @@ export interface CfnCodeInterpreterCustomUsageLogsS3Props {
|
|
|
761
473
|
*/
|
|
762
474
|
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
763
475
|
/**
|
|
764
|
-
* Format for log output, options are json,
|
|
476
|
+
* Format for log output, options are plain,json,w3c,parquet
|
|
765
477
|
*/
|
|
766
478
|
readonly outputFormat?: CfnCodeInterpreterCustomUsageLogsOutputFormat.S3;
|
|
767
479
|
/**
|
|
@@ -781,7 +493,7 @@ export interface CfnCodeInterpreterCustomUsageLogsLogGroupProps {
|
|
|
781
493
|
}
|
|
782
494
|
export interface CfnCodeInterpreterCustomUsageLogsFirehoseProps {
|
|
783
495
|
/**
|
|
784
|
-
* Format for log output, options are json,
|
|
496
|
+
* Format for log output, options are plain,json,raw
|
|
785
497
|
*/
|
|
786
498
|
readonly outputFormat?: CfnCodeInterpreterCustomUsageLogsOutputFormat.Firehose;
|
|
787
499
|
/**
|
|
@@ -795,6 +507,31 @@ export interface CfnCodeInterpreterCustomUsageLogsDestProps {
|
|
|
795
507
|
*/
|
|
796
508
|
readonly recordFields?: Array<CfnCodeInterpreterCustomUsageLogsRecordFields>;
|
|
797
509
|
}
|
|
510
|
+
/**
|
|
511
|
+
* Builder for CfnGatewayLogsMixin to generate TRACES for CfnGateway
|
|
512
|
+
*
|
|
513
|
+
* @cloudformationResource AWS::BedrockAgentCore::Gateway
|
|
514
|
+
* @logType TRACES
|
|
515
|
+
* @stability external
|
|
516
|
+
*/
|
|
517
|
+
export declare class CfnGatewayTraces {
|
|
518
|
+
/**
|
|
519
|
+
* Send traces to X-Ray
|
|
520
|
+
*
|
|
521
|
+
* @param props Additional properties that are optionally used in log delivery for XRay destinations
|
|
522
|
+
*/
|
|
523
|
+
toXRay(props?: CfnGatewayTracesXRayProps): CfnGatewayLogsMixin;
|
|
524
|
+
/**
|
|
525
|
+
* Delivers logs to a pre-created delivery destination
|
|
526
|
+
*
|
|
527
|
+
* Supported destinations are XRAY
|
|
528
|
+
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
529
|
+
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
530
|
+
*
|
|
531
|
+
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
532
|
+
*/
|
|
533
|
+
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnGatewayTracesDestProps): CfnGatewayLogsMixin;
|
|
534
|
+
}
|
|
798
535
|
/**
|
|
799
536
|
* Builder for CfnGatewayLogsMixin to generate APPLICATION_LOGS for CfnGateway
|
|
800
537
|
*
|
|
@@ -832,31 +569,6 @@ export declare class CfnGatewayApplicationLogs {
|
|
|
832
569
|
*/
|
|
833
570
|
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnGatewayApplicationLogsDestProps): CfnGatewayLogsMixin;
|
|
834
571
|
}
|
|
835
|
-
/**
|
|
836
|
-
* Builder for CfnGatewayLogsMixin to generate TRACES for CfnGateway
|
|
837
|
-
*
|
|
838
|
-
* @cloudformationResource AWS::BedrockAgentCore::Gateway
|
|
839
|
-
* @logType TRACES
|
|
840
|
-
* @stability external
|
|
841
|
-
*/
|
|
842
|
-
export declare class CfnGatewayTraces {
|
|
843
|
-
/**
|
|
844
|
-
* Send traces to X-Ray
|
|
845
|
-
*
|
|
846
|
-
* @param props Additional properties that are optionally used in log delivery for XRay destinations
|
|
847
|
-
*/
|
|
848
|
-
toXRay(props?: CfnGatewayTracesXRayProps): CfnGatewayLogsMixin;
|
|
849
|
-
/**
|
|
850
|
-
* Delivers logs to a pre-created delivery destination
|
|
851
|
-
*
|
|
852
|
-
* Supported destinations are XRAY
|
|
853
|
-
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
854
|
-
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
855
|
-
*
|
|
856
|
-
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
857
|
-
*/
|
|
858
|
-
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnGatewayTracesDestProps): CfnGatewayLogsMixin;
|
|
859
|
-
}
|
|
860
572
|
/**
|
|
861
573
|
* Amazon Bedrock AgentCore Gateway provides a unified connectivity layer between agents and the tools and resources they need to interact with.
|
|
862
574
|
*
|
|
@@ -870,8 +582,8 @@ export declare class CfnGatewayTraces {
|
|
|
870
582
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html
|
|
871
583
|
*/
|
|
872
584
|
export declare class CfnGatewayLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
873
|
-
static readonly APPLICATION_LOGS: CfnGatewayApplicationLogs;
|
|
874
585
|
static readonly TRACES: CfnGatewayTraces;
|
|
586
|
+
static readonly APPLICATION_LOGS: CfnGatewayApplicationLogs;
|
|
875
587
|
protected readonly logType: string;
|
|
876
588
|
protected readonly logDelivery: logsDelivery.ILogsDelivery;
|
|
877
589
|
/**
|
|
@@ -890,6 +602,28 @@ export declare class CfnGatewayLogsMixin extends cdk.Mixin implements constructs
|
|
|
890
602
|
*/
|
|
891
603
|
applyTo(resource: constructs.IConstruct): void;
|
|
892
604
|
}
|
|
605
|
+
/**
|
|
606
|
+
* Output Format options for each destination of CfnGatewayTraces.
|
|
607
|
+
*/
|
|
608
|
+
export declare class CfnGatewayTracesOutputFormat {
|
|
609
|
+
}
|
|
610
|
+
export declare enum CfnGatewayTracesRecordFields {
|
|
611
|
+
TIMESTAMP = "timestamp",
|
|
612
|
+
RESOURCEARN = "resourceArn",
|
|
613
|
+
TRACE = "trace"
|
|
614
|
+
}
|
|
615
|
+
export interface CfnGatewayTracesXRayProps {
|
|
616
|
+
/**
|
|
617
|
+
* Record fields that can be provided to a log delivery
|
|
618
|
+
*/
|
|
619
|
+
readonly recordFields?: Array<CfnGatewayTracesRecordFields>;
|
|
620
|
+
}
|
|
621
|
+
export interface CfnGatewayTracesDestProps {
|
|
622
|
+
/**
|
|
623
|
+
* Record fields that can be provided to a log delivery
|
|
624
|
+
*/
|
|
625
|
+
readonly recordFields?: Array<CfnGatewayTracesRecordFields>;
|
|
626
|
+
}
|
|
893
627
|
/**
|
|
894
628
|
* Output Format options for each destination of CfnGatewayApplicationLogs.
|
|
895
629
|
*/
|
|
@@ -897,8 +631,8 @@ export declare class CfnGatewayApplicationLogsOutputFormat {
|
|
|
897
631
|
}
|
|
898
632
|
export declare namespace CfnGatewayApplicationLogsOutputFormat {
|
|
899
633
|
enum S3 {
|
|
900
|
-
JSON = "json",
|
|
901
634
|
PLAIN = "plain",
|
|
635
|
+
JSON = "json",
|
|
902
636
|
W3C = "w3c",
|
|
903
637
|
PARQUET = "parquet"
|
|
904
638
|
}
|
|
@@ -907,12 +641,14 @@ export declare namespace CfnGatewayApplicationLogsOutputFormat {
|
|
|
907
641
|
JSON = "json"
|
|
908
642
|
}
|
|
909
643
|
enum Firehose {
|
|
910
|
-
JSON = "json",
|
|
911
644
|
PLAIN = "plain",
|
|
645
|
+
JSON = "json",
|
|
912
646
|
RAW = "raw"
|
|
913
647
|
}
|
|
914
648
|
}
|
|
915
649
|
export declare enum CfnGatewayApplicationLogsRecordFields {
|
|
650
|
+
TIMESTAMP = "timestamp",
|
|
651
|
+
GATEWAY_ID = "gateway_id",
|
|
916
652
|
BODY = "body",
|
|
917
653
|
ACCOUNT_ID = "account_id",
|
|
918
654
|
REQUEST_ID = "request_id",
|
|
@@ -934,7 +670,7 @@ export interface CfnGatewayApplicationLogsS3Props {
|
|
|
934
670
|
*/
|
|
935
671
|
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
936
672
|
/**
|
|
937
|
-
* Format for log output, options are json,
|
|
673
|
+
* Format for log output, options are plain,json,w3c,parquet
|
|
938
674
|
*/
|
|
939
675
|
readonly outputFormat?: CfnGatewayApplicationLogsOutputFormat.S3;
|
|
940
676
|
/**
|
|
@@ -954,7 +690,7 @@ export interface CfnGatewayApplicationLogsLogGroupProps {
|
|
|
954
690
|
}
|
|
955
691
|
export interface CfnGatewayApplicationLogsFirehoseProps {
|
|
956
692
|
/**
|
|
957
|
-
* Format for log output, options are json,
|
|
693
|
+
* Format for log output, options are plain,json,raw
|
|
958
694
|
*/
|
|
959
695
|
readonly outputFormat?: CfnGatewayApplicationLogsOutputFormat.Firehose;
|
|
960
696
|
/**
|
|
@@ -969,24 +705,29 @@ export interface CfnGatewayApplicationLogsDestProps {
|
|
|
969
705
|
readonly recordFields?: Array<CfnGatewayApplicationLogsRecordFields>;
|
|
970
706
|
}
|
|
971
707
|
/**
|
|
972
|
-
*
|
|
708
|
+
* Builder for CfnMemoryLogsMixin to generate TRACES for CfnMemory
|
|
709
|
+
*
|
|
710
|
+
* @cloudformationResource AWS::BedrockAgentCore::Memory
|
|
711
|
+
* @logType TRACES
|
|
712
|
+
* @stability external
|
|
973
713
|
*/
|
|
974
|
-
export declare class
|
|
975
|
-
}
|
|
976
|
-
export declare enum CfnGatewayTracesRecordFields {
|
|
977
|
-
TRACE = "trace"
|
|
978
|
-
}
|
|
979
|
-
export interface CfnGatewayTracesXRayProps {
|
|
714
|
+
export declare class CfnMemoryTraces {
|
|
980
715
|
/**
|
|
981
|
-
*
|
|
716
|
+
* Send traces to X-Ray
|
|
717
|
+
*
|
|
718
|
+
* @param props Additional properties that are optionally used in log delivery for XRay destinations
|
|
982
719
|
*/
|
|
983
|
-
|
|
984
|
-
}
|
|
985
|
-
export interface CfnGatewayTracesDestProps {
|
|
720
|
+
toXRay(props?: CfnMemoryTracesXRayProps): CfnMemoryLogsMixin;
|
|
986
721
|
/**
|
|
987
|
-
*
|
|
722
|
+
* Delivers logs to a pre-created delivery destination
|
|
723
|
+
*
|
|
724
|
+
* Supported destinations are XRAY
|
|
725
|
+
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
726
|
+
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
727
|
+
*
|
|
728
|
+
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
988
729
|
*/
|
|
989
|
-
|
|
730
|
+
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnMemoryTracesDestProps): CfnMemoryLogsMixin;
|
|
990
731
|
}
|
|
991
732
|
/**
|
|
992
733
|
* Builder for CfnMemoryLogsMixin to generate APPLICATION_LOGS for CfnMemory
|
|
@@ -1025,31 +766,6 @@ export declare class CfnMemoryApplicationLogs {
|
|
|
1025
766
|
*/
|
|
1026
767
|
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnMemoryApplicationLogsDestProps): CfnMemoryLogsMixin;
|
|
1027
768
|
}
|
|
1028
|
-
/**
|
|
1029
|
-
* Builder for CfnMemoryLogsMixin to generate TRACES for CfnMemory
|
|
1030
|
-
*
|
|
1031
|
-
* @cloudformationResource AWS::BedrockAgentCore::Memory
|
|
1032
|
-
* @logType TRACES
|
|
1033
|
-
* @stability external
|
|
1034
|
-
*/
|
|
1035
|
-
export declare class CfnMemoryTraces {
|
|
1036
|
-
/**
|
|
1037
|
-
* Send traces to X-Ray
|
|
1038
|
-
*
|
|
1039
|
-
* @param props Additional properties that are optionally used in log delivery for XRay destinations
|
|
1040
|
-
*/
|
|
1041
|
-
toXRay(props?: CfnMemoryTracesXRayProps): CfnMemoryLogsMixin;
|
|
1042
|
-
/**
|
|
1043
|
-
* Delivers logs to a pre-created delivery destination
|
|
1044
|
-
*
|
|
1045
|
-
* Supported destinations are XRAY
|
|
1046
|
-
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
1047
|
-
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
1048
|
-
*
|
|
1049
|
-
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
1050
|
-
*/
|
|
1051
|
-
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnMemoryTracesDestProps): CfnMemoryLogsMixin;
|
|
1052
|
-
}
|
|
1053
769
|
/**
|
|
1054
770
|
* Memory allows AI agents to maintain both immediate and long-term knowledge, enabling context-aware and personalized interactions.
|
|
1055
771
|
*
|
|
@@ -1063,8 +779,8 @@ export declare class CfnMemoryTraces {
|
|
|
1063
779
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html
|
|
1064
780
|
*/
|
|
1065
781
|
export declare class CfnMemoryLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
1066
|
-
static readonly APPLICATION_LOGS: CfnMemoryApplicationLogs;
|
|
1067
782
|
static readonly TRACES: CfnMemoryTraces;
|
|
783
|
+
static readonly APPLICATION_LOGS: CfnMemoryApplicationLogs;
|
|
1068
784
|
protected readonly logType: string;
|
|
1069
785
|
protected readonly logDelivery: logsDelivery.ILogsDelivery;
|
|
1070
786
|
/**
|
|
@@ -1083,6 +799,28 @@ export declare class CfnMemoryLogsMixin extends cdk.Mixin implements constructs.
|
|
|
1083
799
|
*/
|
|
1084
800
|
applyTo(resource: constructs.IConstruct): void;
|
|
1085
801
|
}
|
|
802
|
+
/**
|
|
803
|
+
* Output Format options for each destination of CfnMemoryTraces.
|
|
804
|
+
*/
|
|
805
|
+
export declare class CfnMemoryTracesOutputFormat {
|
|
806
|
+
}
|
|
807
|
+
export declare enum CfnMemoryTracesRecordFields {
|
|
808
|
+
TIMESTAMP = "timestamp",
|
|
809
|
+
RESOURCEARN = "resourceArn",
|
|
810
|
+
TRACE = "trace"
|
|
811
|
+
}
|
|
812
|
+
export interface CfnMemoryTracesXRayProps {
|
|
813
|
+
/**
|
|
814
|
+
* Record fields that can be provided to a log delivery
|
|
815
|
+
*/
|
|
816
|
+
readonly recordFields?: Array<CfnMemoryTracesRecordFields>;
|
|
817
|
+
}
|
|
818
|
+
export interface CfnMemoryTracesDestProps {
|
|
819
|
+
/**
|
|
820
|
+
* Record fields that can be provided to a log delivery
|
|
821
|
+
*/
|
|
822
|
+
readonly recordFields?: Array<CfnMemoryTracesRecordFields>;
|
|
823
|
+
}
|
|
1086
824
|
/**
|
|
1087
825
|
* Output Format options for each destination of CfnMemoryApplicationLogs.
|
|
1088
826
|
*/
|
|
@@ -1090,8 +828,8 @@ export declare class CfnMemoryApplicationLogsOutputFormat {
|
|
|
1090
828
|
}
|
|
1091
829
|
export declare namespace CfnMemoryApplicationLogsOutputFormat {
|
|
1092
830
|
enum S3 {
|
|
1093
|
-
JSON = "json",
|
|
1094
831
|
PLAIN = "plain",
|
|
832
|
+
JSON = "json",
|
|
1095
833
|
W3C = "w3c",
|
|
1096
834
|
PARQUET = "parquet"
|
|
1097
835
|
}
|
|
@@ -1100,13 +838,15 @@ export declare namespace CfnMemoryApplicationLogsOutputFormat {
|
|
|
1100
838
|
JSON = "json"
|
|
1101
839
|
}
|
|
1102
840
|
enum Firehose {
|
|
1103
|
-
JSON = "json",
|
|
1104
841
|
PLAIN = "plain",
|
|
842
|
+
JSON = "json",
|
|
1105
843
|
RAW = "raw"
|
|
1106
844
|
}
|
|
1107
845
|
}
|
|
1108
846
|
export declare enum CfnMemoryApplicationLogsRecordFields {
|
|
847
|
+
TIMESTAMP = "timestamp",
|
|
1109
848
|
RESOURCE_ARN = "resource_arn",
|
|
849
|
+
RESOURCE_ID = "resource_id",
|
|
1110
850
|
EVENT_TIMESTAMP = "event_timestamp",
|
|
1111
851
|
MEMORY_STRATEGY_ID = "memory_strategy_id",
|
|
1112
852
|
NAMESPACE = "namespace",
|
|
@@ -1128,7 +868,7 @@ export interface CfnMemoryApplicationLogsS3Props {
|
|
|
1128
868
|
*/
|
|
1129
869
|
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
1130
870
|
/**
|
|
1131
|
-
* Format for log output, options are json,
|
|
871
|
+
* Format for log output, options are plain,json,w3c,parquet
|
|
1132
872
|
*/
|
|
1133
873
|
readonly outputFormat?: CfnMemoryApplicationLogsOutputFormat.S3;
|
|
1134
874
|
/**
|
|
@@ -1148,7 +888,7 @@ export interface CfnMemoryApplicationLogsLogGroupProps {
|
|
|
1148
888
|
}
|
|
1149
889
|
export interface CfnMemoryApplicationLogsFirehoseProps {
|
|
1150
890
|
/**
|
|
1151
|
-
* Format for log output, options are json,
|
|
891
|
+
* Format for log output, options are plain,json,raw
|
|
1152
892
|
*/
|
|
1153
893
|
readonly outputFormat?: CfnMemoryApplicationLogsOutputFormat.Firehose;
|
|
1154
894
|
/**
|
|
@@ -1163,24 +903,29 @@ export interface CfnMemoryApplicationLogsDestProps {
|
|
|
1163
903
|
readonly recordFields?: Array<CfnMemoryApplicationLogsRecordFields>;
|
|
1164
904
|
}
|
|
1165
905
|
/**
|
|
1166
|
-
*
|
|
906
|
+
* Builder for CfnRuntimeLogsMixin to generate TRACES for CfnRuntime
|
|
907
|
+
*
|
|
908
|
+
* @cloudformationResource AWS::BedrockAgentCore::Runtime
|
|
909
|
+
* @logType TRACES
|
|
910
|
+
* @stability external
|
|
1167
911
|
*/
|
|
1168
|
-
export declare class
|
|
1169
|
-
}
|
|
1170
|
-
export declare enum CfnMemoryTracesRecordFields {
|
|
1171
|
-
TRACE = "trace"
|
|
1172
|
-
}
|
|
1173
|
-
export interface CfnMemoryTracesXRayProps {
|
|
912
|
+
export declare class CfnRuntimeTraces {
|
|
1174
913
|
/**
|
|
1175
|
-
*
|
|
914
|
+
* Send traces to X-Ray
|
|
915
|
+
*
|
|
916
|
+
* @param props Additional properties that are optionally used in log delivery for XRay destinations
|
|
1176
917
|
*/
|
|
1177
|
-
|
|
1178
|
-
}
|
|
1179
|
-
export interface CfnMemoryTracesDestProps {
|
|
918
|
+
toXRay(props?: CfnRuntimeTracesXRayProps): CfnRuntimeLogsMixin;
|
|
1180
919
|
/**
|
|
1181
|
-
*
|
|
920
|
+
* Delivers logs to a pre-created delivery destination
|
|
921
|
+
*
|
|
922
|
+
* Supported destinations are XRAY
|
|
923
|
+
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
924
|
+
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
925
|
+
*
|
|
926
|
+
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
1182
927
|
*/
|
|
1183
|
-
|
|
928
|
+
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnRuntimeTracesDestProps): CfnRuntimeLogsMixin;
|
|
1184
929
|
}
|
|
1185
930
|
/**
|
|
1186
931
|
* Builder for CfnRuntimeLogsMixin to generate APPLICATION_LOGS for CfnRuntime
|
|
@@ -1219,31 +964,6 @@ export declare class CfnRuntimeApplicationLogs {
|
|
|
1219
964
|
*/
|
|
1220
965
|
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnRuntimeApplicationLogsDestProps): CfnRuntimeLogsMixin;
|
|
1221
966
|
}
|
|
1222
|
-
/**
|
|
1223
|
-
* Builder for CfnRuntimeLogsMixin to generate TRACES for CfnRuntime
|
|
1224
|
-
*
|
|
1225
|
-
* @cloudformationResource AWS::BedrockAgentCore::Runtime
|
|
1226
|
-
* @logType TRACES
|
|
1227
|
-
* @stability external
|
|
1228
|
-
*/
|
|
1229
|
-
export declare class CfnRuntimeTraces {
|
|
1230
|
-
/**
|
|
1231
|
-
* Send traces to X-Ray
|
|
1232
|
-
*
|
|
1233
|
-
* @param props Additional properties that are optionally used in log delivery for XRay destinations
|
|
1234
|
-
*/
|
|
1235
|
-
toXRay(props?: CfnRuntimeTracesXRayProps): CfnRuntimeLogsMixin;
|
|
1236
|
-
/**
|
|
1237
|
-
* Delivers logs to a pre-created delivery destination
|
|
1238
|
-
*
|
|
1239
|
-
* Supported destinations are XRAY
|
|
1240
|
-
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
1241
|
-
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
1242
|
-
*
|
|
1243
|
-
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
1244
|
-
*/
|
|
1245
|
-
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnRuntimeTracesDestProps): CfnRuntimeLogsMixin;
|
|
1246
|
-
}
|
|
1247
967
|
/**
|
|
1248
968
|
* Builder for CfnRuntimeLogsMixin to generate USAGE_LOGS for CfnRuntime
|
|
1249
969
|
*
|
|
@@ -1296,8 +1016,8 @@ export declare class CfnRuntimeUsageLogs {
|
|
|
1296
1016
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html
|
|
1297
1017
|
*/
|
|
1298
1018
|
export declare class CfnRuntimeLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
1299
|
-
static readonly APPLICATION_LOGS: CfnRuntimeApplicationLogs;
|
|
1300
1019
|
static readonly TRACES: CfnRuntimeTraces;
|
|
1020
|
+
static readonly APPLICATION_LOGS: CfnRuntimeApplicationLogs;
|
|
1301
1021
|
static readonly USAGE_LOGS: CfnRuntimeUsageLogs;
|
|
1302
1022
|
protected readonly logType: string;
|
|
1303
1023
|
protected readonly logDelivery: logsDelivery.ILogsDelivery;
|
|
@@ -1317,6 +1037,28 @@ export declare class CfnRuntimeLogsMixin extends cdk.Mixin implements constructs
|
|
|
1317
1037
|
*/
|
|
1318
1038
|
applyTo(resource: constructs.IConstruct): void;
|
|
1319
1039
|
}
|
|
1040
|
+
/**
|
|
1041
|
+
* Output Format options for each destination of CfnRuntimeTraces.
|
|
1042
|
+
*/
|
|
1043
|
+
export declare class CfnRuntimeTracesOutputFormat {
|
|
1044
|
+
}
|
|
1045
|
+
export declare enum CfnRuntimeTracesRecordFields {
|
|
1046
|
+
TIMESTAMP = "timestamp",
|
|
1047
|
+
RESOURCEARN = "resourceArn",
|
|
1048
|
+
TRACE = "trace"
|
|
1049
|
+
}
|
|
1050
|
+
export interface CfnRuntimeTracesXRayProps {
|
|
1051
|
+
/**
|
|
1052
|
+
* Record fields that can be provided to a log delivery
|
|
1053
|
+
*/
|
|
1054
|
+
readonly recordFields?: Array<CfnRuntimeTracesRecordFields>;
|
|
1055
|
+
}
|
|
1056
|
+
export interface CfnRuntimeTracesDestProps {
|
|
1057
|
+
/**
|
|
1058
|
+
* Record fields that can be provided to a log delivery
|
|
1059
|
+
*/
|
|
1060
|
+
readonly recordFields?: Array<CfnRuntimeTracesRecordFields>;
|
|
1061
|
+
}
|
|
1320
1062
|
/**
|
|
1321
1063
|
* Output Format options for each destination of CfnRuntimeApplicationLogs.
|
|
1322
1064
|
*/
|
|
@@ -1324,8 +1066,8 @@ export declare class CfnRuntimeApplicationLogsOutputFormat {
|
|
|
1324
1066
|
}
|
|
1325
1067
|
export declare namespace CfnRuntimeApplicationLogsOutputFormat {
|
|
1326
1068
|
enum S3 {
|
|
1327
|
-
JSON = "json",
|
|
1328
1069
|
PLAIN = "plain",
|
|
1070
|
+
JSON = "json",
|
|
1329
1071
|
W3C = "w3c",
|
|
1330
1072
|
PARQUET = "parquet"
|
|
1331
1073
|
}
|
|
@@ -1334,12 +1076,14 @@ export declare namespace CfnRuntimeApplicationLogsOutputFormat {
|
|
|
1334
1076
|
JSON = "json"
|
|
1335
1077
|
}
|
|
1336
1078
|
enum Firehose {
|
|
1337
|
-
JSON = "json",
|
|
1338
1079
|
PLAIN = "plain",
|
|
1080
|
+
JSON = "json",
|
|
1339
1081
|
RAW = "raw"
|
|
1340
1082
|
}
|
|
1341
1083
|
}
|
|
1342
1084
|
export declare enum CfnRuntimeApplicationLogsRecordFields {
|
|
1085
|
+
TIMESTAMP = "timestamp",
|
|
1086
|
+
RUNTIME_ID = "runtime_id",
|
|
1343
1087
|
ACCOUNT_ID = "account_id",
|
|
1344
1088
|
REQUEST_ID = "request_id",
|
|
1345
1089
|
SESSION_ID = "session_id",
|
|
@@ -1366,7 +1110,7 @@ export interface CfnRuntimeApplicationLogsS3Props {
|
|
|
1366
1110
|
*/
|
|
1367
1111
|
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
1368
1112
|
/**
|
|
1369
|
-
* Format for log output, options are json,
|
|
1113
|
+
* Format for log output, options are plain,json,w3c,parquet
|
|
1370
1114
|
*/
|
|
1371
1115
|
readonly outputFormat?: CfnRuntimeApplicationLogsOutputFormat.S3;
|
|
1372
1116
|
/**
|
|
@@ -1386,7 +1130,7 @@ export interface CfnRuntimeApplicationLogsLogGroupProps {
|
|
|
1386
1130
|
}
|
|
1387
1131
|
export interface CfnRuntimeApplicationLogsFirehoseProps {
|
|
1388
1132
|
/**
|
|
1389
|
-
* Format for log output, options are json,
|
|
1133
|
+
* Format for log output, options are plain,json,raw
|
|
1390
1134
|
*/
|
|
1391
1135
|
readonly outputFormat?: CfnRuntimeApplicationLogsOutputFormat.Firehose;
|
|
1392
1136
|
/**
|
|
@@ -1400,26 +1144,6 @@ export interface CfnRuntimeApplicationLogsDestProps {
|
|
|
1400
1144
|
*/
|
|
1401
1145
|
readonly recordFields?: Array<CfnRuntimeApplicationLogsRecordFields>;
|
|
1402
1146
|
}
|
|
1403
|
-
/**
|
|
1404
|
-
* Output Format options for each destination of CfnRuntimeTraces.
|
|
1405
|
-
*/
|
|
1406
|
-
export declare class CfnRuntimeTracesOutputFormat {
|
|
1407
|
-
}
|
|
1408
|
-
export declare enum CfnRuntimeTracesRecordFields {
|
|
1409
|
-
TRACE = "trace"
|
|
1410
|
-
}
|
|
1411
|
-
export interface CfnRuntimeTracesXRayProps {
|
|
1412
|
-
/**
|
|
1413
|
-
* Record fields that can be provided to a log delivery
|
|
1414
|
-
*/
|
|
1415
|
-
readonly recordFields?: Array<CfnRuntimeTracesRecordFields>;
|
|
1416
|
-
}
|
|
1417
|
-
export interface CfnRuntimeTracesDestProps {
|
|
1418
|
-
/**
|
|
1419
|
-
* Record fields that can be provided to a log delivery
|
|
1420
|
-
*/
|
|
1421
|
-
readonly recordFields?: Array<CfnRuntimeTracesRecordFields>;
|
|
1422
|
-
}
|
|
1423
1147
|
/**
|
|
1424
1148
|
* Output Format options for each destination of CfnRuntimeUsageLogs.
|
|
1425
1149
|
*/
|
|
@@ -1427,8 +1151,8 @@ export declare class CfnRuntimeUsageLogsOutputFormat {
|
|
|
1427
1151
|
}
|
|
1428
1152
|
export declare namespace CfnRuntimeUsageLogsOutputFormat {
|
|
1429
1153
|
enum S3 {
|
|
1430
|
-
JSON = "json",
|
|
1431
1154
|
PLAIN = "plain",
|
|
1155
|
+
JSON = "json",
|
|
1432
1156
|
W3C = "w3c",
|
|
1433
1157
|
PARQUET = "parquet"
|
|
1434
1158
|
}
|
|
@@ -1437,12 +1161,14 @@ export declare namespace CfnRuntimeUsageLogsOutputFormat {
|
|
|
1437
1161
|
JSON = "json"
|
|
1438
1162
|
}
|
|
1439
1163
|
enum Firehose {
|
|
1440
|
-
JSON = "json",
|
|
1441
1164
|
PLAIN = "plain",
|
|
1165
|
+
JSON = "json",
|
|
1442
1166
|
RAW = "raw"
|
|
1443
1167
|
}
|
|
1444
1168
|
}
|
|
1445
1169
|
export declare enum CfnRuntimeUsageLogsRecordFields {
|
|
1170
|
+
TIMESTAMP = "timestamp",
|
|
1171
|
+
RUNTIME_ID = "runtime_id",
|
|
1446
1172
|
RESOURCE_ARN = "resource_arn",
|
|
1447
1173
|
EVENT_TIMESTAMP = "event_timestamp",
|
|
1448
1174
|
RESOURCE = "resource",
|
|
@@ -1455,7 +1181,7 @@ export interface CfnRuntimeUsageLogsS3Props {
|
|
|
1455
1181
|
*/
|
|
1456
1182
|
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
1457
1183
|
/**
|
|
1458
|
-
* Format for log output, options are json,
|
|
1184
|
+
* Format for log output, options are plain,json,w3c,parquet
|
|
1459
1185
|
*/
|
|
1460
1186
|
readonly outputFormat?: CfnRuntimeUsageLogsOutputFormat.S3;
|
|
1461
1187
|
/**
|
|
@@ -1475,7 +1201,7 @@ export interface CfnRuntimeUsageLogsLogGroupProps {
|
|
|
1475
1201
|
}
|
|
1476
1202
|
export interface CfnRuntimeUsageLogsFirehoseProps {
|
|
1477
1203
|
/**
|
|
1478
|
-
* Format for log output, options are json,
|
|
1204
|
+
* Format for log output, options are plain,json,raw
|
|
1479
1205
|
*/
|
|
1480
1206
|
readonly outputFormat?: CfnRuntimeUsageLogsOutputFormat.Firehose;
|
|
1481
1207
|
/**
|
|
@@ -1526,6 +1252,31 @@ export declare class CfnWorkloadIdentityApplicationLogs {
|
|
|
1526
1252
|
*/
|
|
1527
1253
|
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnWorkloadIdentityApplicationLogsDestProps): CfnWorkloadIdentityLogsMixin;
|
|
1528
1254
|
}
|
|
1255
|
+
/**
|
|
1256
|
+
* Builder for CfnWorkloadIdentityLogsMixin to generate TRACES for CfnWorkloadIdentity
|
|
1257
|
+
*
|
|
1258
|
+
* @cloudformationResource AWS::BedrockAgentCore::WorkloadIdentity
|
|
1259
|
+
* @logType TRACES
|
|
1260
|
+
* @stability external
|
|
1261
|
+
*/
|
|
1262
|
+
export declare class CfnWorkloadIdentityTraces {
|
|
1263
|
+
/**
|
|
1264
|
+
* Send traces to X-Ray
|
|
1265
|
+
*
|
|
1266
|
+
* @param props Additional properties that are optionally used in log delivery for XRay destinations
|
|
1267
|
+
*/
|
|
1268
|
+
toXRay(props?: CfnWorkloadIdentityTracesXRayProps): CfnWorkloadIdentityLogsMixin;
|
|
1269
|
+
/**
|
|
1270
|
+
* Delivers logs to a pre-created delivery destination
|
|
1271
|
+
*
|
|
1272
|
+
* Supported destinations are XRAY
|
|
1273
|
+
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
1274
|
+
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
1275
|
+
*
|
|
1276
|
+
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
1277
|
+
*/
|
|
1278
|
+
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnWorkloadIdentityTracesDestProps): CfnWorkloadIdentityLogsMixin;
|
|
1279
|
+
}
|
|
1529
1280
|
/**
|
|
1530
1281
|
* Creates a workload identity for Amazon Bedrock AgentCore.
|
|
1531
1282
|
*
|
|
@@ -1542,6 +1293,7 @@ export declare class CfnWorkloadIdentityApplicationLogs {
|
|
|
1542
1293
|
*/
|
|
1543
1294
|
export declare class CfnWorkloadIdentityLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
1544
1295
|
static readonly APPLICATION_LOGS: CfnWorkloadIdentityApplicationLogs;
|
|
1296
|
+
static readonly TRACES: CfnWorkloadIdentityTraces;
|
|
1545
1297
|
protected readonly logType: string;
|
|
1546
1298
|
protected readonly logDelivery: logsDelivery.ILogsDelivery;
|
|
1547
1299
|
/**
|
|
@@ -1567,8 +1319,8 @@ export declare class CfnWorkloadIdentityApplicationLogsOutputFormat {
|
|
|
1567
1319
|
}
|
|
1568
1320
|
export declare namespace CfnWorkloadIdentityApplicationLogsOutputFormat {
|
|
1569
1321
|
enum S3 {
|
|
1570
|
-
JSON = "json",
|
|
1571
1322
|
PLAIN = "plain",
|
|
1323
|
+
JSON = "json",
|
|
1572
1324
|
W3C = "w3c",
|
|
1573
1325
|
PARQUET = "parquet"
|
|
1574
1326
|
}
|
|
@@ -1577,13 +1329,17 @@ export declare namespace CfnWorkloadIdentityApplicationLogsOutputFormat {
|
|
|
1577
1329
|
JSON = "json"
|
|
1578
1330
|
}
|
|
1579
1331
|
enum Firehose {
|
|
1580
|
-
JSON = "json",
|
|
1581
1332
|
PLAIN = "plain",
|
|
1333
|
+
JSON = "json",
|
|
1582
1334
|
RAW = "raw"
|
|
1583
1335
|
}
|
|
1584
1336
|
}
|
|
1585
1337
|
export declare enum CfnWorkloadIdentityApplicationLogsRecordFields {
|
|
1338
|
+
TIMESTAMP = "timestamp",
|
|
1339
|
+
WORKLOAD_IDENTITY_ID = "workload_identity_id",
|
|
1586
1340
|
REQUEST_ID = "request_id",
|
|
1341
|
+
TRACE_ID = "trace_id",
|
|
1342
|
+
SPAN_ID = "span_id",
|
|
1587
1343
|
OPERATION_NAME = "operation_name",
|
|
1588
1344
|
OPERATION_TYPE = "operation_type",
|
|
1589
1345
|
START_TIME = "start_time",
|
|
@@ -1592,8 +1348,6 @@ export declare enum CfnWorkloadIdentityApplicationLogsRecordFields {
|
|
|
1592
1348
|
ACCOUNT_ID = "account_id",
|
|
1593
1349
|
REQUEST = "request",
|
|
1594
1350
|
RESPONSE = "response",
|
|
1595
|
-
TRACE_ID = "trace_id",
|
|
1596
|
-
SPAN_ID = "span_id",
|
|
1597
1351
|
RESOURCE = "resource",
|
|
1598
1352
|
ATTRIBUTES = "attributes",
|
|
1599
1353
|
TIMEUNIXNANO = "timeUnixNano",
|
|
@@ -1611,7 +1365,7 @@ export interface CfnWorkloadIdentityApplicationLogsS3Props {
|
|
|
1611
1365
|
*/
|
|
1612
1366
|
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
1613
1367
|
/**
|
|
1614
|
-
* Format for log output, options are json,
|
|
1368
|
+
* Format for log output, options are plain,json,w3c,parquet
|
|
1615
1369
|
*/
|
|
1616
1370
|
readonly outputFormat?: CfnWorkloadIdentityApplicationLogsOutputFormat.S3;
|
|
1617
1371
|
/**
|
|
@@ -1631,7 +1385,7 @@ export interface CfnWorkloadIdentityApplicationLogsLogGroupProps {
|
|
|
1631
1385
|
}
|
|
1632
1386
|
export interface CfnWorkloadIdentityApplicationLogsFirehoseProps {
|
|
1633
1387
|
/**
|
|
1634
|
-
* Format for log output, options are json,
|
|
1388
|
+
* Format for log output, options are plain,json,raw
|
|
1635
1389
|
*/
|
|
1636
1390
|
readonly outputFormat?: CfnWorkloadIdentityApplicationLogsOutputFormat.Firehose;
|
|
1637
1391
|
/**
|
|
@@ -1645,3 +1399,25 @@ export interface CfnWorkloadIdentityApplicationLogsDestProps {
|
|
|
1645
1399
|
*/
|
|
1646
1400
|
readonly recordFields?: Array<CfnWorkloadIdentityApplicationLogsRecordFields>;
|
|
1647
1401
|
}
|
|
1402
|
+
/**
|
|
1403
|
+
* Output Format options for each destination of CfnWorkloadIdentityTraces.
|
|
1404
|
+
*/
|
|
1405
|
+
export declare class CfnWorkloadIdentityTracesOutputFormat {
|
|
1406
|
+
}
|
|
1407
|
+
export declare enum CfnWorkloadIdentityTracesRecordFields {
|
|
1408
|
+
TIMESTAMP = "timestamp",
|
|
1409
|
+
RESOURCEARN = "resourceArn",
|
|
1410
|
+
TRACE = "trace"
|
|
1411
|
+
}
|
|
1412
|
+
export interface CfnWorkloadIdentityTracesXRayProps {
|
|
1413
|
+
/**
|
|
1414
|
+
* Record fields that can be provided to a log delivery
|
|
1415
|
+
*/
|
|
1416
|
+
readonly recordFields?: Array<CfnWorkloadIdentityTracesRecordFields>;
|
|
1417
|
+
}
|
|
1418
|
+
export interface CfnWorkloadIdentityTracesDestProps {
|
|
1419
|
+
/**
|
|
1420
|
+
* Record fields that can be provided to a log delivery
|
|
1421
|
+
*/
|
|
1422
|
+
readonly recordFields?: Array<CfnWorkloadIdentityTracesRecordFields>;
|
|
1423
|
+
}
|