@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,594 +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.CfnApplicationDatasetImportLogsOutputFormat = exports.CfnApplicationConsoleLogsOutputFormat = exports.CfnApplicationBatchJobLogsOutputFormat = exports.CfnApplicationConfigLogsOutputFormat = exports.CfnApplicationLogsMixin = exports.CfnApplicationDatasetImportLogs = exports.CfnApplicationConsoleLogs = exports.CfnApplicationBatchJobLogs = exports.CfnApplicationConfigLogs = 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-m2"));
|
|
43
|
-
/**
|
|
44
|
-
* Builder for CfnApplicationLogsMixin to generate CONFIG_LOGS for CfnApplication
|
|
45
|
-
*
|
|
46
|
-
* @cloudformationResource AWS::M2::Application
|
|
47
|
-
* @logType CONFIG_LOGS
|
|
48
|
-
* @stability external
|
|
49
|
-
*/
|
|
50
|
-
class CfnApplicationConfigLogs {
|
|
51
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_m2.mixins.CfnApplicationConfigLogs", 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_m2_mixins_CfnApplicationConfigLogsS3Props(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 CfnApplicationLogsMixin("CONFIG_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_m2_mixins_CfnApplicationConfigLogsLogGroupProps(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 CfnApplicationLogsMixin("CONFIG_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_m2_mixins_CfnApplicationConfigLogsFirehoseProps(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 CfnApplicationLogsMixin("CONFIG_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 CfnApplicationLogsMixin("CONFIG_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
133
|
-
providedFields: undefined,
|
|
134
|
-
mandatoryFields: undefined
|
|
135
|
-
}));
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
exports.CfnApplicationConfigLogs = CfnApplicationConfigLogs;
|
|
140
|
-
/**
|
|
141
|
-
* Builder for CfnApplicationLogsMixin to generate BATCH_JOB_LOGS for CfnApplication
|
|
142
|
-
*
|
|
143
|
-
* @cloudformationResource AWS::M2::Application
|
|
144
|
-
* @logType BATCH_JOB_LOGS
|
|
145
|
-
* @stability external
|
|
146
|
-
*/
|
|
147
|
-
class CfnApplicationBatchJobLogs {
|
|
148
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_m2.mixins.CfnApplicationBatchJobLogs", version: "2.267.0-alpha.0" };
|
|
149
|
-
/**
|
|
150
|
-
* Send logs to an S3 Bucket
|
|
151
|
-
*
|
|
152
|
-
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
153
|
-
*/
|
|
154
|
-
toS3(bucket, props) {
|
|
155
|
-
try {
|
|
156
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_m2_mixins_CfnApplicationBatchJobLogsS3Props(props);
|
|
157
|
-
}
|
|
158
|
-
catch (error) {
|
|
159
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
160
|
-
Error.captureStackTrace(error, this.toS3);
|
|
161
|
-
}
|
|
162
|
-
throw error;
|
|
163
|
-
}
|
|
164
|
-
{
|
|
165
|
-
return new CfnApplicationLogsMixin("BATCH_JOB_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
166
|
-
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V1,
|
|
167
|
-
kmsKey: props?.encryptionKey,
|
|
168
|
-
outputFormat: props?.outputFormat,
|
|
169
|
-
providedFields: undefined,
|
|
170
|
-
mandatoryFields: undefined
|
|
171
|
-
}));
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
/**
|
|
175
|
-
* Send logs to a CloudWatch Log Group
|
|
176
|
-
*
|
|
177
|
-
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
178
|
-
*/
|
|
179
|
-
toLogGroup(logGroup, props) {
|
|
180
|
-
try {
|
|
181
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_m2_mixins_CfnApplicationBatchJobLogsLogGroupProps(props);
|
|
182
|
-
}
|
|
183
|
-
catch (error) {
|
|
184
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
185
|
-
Error.captureStackTrace(error, this.toLogGroup);
|
|
186
|
-
}
|
|
187
|
-
throw error;
|
|
188
|
-
}
|
|
189
|
-
{
|
|
190
|
-
return new CfnApplicationLogsMixin("BATCH_JOB_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
191
|
-
outputFormat: props?.outputFormat,
|
|
192
|
-
providedFields: undefined,
|
|
193
|
-
mandatoryFields: undefined
|
|
194
|
-
}));
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Send logs to a Firehose Delivery Stream
|
|
199
|
-
*
|
|
200
|
-
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
201
|
-
*/
|
|
202
|
-
toFirehose(deliveryStream, props) {
|
|
203
|
-
try {
|
|
204
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_m2_mixins_CfnApplicationBatchJobLogsFirehoseProps(props);
|
|
205
|
-
}
|
|
206
|
-
catch (error) {
|
|
207
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
208
|
-
Error.captureStackTrace(error, this.toFirehose);
|
|
209
|
-
}
|
|
210
|
-
throw error;
|
|
211
|
-
}
|
|
212
|
-
{
|
|
213
|
-
return new CfnApplicationLogsMixin("BATCH_JOB_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
|
|
214
|
-
outputFormat: props?.outputFormat,
|
|
215
|
-
providedFields: undefined,
|
|
216
|
-
mandatoryFields: undefined
|
|
217
|
-
}));
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
/**
|
|
221
|
-
* Delivers logs to a pre-created delivery destination
|
|
222
|
-
*
|
|
223
|
-
* Supported destinations are S3, CWL, FH
|
|
224
|
-
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
225
|
-
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
226
|
-
*/
|
|
227
|
-
toDestination(destination) {
|
|
228
|
-
{
|
|
229
|
-
return new CfnApplicationLogsMixin("BATCH_JOB_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
230
|
-
providedFields: undefined,
|
|
231
|
-
mandatoryFields: undefined
|
|
232
|
-
}));
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
exports.CfnApplicationBatchJobLogs = CfnApplicationBatchJobLogs;
|
|
237
|
-
/**
|
|
238
|
-
* Builder for CfnApplicationLogsMixin to generate CONSOLE_LOGS for CfnApplication
|
|
239
|
-
*
|
|
240
|
-
* @cloudformationResource AWS::M2::Application
|
|
241
|
-
* @logType CONSOLE_LOGS
|
|
242
|
-
* @stability external
|
|
243
|
-
*/
|
|
244
|
-
class CfnApplicationConsoleLogs {
|
|
245
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_m2.mixins.CfnApplicationConsoleLogs", version: "2.267.0-alpha.0" };
|
|
246
|
-
/**
|
|
247
|
-
* Send logs to an S3 Bucket
|
|
248
|
-
*
|
|
249
|
-
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
250
|
-
*/
|
|
251
|
-
toS3(bucket, props) {
|
|
252
|
-
try {
|
|
253
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_m2_mixins_CfnApplicationConsoleLogsS3Props(props);
|
|
254
|
-
}
|
|
255
|
-
catch (error) {
|
|
256
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
257
|
-
Error.captureStackTrace(error, this.toS3);
|
|
258
|
-
}
|
|
259
|
-
throw error;
|
|
260
|
-
}
|
|
261
|
-
{
|
|
262
|
-
return new CfnApplicationLogsMixin("CONSOLE_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
263
|
-
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V1,
|
|
264
|
-
kmsKey: props?.encryptionKey,
|
|
265
|
-
outputFormat: props?.outputFormat,
|
|
266
|
-
providedFields: undefined,
|
|
267
|
-
mandatoryFields: undefined
|
|
268
|
-
}));
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
/**
|
|
272
|
-
* Send logs to a CloudWatch Log Group
|
|
273
|
-
*
|
|
274
|
-
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
275
|
-
*/
|
|
276
|
-
toLogGroup(logGroup, props) {
|
|
277
|
-
try {
|
|
278
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_m2_mixins_CfnApplicationConsoleLogsLogGroupProps(props);
|
|
279
|
-
}
|
|
280
|
-
catch (error) {
|
|
281
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
282
|
-
Error.captureStackTrace(error, this.toLogGroup);
|
|
283
|
-
}
|
|
284
|
-
throw error;
|
|
285
|
-
}
|
|
286
|
-
{
|
|
287
|
-
return new CfnApplicationLogsMixin("CONSOLE_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
288
|
-
outputFormat: props?.outputFormat,
|
|
289
|
-
providedFields: undefined,
|
|
290
|
-
mandatoryFields: undefined
|
|
291
|
-
}));
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
/**
|
|
295
|
-
* Send logs to a Firehose Delivery Stream
|
|
296
|
-
*
|
|
297
|
-
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
298
|
-
*/
|
|
299
|
-
toFirehose(deliveryStream, props) {
|
|
300
|
-
try {
|
|
301
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_m2_mixins_CfnApplicationConsoleLogsFirehoseProps(props);
|
|
302
|
-
}
|
|
303
|
-
catch (error) {
|
|
304
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
305
|
-
Error.captureStackTrace(error, this.toFirehose);
|
|
306
|
-
}
|
|
307
|
-
throw error;
|
|
308
|
-
}
|
|
309
|
-
{
|
|
310
|
-
return new CfnApplicationLogsMixin("CONSOLE_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
|
|
311
|
-
outputFormat: props?.outputFormat,
|
|
312
|
-
providedFields: undefined,
|
|
313
|
-
mandatoryFields: undefined
|
|
314
|
-
}));
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
/**
|
|
318
|
-
* Delivers logs to a pre-created delivery destination
|
|
319
|
-
*
|
|
320
|
-
* Supported destinations are S3, CWL, FH
|
|
321
|
-
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
322
|
-
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
323
|
-
*/
|
|
324
|
-
toDestination(destination) {
|
|
325
|
-
{
|
|
326
|
-
return new CfnApplicationLogsMixin("CONSOLE_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
327
|
-
providedFields: undefined,
|
|
328
|
-
mandatoryFields: undefined
|
|
329
|
-
}));
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
exports.CfnApplicationConsoleLogs = CfnApplicationConsoleLogs;
|
|
334
|
-
/**
|
|
335
|
-
* Builder for CfnApplicationLogsMixin to generate DATASET_IMPORT_LOGS for CfnApplication
|
|
336
|
-
*
|
|
337
|
-
* @cloudformationResource AWS::M2::Application
|
|
338
|
-
* @logType DATASET_IMPORT_LOGS
|
|
339
|
-
* @stability external
|
|
340
|
-
*/
|
|
341
|
-
class CfnApplicationDatasetImportLogs {
|
|
342
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_m2.mixins.CfnApplicationDatasetImportLogs", version: "2.267.0-alpha.0" };
|
|
343
|
-
/**
|
|
344
|
-
* Send logs to an S3 Bucket
|
|
345
|
-
*
|
|
346
|
-
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
347
|
-
*/
|
|
348
|
-
toS3(bucket, props) {
|
|
349
|
-
try {
|
|
350
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_m2_mixins_CfnApplicationDatasetImportLogsS3Props(props);
|
|
351
|
-
}
|
|
352
|
-
catch (error) {
|
|
353
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
354
|
-
Error.captureStackTrace(error, this.toS3);
|
|
355
|
-
}
|
|
356
|
-
throw error;
|
|
357
|
-
}
|
|
358
|
-
{
|
|
359
|
-
return new CfnApplicationLogsMixin("DATASET_IMPORT_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
360
|
-
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V1,
|
|
361
|
-
kmsKey: props?.encryptionKey,
|
|
362
|
-
outputFormat: props?.outputFormat,
|
|
363
|
-
providedFields: undefined,
|
|
364
|
-
mandatoryFields: undefined
|
|
365
|
-
}));
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
/**
|
|
369
|
-
* Send logs to a CloudWatch Log Group
|
|
370
|
-
*
|
|
371
|
-
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
372
|
-
*/
|
|
373
|
-
toLogGroup(logGroup, props) {
|
|
374
|
-
try {
|
|
375
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_m2_mixins_CfnApplicationDatasetImportLogsLogGroupProps(props);
|
|
376
|
-
}
|
|
377
|
-
catch (error) {
|
|
378
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
379
|
-
Error.captureStackTrace(error, this.toLogGroup);
|
|
380
|
-
}
|
|
381
|
-
throw error;
|
|
382
|
-
}
|
|
383
|
-
{
|
|
384
|
-
return new CfnApplicationLogsMixin("DATASET_IMPORT_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
385
|
-
outputFormat: props?.outputFormat,
|
|
386
|
-
providedFields: undefined,
|
|
387
|
-
mandatoryFields: undefined
|
|
388
|
-
}));
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
/**
|
|
392
|
-
* Send logs to a Firehose Delivery Stream
|
|
393
|
-
*
|
|
394
|
-
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
395
|
-
*/
|
|
396
|
-
toFirehose(deliveryStream, props) {
|
|
397
|
-
try {
|
|
398
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_m2_mixins_CfnApplicationDatasetImportLogsFirehoseProps(props);
|
|
399
|
-
}
|
|
400
|
-
catch (error) {
|
|
401
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
402
|
-
Error.captureStackTrace(error, this.toFirehose);
|
|
403
|
-
}
|
|
404
|
-
throw error;
|
|
405
|
-
}
|
|
406
|
-
{
|
|
407
|
-
return new CfnApplicationLogsMixin("DATASET_IMPORT_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
|
|
408
|
-
outputFormat: props?.outputFormat,
|
|
409
|
-
providedFields: undefined,
|
|
410
|
-
mandatoryFields: undefined
|
|
411
|
-
}));
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
/**
|
|
415
|
-
* Delivers logs to a pre-created delivery destination
|
|
416
|
-
*
|
|
417
|
-
* Supported destinations are S3, CWL, FH
|
|
418
|
-
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
419
|
-
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
420
|
-
*/
|
|
421
|
-
toDestination(destination) {
|
|
422
|
-
{
|
|
423
|
-
return new CfnApplicationLogsMixin("DATASET_IMPORT_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
424
|
-
providedFields: undefined,
|
|
425
|
-
mandatoryFields: undefined
|
|
426
|
-
}));
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
exports.CfnApplicationDatasetImportLogs = CfnApplicationDatasetImportLogs;
|
|
431
|
-
/**
|
|
432
|
-
* Specifies a new application with given parameters. Requires an existing runtime environment and application definition file.
|
|
433
|
-
*
|
|
434
|
-
* For information about application definitions, see the [AWS Mainframe Modernization User Guide](https://docs.aws.amazon.com/m2/latest/userguide/applications-m2-definition.html) .
|
|
435
|
-
*
|
|
436
|
-
* @cloudformationResource AWS::M2::Application
|
|
437
|
-
* @mixin true
|
|
438
|
-
* @stability external
|
|
439
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html
|
|
440
|
-
*/
|
|
441
|
-
class CfnApplicationLogsMixin extends cdk.Mixin {
|
|
442
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_m2.mixins.CfnApplicationLogsMixin", version: "2.267.0-alpha.0" };
|
|
443
|
-
static CONFIG_LOGS = new CfnApplicationConfigLogs();
|
|
444
|
-
static BATCH_JOB_LOGS = new CfnApplicationBatchJobLogs();
|
|
445
|
-
static CONSOLE_LOGS = new CfnApplicationConsoleLogs();
|
|
446
|
-
static DATASET_IMPORT_LOGS = new CfnApplicationDatasetImportLogs();
|
|
447
|
-
logType;
|
|
448
|
-
logDelivery;
|
|
449
|
-
/**
|
|
450
|
-
* Create a mixin to enable vended logs for `AWS::M2::Application`.
|
|
451
|
-
*
|
|
452
|
-
* @param logType Type of logs that are getting vended
|
|
453
|
-
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
454
|
-
*/
|
|
455
|
-
constructor(logType, logDelivery) {
|
|
456
|
-
super();
|
|
457
|
-
try {
|
|
458
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
|
|
459
|
-
}
|
|
460
|
-
catch (error) {
|
|
461
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
462
|
-
Error.captureStackTrace(error, CfnApplicationLogsMixin);
|
|
463
|
-
}
|
|
464
|
-
throw error;
|
|
465
|
-
}
|
|
466
|
-
this.logType = logType;
|
|
467
|
-
this.logDelivery = logDelivery;
|
|
468
|
-
}
|
|
469
|
-
/**
|
|
470
|
-
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
471
|
-
*/
|
|
472
|
-
supports(construct) {
|
|
473
|
-
return (cdk.CfnResource.isCfnResource(construct) && service.CfnApplication.isCfnApplication(construct));
|
|
474
|
-
}
|
|
475
|
-
/**
|
|
476
|
-
* Apply vended logs configuration to the construct
|
|
477
|
-
*/
|
|
478
|
-
applyTo(resource) {
|
|
479
|
-
if (!this.supports(resource)) {
|
|
480
|
-
return;
|
|
481
|
-
}
|
|
482
|
-
const sourceArn = service.CfnApplication.arnForApplication(resource);
|
|
483
|
-
this.logDelivery.bind(resource, this.logType, sourceArn);
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
exports.CfnApplicationLogsMixin = CfnApplicationLogsMixin;
|
|
487
|
-
/**
|
|
488
|
-
* Output Format options for each destination of CfnApplicationConfigLogs.
|
|
489
|
-
*/
|
|
490
|
-
class CfnApplicationConfigLogsOutputFormat {
|
|
491
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_m2.mixins.CfnApplicationConfigLogsOutputFormat", version: "2.267.0-alpha.0" };
|
|
492
|
-
}
|
|
493
|
-
exports.CfnApplicationConfigLogsOutputFormat = CfnApplicationConfigLogsOutputFormat;
|
|
494
|
-
(function (CfnApplicationConfigLogsOutputFormat) {
|
|
495
|
-
let S3;
|
|
496
|
-
(function (S3) {
|
|
497
|
-
S3["JSON"] = "json";
|
|
498
|
-
S3["PLAIN"] = "plain";
|
|
499
|
-
S3["W3C"] = "w3c";
|
|
500
|
-
S3["PARQUET"] = "parquet";
|
|
501
|
-
})(S3 = CfnApplicationConfigLogsOutputFormat.S3 || (CfnApplicationConfigLogsOutputFormat.S3 = {}));
|
|
502
|
-
let LogGroup;
|
|
503
|
-
(function (LogGroup) {
|
|
504
|
-
LogGroup["PLAIN"] = "plain";
|
|
505
|
-
LogGroup["JSON"] = "json";
|
|
506
|
-
})(LogGroup = CfnApplicationConfigLogsOutputFormat.LogGroup || (CfnApplicationConfigLogsOutputFormat.LogGroup = {}));
|
|
507
|
-
let Firehose;
|
|
508
|
-
(function (Firehose) {
|
|
509
|
-
Firehose["JSON"] = "json";
|
|
510
|
-
Firehose["PLAIN"] = "plain";
|
|
511
|
-
Firehose["RAW"] = "raw";
|
|
512
|
-
})(Firehose = CfnApplicationConfigLogsOutputFormat.Firehose || (CfnApplicationConfigLogsOutputFormat.Firehose = {}));
|
|
513
|
-
})(CfnApplicationConfigLogsOutputFormat || (exports.CfnApplicationConfigLogsOutputFormat = CfnApplicationConfigLogsOutputFormat = {}));
|
|
514
|
-
/**
|
|
515
|
-
* Output Format options for each destination of CfnApplicationBatchJobLogs.
|
|
516
|
-
*/
|
|
517
|
-
class CfnApplicationBatchJobLogsOutputFormat {
|
|
518
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_m2.mixins.CfnApplicationBatchJobLogsOutputFormat", version: "2.267.0-alpha.0" };
|
|
519
|
-
}
|
|
520
|
-
exports.CfnApplicationBatchJobLogsOutputFormat = CfnApplicationBatchJobLogsOutputFormat;
|
|
521
|
-
(function (CfnApplicationBatchJobLogsOutputFormat) {
|
|
522
|
-
let S3;
|
|
523
|
-
(function (S3) {
|
|
524
|
-
S3["JSON"] = "json";
|
|
525
|
-
S3["PLAIN"] = "plain";
|
|
526
|
-
S3["W3C"] = "w3c";
|
|
527
|
-
S3["PARQUET"] = "parquet";
|
|
528
|
-
})(S3 = CfnApplicationBatchJobLogsOutputFormat.S3 || (CfnApplicationBatchJobLogsOutputFormat.S3 = {}));
|
|
529
|
-
let LogGroup;
|
|
530
|
-
(function (LogGroup) {
|
|
531
|
-
LogGroup["PLAIN"] = "plain";
|
|
532
|
-
LogGroup["JSON"] = "json";
|
|
533
|
-
})(LogGroup = CfnApplicationBatchJobLogsOutputFormat.LogGroup || (CfnApplicationBatchJobLogsOutputFormat.LogGroup = {}));
|
|
534
|
-
let Firehose;
|
|
535
|
-
(function (Firehose) {
|
|
536
|
-
Firehose["JSON"] = "json";
|
|
537
|
-
Firehose["PLAIN"] = "plain";
|
|
538
|
-
Firehose["RAW"] = "raw";
|
|
539
|
-
})(Firehose = CfnApplicationBatchJobLogsOutputFormat.Firehose || (CfnApplicationBatchJobLogsOutputFormat.Firehose = {}));
|
|
540
|
-
})(CfnApplicationBatchJobLogsOutputFormat || (exports.CfnApplicationBatchJobLogsOutputFormat = CfnApplicationBatchJobLogsOutputFormat = {}));
|
|
541
|
-
/**
|
|
542
|
-
* Output Format options for each destination of CfnApplicationConsoleLogs.
|
|
543
|
-
*/
|
|
544
|
-
class CfnApplicationConsoleLogsOutputFormat {
|
|
545
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_m2.mixins.CfnApplicationConsoleLogsOutputFormat", version: "2.267.0-alpha.0" };
|
|
546
|
-
}
|
|
547
|
-
exports.CfnApplicationConsoleLogsOutputFormat = CfnApplicationConsoleLogsOutputFormat;
|
|
548
|
-
(function (CfnApplicationConsoleLogsOutputFormat) {
|
|
549
|
-
let S3;
|
|
550
|
-
(function (S3) {
|
|
551
|
-
S3["JSON"] = "json";
|
|
552
|
-
S3["PLAIN"] = "plain";
|
|
553
|
-
S3["W3C"] = "w3c";
|
|
554
|
-
S3["PARQUET"] = "parquet";
|
|
555
|
-
})(S3 = CfnApplicationConsoleLogsOutputFormat.S3 || (CfnApplicationConsoleLogsOutputFormat.S3 = {}));
|
|
556
|
-
let LogGroup;
|
|
557
|
-
(function (LogGroup) {
|
|
558
|
-
LogGroup["PLAIN"] = "plain";
|
|
559
|
-
LogGroup["JSON"] = "json";
|
|
560
|
-
})(LogGroup = CfnApplicationConsoleLogsOutputFormat.LogGroup || (CfnApplicationConsoleLogsOutputFormat.LogGroup = {}));
|
|
561
|
-
let Firehose;
|
|
562
|
-
(function (Firehose) {
|
|
563
|
-
Firehose["JSON"] = "json";
|
|
564
|
-
Firehose["PLAIN"] = "plain";
|
|
565
|
-
Firehose["RAW"] = "raw";
|
|
566
|
-
})(Firehose = CfnApplicationConsoleLogsOutputFormat.Firehose || (CfnApplicationConsoleLogsOutputFormat.Firehose = {}));
|
|
567
|
-
})(CfnApplicationConsoleLogsOutputFormat || (exports.CfnApplicationConsoleLogsOutputFormat = CfnApplicationConsoleLogsOutputFormat = {}));
|
|
568
|
-
/**
|
|
569
|
-
* Output Format options for each destination of CfnApplicationDatasetImportLogs.
|
|
570
|
-
*/
|
|
571
|
-
class CfnApplicationDatasetImportLogsOutputFormat {
|
|
572
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_m2.mixins.CfnApplicationDatasetImportLogsOutputFormat", version: "2.267.0-alpha.0" };
|
|
573
|
-
}
|
|
574
|
-
exports.CfnApplicationDatasetImportLogsOutputFormat = CfnApplicationDatasetImportLogsOutputFormat;
|
|
575
|
-
(function (CfnApplicationDatasetImportLogsOutputFormat) {
|
|
576
|
-
let S3;
|
|
577
|
-
(function (S3) {
|
|
578
|
-
S3["JSON"] = "json";
|
|
579
|
-
S3["PLAIN"] = "plain";
|
|
580
|
-
S3["W3C"] = "w3c";
|
|
581
|
-
S3["PARQUET"] = "parquet";
|
|
582
|
-
})(S3 = CfnApplicationDatasetImportLogsOutputFormat.S3 || (CfnApplicationDatasetImportLogsOutputFormat.S3 = {}));
|
|
583
|
-
let LogGroup;
|
|
584
|
-
(function (LogGroup) {
|
|
585
|
-
LogGroup["PLAIN"] = "plain";
|
|
586
|
-
LogGroup["JSON"] = "json";
|
|
587
|
-
})(LogGroup = CfnApplicationDatasetImportLogsOutputFormat.LogGroup || (CfnApplicationDatasetImportLogsOutputFormat.LogGroup = {}));
|
|
588
|
-
let Firehose;
|
|
589
|
-
(function (Firehose) {
|
|
590
|
-
Firehose["JSON"] = "json";
|
|
591
|
-
Firehose["PLAIN"] = "plain";
|
|
592
|
-
Firehose["RAW"] = "raw";
|
|
593
|
-
})(Firehose = CfnApplicationDatasetImportLogsOutputFormat.Firehose || (CfnApplicationDatasetImportLogsOutputFormat.Firehose = {}));
|
|
594
|
-
})(CfnApplicationDatasetImportLogsOutputFormat || (exports.CfnApplicationDatasetImportLogsOutputFormat = CfnApplicationDatasetImportLogsOutputFormat = {}));
|
|
@@ -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.msk.mixins"
|
|
5
|
-
},
|
|
6
|
-
"dotnet": {
|
|
7
|
-
"namespace": "Amazon.CDK.Mixins.Preview.AWS.MSK.Mixins"
|
|
8
|
-
},
|
|
9
|
-
"python": {
|
|
10
|
-
"module": "aws_cdk.mixins_preview.aws_msk.mixins"
|
|
11
|
-
},
|
|
12
|
-
"go": {
|
|
13
|
-
"packageName": "previewawsmskmixins"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * as mixins from './mixins';
|
|
@@ -1,37 +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.mixins = void 0;
|
|
37
|
-
exports.mixins = __importStar(require("./mixins"));
|