Skip to content

Commit

Permalink
chore: produce go bindings (aws#13317)
Browse files Browse the repository at this point in the history
Adds a `go.moduleName` entry to all package.json files which will cause jsii-pacmak to produce go bindings for the AWS CDK and place them under the `dist/go` directory during packaging.

Resolves aws/jsii#2611


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
Elad Ben-Israel authored Mar 2, 2021
1 parent 2d0c766 commit e8f0c3c
Show file tree
Hide file tree
Showing 190 changed files with 587 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/@aws-cdk/alexa-ask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/app-delivery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"outdir": "dist",
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-accessanalyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-acmpca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-amazonmq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-amplify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-apigateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-apigatewayv2-authorizers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-apigatewayv2-integrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-apigatewayv2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-appconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-appflow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-applicationautoscaling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-applicationinsights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-appmesh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-appstream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-appsync/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-athena/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-auditmanager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
],
"distName": "aws-cdk.aws-auditmanager",
"module": "aws_cdk.aws_auditmanager"
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-autoscaling-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-autoscaling-hooktargets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-autoscaling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-autoscalingplans/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-backup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-batch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-budgets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-cassandra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-ce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-certificatemanager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-chatbot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-cloud9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-cloudformation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-cloudfront-origins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-cloudfront/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-cloudtrail/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-cloudwatch-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-cloudwatch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-codeartifact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
],
"distName": "aws-cdk.aws-codeartifact",
"module": "aws_cdk.aws_codeartifact"
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-codebuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"Framework :: AWS CDK",
"Framework :: AWS CDK :: 1"
]
},
"go": {
"moduleName": "github.com/aws/aws-cdk-go"
}
},
"projectReferences": true
Expand Down
Loading

0 comments on commit e8f0c3c

Please sign in to comment.