From 7fc09fce222d8d1499c95563229272a58316fe3d Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Wed, 13 Mar 2019 10:40:12 -0400 Subject: [PATCH] Configure the CDK to target Python --- packages/@aws-cdk/alexa-ask/package.json | 8 +++++-- packages/@aws-cdk/app-delivery/package.json | 6 +++++- packages/@aws-cdk/assets-docker/package.json | 8 +++++-- packages/@aws-cdk/assets/package.json | 8 +++++-- packages/@aws-cdk/aws-amazonmq/package.json | 8 +++++-- packages/@aws-cdk/aws-apigateway/package.json | 8 +++++-- .../aws-applicationautoscaling/package.json | 8 +++++-- packages/@aws-cdk/aws-appstream/package.json | 8 +++++-- packages/@aws-cdk/aws-appsync/package.json | 8 +++++-- packages/@aws-cdk/aws-athena/package.json | 8 +++++-- .../@aws-cdk/aws-autoscaling-api/package.json | 8 +++++-- .../aws-autoscaling-common/package.json | 8 +++++-- .../@aws-cdk/aws-autoscaling/package.json | 8 +++++-- .../aws-autoscalingplans/package.json | 8 +++++-- packages/@aws-cdk/aws-batch/package.json | 8 +++++-- packages/@aws-cdk/aws-budgets/package.json | 8 +++++-- .../aws-certificatemanager/package.json | 8 +++++-- packages/@aws-cdk/aws-cloud9/package.json | 8 +++++-- .../@aws-cdk/aws-cloudformation/package.json | 8 +++++-- packages/@aws-cdk/aws-cloudfront/package.json | 8 +++++-- packages/@aws-cdk/aws-cloudtrail/package.json | 8 +++++-- packages/@aws-cdk/aws-cloudwatch/package.json | 8 +++++-- packages/@aws-cdk/aws-codebuild/package.json | 8 +++++-- packages/@aws-cdk/aws-codecommit/package.json | 8 +++++-- .../@aws-cdk/aws-codedeploy-api/package.json | 6 +++++- packages/@aws-cdk/aws-codedeploy/package.json | 8 +++++-- .../aws-codepipeline-api/package.json | 8 +++++-- .../@aws-cdk/aws-codepipeline/package.json | 8 +++++-- packages/@aws-cdk/aws-cognito/package.json | 8 +++++-- packages/@aws-cdk/aws-config/package.json | 8 +++++-- .../@aws-cdk/aws-datapipeline/package.json | 8 +++++-- packages/@aws-cdk/aws-dax/package.json | 8 +++++-- .../aws-directoryservice/package.json | 8 +++++-- packages/@aws-cdk/aws-dlm/package.json | 8 +++++-- packages/@aws-cdk/aws-dms/package.json | 8 +++++-- packages/@aws-cdk/aws-docdb/package.json | 8 +++++-- packages/@aws-cdk/aws-dynamodb/package.json | 8 +++++-- packages/@aws-cdk/aws-ec2/package.json | 8 +++++-- packages/@aws-cdk/aws-ecr/package.json | 8 +++++-- packages/@aws-cdk/aws-ecs/package.json | 8 +++++-- packages/@aws-cdk/aws-efs/package.json | 8 +++++-- packages/@aws-cdk/aws-eks/package.json | 8 +++++-- .../@aws-cdk/aws-elasticache/package.json | 8 +++++-- .../aws-elasticbeanstalk/package.json | 8 +++++-- .../aws-elasticloadbalancing/package.json | 8 +++++-- .../aws-elasticloadbalancingv2/package.json | 8 +++++-- .../@aws-cdk/aws-elasticsearch/package.json | 8 +++++-- packages/@aws-cdk/aws-emr/package.json | 8 +++++-- packages/@aws-cdk/aws-events/package.json | 8 +++++-- packages/@aws-cdk/aws-fsx/package.json | 8 +++++-- packages/@aws-cdk/aws-gamelift/package.json | 8 +++++-- packages/@aws-cdk/aws-glue/package.json | 8 +++++-- packages/@aws-cdk/aws-greengrass/package.json | 8 +++++-- packages/@aws-cdk/aws-guardduty/package.json | 8 +++++-- packages/@aws-cdk/aws-iam/package.json | 8 +++++-- packages/@aws-cdk/aws-inspector/package.json | 8 +++++-- packages/@aws-cdk/aws-iot/package.json | 8 +++++-- packages/@aws-cdk/aws-iot1click/package.json | 8 +++++-- .../@aws-cdk/aws-iotanalytics/package.json | 8 +++++-- packages/@aws-cdk/aws-kinesis/package.json | 8 +++++-- .../aws-kinesisanalytics/package.json | 8 +++++-- .../@aws-cdk/aws-kinesisfirehose/package.json | 8 +++++-- packages/@aws-cdk/aws-kms/package.json | 8 +++++-- .../aws-lambda-event-sources/package.json | 8 +++++-- packages/@aws-cdk/aws-lambda/package.json | 8 +++++-- packages/@aws-cdk/aws-logs/package.json | 8 +++++-- packages/@aws-cdk/aws-neptune/package.json | 8 +++++-- packages/@aws-cdk/aws-opsworks/package.json | 8 +++++-- packages/@aws-cdk/aws-opsworkscm/package.json | 8 +++++-- .../@aws-cdk/aws-quickstarts/package.json | 8 +++++-- packages/@aws-cdk/aws-ram/package.json | 8 +++++-- packages/@aws-cdk/aws-rds/package.json | 6 +++++- packages/@aws-cdk/aws-redshift/package.json | 8 +++++-- packages/@aws-cdk/aws-robomaker/package.json | 8 +++++-- packages/@aws-cdk/aws-route53/package.json | 8 +++++-- .../@aws-cdk/aws-route53resolver/package.json | 8 +++++-- .../@aws-cdk/aws-s3-deployment/package.json | 8 +++++-- .../aws-s3-notifications/package.json | 8 +++++-- packages/@aws-cdk/aws-s3/package.json | 8 +++++-- packages/@aws-cdk/aws-sagemaker/package.json | 8 +++++-- packages/@aws-cdk/aws-sam/package.json | 8 +++++-- packages/@aws-cdk/aws-sdb/package.json | 8 +++++-- .../@aws-cdk/aws-secretsmanager/package.json | 6 +++++- .../@aws-cdk/aws-servicecatalog/package.json | 8 +++++-- .../aws-servicediscovery/package.json | 8 +++++-- packages/@aws-cdk/aws-ses/package.json | 8 +++++-- packages/@aws-cdk/aws-sns/package.json | 8 +++++-- packages/@aws-cdk/aws-sqs/package.json | 8 +++++-- packages/@aws-cdk/aws-ssm/package.json | 8 +++++-- .../@aws-cdk/aws-stepfunctions/package.json | 8 +++++-- packages/@aws-cdk/aws-waf/package.json | 8 +++++-- .../@aws-cdk/aws-wafregional/package.json | 8 +++++-- packages/@aws-cdk/aws-workspaces/package.json | 8 +++++-- packages/@aws-cdk/cdk/package.json | 8 +++++-- packages/@aws-cdk/cx-api/package.json | 6 +++++- packages/@aws-cdk/region-info/package.json | 6 +++++- packages/@aws-cdk/runtime-values/package.json | 8 +++++-- tools/pkglint/lib/rules.ts | 21 ++++++++++++++++++- 98 files changed, 596 insertions(+), 189 deletions(-) diff --git a/packages/@aws-cdk/alexa-ask/package.json b/packages/@aws-cdk/alexa-ask/package.json index 4aa230c8bca1d..1b15677aa1c8d 100644 --- a/packages/@aws-cdk/alexa-ask/package.json +++ b/packages/@aws-cdk/alexa-ask/package.json @@ -20,7 +20,11 @@ "artifactId": "alexa-ask" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.alexa-ask", + "module": "aws_cdk.alexa_ask" + } } }, "repository": { @@ -71,4 +75,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/app-delivery/package.json b/packages/@aws-cdk/app-delivery/package.json index 550e97324f1a4..0af274686d16a 100644 --- a/packages/@aws-cdk/app-delivery/package.json +++ b/packages/@aws-cdk/app-delivery/package.json @@ -19,6 +19,10 @@ "packageId": "Amazon.CDK.AppDelivery", "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" + }, + "python": { + "distName": "aws-cdk.app-delivery", + "module": "aws_cdk.app_delivery" } }, "outdir": "dist" @@ -73,4 +77,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/assets-docker/package.json b/packages/@aws-cdk/assets-docker/package.json index 703bd3f409f13..46942f9534c51 100644 --- a/packages/@aws-cdk/assets-docker/package.json +++ b/packages/@aws-cdk/assets-docker/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.assets-docker", + "module": "aws_cdk.assets_docker" + } } }, "repository": { @@ -78,4 +82,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/assets/package.json b/packages/@aws-cdk/assets/package.json index 0361f863fbae4..f0700e6960519 100644 --- a/packages/@aws-cdk/assets/package.json +++ b/packages/@aws-cdk/assets/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.assets", + "module": "aws_cdk.assets" + } } }, "repository": { @@ -71,4 +75,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-amazonmq/package.json b/packages/@aws-cdk/aws-amazonmq/package.json index 6e61ca7ca62e6..c74e2791e8aea 100644 --- a/packages/@aws-cdk/aws-amazonmq/package.json +++ b/packages/@aws-cdk/aws-amazonmq/package.json @@ -20,7 +20,11 @@ "artifactId": "amazonmq" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.amazonmq", + "module": "aws_cdk.amazonmq" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-apigateway/package.json b/packages/@aws-cdk/aws-apigateway/package.json index 220b4ec7c4c88..3f62b33314d47 100644 --- a/packages/@aws-cdk/aws-apigateway/package.json +++ b/packages/@aws-cdk/aws-apigateway/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.apigateway", + "module": "aws_cdk.apigateway" + } } }, "repository": { @@ -85,4 +89,4 @@ "resource-attribute:@aws-cdk/aws-apigateway.IRestApi.restApiRootResourceId" ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-applicationautoscaling/package.json b/packages/@aws-cdk/aws-applicationautoscaling/package.json index 1df5cdbd74191..173703ffb9cca 100644 --- a/packages/@aws-cdk/aws-applicationautoscaling/package.json +++ b/packages/@aws-cdk/aws-applicationautoscaling/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.applicationautoscaling", + "module": "aws_cdk.applicationautoscaling" + } } }, "repository": { @@ -75,4 +79,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-appstream/package.json b/packages/@aws-cdk/aws-appstream/package.json index 02080ecad0a5b..4695998feeea5 100644 --- a/packages/@aws-cdk/aws-appstream/package.json +++ b/packages/@aws-cdk/aws-appstream/package.json @@ -20,7 +20,11 @@ "artifactId": "appstream" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.appstream", + "module": "aws_cdk.appstream" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-appsync/package.json b/packages/@aws-cdk/aws-appsync/package.json index a1e2cdc353eb6..d9d38a70ef978 100644 --- a/packages/@aws-cdk/aws-appsync/package.json +++ b/packages/@aws-cdk/aws-appsync/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.appsync", + "module": "aws_cdk.appsync" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-athena/package.json b/packages/@aws-cdk/aws-athena/package.json index 27983d63e9090..79b0ed479da3a 100644 --- a/packages/@aws-cdk/aws-athena/package.json +++ b/packages/@aws-cdk/aws-athena/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.athena", + "module": "aws_cdk.athena" + } } }, "cdk-build": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-autoscaling-api/package.json b/packages/@aws-cdk/aws-autoscaling-api/package.json index e2b817f92fc09..082ae8aa30623 100644 --- a/packages/@aws-cdk/aws-autoscaling-api/package.json +++ b/packages/@aws-cdk/aws-autoscaling-api/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.autoscaling-api", + "module": "aws_cdk.autoscaling_api" + } } }, "repository": { @@ -77,4 +81,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-autoscaling-common/package.json b/packages/@aws-cdk/aws-autoscaling-common/package.json index 911ac190341d6..349b2047e14b5 100644 --- a/packages/@aws-cdk/aws-autoscaling-common/package.json +++ b/packages/@aws-cdk/aws-autoscaling-common/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.autoscaling-common", + "module": "aws_cdk.autoscaling_common" + } } }, "repository": { @@ -68,4 +72,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-autoscaling/package.json b/packages/@aws-cdk/aws-autoscaling/package.json index c8f430febac73..3731d3755254f 100644 --- a/packages/@aws-cdk/aws-autoscaling/package.json +++ b/packages/@aws-cdk/aws-autoscaling/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.autoscaling", + "module": "aws_cdk.autoscaling" + } } }, "repository": { @@ -92,4 +96,4 @@ "export:@aws-cdk/aws-autoscaling.IAutoScalingGroup" ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-autoscalingplans/package.json b/packages/@aws-cdk/aws-autoscalingplans/package.json index f807956afc1d7..61df3672de9bd 100644 --- a/packages/@aws-cdk/aws-autoscalingplans/package.json +++ b/packages/@aws-cdk/aws-autoscalingplans/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.autoscalingplans", + "module": "aws_cdk.autoscalingplans" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-batch/package.json b/packages/@aws-cdk/aws-batch/package.json index c8f8d602066df..66cd9ac3c5a82 100644 --- a/packages/@aws-cdk/aws-batch/package.json +++ b/packages/@aws-cdk/aws-batch/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.batch", + "module": "aws_cdk.batch" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-budgets/package.json b/packages/@aws-cdk/aws-budgets/package.json index 9f1948b05c692..5db223de88875 100644 --- a/packages/@aws-cdk/aws-budgets/package.json +++ b/packages/@aws-cdk/aws-budgets/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.budgets", + "module": "aws_cdk.budgets" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-certificatemanager/package.json b/packages/@aws-cdk/aws-certificatemanager/package.json index 25a77408bc2c8..ed02e9730692e 100644 --- a/packages/@aws-cdk/aws-certificatemanager/package.json +++ b/packages/@aws-cdk/aws-certificatemanager/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.certificatemanager", + "module": "aws_cdk.certificatemanager" + } } }, "repository": { @@ -77,4 +81,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-cloud9/package.json b/packages/@aws-cdk/aws-cloud9/package.json index 084b95029f858..41eb71701a871 100644 --- a/packages/@aws-cdk/aws-cloud9/package.json +++ b/packages/@aws-cdk/aws-cloud9/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.cloud9", + "module": "aws_cdk.cloud9" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-cloudformation/package.json b/packages/@aws-cdk/aws-cloudformation/package.json index 45abb74d4c033..2c1eb60ca50bd 100644 --- a/packages/@aws-cdk/aws-cloudformation/package.json +++ b/packages/@aws-cdk/aws-cloudformation/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.cloudformation", + "module": "aws_cdk.cloudformation" + } } }, "repository": { @@ -92,4 +96,4 @@ "construct-ctor:@aws-cdk/aws-cloudformation.PipelineCloudFormationDeployAction." ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-cloudfront/package.json b/packages/@aws-cdk/aws-cloudfront/package.json index 27d1d97999a17..6a182761351ea 100644 --- a/packages/@aws-cdk/aws-cloudfront/package.json +++ b/packages/@aws-cdk/aws-cloudfront/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.cloudfront", + "module": "aws_cdk.cloudfront" + } } }, "repository": { @@ -78,4 +82,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-cloudtrail/package.json b/packages/@aws-cdk/aws-cloudtrail/package.json index 7704ad357fb4e..a9cbc29b15f52 100644 --- a/packages/@aws-cdk/aws-cloudtrail/package.json +++ b/packages/@aws-cdk/aws-cloudtrail/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.cloudtrail", + "module": "aws_cdk.cloudtrail" + } } }, "repository": { @@ -77,4 +81,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-cloudwatch/package.json b/packages/@aws-cdk/aws-cloudwatch/package.json index b373aea53be13..2b1af8429a935 100644 --- a/packages/@aws-cdk/aws-cloudwatch/package.json +++ b/packages/@aws-cdk/aws-cloudwatch/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.cloudwatch", + "module": "aws_cdk.cloudwatch" + } } }, "repository": { @@ -72,4 +76,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-codebuild/package.json b/packages/@aws-cdk/aws-codebuild/package.json index d35bad59b3fa9..8c307649fe7cc 100644 --- a/packages/@aws-cdk/aws-codebuild/package.json +++ b/packages/@aws-cdk/aws-codebuild/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.codebuild", + "module": "aws_cdk.codebuild" + } } }, "repository": { @@ -97,4 +101,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-codecommit/package.json b/packages/@aws-cdk/aws-codecommit/package.json index 33c77d465c210..37f47622dd64e 100644 --- a/packages/@aws-cdk/aws-codecommit/package.json +++ b/packages/@aws-cdk/aws-codecommit/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.codecommit", + "module": "aws_cdk.codecommit" + } } }, "repository": { @@ -82,4 +86,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-codedeploy-api/package.json b/packages/@aws-cdk/aws-codedeploy-api/package.json index e3c5a94cc9563..e5bb6f5368b93 100644 --- a/packages/@aws-cdk/aws-codedeploy-api/package.json +++ b/packages/@aws-cdk/aws-codedeploy-api/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.codedeploy-api", + "module": "aws_cdk.codedeploy_api" + } } }, "repository": { diff --git a/packages/@aws-cdk/aws-codedeploy/package.json b/packages/@aws-cdk/aws-codedeploy/package.json index b46c0ed38caf6..55bc9a1b1b832 100644 --- a/packages/@aws-cdk/aws-codedeploy/package.json +++ b/packages/@aws-cdk/aws-codedeploy/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.codedeploy", + "module": "aws_cdk.codedeploy" + } } }, "repository": { @@ -94,4 +98,4 @@ "construct-ctor:@aws-cdk/aws-codedeploy.ServerDeploymentGroupBase..params[2]" ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-codepipeline-api/package.json b/packages/@aws-cdk/aws-codepipeline-api/package.json index 730b2bf7c843b..113a92e14a13c 100644 --- a/packages/@aws-cdk/aws-codepipeline-api/package.json +++ b/packages/@aws-cdk/aws-codepipeline-api/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.codepipeline-api", + "module": "aws_cdk.codepipeline_api" + } } }, "repository": { @@ -78,4 +82,4 @@ "construct-ctor:@aws-cdk/aws-codepipeline-api.Artifact..params[1]" ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-codepipeline/package.json b/packages/@aws-cdk/aws-codepipeline/package.json index 108944cac4099..48c66b941c636 100644 --- a/packages/@aws-cdk/aws-codepipeline/package.json +++ b/packages/@aws-cdk/aws-codepipeline/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.codepipeline", + "module": "aws_cdk.codepipeline" + } } }, "repository": { @@ -101,4 +105,4 @@ "construct-ctor:@aws-cdk/aws-codepipeline.CrossRegionScaffoldStack..params[1]" ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-cognito/package.json b/packages/@aws-cdk/aws-cognito/package.json index 9527347909cd7..44a19b41aec46 100644 --- a/packages/@aws-cdk/aws-cognito/package.json +++ b/packages/@aws-cdk/aws-cognito/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.cognito", + "module": "aws_cdk.cognito" + } } }, "repository": { @@ -72,4 +76,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-config/package.json b/packages/@aws-cdk/aws-config/package.json index 4919f6f556f69..211358229a632 100644 --- a/packages/@aws-cdk/aws-config/package.json +++ b/packages/@aws-cdk/aws-config/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.config", + "module": "aws_cdk.config" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-datapipeline/package.json b/packages/@aws-cdk/aws-datapipeline/package.json index 2588577c286f5..4efaed198c4c1 100644 --- a/packages/@aws-cdk/aws-datapipeline/package.json +++ b/packages/@aws-cdk/aws-datapipeline/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.datapipeline", + "module": "aws_cdk.datapipeline" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-dax/package.json b/packages/@aws-cdk/aws-dax/package.json index ee090a7a8a1fe..84c4374326ab3 100644 --- a/packages/@aws-cdk/aws-dax/package.json +++ b/packages/@aws-cdk/aws-dax/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.dax", + "module": "aws_cdk.dax" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-directoryservice/package.json b/packages/@aws-cdk/aws-directoryservice/package.json index be276a8a98cb3..f2b6f957f02a0 100644 --- a/packages/@aws-cdk/aws-directoryservice/package.json +++ b/packages/@aws-cdk/aws-directoryservice/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.directoryservice", + "module": "aws_cdk.directoryservice" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-dlm/package.json b/packages/@aws-cdk/aws-dlm/package.json index 76ebe5e08d971..66813e059bf93 100644 --- a/packages/@aws-cdk/aws-dlm/package.json +++ b/packages/@aws-cdk/aws-dlm/package.json @@ -20,7 +20,11 @@ "artifactId": "dlm" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.dlm", + "module": "aws_cdk.dlm" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-dms/package.json b/packages/@aws-cdk/aws-dms/package.json index 68cbe65cdbfe8..7ad7fbae478b3 100644 --- a/packages/@aws-cdk/aws-dms/package.json +++ b/packages/@aws-cdk/aws-dms/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.dms", + "module": "aws_cdk.dms" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-docdb/package.json b/packages/@aws-cdk/aws-docdb/package.json index 5921071fc8440..3604b6dc9ca76 100644 --- a/packages/@aws-cdk/aws-docdb/package.json +++ b/packages/@aws-cdk/aws-docdb/package.json @@ -20,7 +20,11 @@ "artifactId": "docdb" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.docdb", + "module": "aws_cdk.docdb" + } } }, "repository": { @@ -70,4 +74,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-dynamodb/package.json b/packages/@aws-cdk/aws-dynamodb/package.json index 9898eb83b515a..dec47df15ee16 100644 --- a/packages/@aws-cdk/aws-dynamodb/package.json +++ b/packages/@aws-cdk/aws-dynamodb/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.dynamodb", + "module": "aws_cdk.dynamodb" + } } }, "repository": { @@ -74,4 +78,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-ec2/package.json b/packages/@aws-cdk/aws-ec2/package.json index 1943efc853c03..d0286917d3684 100644 --- a/packages/@aws-cdk/aws-ec2/package.json +++ b/packages/@aws-cdk/aws-ec2/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.ec2", + "module": "aws_cdk.ec2" + } } }, "repository": { @@ -80,4 +84,4 @@ "resource-attribute:@aws-cdk/aws-ec2.ISecurityGroup.securityGroupVpcId" ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-ecr/package.json b/packages/@aws-cdk/aws-ecr/package.json index 54b2959da772d..750b0c0f19582 100644 --- a/packages/@aws-cdk/aws-ecr/package.json +++ b/packages/@aws-cdk/aws-ecr/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.ecr", + "module": "aws_cdk.ecr" + } } }, "repository": { @@ -85,4 +89,4 @@ "import:@aws-cdk/aws-ecr.Repository" ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-ecs/package.json b/packages/@aws-cdk/aws-ecs/package.json index ab62843aec19c..11b24a923decd 100644 --- a/packages/@aws-cdk/aws-ecs/package.json +++ b/packages/@aws-cdk/aws-ecs/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.ecs", + "module": "aws_cdk.ecs" + } } }, "repository": { @@ -111,4 +115,4 @@ "construct-ctor:@aws-cdk/aws-ecs.LoadBalancedFargateServiceApplet..params[0]" ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-efs/package.json b/packages/@aws-cdk/aws-efs/package.json index f1f9f4b7152fd..415d03f88fd69 100644 --- a/packages/@aws-cdk/aws-efs/package.json +++ b/packages/@aws-cdk/aws-efs/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.efs", + "module": "aws_cdk.efs" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-eks/package.json b/packages/@aws-cdk/aws-eks/package.json index ffd6ccde696eb..0b38eeb893c9f 100644 --- a/packages/@aws-cdk/aws-eks/package.json +++ b/packages/@aws-cdk/aws-eks/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.eks", + "module": "aws_cdk.eks" + } } }, "repository": { @@ -76,4 +80,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-elasticache/package.json b/packages/@aws-cdk/aws-elasticache/package.json index f33dec78e33ce..7d590054e779c 100644 --- a/packages/@aws-cdk/aws-elasticache/package.json +++ b/packages/@aws-cdk/aws-elasticache/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.elasticache", + "module": "aws_cdk.elasticache" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-elasticbeanstalk/package.json b/packages/@aws-cdk/aws-elasticbeanstalk/package.json index f411fae741c3d..cb8389590dc95 100644 --- a/packages/@aws-cdk/aws-elasticbeanstalk/package.json +++ b/packages/@aws-cdk/aws-elasticbeanstalk/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.elasticbeanstalk", + "module": "aws_cdk.elasticbeanstalk" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-elasticloadbalancing/package.json b/packages/@aws-cdk/aws-elasticloadbalancing/package.json index 9f0402608a3d7..884553a893c7a 100644 --- a/packages/@aws-cdk/aws-elasticloadbalancing/package.json +++ b/packages/@aws-cdk/aws-elasticloadbalancing/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.elasticloadbalancing", + "module": "aws_cdk.elasticloadbalancing" + } } }, "repository": { @@ -74,4 +78,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json b/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json index d25463697f39d..059c3b5e9be1d 100644 --- a/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json +++ b/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.elasticloadbalancingv2", + "module": "aws_cdk.elasticloadbalancingv2" + } } }, "repository": { @@ -88,4 +92,4 @@ "construct-ctor:@aws-cdk/aws-elasticloadbalancingv2.TargetGroupBase." ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-elasticsearch/package.json b/packages/@aws-cdk/aws-elasticsearch/package.json index f906fadf9135a..635a0c81d6f51 100644 --- a/packages/@aws-cdk/aws-elasticsearch/package.json +++ b/packages/@aws-cdk/aws-elasticsearch/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.elasticsearch", + "module": "aws_cdk.elasticsearch" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-emr/package.json b/packages/@aws-cdk/aws-emr/package.json index 329ae6b9dc67e..54a04abf83328 100644 --- a/packages/@aws-cdk/aws-emr/package.json +++ b/packages/@aws-cdk/aws-emr/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.emr", + "module": "aws_cdk.emr" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-events/package.json b/packages/@aws-cdk/aws-events/package.json index b7e8e240934b1..8a8f5b313f00c 100644 --- a/packages/@aws-cdk/aws-events/package.json +++ b/packages/@aws-cdk/aws-events/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.events", + "module": "aws_cdk.events" + } } }, "repository": { @@ -71,4 +75,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-fsx/package.json b/packages/@aws-cdk/aws-fsx/package.json index fb7bdbac3b3d1..858980adb046a 100644 --- a/packages/@aws-cdk/aws-fsx/package.json +++ b/packages/@aws-cdk/aws-fsx/package.json @@ -20,7 +20,11 @@ "artifactId": "fsx" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.fsx", + "module": "aws_cdk.fsx" + } } }, "repository": { @@ -70,4 +74,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-gamelift/package.json b/packages/@aws-cdk/aws-gamelift/package.json index e3e4a1fa7380e..472518b44b563 100644 --- a/packages/@aws-cdk/aws-gamelift/package.json +++ b/packages/@aws-cdk/aws-gamelift/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.gamelift", + "module": "aws_cdk.gamelift" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-glue/package.json b/packages/@aws-cdk/aws-glue/package.json index 6d1e7beaeba48..0378c2a9114a7 100644 --- a/packages/@aws-cdk/aws-glue/package.json +++ b/packages/@aws-cdk/aws-glue/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.glue", + "module": "aws_cdk.glue" + } } }, "repository": { @@ -76,4 +80,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-greengrass/package.json b/packages/@aws-cdk/aws-greengrass/package.json index 7b435a33efaec..73d20c3e141a9 100644 --- a/packages/@aws-cdk/aws-greengrass/package.json +++ b/packages/@aws-cdk/aws-greengrass/package.json @@ -20,7 +20,11 @@ "artifactId": "greengrass" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.greengrass", + "module": "aws_cdk.greengrass" + } } }, "repository": { @@ -70,4 +74,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-guardduty/package.json b/packages/@aws-cdk/aws-guardduty/package.json index a5123aa6df5e5..fd6dd42cd8055 100644 --- a/packages/@aws-cdk/aws-guardduty/package.json +++ b/packages/@aws-cdk/aws-guardduty/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.guardduty", + "module": "aws_cdk.guardduty" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-iam/package.json b/packages/@aws-cdk/aws-iam/package.json index a17ec6f4cc00d..84c3ede56f31e 100644 --- a/packages/@aws-cdk/aws-iam/package.json +++ b/packages/@aws-cdk/aws-iam/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.iam", + "module": "aws_cdk.iam" + } } }, "repository": { @@ -74,4 +78,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-inspector/package.json b/packages/@aws-cdk/aws-inspector/package.json index 23183f6447090..ed3da97032135 100644 --- a/packages/@aws-cdk/aws-inspector/package.json +++ b/packages/@aws-cdk/aws-inspector/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.inspector", + "module": "aws_cdk.inspector" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-iot/package.json b/packages/@aws-cdk/aws-iot/package.json index 9b3be52a2bb82..e3e05cd4e77dc 100644 --- a/packages/@aws-cdk/aws-iot/package.json +++ b/packages/@aws-cdk/aws-iot/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.iot", + "module": "aws_cdk.iot" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-iot1click/package.json b/packages/@aws-cdk/aws-iot1click/package.json index 706bd6b539b43..61f5a1fd0b74c 100644 --- a/packages/@aws-cdk/aws-iot1click/package.json +++ b/packages/@aws-cdk/aws-iot1click/package.json @@ -20,7 +20,11 @@ "artifactId": "iot1click" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.iot1click", + "module": "aws_cdk.iot1click" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-iotanalytics/package.json b/packages/@aws-cdk/aws-iotanalytics/package.json index 95c79547a4a92..c97ba12f18504 100644 --- a/packages/@aws-cdk/aws-iotanalytics/package.json +++ b/packages/@aws-cdk/aws-iotanalytics/package.json @@ -20,7 +20,11 @@ "artifactId": "iotanalytics" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.iotanalytics", + "module": "aws_cdk.iotanalytics" + } } }, "repository": { @@ -70,4 +74,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-kinesis/package.json b/packages/@aws-cdk/aws-kinesis/package.json index b895b1fcf1ed7..05450796aef77 100644 --- a/packages/@aws-cdk/aws-kinesis/package.json +++ b/packages/@aws-cdk/aws-kinesis/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.kinesis", + "module": "aws_cdk.kinesis" + } } }, "repository": { @@ -74,4 +78,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-kinesisanalytics/package.json b/packages/@aws-cdk/aws-kinesisanalytics/package.json index 5843f6786ecb5..c4bf0b5a8e774 100644 --- a/packages/@aws-cdk/aws-kinesisanalytics/package.json +++ b/packages/@aws-cdk/aws-kinesisanalytics/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.kinesisanalytics", + "module": "aws_cdk.kinesisanalytics" + } } }, "repository": { @@ -72,4 +76,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-kinesisfirehose/package.json b/packages/@aws-cdk/aws-kinesisfirehose/package.json index cd9685ceb0c6b..e872771793b31 100644 --- a/packages/@aws-cdk/aws-kinesisfirehose/package.json +++ b/packages/@aws-cdk/aws-kinesisfirehose/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.kinesisfirehose", + "module": "aws_cdk.kinesisfirehose" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-kms/package.json b/packages/@aws-cdk/aws-kms/package.json index c708a4d430367..d6982cc8e8716 100644 --- a/packages/@aws-cdk/aws-kms/package.json +++ b/packages/@aws-cdk/aws-kms/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.kms", + "module": "aws_cdk.kms" + } } }, "repository": { @@ -72,4 +76,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-lambda-event-sources/package.json b/packages/@aws-cdk/aws-lambda-event-sources/package.json index 666afed6f9f26..172882b97ce91 100644 --- a/packages/@aws-cdk/aws-lambda-event-sources/package.json +++ b/packages/@aws-cdk/aws-lambda-event-sources/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.lambda-event-sources", + "module": "aws_cdk.lambda_event_sources" + } } }, "repository": { @@ -80,4 +84,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-lambda/package.json b/packages/@aws-cdk/aws-lambda/package.json index e804d9f979383..1cfa037080241 100644 --- a/packages/@aws-cdk/aws-lambda/package.json +++ b/packages/@aws-cdk/aws-lambda/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.lambda", + "module": "aws_cdk.lambda" + } } }, "repository": { @@ -97,4 +101,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-logs/package.json b/packages/@aws-cdk/aws-logs/package.json index b7ca8c4df73d1..8373547b69bc4 100644 --- a/packages/@aws-cdk/aws-logs/package.json +++ b/packages/@aws-cdk/aws-logs/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.logs", + "module": "aws_cdk.logs" + } } }, "repository": { @@ -74,4 +78,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-neptune/package.json b/packages/@aws-cdk/aws-neptune/package.json index 575a5294583ee..d9d4e4eaccc6c 100644 --- a/packages/@aws-cdk/aws-neptune/package.json +++ b/packages/@aws-cdk/aws-neptune/package.json @@ -20,7 +20,11 @@ "artifactId": "neptune" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.neptune", + "module": "aws_cdk.neptune" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-opsworks/package.json b/packages/@aws-cdk/aws-opsworks/package.json index 27263d816c247..a04d72fbabe01 100644 --- a/packages/@aws-cdk/aws-opsworks/package.json +++ b/packages/@aws-cdk/aws-opsworks/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.opsworks", + "module": "aws_cdk.opsworks" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-opsworkscm/package.json b/packages/@aws-cdk/aws-opsworkscm/package.json index 10d56351955df..d25f5f190bc30 100644 --- a/packages/@aws-cdk/aws-opsworkscm/package.json +++ b/packages/@aws-cdk/aws-opsworkscm/package.json @@ -20,7 +20,11 @@ "artifactId": "opsworkscm" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.opsworkscm", + "module": "aws_cdk.opsworkscm" + } } }, "repository": { @@ -70,4 +74,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-quickstarts/package.json b/packages/@aws-cdk/aws-quickstarts/package.json index 4e64427d844e7..92d717a29c7d2 100644 --- a/packages/@aws-cdk/aws-quickstarts/package.json +++ b/packages/@aws-cdk/aws-quickstarts/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.quickstarts", + "module": "aws_cdk.quickstarts" + } } }, "repository": { @@ -67,4 +71,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-ram/package.json b/packages/@aws-cdk/aws-ram/package.json index 4e5594db49654..2238e68e3ec71 100644 --- a/packages/@aws-cdk/aws-ram/package.json +++ b/packages/@aws-cdk/aws-ram/package.json @@ -20,7 +20,11 @@ "artifactId": "ram" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.ram", + "module": "aws_cdk.ram" + } } }, "repository": { @@ -70,4 +74,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-rds/package.json b/packages/@aws-cdk/aws-rds/package.json index 87090f7ea9c76..0ba49d046bf87 100644 --- a/packages/@aws-cdk/aws-rds/package.json +++ b/packages/@aws-cdk/aws-rds/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.rds", + "module": "aws_cdk.rds" + } } }, "repository": { diff --git a/packages/@aws-cdk/aws-redshift/package.json b/packages/@aws-cdk/aws-redshift/package.json index 4a02f5ee5a98c..9a8c9053f1e3b 100644 --- a/packages/@aws-cdk/aws-redshift/package.json +++ b/packages/@aws-cdk/aws-redshift/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.redshift", + "module": "aws_cdk.redshift" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-robomaker/package.json b/packages/@aws-cdk/aws-robomaker/package.json index 05718c8249d88..269408ad3a558 100644 --- a/packages/@aws-cdk/aws-robomaker/package.json +++ b/packages/@aws-cdk/aws-robomaker/package.json @@ -20,7 +20,11 @@ "artifactId": "robomaker" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.robomaker", + "module": "aws_cdk.robomaker" + } } }, "repository": { @@ -70,4 +74,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-route53/package.json b/packages/@aws-cdk/aws-route53/package.json index 6fb96c433b3b9..49f4861d94650 100644 --- a/packages/@aws-cdk/aws-route53/package.json +++ b/packages/@aws-cdk/aws-route53/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.route53", + "module": "aws_cdk.route53" + } } }, "repository": { @@ -75,4 +79,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-route53resolver/package.json b/packages/@aws-cdk/aws-route53resolver/package.json index 5463a6cbd9d0e..69394f2866e5f 100644 --- a/packages/@aws-cdk/aws-route53resolver/package.json +++ b/packages/@aws-cdk/aws-route53resolver/package.json @@ -20,7 +20,11 @@ "artifactId": "route53resolver" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.route53resolver", + "module": "aws_cdk.route53resolver" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-s3-deployment/package.json b/packages/@aws-cdk/aws-s3-deployment/package.json index 6c2277aa7e16a..deae7815b2ed0 100644 --- a/packages/@aws-cdk/aws-s3-deployment/package.json +++ b/packages/@aws-cdk/aws-s3-deployment/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.s3-deployment", + "module": "aws_cdk.s3_deployment" + } } }, "repository": { @@ -89,4 +93,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-s3-notifications/package.json b/packages/@aws-cdk/aws-s3-notifications/package.json index dc80505e3b956..0f0231f52066a 100644 --- a/packages/@aws-cdk/aws-s3-notifications/package.json +++ b/packages/@aws-cdk/aws-s3-notifications/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.s3-notifications", + "module": "aws_cdk.s3_notifications" + } } }, "repository": { @@ -63,4 +67,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-s3/package.json b/packages/@aws-cdk/aws-s3/package.json index 5460c458b4896..ec70d94966c08 100644 --- a/packages/@aws-cdk/aws-s3/package.json +++ b/packages/@aws-cdk/aws-s3/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.s3", + "module": "aws_cdk.s3" + } } }, "repository": { @@ -89,4 +93,4 @@ "resource-interface:@aws-cdk/aws-s3.IBucketPolicy" ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-sagemaker/package.json b/packages/@aws-cdk/aws-sagemaker/package.json index 3e2c0442931a9..991cc9a476c68 100644 --- a/packages/@aws-cdk/aws-sagemaker/package.json +++ b/packages/@aws-cdk/aws-sagemaker/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.sagemaker", + "module": "aws_cdk.sagemaker" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-sam/package.json b/packages/@aws-cdk/aws-sam/package.json index 61e71f9889084..3a1f714ac2b57 100644 --- a/packages/@aws-cdk/aws-sam/package.json +++ b/packages/@aws-cdk/aws-sam/package.json @@ -20,7 +20,11 @@ "artifactId": "sam" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.sam", + "module": "aws_cdk.sam" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-sdb/package.json b/packages/@aws-cdk/aws-sdb/package.json index f53dd68b0fdcb..dac894e21167c 100644 --- a/packages/@aws-cdk/aws-sdb/package.json +++ b/packages/@aws-cdk/aws-sdb/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.sdb", + "module": "aws_cdk.sdb" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-secretsmanager/package.json b/packages/@aws-cdk/aws-secretsmanager/package.json index c1b3debdc3600..4b85453658eba 100644 --- a/packages/@aws-cdk/aws-secretsmanager/package.json +++ b/packages/@aws-cdk/aws-secretsmanager/package.json @@ -20,7 +20,11 @@ "artifactId": "secretsmanager" } }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.secretsmanager", + "module": "aws_cdk.secretsmanager" + } } }, "repository": { diff --git a/packages/@aws-cdk/aws-servicecatalog/package.json b/packages/@aws-cdk/aws-servicecatalog/package.json index 4648d55d9f3a7..3bc31f63e0457 100644 --- a/packages/@aws-cdk/aws-servicecatalog/package.json +++ b/packages/@aws-cdk/aws-servicecatalog/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.servicecatalog", + "module": "aws_cdk.servicecatalog" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-servicediscovery/package.json b/packages/@aws-cdk/aws-servicediscovery/package.json index eb934117c9fb1..3f5e3eddb4c92 100644 --- a/packages/@aws-cdk/aws-servicediscovery/package.json +++ b/packages/@aws-cdk/aws-servicediscovery/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.servicediscovery", + "module": "aws_cdk.servicediscovery" + } } }, "repository": { @@ -87,4 +91,4 @@ "resource-interface:@aws-cdk/aws-servicediscovery.IPrivateDnsNamespace" ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-ses/package.json b/packages/@aws-cdk/aws-ses/package.json index a03404042df45..28de73bd1e444 100644 --- a/packages/@aws-cdk/aws-ses/package.json +++ b/packages/@aws-cdk/aws-ses/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.ses", + "module": "aws_cdk.ses" + } } }, "repository": { @@ -80,4 +84,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-sns/package.json b/packages/@aws-cdk/aws-sns/package.json index 43c3ba77b5700..34da1c2d29f05 100644 --- a/packages/@aws-cdk/aws-sns/package.json +++ b/packages/@aws-cdk/aws-sns/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.sns", + "module": "aws_cdk.sns" + } }, "excludeTypescript": [ "examples" @@ -88,4 +92,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-sqs/package.json b/packages/@aws-cdk/aws-sqs/package.json index c07cd7e53a8be..a772fb94850e1 100644 --- a/packages/@aws-cdk/aws-sqs/package.json +++ b/packages/@aws-cdk/aws-sqs/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.sqs", + "module": "aws_cdk.sqs" + } } }, "repository": { @@ -87,4 +91,4 @@ "resource-attribute:@aws-cdk/aws-sqs.IQueue.queueName" ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-ssm/package.json b/packages/@aws-cdk/aws-ssm/package.json index 75c5d46f22402..882cf4fdadd9c 100644 --- a/packages/@aws-cdk/aws-ssm/package.json +++ b/packages/@aws-cdk/aws-ssm/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.ssm", + "module": "aws_cdk.ssm" + } } }, "repository": { @@ -85,4 +89,4 @@ "*:@aws-cdk/aws-ssm.ResourceDataSync" ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-stepfunctions/package.json b/packages/@aws-cdk/aws-stepfunctions/package.json index e089cf3edfea8..339835b703446 100644 --- a/packages/@aws-cdk/aws-stepfunctions/package.json +++ b/packages/@aws-cdk/aws-stepfunctions/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.stepfunctions", + "module": "aws_cdk.stepfunctions" + } } }, "repository": { @@ -81,4 +85,4 @@ "resource-attribute:@aws-cdk/aws-stepfunctions.IStateMachine.stateMachineName" ] } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-waf/package.json b/packages/@aws-cdk/aws-waf/package.json index 8d6f230ac1623..414a66e21a437 100644 --- a/packages/@aws-cdk/aws-waf/package.json +++ b/packages/@aws-cdk/aws-waf/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.waf", + "module": "aws_cdk.waf" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-wafregional/package.json b/packages/@aws-cdk/aws-wafregional/package.json index f10fcf1ea7549..3f48eec9302b2 100644 --- a/packages/@aws-cdk/aws-wafregional/package.json +++ b/packages/@aws-cdk/aws-wafregional/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.wafregional", + "module": "aws_cdk.wafregional" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/aws-workspaces/package.json b/packages/@aws-cdk/aws-workspaces/package.json index 0585eba121b1a..8fcf645c189e6 100644 --- a/packages/@aws-cdk/aws-workspaces/package.json +++ b/packages/@aws-cdk/aws-workspaces/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.workspaces", + "module": "aws_cdk.workspaces" + } } }, "repository": { @@ -69,4 +73,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/cdk/package.json b/packages/@aws-cdk/cdk/package.json index 3328616464ef4..20ab1a22e0682 100644 --- a/packages/@aws-cdk/cdk/package.json +++ b/packages/@aws-cdk/cdk/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.cdk", + "module": "aws_cdk.cdk" + } } }, "repository": { @@ -78,4 +82,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/packages/@aws-cdk/cx-api/package.json b/packages/@aws-cdk/cx-api/package.json index dca21e9a7d61b..4a6ada3ad31a4 100644 --- a/packages/@aws-cdk/cx-api/package.json +++ b/packages/@aws-cdk/cx-api/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.cx-api", + "module": "aws_cdk.cx_api" + } } }, "scripts": { diff --git a/packages/@aws-cdk/region-info/package.json b/packages/@aws-cdk/region-info/package.json index 95755685df0bf..c6af93d995853 100644 --- a/packages/@aws-cdk/region-info/package.json +++ b/packages/@aws-cdk/region-info/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.region-info", + "module": "aws_cdk.region_info" + } } }, "cdk-build": { diff --git a/packages/@aws-cdk/runtime-values/package.json b/packages/@aws-cdk/runtime-values/package.json index a654902086c32..b6d1689e7d558 100644 --- a/packages/@aws-cdk/runtime-values/package.json +++ b/packages/@aws-cdk/runtime-values/package.json @@ -20,7 +20,11 @@ "signAssembly": true, "assemblyOriginatorKeyFile": "../../key.snk" }, - "sphinx": {} + "sphinx": {}, + "python": { + "distName": "aws-cdk.runtime-values", + "module": "aws_cdk.runtime_values" + } } }, "repository": { @@ -70,4 +74,4 @@ "engines": { "node": ">= 8.10.0" } -} \ No newline at end of file +} diff --git a/tools/pkglint/lib/rules.ts b/tools/pkglint/lib/rules.ts index c159231db8ef3..45237f21a2176 100644 --- a/tools/pkglint/lib/rules.ts +++ b/tools/pkglint/lib/rules.ts @@ -191,6 +191,19 @@ export class JSIIJavaPackageIsRequired extends ValidationRule { } } +export class JSIIPythonTarget extends ValidationRule { + public readonly name = 'jsii/python'; + + public validate(pkg: PackageJson): void { + if (!isJSII(pkg)) { return; } + + const moduleName = cdkModuleName(pkg.json.name); + + expectJSON(this.name, pkg, 'jsii.targets.python.distName', moduleName.python.distName); + expectJSON(this.name, pkg, 'jsii.targets.python.module', moduleName.python.module); + } +} + export class JSIISphinxTarget extends ValidationRule { public readonly name = 'jsii/sphinx'; @@ -297,13 +310,19 @@ function cdkModuleName(name: string) { .map(s => s === 'aws' ? 'AWS' : caseUtils.pascal(s)) .join('.'); + const pythonName = name.replace(/^@/g, "").replace(/\//g, ".").split(".").map(caseUtils.kebab).join(".").replace(/^aws\-/, ""); + return { javaPackage: `software.amazon.awscdk${isCdkPkg ? '' : `.${name.replace(/^aws-/, 'services-').replace(/-/g, '.')}`}`, mavenArtifactId: isCdkPkg ? 'cdk' : name.startsWith('aws-') || name.startsWith('alexa-') ? name.replace(/^aws-/, '') : `cdk-${name}`, - dotnetNamespace: `Amazon.CDK${isCdkPkg ? '' : `.${dotnetSuffix}`}` + dotnetNamespace: `Amazon.CDK${isCdkPkg ? '' : `.${dotnetSuffix}`}`, + python: { + distName: `aws-cdk.${pythonName}`, + module: `aws_cdk.${pythonName.replace(/-/g, "_")}`, + }, }; }