@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,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"targets": {
|
|
3
|
-
"java": {
|
|
4
|
-
"package": "software.amazon.awscdk.mixins.preview.services.vpclattice.mixins"
|
|
5
|
-
},
|
|
6
|
-
"dotnet": {
|
|
7
|
-
"namespace": "Amazon.CDK.Mixins.Preview.AWS.VpcLattice.Mixins"
|
|
8
|
-
},
|
|
9
|
-
"python": {
|
|
10
|
-
"module": "aws_cdk.mixins_preview.aws_vpclattice.mixins"
|
|
11
|
-
},
|
|
12
|
-
"go": {
|
|
13
|
-
"packageName": "previewawsvpclatticemixins"
|
|
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"));
|
|
@@ -1,225 +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-vpclattice";
|
|
6
|
-
/**
|
|
7
|
-
* Builder for CfnServiceLogsMixin to generate ACCESS_LOGS for CfnService
|
|
8
|
-
*
|
|
9
|
-
* @cloudformationResource AWS::VpcLattice::Service
|
|
10
|
-
* @logType ACCESS_LOGS
|
|
11
|
-
* @stability external
|
|
12
|
-
*/
|
|
13
|
-
export declare class CfnServiceAccessLogs {
|
|
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?: CfnServiceAccessLogsS3Props): CfnServiceLogsMixin;
|
|
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?: CfnServiceAccessLogsLogGroupProps): CfnServiceLogsMixin;
|
|
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?: CfnServiceAccessLogsFirehoseProps): CfnServiceLogsMixin;
|
|
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): CfnServiceLogsMixin;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Creates a service.
|
|
43
|
-
*
|
|
44
|
-
* A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC).
|
|
45
|
-
*
|
|
46
|
-
* For more information, see [Services](https://docs.aws.amazon.com/vpc-lattice/latest/ug/services.html) in the *Amazon VPC Lattice User Guide* .
|
|
47
|
-
*
|
|
48
|
-
* @cloudformationResource AWS::VpcLattice::Service
|
|
49
|
-
* @mixin true
|
|
50
|
-
* @stability external
|
|
51
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-service.html
|
|
52
|
-
*/
|
|
53
|
-
export declare class CfnServiceLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
54
|
-
static readonly ACCESS_LOGS: CfnServiceAccessLogs;
|
|
55
|
-
protected readonly logType: string;
|
|
56
|
-
protected readonly logDelivery: logsDelivery.ILogsDelivery;
|
|
57
|
-
/**
|
|
58
|
-
* Create a mixin to enable vended logs for `AWS::VpcLattice::Service`.
|
|
59
|
-
*
|
|
60
|
-
* @param logType Type of logs that are getting vended
|
|
61
|
-
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
62
|
-
*/
|
|
63
|
-
constructor(logType: string, logDelivery: logsDelivery.ILogsDelivery);
|
|
64
|
-
/**
|
|
65
|
-
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
66
|
-
*/
|
|
67
|
-
supports(construct: constructs.IConstruct): construct is service.CfnService;
|
|
68
|
-
/**
|
|
69
|
-
* Apply vended logs configuration to the construct
|
|
70
|
-
*/
|
|
71
|
-
applyTo(resource: constructs.IConstruct): void;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Output Format options for each destination of CfnServiceAccessLogs.
|
|
75
|
-
*/
|
|
76
|
-
export declare class CfnServiceAccessLogsOutputFormat {
|
|
77
|
-
}
|
|
78
|
-
export declare namespace CfnServiceAccessLogsOutputFormat {
|
|
79
|
-
enum S3 {
|
|
80
|
-
JSON = "json",
|
|
81
|
-
PLAIN = "plain",
|
|
82
|
-
W3C = "w3c",
|
|
83
|
-
PARQUET = "parquet"
|
|
84
|
-
}
|
|
85
|
-
enum LogGroup {
|
|
86
|
-
PLAIN = "plain",
|
|
87
|
-
JSON = "json"
|
|
88
|
-
}
|
|
89
|
-
enum Firehose {
|
|
90
|
-
JSON = "json",
|
|
91
|
-
PLAIN = "plain",
|
|
92
|
-
RAW = "raw"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
export interface CfnServiceAccessLogsS3Props {
|
|
96
|
-
/**
|
|
97
|
-
* Encrpytion key for your delivery bucket
|
|
98
|
-
*/
|
|
99
|
-
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
100
|
-
/**
|
|
101
|
-
* Format for log output, options are json,plain,w3c,parquet
|
|
102
|
-
*/
|
|
103
|
-
readonly outputFormat?: CfnServiceAccessLogsOutputFormat.S3;
|
|
104
|
-
}
|
|
105
|
-
export interface CfnServiceAccessLogsLogGroupProps {
|
|
106
|
-
/**
|
|
107
|
-
* Format for log output, options are plain,json
|
|
108
|
-
*/
|
|
109
|
-
readonly outputFormat?: CfnServiceAccessLogsOutputFormat.LogGroup;
|
|
110
|
-
}
|
|
111
|
-
export interface CfnServiceAccessLogsFirehoseProps {
|
|
112
|
-
/**
|
|
113
|
-
* Format for log output, options are json,plain,raw
|
|
114
|
-
*/
|
|
115
|
-
readonly outputFormat?: CfnServiceAccessLogsOutputFormat.Firehose;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Builder for CfnResourceConfigurationLogsMixin to generate RESOURCE_ACCESS_LOGS for CfnResourceConfiguration
|
|
119
|
-
*
|
|
120
|
-
* @cloudformationResource AWS::VpcLattice::ResourceConfiguration
|
|
121
|
-
* @logType RESOURCE_ACCESS_LOGS
|
|
122
|
-
* @stability external
|
|
123
|
-
*/
|
|
124
|
-
export declare class CfnResourceConfigurationResourceAccessLogs {
|
|
125
|
-
/**
|
|
126
|
-
* Send logs to an S3 Bucket
|
|
127
|
-
*
|
|
128
|
-
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
129
|
-
*/
|
|
130
|
-
toS3(bucket: interfaces.aws_s3.IBucketRef, props?: CfnResourceConfigurationResourceAccessLogsS3Props): CfnResourceConfigurationLogsMixin;
|
|
131
|
-
/**
|
|
132
|
-
* Send logs to a CloudWatch Log Group
|
|
133
|
-
*
|
|
134
|
-
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
135
|
-
*/
|
|
136
|
-
toLogGroup(logGroup: interfaces.aws_logs.ILogGroupRef, props?: CfnResourceConfigurationResourceAccessLogsLogGroupProps): CfnResourceConfigurationLogsMixin;
|
|
137
|
-
/**
|
|
138
|
-
* Send logs to a Firehose Delivery Stream
|
|
139
|
-
*
|
|
140
|
-
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
141
|
-
*/
|
|
142
|
-
toFirehose(deliveryStream: interfaces.aws_kinesisfirehose.IDeliveryStreamRef, props?: CfnResourceConfigurationResourceAccessLogsFirehoseProps): CfnResourceConfigurationLogsMixin;
|
|
143
|
-
/**
|
|
144
|
-
* Delivers logs to a pre-created delivery destination
|
|
145
|
-
*
|
|
146
|
-
* Supported destinations are S3, CWL, FH
|
|
147
|
-
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
148
|
-
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
149
|
-
*/
|
|
150
|
-
toDestination(destination: interfaces.aws_logs.IDeliveryDestinationRef): CfnResourceConfigurationLogsMixin;
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* Creates a resource configuration.
|
|
154
|
-
*
|
|
155
|
-
* A resource configuration defines a specific resource. You can associate a resource configuration with a service network or a VPC endpoint.
|
|
156
|
-
*
|
|
157
|
-
* @cloudformationResource AWS::VpcLattice::ResourceConfiguration
|
|
158
|
-
* @mixin true
|
|
159
|
-
* @stability external
|
|
160
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourceconfiguration.html
|
|
161
|
-
*/
|
|
162
|
-
export declare class CfnResourceConfigurationLogsMixin extends cdk.Mixin implements constructs.IMixin {
|
|
163
|
-
static readonly RESOURCE_ACCESS_LOGS: CfnResourceConfigurationResourceAccessLogs;
|
|
164
|
-
protected readonly logType: string;
|
|
165
|
-
protected readonly logDelivery: logsDelivery.ILogsDelivery;
|
|
166
|
-
/**
|
|
167
|
-
* Create a mixin to enable vended logs for `AWS::VpcLattice::ResourceConfiguration`.
|
|
168
|
-
*
|
|
169
|
-
* @param logType Type of logs that are getting vended
|
|
170
|
-
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
171
|
-
*/
|
|
172
|
-
constructor(logType: string, logDelivery: logsDelivery.ILogsDelivery);
|
|
173
|
-
/**
|
|
174
|
-
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
175
|
-
*/
|
|
176
|
-
supports(construct: constructs.IConstruct): construct is service.CfnResourceConfiguration;
|
|
177
|
-
/**
|
|
178
|
-
* Apply vended logs configuration to the construct
|
|
179
|
-
*/
|
|
180
|
-
applyTo(resource: constructs.IConstruct): void;
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* Output Format options for each destination of CfnResourceConfigurationResourceAccessLogs.
|
|
184
|
-
*/
|
|
185
|
-
export declare class CfnResourceConfigurationResourceAccessLogsOutputFormat {
|
|
186
|
-
}
|
|
187
|
-
export declare namespace CfnResourceConfigurationResourceAccessLogsOutputFormat {
|
|
188
|
-
enum S3 {
|
|
189
|
-
JSON = "json",
|
|
190
|
-
PLAIN = "plain",
|
|
191
|
-
W3C = "w3c",
|
|
192
|
-
PARQUET = "parquet"
|
|
193
|
-
}
|
|
194
|
-
enum LogGroup {
|
|
195
|
-
PLAIN = "plain",
|
|
196
|
-
JSON = "json"
|
|
197
|
-
}
|
|
198
|
-
enum Firehose {
|
|
199
|
-
JSON = "json",
|
|
200
|
-
PLAIN = "plain",
|
|
201
|
-
RAW = "raw"
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
export interface CfnResourceConfigurationResourceAccessLogsS3Props {
|
|
205
|
-
/**
|
|
206
|
-
* Encrpytion key for your delivery bucket
|
|
207
|
-
*/
|
|
208
|
-
readonly encryptionKey?: interfaces.aws_kms.IKeyRef;
|
|
209
|
-
/**
|
|
210
|
-
* Format for log output, options are json,plain,w3c,parquet
|
|
211
|
-
*/
|
|
212
|
-
readonly outputFormat?: CfnResourceConfigurationResourceAccessLogsOutputFormat.S3;
|
|
213
|
-
}
|
|
214
|
-
export interface CfnResourceConfigurationResourceAccessLogsLogGroupProps {
|
|
215
|
-
/**
|
|
216
|
-
* Format for log output, options are plain,json
|
|
217
|
-
*/
|
|
218
|
-
readonly outputFormat?: CfnResourceConfigurationResourceAccessLogsOutputFormat.LogGroup;
|
|
219
|
-
}
|
|
220
|
-
export interface CfnResourceConfigurationResourceAccessLogsFirehoseProps {
|
|
221
|
-
/**
|
|
222
|
-
* Format for log output, options are json,plain,raw
|
|
223
|
-
*/
|
|
224
|
-
readonly outputFormat?: CfnResourceConfigurationResourceAccessLogsOutputFormat.Firehose;
|
|
225
|
-
}
|
|
@@ -1,398 +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.CfnResourceConfigurationResourceAccessLogsOutputFormat = exports.CfnResourceConfigurationLogsMixin = exports.CfnResourceConfigurationResourceAccessLogs = exports.CfnServiceAccessLogsOutputFormat = exports.CfnServiceLogsMixin = exports.CfnServiceAccessLogs = 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-vpclattice"));
|
|
43
|
-
/**
|
|
44
|
-
* Builder for CfnServiceLogsMixin to generate ACCESS_LOGS for CfnService
|
|
45
|
-
*
|
|
46
|
-
* @cloudformationResource AWS::VpcLattice::Service
|
|
47
|
-
* @logType ACCESS_LOGS
|
|
48
|
-
* @stability external
|
|
49
|
-
*/
|
|
50
|
-
class CfnServiceAccessLogs {
|
|
51
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnServiceAccessLogs", 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_vpclattice_mixins_CfnServiceAccessLogsS3Props(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 CfnServiceLogsMixin("ACCESS_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_vpclattice_mixins_CfnServiceAccessLogsLogGroupProps(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 CfnServiceLogsMixin("ACCESS_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_vpclattice_mixins_CfnServiceAccessLogsFirehoseProps(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 CfnServiceLogsMixin("ACCESS_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 CfnServiceLogsMixin("ACCESS_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
133
|
-
providedFields: undefined,
|
|
134
|
-
mandatoryFields: undefined
|
|
135
|
-
}));
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
exports.CfnServiceAccessLogs = CfnServiceAccessLogs;
|
|
140
|
-
/**
|
|
141
|
-
* Creates a service.
|
|
142
|
-
*
|
|
143
|
-
* A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC).
|
|
144
|
-
*
|
|
145
|
-
* For more information, see [Services](https://docs.aws.amazon.com/vpc-lattice/latest/ug/services.html) in the *Amazon VPC Lattice User Guide* .
|
|
146
|
-
*
|
|
147
|
-
* @cloudformationResource AWS::VpcLattice::Service
|
|
148
|
-
* @mixin true
|
|
149
|
-
* @stability external
|
|
150
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-service.html
|
|
151
|
-
*/
|
|
152
|
-
class CfnServiceLogsMixin extends cdk.Mixin {
|
|
153
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnServiceLogsMixin", version: "2.267.0-alpha.0" };
|
|
154
|
-
static ACCESS_LOGS = new CfnServiceAccessLogs();
|
|
155
|
-
logType;
|
|
156
|
-
logDelivery;
|
|
157
|
-
/**
|
|
158
|
-
* Create a mixin to enable vended logs for `AWS::VpcLattice::Service`.
|
|
159
|
-
*
|
|
160
|
-
* @param logType Type of logs that are getting vended
|
|
161
|
-
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
162
|
-
*/
|
|
163
|
-
constructor(logType, logDelivery) {
|
|
164
|
-
super();
|
|
165
|
-
try {
|
|
166
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
|
|
167
|
-
}
|
|
168
|
-
catch (error) {
|
|
169
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
170
|
-
Error.captureStackTrace(error, CfnServiceLogsMixin);
|
|
171
|
-
}
|
|
172
|
-
throw error;
|
|
173
|
-
}
|
|
174
|
-
this.logType = logType;
|
|
175
|
-
this.logDelivery = logDelivery;
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
179
|
-
*/
|
|
180
|
-
supports(construct) {
|
|
181
|
-
return (cdk.CfnResource.isCfnResource(construct) && service.CfnService.isCfnService(construct));
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* Apply vended logs configuration to the construct
|
|
185
|
-
*/
|
|
186
|
-
applyTo(resource) {
|
|
187
|
-
if (!this.supports(resource)) {
|
|
188
|
-
return;
|
|
189
|
-
}
|
|
190
|
-
const sourceArn = service.CfnService.arnForService(resource);
|
|
191
|
-
this.logDelivery.bind(resource, this.logType, sourceArn);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
exports.CfnServiceLogsMixin = CfnServiceLogsMixin;
|
|
195
|
-
/**
|
|
196
|
-
* Output Format options for each destination of CfnServiceAccessLogs.
|
|
197
|
-
*/
|
|
198
|
-
class CfnServiceAccessLogsOutputFormat {
|
|
199
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnServiceAccessLogsOutputFormat", version: "2.267.0-alpha.0" };
|
|
200
|
-
}
|
|
201
|
-
exports.CfnServiceAccessLogsOutputFormat = CfnServiceAccessLogsOutputFormat;
|
|
202
|
-
(function (CfnServiceAccessLogsOutputFormat) {
|
|
203
|
-
let S3;
|
|
204
|
-
(function (S3) {
|
|
205
|
-
S3["JSON"] = "json";
|
|
206
|
-
S3["PLAIN"] = "plain";
|
|
207
|
-
S3["W3C"] = "w3c";
|
|
208
|
-
S3["PARQUET"] = "parquet";
|
|
209
|
-
})(S3 = CfnServiceAccessLogsOutputFormat.S3 || (CfnServiceAccessLogsOutputFormat.S3 = {}));
|
|
210
|
-
let LogGroup;
|
|
211
|
-
(function (LogGroup) {
|
|
212
|
-
LogGroup["PLAIN"] = "plain";
|
|
213
|
-
LogGroup["JSON"] = "json";
|
|
214
|
-
})(LogGroup = CfnServiceAccessLogsOutputFormat.LogGroup || (CfnServiceAccessLogsOutputFormat.LogGroup = {}));
|
|
215
|
-
let Firehose;
|
|
216
|
-
(function (Firehose) {
|
|
217
|
-
Firehose["JSON"] = "json";
|
|
218
|
-
Firehose["PLAIN"] = "plain";
|
|
219
|
-
Firehose["RAW"] = "raw";
|
|
220
|
-
})(Firehose = CfnServiceAccessLogsOutputFormat.Firehose || (CfnServiceAccessLogsOutputFormat.Firehose = {}));
|
|
221
|
-
})(CfnServiceAccessLogsOutputFormat || (exports.CfnServiceAccessLogsOutputFormat = CfnServiceAccessLogsOutputFormat = {}));
|
|
222
|
-
/**
|
|
223
|
-
* Builder for CfnResourceConfigurationLogsMixin to generate RESOURCE_ACCESS_LOGS for CfnResourceConfiguration
|
|
224
|
-
*
|
|
225
|
-
* @cloudformationResource AWS::VpcLattice::ResourceConfiguration
|
|
226
|
-
* @logType RESOURCE_ACCESS_LOGS
|
|
227
|
-
* @stability external
|
|
228
|
-
*/
|
|
229
|
-
class CfnResourceConfigurationResourceAccessLogs {
|
|
230
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnResourceConfigurationResourceAccessLogs", version: "2.267.0-alpha.0" };
|
|
231
|
-
/**
|
|
232
|
-
* Send logs to an S3 Bucket
|
|
233
|
-
*
|
|
234
|
-
* @param props Additional properties that are optionally used in log delivery for S3 destinations
|
|
235
|
-
*/
|
|
236
|
-
toS3(bucket, props) {
|
|
237
|
-
try {
|
|
238
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_vpclattice_mixins_CfnResourceConfigurationResourceAccessLogsS3Props(props);
|
|
239
|
-
}
|
|
240
|
-
catch (error) {
|
|
241
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
242
|
-
Error.captureStackTrace(error, this.toS3);
|
|
243
|
-
}
|
|
244
|
-
throw error;
|
|
245
|
-
}
|
|
246
|
-
{
|
|
247
|
-
return new CfnResourceConfigurationLogsMixin("RESOURCE_ACCESS_LOGS", new logsDelivery.S3LogsDelivery(bucket, {
|
|
248
|
-
permissionsVersion: logsDelivery.S3LogsDeliveryPermissionsVersion.V1,
|
|
249
|
-
kmsKey: props?.encryptionKey,
|
|
250
|
-
outputFormat: props?.outputFormat,
|
|
251
|
-
providedFields: undefined,
|
|
252
|
-
mandatoryFields: undefined
|
|
253
|
-
}));
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
/**
|
|
257
|
-
* Send logs to a CloudWatch Log Group
|
|
258
|
-
*
|
|
259
|
-
* @param props Additional properties that are optionally used in log delivery for Log Group destinations
|
|
260
|
-
*/
|
|
261
|
-
toLogGroup(logGroup, props) {
|
|
262
|
-
try {
|
|
263
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_vpclattice_mixins_CfnResourceConfigurationResourceAccessLogsLogGroupProps(props);
|
|
264
|
-
}
|
|
265
|
-
catch (error) {
|
|
266
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
267
|
-
Error.captureStackTrace(error, this.toLogGroup);
|
|
268
|
-
}
|
|
269
|
-
throw error;
|
|
270
|
-
}
|
|
271
|
-
{
|
|
272
|
-
return new CfnResourceConfigurationLogsMixin("RESOURCE_ACCESS_LOGS", new logsDelivery.LogGroupLogsDelivery(logGroup, {
|
|
273
|
-
outputFormat: props?.outputFormat,
|
|
274
|
-
providedFields: undefined,
|
|
275
|
-
mandatoryFields: undefined
|
|
276
|
-
}));
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
/**
|
|
280
|
-
* Send logs to a Firehose Delivery Stream
|
|
281
|
-
*
|
|
282
|
-
* @param props Additional properties that are optionally used in log delivery for Firehose destinations
|
|
283
|
-
*/
|
|
284
|
-
toFirehose(deliveryStream, props) {
|
|
285
|
-
try {
|
|
286
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_vpclattice_mixins_CfnResourceConfigurationResourceAccessLogsFirehoseProps(props);
|
|
287
|
-
}
|
|
288
|
-
catch (error) {
|
|
289
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
290
|
-
Error.captureStackTrace(error, this.toFirehose);
|
|
291
|
-
}
|
|
292
|
-
throw error;
|
|
293
|
-
}
|
|
294
|
-
{
|
|
295
|
-
return new CfnResourceConfigurationLogsMixin("RESOURCE_ACCESS_LOGS", new logsDelivery.FirehoseLogsDelivery(deliveryStream, {
|
|
296
|
-
outputFormat: props?.outputFormat,
|
|
297
|
-
providedFields: undefined,
|
|
298
|
-
mandatoryFields: undefined
|
|
299
|
-
}));
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
/**
|
|
303
|
-
* Delivers logs to a pre-created delivery destination
|
|
304
|
-
*
|
|
305
|
-
* Supported destinations are S3, CWL, FH
|
|
306
|
-
* You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you.
|
|
307
|
-
* Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
|
|
308
|
-
*/
|
|
309
|
-
toDestination(destination) {
|
|
310
|
-
{
|
|
311
|
-
return new CfnResourceConfigurationLogsMixin("RESOURCE_ACCESS_LOGS", new logsDelivery.DestinationLogsDelivery(destination, {
|
|
312
|
-
providedFields: undefined,
|
|
313
|
-
mandatoryFields: undefined
|
|
314
|
-
}));
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
exports.CfnResourceConfigurationResourceAccessLogs = CfnResourceConfigurationResourceAccessLogs;
|
|
319
|
-
/**
|
|
320
|
-
* Creates a resource configuration.
|
|
321
|
-
*
|
|
322
|
-
* A resource configuration defines a specific resource. You can associate a resource configuration with a service network or a VPC endpoint.
|
|
323
|
-
*
|
|
324
|
-
* @cloudformationResource AWS::VpcLattice::ResourceConfiguration
|
|
325
|
-
* @mixin true
|
|
326
|
-
* @stability external
|
|
327
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourceconfiguration.html
|
|
328
|
-
*/
|
|
329
|
-
class CfnResourceConfigurationLogsMixin extends cdk.Mixin {
|
|
330
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnResourceConfigurationLogsMixin", version: "2.267.0-alpha.0" };
|
|
331
|
-
static RESOURCE_ACCESS_LOGS = new CfnResourceConfigurationResourceAccessLogs();
|
|
332
|
-
logType;
|
|
333
|
-
logDelivery;
|
|
334
|
-
/**
|
|
335
|
-
* Create a mixin to enable vended logs for `AWS::VpcLattice::ResourceConfiguration`.
|
|
336
|
-
*
|
|
337
|
-
* @param logType Type of logs that are getting vended
|
|
338
|
-
* @param logDelivery Object in charge of setting up the delivery source, delivery destination, and delivery connection
|
|
339
|
-
*/
|
|
340
|
-
constructor(logType, logDelivery) {
|
|
341
|
-
super();
|
|
342
|
-
try {
|
|
343
|
-
jsiiDeprecationWarnings._aws_cdk_mixins_preview_aws_logs_ILogsDelivery(logDelivery);
|
|
344
|
-
}
|
|
345
|
-
catch (error) {
|
|
346
|
-
if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
|
|
347
|
-
Error.captureStackTrace(error, CfnResourceConfigurationLogsMixin);
|
|
348
|
-
}
|
|
349
|
-
throw error;
|
|
350
|
-
}
|
|
351
|
-
this.logType = logType;
|
|
352
|
-
this.logDelivery = logDelivery;
|
|
353
|
-
}
|
|
354
|
-
/**
|
|
355
|
-
* Check if this mixin supports the given construct (has vendedLogs property)
|
|
356
|
-
*/
|
|
357
|
-
supports(construct) {
|
|
358
|
-
return (cdk.CfnResource.isCfnResource(construct) && service.CfnResourceConfiguration.isCfnResourceConfiguration(construct));
|
|
359
|
-
}
|
|
360
|
-
/**
|
|
361
|
-
* Apply vended logs configuration to the construct
|
|
362
|
-
*/
|
|
363
|
-
applyTo(resource) {
|
|
364
|
-
if (!this.supports(resource)) {
|
|
365
|
-
return;
|
|
366
|
-
}
|
|
367
|
-
const sourceArn = service.CfnResourceConfiguration.arnForResourceConfiguration(resource);
|
|
368
|
-
this.logDelivery.bind(resource, this.logType, sourceArn);
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
exports.CfnResourceConfigurationLogsMixin = CfnResourceConfigurationLogsMixin;
|
|
372
|
-
/**
|
|
373
|
-
* Output Format options for each destination of CfnResourceConfigurationResourceAccessLogs.
|
|
374
|
-
*/
|
|
375
|
-
class CfnResourceConfigurationResourceAccessLogsOutputFormat {
|
|
376
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/mixins-preview.aws_vpclattice.mixins.CfnResourceConfigurationResourceAccessLogsOutputFormat", version: "2.267.0-alpha.0" };
|
|
377
|
-
}
|
|
378
|
-
exports.CfnResourceConfigurationResourceAccessLogsOutputFormat = CfnResourceConfigurationResourceAccessLogsOutputFormat;
|
|
379
|
-
(function (CfnResourceConfigurationResourceAccessLogsOutputFormat) {
|
|
380
|
-
let S3;
|
|
381
|
-
(function (S3) {
|
|
382
|
-
S3["JSON"] = "json";
|
|
383
|
-
S3["PLAIN"] = "plain";
|
|
384
|
-
S3["W3C"] = "w3c";
|
|
385
|
-
S3["PARQUET"] = "parquet";
|
|
386
|
-
})(S3 = CfnResourceConfigurationResourceAccessLogsOutputFormat.S3 || (CfnResourceConfigurationResourceAccessLogsOutputFormat.S3 = {}));
|
|
387
|
-
let LogGroup;
|
|
388
|
-
(function (LogGroup) {
|
|
389
|
-
LogGroup["PLAIN"] = "plain";
|
|
390
|
-
LogGroup["JSON"] = "json";
|
|
391
|
-
})(LogGroup = CfnResourceConfigurationResourceAccessLogsOutputFormat.LogGroup || (CfnResourceConfigurationResourceAccessLogsOutputFormat.LogGroup = {}));
|
|
392
|
-
let Firehose;
|
|
393
|
-
(function (Firehose) {
|
|
394
|
-
Firehose["JSON"] = "json";
|
|
395
|
-
Firehose["PLAIN"] = "plain";
|
|
396
|
-
Firehose["RAW"] = "raw";
|
|
397
|
-
})(Firehose = CfnResourceConfigurationResourceAccessLogsOutputFormat.Firehose || (CfnResourceConfigurationResourceAccessLogsOutputFormat.Firehose = {}));
|
|
398
|
-
})(CfnResourceConfigurationResourceAccessLogsOutputFormat || (exports.CfnResourceConfigurationResourceAccessLogsOutputFormat = CfnResourceConfigurationResourceAccessLogsOutputFormat = {}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './logs-delivery-mixins.generated';
|