@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,245 +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-msk";
|
|
6
|
-
/**
|
|
7
|
-
* Builder for CfnClusterLogsMixin to generate BROKER_LOGS for CfnCluster
|
|
8
|
-
*
|
|
9
|
-
* @cloudformationResource AWS::MSK::Cluster
|
|
10
|
-
* @logType BROKER_LOGS
|
|
11
|
-
* @stability external
|
|
12
|
-
*/
|
|
13
|
-
export declare class CfnClusterBrokerLogs {
|
|
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?: CfnClusterBrokerLogsS3Props): CfnClusterLogsMixin;
|
|
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?: CfnClusterBrokerLogsLogGroupProps): CfnClusterLogsMixin;
|
|
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?: CfnClusterBrokerLogsFirehoseProps): CfnClusterLogsMixin;
|
|
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): CfnClusterLogsMixin;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Creates a new MSK cluster.
|
|
43
|
-
*
|
|
44
|
-
* @cloudformationResource AWS::MSK::Cluster
|
|
45
|
-
* @mixin true
|
|
46
|
-
* @stability external
|
|
47
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html
|
|
48
|
-
*/
|
|
49
|
-
export declare class CfnClusterLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
50
|
-
static readonly BROKER_LOGS: CfnClusterBrokerLogs;
|
|
51
|
-
protected readonly logType: string;
|
|
52
|
-
protected readonly logDelivery: logsDelivery.ILogsDelivery;
|
|
53
|
-
/**
|
|
54
|
-
* Create a mixin to enable vended logs for `AWS::MSK::Cluster`.
|
|
55
|
-
*
|
|
56
|
-
* @param logType Type of logs that are getting vended
|
|
57
|
-
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
58
|
-
*/
|
|
59
|
-
constructor(logType: string, logDelivery: logsDelivery.ILogsDelivery);
|
|
60
|
-
/**
|
|
61
|
-
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
62
|
-
*/
|
|
63
|
-
supports(construct: constructs.IConstruct): construct is service.CfnCluster;
|
|
64
|
-
/**
|
|
65
|
-
* Apply vended logs configuration to the construct
|
|
66
|
-
*/
|
|
67
|
-
applyTo(resource: constructs.IConstruct): void;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Output Format options for each destination of CfnClusterBrokerLogs.
|
|
71
|
-
*/
|
|
72
|
-
export declare class CfnClusterBrokerLogsOutputFormat {
|
|
73
|
-
}
|
|
74
|
-
export declare namespace CfnClusterBrokerLogsOutputFormat {
|
|
75
|
-
enum S3 {
|
|
76
|
-
JSON = "json",
|
|
77
|
-
PLAIN = "plain",
|
|
78
|
-
W3C = "w3c",
|
|
79
|
-
PARQUET = "parquet"
|
|
80
|
-
}
|
|
81
|
-
enum LogGroup {
|
|
82
|
-
PLAIN = "plain",
|
|
83
|
-
JSON = "json"
|
|
84
|
-
}
|
|
85
|
-
enum Firehose {
|
|
86
|
-
JSON = "json",
|
|
87
|
-
PLAIN = "plain",
|
|
88
|
-
RAW = "raw"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
export interface CfnClusterBrokerLogsS3Props {
|
|
92
|
-
/**
|
|
93
|
-
* Encrpytion key for your delivery bucket
|
|
94
|
-
*/
|
|
95
|
-
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
96
|
-
/**
|
|
97
|
-
* Format for log output, options are json,plain,w3c,parquet
|
|
98
|
-
*/
|
|
99
|
-
readonly outputFormat?: CfnClusterBrokerLogsOutputFormat.S3;
|
|
100
|
-
}
|
|
101
|
-
export interface CfnClusterBrokerLogsLogGroupProps {
|
|
102
|
-
/**
|
|
103
|
-
* Format for log output, options are plain,json
|
|
104
|
-
*/
|
|
105
|
-
readonly outputFormat?: CfnClusterBrokerLogsOutputFormat.LogGroup;
|
|
106
|
-
}
|
|
107
|
-
export interface CfnClusterBrokerLogsFirehoseProps {
|
|
108
|
-
/**
|
|
109
|
-
* Format for log output, options are json,plain,raw
|
|
110
|
-
*/
|
|
111
|
-
readonly outputFormat?: CfnClusterBrokerLogsOutputFormat.Firehose;
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Builder for CfnReplicatorLogsMixin to generate APPLICATION_LOGS for CfnReplicator
|
|
115
|
-
*
|
|
116
|
-
* @cloudformationResource AWS::MSK::Replicator
|
|
117
|
-
* @logType APPLICATION_LOGS
|
|
118
|
-
* @stability external
|
|
119
|
-
*/
|
|
120
|
-
export declare class CfnReplicatorApplicationLogs {
|
|
121
|
-
/**
|
|
122
|
-
* Send logs to an S3 Bucket
|
|
123
|
-
*
|
|
124
|
-
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
125
|
-
*/
|
|
126
|
-
toS3(bucket: interfaces.aws_s3.IBucketRef, props?: CfnReplicatorApplicationLogsS3Props): CfnReplicatorLogsMixin;
|
|
127
|
-
/**
|
|
128
|
-
* Send logs to a CloudWatch Log Group
|
|
129
|
-
*
|
|
130
|
-
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
131
|
-
*/
|
|
132
|
-
toLogGroup(logGroup: interfaces.aws_logs.ILogGroupRef, props?: CfnReplicatorApplicationLogsLogGroupProps): CfnReplicatorLogsMixin;
|
|
133
|
-
/**
|
|
134
|
-
* Send logs to a Firehose Delivery Stream
|
|
135
|
-
*
|
|
136
|
-
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
137
|
-
*/
|
|
138
|
-
toFirehose(deliveryStream: interfaces.aws_kinesisfirehose.IDeliveryStreamRef, props?: CfnReplicatorApplicationLogsFirehoseProps): CfnReplicatorLogsMixin;
|
|
139
|
-
/**
|
|
140
|
-
* Delivers logs to a pre-created delivery destination
|
|
141
|
-
*
|
|
142
|
-
* Supported destinations are S3, CWL, FH
|
|
143
|
-
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
144
|
-
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
145
|
-
*
|
|
146
|
-
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
147
|
-
*/
|
|
148
|
-
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef, props?: CfnReplicatorApplicationLogsDestProps): CfnReplicatorLogsMixin;
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* Creates the replicator.
|
|
152
|
-
*
|
|
153
|
-
* @cloudformationResource AWS::MSK::Replicator
|
|
154
|
-
* @mixin true
|
|
155
|
-
* @stability external
|
|
156
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-replicator.html
|
|
157
|
-
*/
|
|
158
|
-
export declare class CfnReplicatorLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
159
|
-
static readonly APPLICATION_LOGS: CfnReplicatorApplicationLogs;
|
|
160
|
-
protected readonly logType: string;
|
|
161
|
-
protected readonly logDelivery: logsDelivery.ILogsDelivery;
|
|
162
|
-
/**
|
|
163
|
-
* Create a mixin to enable vended logs for `AWS::MSK::Replicator`.
|
|
164
|
-
*
|
|
165
|
-
* @param logType Type of logs that are getting vended
|
|
166
|
-
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
167
|
-
*/
|
|
168
|
-
constructor(logType: string, logDelivery: logsDelivery.ILogsDelivery);
|
|
169
|
-
/**
|
|
170
|
-
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
171
|
-
*/
|
|
172
|
-
supports(construct: constructs.IConstruct): construct is service.CfnReplicator;
|
|
173
|
-
/**
|
|
174
|
-
* Apply vended logs configuration to the construct
|
|
175
|
-
*/
|
|
176
|
-
applyTo(resource: constructs.IConstruct): void;
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* Output Format options for each destination of CfnReplicatorApplicationLogs.
|
|
180
|
-
*/
|
|
181
|
-
export declare class CfnReplicatorApplicationLogsOutputFormat {
|
|
182
|
-
}
|
|
183
|
-
export declare namespace CfnReplicatorApplicationLogsOutputFormat {
|
|
184
|
-
enum S3 {
|
|
185
|
-
JSON = "json",
|
|
186
|
-
PLAIN = "plain",
|
|
187
|
-
W3C = "w3c",
|
|
188
|
-
PARQUET = "parquet"
|
|
189
|
-
}
|
|
190
|
-
enum LogGroup {
|
|
191
|
-
PLAIN = "plain",
|
|
192
|
-
JSON = "json"
|
|
193
|
-
}
|
|
194
|
-
enum Firehose {
|
|
195
|
-
JSON = "json",
|
|
196
|
-
PLAIN = "plain",
|
|
197
|
-
RAW = "raw"
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
export declare enum CfnReplicatorApplicationLogsRecordFields {
|
|
201
|
-
REPLICATOR_NAME = "replicator_name",
|
|
202
|
-
REPLICATOR_ID = "replicator_id",
|
|
203
|
-
EVENT_TIMESTAMP = "event_timestamp",
|
|
204
|
-
MESSAGE = "message"
|
|
205
|
-
}
|
|
206
|
-
export interface CfnReplicatorApplicationLogsS3Props {
|
|
207
|
-
/**
|
|
208
|
-
* Encrpytion key for your delivery bucket
|
|
209
|
-
*/
|
|
210
|
-
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
211
|
-
/**
|
|
212
|
-
* Format for log output, options are json,plain,w3c,parquet
|
|
213
|
-
*/
|
|
214
|
-
readonly outputFormat?: CfnReplicatorApplicationLogsOutputFormat.S3;
|
|
215
|
-
/**
|
|
216
|
-
* Record fields that can be provided to a log delivery
|
|
217
|
-
*/
|
|
218
|
-
readonly recordFields?: Array<CfnReplicatorApplicationLogsRecordFields>;
|
|
219
|
-
}
|
|
220
|
-
export interface CfnReplicatorApplicationLogsLogGroupProps {
|
|
221
|
-
/**
|
|
222
|
-
* Format for log output, options are plain,json
|
|
223
|
-
*/
|
|
224
|
-
readonly outputFormat?: CfnReplicatorApplicationLogsOutputFormat.LogGroup;
|
|
225
|
-
/**
|
|
226
|
-
* Record fields that can be provided to a log delivery
|
|
227
|
-
*/
|
|
228
|
-
readonly recordFields?: Array<CfnReplicatorApplicationLogsRecordFields>;
|
|
229
|
-
}
|
|
230
|
-
export interface CfnReplicatorApplicationLogsFirehoseProps {
|
|
231
|
-
/**
|
|
232
|
-
* Format for log output, options are json,plain,raw
|
|
233
|
-
*/
|
|
234
|
-
readonly outputFormat?: CfnReplicatorApplicationLogsOutputFormat.Firehose;
|
|
235
|
-
/**
|
|
236
|
-
* Record fields that can be provided to a log delivery
|
|
237
|
-
*/
|
|
238
|
-
readonly recordFields?: Array<CfnReplicatorApplicationLogsRecordFields>;
|
|
239
|
-
}
|
|
240
|
-
export interface CfnReplicatorApplicationLogsDestProps {
|
|
241
|
-
/**
|
|
242
|
-
* Record fields that can be provided to a log delivery
|
|
243
|
-
*/
|
|
244
|
-
readonly recordFields?: Array<CfnReplicatorApplicationLogsRecordFields>;
|
|
245
|
-
}
|
|
@@ -1,410 +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.CfnReplicatorApplicationLogsRecordFields = exports.CfnReplicatorApplicationLogsOutputFormat = exports.CfnReplicatorLogsMixin = exports.CfnReplicatorApplicationLogs = exports.CfnClusterBrokerLogsOutputFormat = exports.CfnClusterLogsMixin = exports.CfnClusterBrokerLogs = 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-msk"));
|
|
43
|
-
/**
|
|
44
|
-
* Builder for CfnClusterLogsMixin to generate BROKER_LOGS for CfnCluster
|
|
45
|
-
*
|
|
46
|
-
* @cloudformationResource AWS::MSK::Cluster
|
|
47
|
-
* @logType BROKER_LOGS
|
|
48
|
-
* @stability external
|
|
49
|
-
*/
|
|
50
|
-
class CfnClusterBrokerLogs {
|
|
51
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnClusterBrokerLogs", 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_msk_mixins_CfnClusterBrokerLogsS3Props(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 CfnClusterLogsMixin("BROKER_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_msk_mixins_CfnClusterBrokerLogsLogGroupProps(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 CfnClusterLogsMixin("BROKER_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_msk_mixins_CfnClusterBrokerLogsFirehoseProps(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 CfnClusterLogsMixin("BROKER_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 CfnClusterLogsMixin("BROKER_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
133
|
-
providedFields: undefined,
|
|
134
|
-
mandatoryFields: undefined
|
|
135
|
-
}));
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
exports.CfnClusterBrokerLogs = CfnClusterBrokerLogs;
|
|
140
|
-
/**
|
|
141
|
-
* Creates a new MSK cluster.
|
|
142
|
-
*
|
|
143
|
-
* @cloudformationResource AWS::MSK::Cluster
|
|
144
|
-
* @mixin true
|
|
145
|
-
* @stability external
|
|
146
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html
|
|
147
|
-
*/
|
|
148
|
-
class CfnClusterLogsMixin extends cdk.Mixin {
|
|
149
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnClusterLogsMixin", version: "2.267.0-alpha.0" };
|
|
150
|
-
static BROKER_LOGS = new CfnClusterBrokerLogs();
|
|
151
|
-
logType;
|
|
152
|
-
logDelivery;
|
|
153
|
-
/**
|
|
154
|
-
* Create a mixin to enable vended logs for `AWS::MSK::Cluster`.
|
|
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, CfnClusterLogsMixin);
|
|
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.CfnCluster.isCfnCluster(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.CfnCluster.arnForCluster(resource);
|
|
187
|
-
this.logDelivery.bind(resource, this.logType, sourceArn);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
exports.CfnClusterLogsMixin = CfnClusterLogsMixin;
|
|
191
|
-
/**
|
|
192
|
-
* Output Format options for each destination of CfnClusterBrokerLogs.
|
|
193
|
-
*/
|
|
194
|
-
class CfnClusterBrokerLogsOutputFormat {
|
|
195
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnClusterBrokerLogsOutputFormat", version: "2.267.0-alpha.0" };
|
|
196
|
-
}
|
|
197
|
-
exports.CfnClusterBrokerLogsOutputFormat = CfnClusterBrokerLogsOutputFormat;
|
|
198
|
-
(function (CfnClusterBrokerLogsOutputFormat) {
|
|
199
|
-
let S3;
|
|
200
|
-
(function (S3) {
|
|
201
|
-
S3["JSON"] = "json";
|
|
202
|
-
S3["PLAIN"] = "plain";
|
|
203
|
-
S3["W3C"] = "w3c";
|
|
204
|
-
S3["PARQUET"] = "parquet";
|
|
205
|
-
})(S3 = CfnClusterBrokerLogsOutputFormat.S3 || (CfnClusterBrokerLogsOutputFormat.S3 = {}));
|
|
206
|
-
let LogGroup;
|
|
207
|
-
(function (LogGroup) {
|
|
208
|
-
LogGroup["PLAIN"] = "plain";
|
|
209
|
-
LogGroup["JSON"] = "json";
|
|
210
|
-
})(LogGroup = CfnClusterBrokerLogsOutputFormat.LogGroup || (CfnClusterBrokerLogsOutputFormat.LogGroup = {}));
|
|
211
|
-
let Firehose;
|
|
212
|
-
(function (Firehose) {
|
|
213
|
-
Firehose["JSON"] = "json";
|
|
214
|
-
Firehose["PLAIN"] = "plain";
|
|
215
|
-
Firehose["RAW"] = "raw";
|
|
216
|
-
})(Firehose = CfnClusterBrokerLogsOutputFormat.Firehose || (CfnClusterBrokerLogsOutputFormat.Firehose = {}));
|
|
217
|
-
})(CfnClusterBrokerLogsOutputFormat || (exports.CfnClusterBrokerLogsOutputFormat = CfnClusterBrokerLogsOutputFormat = {}));
|
|
218
|
-
/**
|
|
219
|
-
* Builder for CfnReplicatorLogsMixin to generate APPLICATION_LOGS for CfnReplicator
|
|
220
|
-
*
|
|
221
|
-
* @cloudformationResource AWS::MSK::Replicator
|
|
222
|
-
* @logType APPLICATION_LOGS
|
|
223
|
-
* @stability external
|
|
224
|
-
*/
|
|
225
|
-
class CfnReplicatorApplicationLogs {
|
|
226
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnReplicatorApplicationLogs", 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_msk_mixins_CfnReplicatorApplicationLogsS3Props(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 CfnReplicatorLogsMixin("APPLICATION_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
244
|
-
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V2,
|
|
245
|
-
kmsKey: props?.encryptionKey,
|
|
246
|
-
outputFormat: props?.outputFormat,
|
|
247
|
-
providedFields: props?.recordFields,
|
|
248
|
-
mandatoryFields: ["replicator_name", "replicator_id", "event_timestamp", "message"]
|
|
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_msk_mixins_CfnReplicatorApplicationLogsLogGroupProps(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 CfnReplicatorLogsMixin("APPLICATION_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
269
|
-
outputFormat: props?.outputFormat,
|
|
270
|
-
providedFields: props?.recordFields,
|
|
271
|
-
mandatoryFields: ["replicator_name", "replicator_id", "event_timestamp", "message"]
|
|
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_msk_mixins_CfnReplicatorApplicationLogsFirehoseProps(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 CfnReplicatorLogsMixin("APPLICATION_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
|
|
292
|
-
outputFormat: props?.outputFormat,
|
|
293
|
-
providedFields: props?.recordFields,
|
|
294
|
-
mandatoryFields: ["replicator_name", "replicator_id", "event_timestamp", "message"]
|
|
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
|
-
* @param props Additional properties that are optionally used in log delivery for destinations
|
|
306
|
-
*/
|
|
307
|
-
toDestination(destination, props) {
|
|
308
|
-
try {
|
|
309
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_msk_mixins_CfnReplicatorApplicationLogsDestProps(props);
|
|
310
|
-
}
|
|
311
|
-
catch (error) {
|
|
312
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
313
|
-
Error.captureStackTrace(error, this.toDestination);
|
|
314
|
-
}
|
|
315
|
-
throw error;
|
|
316
|
-
}
|
|
317
|
-
{
|
|
318
|
-
return new CfnReplicatorLogsMixin("APPLICATION_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
319
|
-
providedFields: props?.recordFields,
|
|
320
|
-
mandatoryFields: ["replicator_name", "replicator_id", "event_timestamp", "message"]
|
|
321
|
-
}));
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
exports.CfnReplicatorApplicationLogs = CfnReplicatorApplicationLogs;
|
|
326
|
-
/**
|
|
327
|
-
* Creates the replicator.
|
|
328
|
-
*
|
|
329
|
-
* @cloudformationResource AWS::MSK::Replicator
|
|
330
|
-
* @mixin true
|
|
331
|
-
* @stability external
|
|
332
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-replicator.html
|
|
333
|
-
*/
|
|
334
|
-
class CfnReplicatorLogsMixin extends cdk.Mixin {
|
|
335
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnReplicatorLogsMixin", version: "2.267.0-alpha.0" };
|
|
336
|
-
static APPLICATION_LOGS = new CfnReplicatorApplicationLogs();
|
|
337
|
-
logType;
|
|
338
|
-
logDelivery;
|
|
339
|
-
/**
|
|
340
|
-
* Create a mixin to enable vended logs for `AWS::MSK::Replicator`.
|
|
341
|
-
*
|
|
342
|
-
* @param logType Type of logs that are getting vended
|
|
343
|
-
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
344
|
-
*/
|
|
345
|
-
constructor(logType, logDelivery) {
|
|
346
|
-
super();
|
|
347
|
-
try {
|
|
348
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
|
|
349
|
-
}
|
|
350
|
-
catch (error) {
|
|
351
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
352
|
-
Error.captureStackTrace(error, CfnReplicatorLogsMixin);
|
|
353
|
-
}
|
|
354
|
-
throw error;
|
|
355
|
-
}
|
|
356
|
-
this.logType = logType;
|
|
357
|
-
this.logDelivery = logDelivery;
|
|
358
|
-
}
|
|
359
|
-
/**
|
|
360
|
-
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
361
|
-
*/
|
|
362
|
-
supports(construct) {
|
|
363
|
-
return (cdk.CfnResource.isCfnResource(construct) && service.CfnReplicator.isCfnReplicator(construct));
|
|
364
|
-
}
|
|
365
|
-
/**
|
|
366
|
-
* Apply vended logs configuration to the construct
|
|
367
|
-
*/
|
|
368
|
-
applyTo(resource) {
|
|
369
|
-
if (!this.supports(resource)) {
|
|
370
|
-
return;
|
|
371
|
-
}
|
|
372
|
-
const sourceArn = service.CfnReplicator.arnForReplicator(resource);
|
|
373
|
-
this.logDelivery.bind(resource, this.logType, sourceArn);
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
exports.CfnReplicatorLogsMixin = CfnReplicatorLogsMixin;
|
|
377
|
-
/**
|
|
378
|
-
* Output Format options for each destination of CfnReplicatorApplicationLogs.
|
|
379
|
-
*/
|
|
380
|
-
class CfnReplicatorApplicationLogsOutputFormat {
|
|
381
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_msk.mixins.CfnReplicatorApplicationLogsOutputFormat", version: "2.267.0-alpha.0" };
|
|
382
|
-
}
|
|
383
|
-
exports.CfnReplicatorApplicationLogsOutputFormat = CfnReplicatorApplicationLogsOutputFormat;
|
|
384
|
-
(function (CfnReplicatorApplicationLogsOutputFormat) {
|
|
385
|
-
let S3;
|
|
386
|
-
(function (S3) {
|
|
387
|
-
S3["JSON"] = "json";
|
|
388
|
-
S3["PLAIN"] = "plain";
|
|
389
|
-
S3["W3C"] = "w3c";
|
|
390
|
-
S3["PARQUET"] = "parquet";
|
|
391
|
-
})(S3 = CfnReplicatorApplicationLogsOutputFormat.S3 || (CfnReplicatorApplicationLogsOutputFormat.S3 = {}));
|
|
392
|
-
let LogGroup;
|
|
393
|
-
(function (LogGroup) {
|
|
394
|
-
LogGroup["PLAIN"] = "plain";
|
|
395
|
-
LogGroup["JSON"] = "json";
|
|
396
|
-
})(LogGroup = CfnReplicatorApplicationLogsOutputFormat.LogGroup || (CfnReplicatorApplicationLogsOutputFormat.LogGroup = {}));
|
|
397
|
-
let Firehose;
|
|
398
|
-
(function (Firehose) {
|
|
399
|
-
Firehose["JSON"] = "json";
|
|
400
|
-
Firehose["PLAIN"] = "plain";
|
|
401
|
-
Firehose["RAW"] = "raw";
|
|
402
|
-
})(Firehose = CfnReplicatorApplicationLogsOutputFormat.Firehose || (CfnReplicatorApplicationLogsOutputFormat.Firehose = {}));
|
|
403
|
-
})(CfnReplicatorApplicationLogsOutputFormat || (exports.CfnReplicatorApplicationLogsOutputFormat = CfnReplicatorApplicationLogsOutputFormat = {}));
|
|
404
|
-
var CfnReplicatorApplicationLogsRecordFields;
|
|
405
|
-
(function (CfnReplicatorApplicationLogsRecordFields) {
|
|
406
|
-
CfnReplicatorApplicationLogsRecordFields["REPLICATOR_NAME"] = "replicator_name";
|
|
407
|
-
CfnReplicatorApplicationLogsRecordFields["REPLICATOR_ID"] = "replicator_id";
|
|
408
|
-
CfnReplicatorApplicationLogsRecordFields["EVENT_TIMESTAMP"] = "event_timestamp";
|
|
409
|
-
CfnReplicatorApplicationLogsRecordFields["MESSAGE"] = "message";
|
|
410
|
-
})(CfnReplicatorApplicationLogsRecordFields || (exports.CfnReplicatorApplicationLogsRecordFields = CfnReplicatorApplicationLogsRecordFields = {}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './logs-delivery-mixins.generated';
|
|
@@ -1,17 +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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./logs-delivery-mixins.generated"), exports);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"targets": {
|
|
3
|
-
"java": {
|
|
4
|
-
"package": "software.amazon.awscdk.mixins.preview.services.osis"
|
|
5
|
-
},
|
|
6
|
-
"dotnet": {
|
|
7
|
-
"namespace": "Amazon.CDK.Mixins.Preview.AWS.OSIS"
|
|
8
|
-
},
|
|
9
|
-
"python": {
|
|
10
|
-
"module": "aws_cdk.mixins_preview.aws_osis"
|
|
11
|
-
},
|
|
12
|
-
"go": {
|
|
13
|
-
"packageName": "previewawsosis"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|