@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
|
@@ -1,400 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.CfnScraperApplicationLogsOutputFormat = exports.CfnScraperLogsMixin = exports.CfnScraperApplicationLogs = exports.CfnWorkspaceManagedPrometheusLogsOutputFormat = exports.CfnWorkspaceLogsMixin = exports.CfnWorkspaceManagedPrometheusLogs = void 0;
|
|
37
|
-
const jsiiDeprecationWarnings = require("../../../.warnings.jsii.js");
|
|
38
|
-
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
39
|
-
/* eslint-disable @stylistic/max-len, eol-last */
|
|
40
|
-
const cdk = __importStar(require("aws-cdk-lib/core"));
|
|
41
|
-
const logsDelivery = __importStar(require("../aws-logs/logs-delivery"));
|
|
42
|
-
const service = __importStar(require("aws-cdk-lib/aws-aps"));
|
|
43
|
-
/**
|
|
44
|
-
* Builder for CfnWorkspaceLogsMixin to generate MANAGED_PROMETHEUS_LOGS for CfnWorkspace
|
|
45
|
-
*
|
|
46
|
-
* @cloudformationResource AWS::APS::Workspace
|
|
47
|
-
* @logType MANAGED_PROMETHEUS_LOGS
|
|
48
|
-
* @stability external
|
|
49
|
-
*/
|
|
50
|
-
class CfnWorkspaceManagedPrometheusLogs {
|
|
51
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnWorkspaceManagedPrometheusLogs", version: "2.267.0-alpha.0" };
|
|
52
|
-
/**
|
|
53
|
-
* Send logs to an S3 Bucket
|
|
54
|
-
*
|
|
55
|
-
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
56
|
-
*/
|
|
57
|
-
toS3(bucket, props) {
|
|
58
|
-
try {
|
|
59
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_aps_mixins_CfnWorkspaceManagedPrometheusLogsS3Props(props);
|
|
60
|
-
}
|
|
61
|
-
catch (error) {
|
|
62
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
63
|
-
Error.captureStackTrace(error, this.toS3);
|
|
64
|
-
}
|
|
65
|
-
throw error;
|
|
66
|
-
}
|
|
67
|
-
{
|
|
68
|
-
return new CfnWorkspaceLogsMixin("MANAGED_PROMETHEUS_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
69
|
-
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V1,
|
|
70
|
-
kmsKey: props?.encryptionKey,
|
|
71
|
-
outputFormat: props?.outputFormat,
|
|
72
|
-
providedFields: undefined,
|
|
73
|
-
mandatoryFields: undefined
|
|
74
|
-
}));
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Send logs to a CloudWatch Log Group
|
|
79
|
-
*
|
|
80
|
-
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
81
|
-
*/
|
|
82
|
-
toLogGroup(logGroup, props) {
|
|
83
|
-
try {
|
|
84
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_aps_mixins_CfnWorkspaceManagedPrometheusLogsLogGroupProps(props);
|
|
85
|
-
}
|
|
86
|
-
catch (error) {
|
|
87
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
88
|
-
Error.captureStackTrace(error, this.toLogGroup);
|
|
89
|
-
}
|
|
90
|
-
throw error;
|
|
91
|
-
}
|
|
92
|
-
{
|
|
93
|
-
return new CfnWorkspaceLogsMixin("MANAGED_PROMETHEUS_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
94
|
-
outputFormat: props?.outputFormat,
|
|
95
|
-
providedFields: undefined,
|
|
96
|
-
mandatoryFields: undefined
|
|
97
|
-
}));
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* Send logs to a Firehose Delivery Stream
|
|
102
|
-
*
|
|
103
|
-
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
104
|
-
*/
|
|
105
|
-
toFirehose(deliveryStream, props) {
|
|
106
|
-
try {
|
|
107
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_aps_mixins_CfnWorkspaceManagedPrometheusLogsFirehoseProps(props);
|
|
108
|
-
}
|
|
109
|
-
catch (error) {
|
|
110
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
111
|
-
Error.captureStackTrace(error, this.toFirehose);
|
|
112
|
-
}
|
|
113
|
-
throw error;
|
|
114
|
-
}
|
|
115
|
-
{
|
|
116
|
-
return new CfnWorkspaceLogsMixin("MANAGED_PROMETHEUS_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
|
|
117
|
-
outputFormat: props?.outputFormat,
|
|
118
|
-
providedFields: undefined,
|
|
119
|
-
mandatoryFields: undefined
|
|
120
|
-
}));
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Delivers logs to a pre-created delivery destination
|
|
125
|
-
*
|
|
126
|
-
* Supported destinations are S3, CWL, FH
|
|
127
|
-
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
128
|
-
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
129
|
-
*/
|
|
130
|
-
toDestination(destination) {
|
|
131
|
-
{
|
|
132
|
-
return new CfnWorkspaceLogsMixin("MANAGED_PROMETHEUS_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
133
|
-
providedFields: undefined,
|
|
134
|
-
mandatoryFields: undefined
|
|
135
|
-
}));
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
exports.CfnWorkspaceManagedPrometheusLogs = CfnWorkspaceManagedPrometheusLogs;
|
|
140
|
-
/**
|
|
141
|
-
* An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.
|
|
142
|
-
*
|
|
143
|
-
* @cloudformationResource AWS::APS::Workspace
|
|
144
|
-
* @mixin true
|
|
145
|
-
* @stability external
|
|
146
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html
|
|
147
|
-
*/
|
|
148
|
-
class CfnWorkspaceLogsMixin extends cdk.Mixin {
|
|
149
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnWorkspaceLogsMixin", version: "2.267.0-alpha.0" };
|
|
150
|
-
static MANAGED_PROMETHEUS_LOGS = new CfnWorkspaceManagedPrometheusLogs();
|
|
151
|
-
logType;
|
|
152
|
-
logDelivery;
|
|
153
|
-
/**
|
|
154
|
-
* Create a mixin to enable vended logs for `AWS::APS::Workspace`.
|
|
155
|
-
*
|
|
156
|
-
* @param logType Type of logs that are getting vended
|
|
157
|
-
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
158
|
-
*/
|
|
159
|
-
constructor(logType, logDelivery) {
|
|
160
|
-
super();
|
|
161
|
-
try {
|
|
162
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
|
|
163
|
-
}
|
|
164
|
-
catch (error) {
|
|
165
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
166
|
-
Error.captureStackTrace(error, CfnWorkspaceLogsMixin);
|
|
167
|
-
}
|
|
168
|
-
throw error;
|
|
169
|
-
}
|
|
170
|
-
this.logType = logType;
|
|
171
|
-
this.logDelivery = logDelivery;
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
175
|
-
*/
|
|
176
|
-
supports(construct) {
|
|
177
|
-
return (cdk.CfnResource.isCfnResource(construct) && service.CfnWorkspace.isCfnWorkspace(construct));
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* Apply vended logs configuration to the construct
|
|
181
|
-
*/
|
|
182
|
-
applyTo(resource) {
|
|
183
|
-
if (!this.supports(resource)) {
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
const sourceArn = service.CfnWorkspace.arnForWorkspace(resource);
|
|
187
|
-
this.logDelivery.bind(resource, this.logType, sourceArn);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
exports.CfnWorkspaceLogsMixin = CfnWorkspaceLogsMixin;
|
|
191
|
-
/**
|
|
192
|
-
* Output Format options for each destination of CfnWorkspaceManagedPrometheusLogs.
|
|
193
|
-
*/
|
|
194
|
-
class CfnWorkspaceManagedPrometheusLogsOutputFormat {
|
|
195
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnWorkspaceManagedPrometheusLogsOutputFormat", version: "2.267.0-alpha.0" };
|
|
196
|
-
}
|
|
197
|
-
exports.CfnWorkspaceManagedPrometheusLogsOutputFormat = CfnWorkspaceManagedPrometheusLogsOutputFormat;
|
|
198
|
-
(function (CfnWorkspaceManagedPrometheusLogsOutputFormat) {
|
|
199
|
-
let S3;
|
|
200
|
-
(function (S3) {
|
|
201
|
-
S3["JSON"] = "json";
|
|
202
|
-
S3["PLAIN"] = "plain";
|
|
203
|
-
S3["W3C"] = "w3c";
|
|
204
|
-
S3["PARQUET"] = "parquet";
|
|
205
|
-
})(S3 = CfnWorkspaceManagedPrometheusLogsOutputFormat.S3 || (CfnWorkspaceManagedPrometheusLogsOutputFormat.S3 = {}));
|
|
206
|
-
let LogGroup;
|
|
207
|
-
(function (LogGroup) {
|
|
208
|
-
LogGroup["PLAIN"] = "plain";
|
|
209
|
-
LogGroup["JSON"] = "json";
|
|
210
|
-
})(LogGroup = CfnWorkspaceManagedPrometheusLogsOutputFormat.LogGroup || (CfnWorkspaceManagedPrometheusLogsOutputFormat.LogGroup = {}));
|
|
211
|
-
let Firehose;
|
|
212
|
-
(function (Firehose) {
|
|
213
|
-
Firehose["JSON"] = "json";
|
|
214
|
-
Firehose["PLAIN"] = "plain";
|
|
215
|
-
Firehose["RAW"] = "raw";
|
|
216
|
-
})(Firehose = CfnWorkspaceManagedPrometheusLogsOutputFormat.Firehose || (CfnWorkspaceManagedPrometheusLogsOutputFormat.Firehose = {}));
|
|
217
|
-
})(CfnWorkspaceManagedPrometheusLogsOutputFormat || (exports.CfnWorkspaceManagedPrometheusLogsOutputFormat = CfnWorkspaceManagedPrometheusLogsOutputFormat = {}));
|
|
218
|
-
/**
|
|
219
|
-
* Builder for CfnScraperLogsMixin to generate APPLICATION_LOGS for CfnScraper
|
|
220
|
-
*
|
|
221
|
-
* @cloudformationResource AWS::APS::Scraper
|
|
222
|
-
* @logType APPLICATION_LOGS
|
|
223
|
-
* @stability external
|
|
224
|
-
*/
|
|
225
|
-
class CfnScraperApplicationLogs {
|
|
226
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnScraperApplicationLogs", version: "2.267.0-alpha.0" };
|
|
227
|
-
/**
|
|
228
|
-
* Send logs to an S3 Bucket
|
|
229
|
-
*
|
|
230
|
-
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
231
|
-
*/
|
|
232
|
-
toS3(bucket, props) {
|
|
233
|
-
try {
|
|
234
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_aps_mixins_CfnScraperApplicationLogsS3Props(props);
|
|
235
|
-
}
|
|
236
|
-
catch (error) {
|
|
237
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
238
|
-
Error.captureStackTrace(error, this.toS3);
|
|
239
|
-
}
|
|
240
|
-
throw error;
|
|
241
|
-
}
|
|
242
|
-
{
|
|
243
|
-
return new CfnScraperLogsMixin("APPLICATION_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
244
|
-
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V1,
|
|
245
|
-
kmsKey: props?.encryptionKey,
|
|
246
|
-
outputFormat: props?.outputFormat,
|
|
247
|
-
providedFields: undefined,
|
|
248
|
-
mandatoryFields: undefined
|
|
249
|
-
}));
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* Send logs to a CloudWatch Log Group
|
|
254
|
-
*
|
|
255
|
-
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
256
|
-
*/
|
|
257
|
-
toLogGroup(logGroup, props) {
|
|
258
|
-
try {
|
|
259
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_aps_mixins_CfnScraperApplicationLogsLogGroupProps(props);
|
|
260
|
-
}
|
|
261
|
-
catch (error) {
|
|
262
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
263
|
-
Error.captureStackTrace(error, this.toLogGroup);
|
|
264
|
-
}
|
|
265
|
-
throw error;
|
|
266
|
-
}
|
|
267
|
-
{
|
|
268
|
-
return new CfnScraperLogsMixin("APPLICATION_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
269
|
-
outputFormat: props?.outputFormat,
|
|
270
|
-
providedFields: undefined,
|
|
271
|
-
mandatoryFields: undefined
|
|
272
|
-
}));
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* Send logs to a Firehose Delivery Stream
|
|
277
|
-
*
|
|
278
|
-
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
279
|
-
*/
|
|
280
|
-
toFirehose(deliveryStream, props) {
|
|
281
|
-
try {
|
|
282
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_aps_mixins_CfnScraperApplicationLogsFirehoseProps(props);
|
|
283
|
-
}
|
|
284
|
-
catch (error) {
|
|
285
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
286
|
-
Error.captureStackTrace(error, this.toFirehose);
|
|
287
|
-
}
|
|
288
|
-
throw error;
|
|
289
|
-
}
|
|
290
|
-
{
|
|
291
|
-
return new CfnScraperLogsMixin("APPLICATION_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
|
|
292
|
-
outputFormat: props?.outputFormat,
|
|
293
|
-
providedFields: undefined,
|
|
294
|
-
mandatoryFields: undefined
|
|
295
|
-
}));
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
/**
|
|
299
|
-
* Delivers logs to a pre-created delivery destination
|
|
300
|
-
*
|
|
301
|
-
* Supported destinations are S3, CWL, FH
|
|
302
|
-
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
303
|
-
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
304
|
-
*/
|
|
305
|
-
toDestination(destination) {
|
|
306
|
-
{
|
|
307
|
-
return new CfnScraperLogsMixin("APPLICATION_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
308
|
-
providedFields: undefined,
|
|
309
|
-
mandatoryFields: undefined
|
|
310
|
-
}));
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
exports.CfnScraperApplicationLogs = CfnScraperApplicationLogs;
|
|
315
|
-
/**
|
|
316
|
-
* A scraper is a fully-managed agentless collector that discovers and pulls metrics automatically.
|
|
317
|
-
*
|
|
318
|
-
* A scraper pulls metrics from Prometheus-compatible sources within an Amazon EKS cluster, and sends them to your Amazon Managed Service for Prometheus workspace. Scrapers are flexible. You can configure the scraper to control what metrics are collected, the frequency of collection, what transformations are applied to the metrics, and more.
|
|
319
|
-
*
|
|
320
|
-
* An IAM role will be created for you that Amazon Managed Service for Prometheus uses to access the metrics in your cluster. You must configure this role with a policy that allows it to scrape metrics from your cluster. For more information, see [Configuring your Amazon EKS cluster](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-eks-setup) in the *Amazon Managed Service for Prometheus User Guide* .
|
|
321
|
-
*
|
|
322
|
-
* The `scrapeConfiguration` parameter contains the YAML configuration for the scraper.
|
|
323
|
-
*
|
|
324
|
-
* > For more information about collectors, including what metrics are collected, and how to configure the scraper, see [Using an AWS managed collector](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html) in the *Amazon Managed Service for Prometheus User Guide* .
|
|
325
|
-
*
|
|
326
|
-
* @cloudformationResource AWS::APS::Scraper
|
|
327
|
-
* @mixin true
|
|
328
|
-
* @stability external
|
|
329
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html
|
|
330
|
-
*/
|
|
331
|
-
class CfnScraperLogsMixin extends cdk.Mixin {
|
|
332
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnScraperLogsMixin", version: "2.267.0-alpha.0" };
|
|
333
|
-
static APPLICATION_LOGS = new CfnScraperApplicationLogs();
|
|
334
|
-
logType;
|
|
335
|
-
logDelivery;
|
|
336
|
-
/**
|
|
337
|
-
* Create a mixin to enable vended logs for `AWS::APS::Scraper`.
|
|
338
|
-
*
|
|
339
|
-
* @param logType Type of logs that are getting vended
|
|
340
|
-
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
341
|
-
*/
|
|
342
|
-
constructor(logType, logDelivery) {
|
|
343
|
-
super();
|
|
344
|
-
try {
|
|
345
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
|
|
346
|
-
}
|
|
347
|
-
catch (error) {
|
|
348
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
349
|
-
Error.captureStackTrace(error, CfnScraperLogsMixin);
|
|
350
|
-
}
|
|
351
|
-
throw error;
|
|
352
|
-
}
|
|
353
|
-
this.logType = logType;
|
|
354
|
-
this.logDelivery = logDelivery;
|
|
355
|
-
}
|
|
356
|
-
/**
|
|
357
|
-
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
358
|
-
*/
|
|
359
|
-
supports(construct) {
|
|
360
|
-
return (cdk.CfnResource.isCfnResource(construct) && service.CfnScraper.isCfnScraper(construct));
|
|
361
|
-
}
|
|
362
|
-
/**
|
|
363
|
-
* Apply vended logs configuration to the construct
|
|
364
|
-
*/
|
|
365
|
-
applyTo(resource) {
|
|
366
|
-
if (!this.supports(resource)) {
|
|
367
|
-
return;
|
|
368
|
-
}
|
|
369
|
-
const sourceArn = service.CfnScraper.arnForScraper(resource);
|
|
370
|
-
this.logDelivery.bind(resource, this.logType, sourceArn);
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
exports.CfnScraperLogsMixin = CfnScraperLogsMixin;
|
|
374
|
-
/**
|
|
375
|
-
* Output Format options for each destination of CfnScraperApplicationLogs.
|
|
376
|
-
*/
|
|
377
|
-
class CfnScraperApplicationLogsOutputFormat {
|
|
378
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_aps.mixins.CfnScraperApplicationLogsOutputFormat", version: "2.267.0-alpha.0" };
|
|
379
|
-
}
|
|
380
|
-
exports.CfnScraperApplicationLogsOutputFormat = CfnScraperApplicationLogsOutputFormat;
|
|
381
|
-
(function (CfnScraperApplicationLogsOutputFormat) {
|
|
382
|
-
let S3;
|
|
383
|
-
(function (S3) {
|
|
384
|
-
S3["JSON"] = "json";
|
|
385
|
-
S3["PLAIN"] = "plain";
|
|
386
|
-
S3["W3C"] = "w3c";
|
|
387
|
-
S3["PARQUET"] = "parquet";
|
|
388
|
-
})(S3 = CfnScraperApplicationLogsOutputFormat.S3 || (CfnScraperApplicationLogsOutputFormat.S3 = {}));
|
|
389
|
-
let LogGroup;
|
|
390
|
-
(function (LogGroup) {
|
|
391
|
-
LogGroup["PLAIN"] = "plain";
|
|
392
|
-
LogGroup["JSON"] = "json";
|
|
393
|
-
})(LogGroup = CfnScraperApplicationLogsOutputFormat.LogGroup || (CfnScraperApplicationLogsOutputFormat.LogGroup = {}));
|
|
394
|
-
let Firehose;
|
|
395
|
-
(function (Firehose) {
|
|
396
|
-
Firehose["JSON"] = "json";
|
|
397
|
-
Firehose["PLAIN"] = "plain";
|
|
398
|
-
Firehose["RAW"] = "raw";
|
|
399
|
-
})(Firehose = CfnScraperApplicationLogsOutputFormat.Firehose || (CfnScraperApplicationLogsOutputFormat.Firehose = {}));
|
|
400
|
-
})(CfnScraperApplicationLogsOutputFormat || (exports.CfnScraperApplicationLogsOutputFormat = CfnScraperApplicationLogsOutputFormat = {}));
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"targets": {
|
|
3
|
-
"java": {
|
|
4
|
-
"package": "software.amazon.awscdk.mixins.preview.services.b2bi.mixins"
|
|
5
|
-
},
|
|
6
|
-
"dotnet": {
|
|
7
|
-
"namespace": "Amazon.CDK.Mixins.Preview.AWS.B2BI.Mixins"
|
|
8
|
-
},
|
|
9
|
-
"python": {
|
|
10
|
-
"module": "aws_cdk.mixins_preview.aws_b2bi.mixins"
|
|
11
|
-
},
|
|
12
|
-
"go": {
|
|
13
|
-
"packageName": "previewawsb2bimixins"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import * as cdk from "aws-cdk-lib/core";
|
|
2
|
-
import * as interfaces from "aws-cdk-lib/interfaces";
|
|
3
|
-
import * as constructs from "constructs";
|
|
4
|
-
import * as logsDelivery from "../aws-logs/logs-delivery";
|
|
5
|
-
import * as service from "aws-cdk-lib/aws-b2bi";
|
|
6
|
-
/**
|
|
7
|
-
* Builder for CfnTransformerLogsMixin to generate B2BI_EXECUTION_LOGS for CfnTransformer
|
|
8
|
-
*
|
|
9
|
-
* @cloudformationResource AWS::B2BI::Transformer
|
|
10
|
-
* @logType B2BI_EXECUTION_LOGS
|
|
11
|
-
* @stability external
|
|
12
|
-
*/
|
|
13
|
-
export declare class CfnTransformerB2biExecutionLogs {
|
|
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?: CfnTransformerB2biExecutionLogsS3Props): CfnTransformerLogsMixin;
|
|
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?: CfnTransformerB2biExecutionLogsLogGroupProps): CfnTransformerLogsMixin;
|
|
26
|
-
/**
|
|
27
|
-
* Send logs to a Firehose Delivery Stream
|
|
28
|
-
*
|
|
29
|
-
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
30
|
-
*/
|
|
31
|
-
toFirehose(deliveryStream: interfaces.aws_kinesisfirehose.IDeliveryStreamRef, props?: CfnTransformerB2biExecutionLogsFirehoseProps): CfnTransformerLogsMixin;
|
|
32
|
-
/**
|
|
33
|
-
* Delivers logs to a pre-created delivery destination
|
|
34
|
-
*
|
|
35
|
-
* Supported destinations are S3, CWL, FH
|
|
36
|
-
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
37
|
-
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
38
|
-
*/
|
|
39
|
-
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef): CfnTransformerLogsMixin;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Creates a transformer. AWS B2B Data Interchange currently supports two scenarios:.
|
|
43
|
-
*
|
|
44
|
-
* - *Inbound EDI* : the AWS customer receives an EDI file from their trading partner. AWS B2B Data Interchange converts this EDI file into a JSON or XML file with a service-defined structure. A mapping template provided by the customer, in JSONata or XSLT format, is optionally applied to this file to produce a JSON or XML file with the structure the customer requires.
|
|
45
|
-
* - *Outbound EDI* : the AWS customer has a JSON or XML file containing data that they wish to use in an EDI file. A mapping template, provided by the customer (in either JSONata or XSLT format) is applied to this file to generate a JSON or XML file in the service-defined structure. This file is then converted to an EDI file.
|
|
46
|
-
*
|
|
47
|
-
* > The following fields are provided for backwards compatibility only: `fileFormat` , `mappingTemplate` , `ediType` , and `sampleDocument` .
|
|
48
|
-
* >
|
|
49
|
-
* > - Use the `mapping` data type in place of `mappingTemplate` and `fileFormat`
|
|
50
|
-
* > - Use the `sampleDocuments` data type in place of `sampleDocument`
|
|
51
|
-
* > - Use either the `inputConversion` or `outputConversion` in place of `ediType`
|
|
52
|
-
*
|
|
53
|
-
* @cloudformationResource AWS::B2BI::Transformer
|
|
54
|
-
* @mixin true
|
|
55
|
-
* @stability external
|
|
56
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html
|
|
57
|
-
*/
|
|
58
|
-
export declare class CfnTransformerLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
59
|
-
static readonly B2BI_EXECUTION_LOGS: CfnTransformerB2biExecutionLogs;
|
|
60
|
-
protected readonly logType: string;
|
|
61
|
-
protected readonly logDelivery: logsDelivery.ILogsDelivery;
|
|
62
|
-
/**
|
|
63
|
-
* Create a mixin to enable vended logs for `AWS::B2BI::Transformer`.
|
|
64
|
-
*
|
|
65
|
-
* @param logType Type of logs that are getting vended
|
|
66
|
-
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
67
|
-
*/
|
|
68
|
-
constructor(logType: string, logDelivery: logsDelivery.ILogsDelivery);
|
|
69
|
-
/**
|
|
70
|
-
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
71
|
-
*/
|
|
72
|
-
supports(construct: constructs.IConstruct): construct is service.CfnTransformer;
|
|
73
|
-
/**
|
|
74
|
-
* Apply vended logs configuration to the construct
|
|
75
|
-
*/
|
|
76
|
-
applyTo(resource: constructs.IConstruct): void;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Output Format options for each destination of CfnTransformerB2biExecutionLogs.
|
|
80
|
-
*/
|
|
81
|
-
export declare class CfnTransformerB2biExecutionLogsOutputFormat {
|
|
82
|
-
}
|
|
83
|
-
export declare namespace CfnTransformerB2biExecutionLogsOutputFormat {
|
|
84
|
-
enum S3 {
|
|
85
|
-
JSON = "json",
|
|
86
|
-
PLAIN = "plain",
|
|
87
|
-
W3C = "w3c",
|
|
88
|
-
PARQUET = "parquet"
|
|
89
|
-
}
|
|
90
|
-
enum LogGroup {
|
|
91
|
-
PLAIN = "plain",
|
|
92
|
-
JSON = "json"
|
|
93
|
-
}
|
|
94
|
-
enum Firehose {
|
|
95
|
-
JSON = "json",
|
|
96
|
-
PLAIN = "plain",
|
|
97
|
-
RAW = "raw"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
export interface CfnTransformerB2biExecutionLogsS3Props {
|
|
101
|
-
/**
|
|
102
|
-
* Encrpytion key for your delivery bucket
|
|
103
|
-
*/
|
|
104
|
-
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
105
|
-
/**
|
|
106
|
-
* Format for log output, options are json,plain,w3c,parquet
|
|
107
|
-
*/
|
|
108
|
-
readonly outputFormat?: CfnTransformerB2biExecutionLogsOutputFormat.S3;
|
|
109
|
-
}
|
|
110
|
-
export interface CfnTransformerB2biExecutionLogsLogGroupProps {
|
|
111
|
-
/**
|
|
112
|
-
* Format for log output, options are plain,json
|
|
113
|
-
*/
|
|
114
|
-
readonly outputFormat?: CfnTransformerB2biExecutionLogsOutputFormat.LogGroup;
|
|
115
|
-
}
|
|
116
|
-
export interface CfnTransformerB2biExecutionLogsFirehoseProps {
|
|
117
|
-
/**
|
|
118
|
-
* Format for log output, options are json,plain,raw
|
|
119
|
-
*/
|
|
120
|
-
readonly outputFormat?: CfnTransformerB2biExecutionLogsOutputFormat.Firehose;
|
|
121
|
-
}
|