Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include CSharp in test scripts #228

Closed
1 of 2 tasks
NGL321 opened this issue Jan 16, 2020 · 0 comments · Fixed by #229 or #230
Closed
1 of 2 tasks

Include CSharp in test scripts #228

NGL321 opened this issue Jan 16, 2020 · 0 comments · Fixed by #229 or #230
Assignees
Labels
docs/repo-general Related to repo documentation (CONTRIBUTING, CODE_OF_CONDUCT, etc.) effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. in-progress Issue is being actively worked on. language/dotnet Related to .NET examples

Comments

@NGL321
Copy link
Contributor

NGL321 commented Jan 16, 2020

🚀 Feature Request

General Information

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

Description

The current test scripts for CI do not include building the CSharp files. This leaves them vulnerable to errors if not tested locally by reviewer.
We should add C# build scripts.

Proposed Solution

Other information

@NGL321 NGL321 added feature-request A feature should be added or improved. in-progress Issue is being actively worked on. docs/repo-general Related to repo documentation (CONTRIBUTING, CODE_OF_CONDUCT, etc.) effort/small Small work item – less than a day of effort language/dotnet Related to .NET examples labels Jan 16, 2020
@NGL321 NGL321 self-assigned this Jan 16, 2020
NGL321 added a commit that referenced this issue Jan 16, 2020
- Added package-lambda script to capitalize-string
- Added context to elasticbeanstalk-environment
- Added DO_NOT_AUTOTEST to static-site (requires user credentials in code)
- Added context to static-site

Fixes #228  <!-- Please create a new issue if none exists yet -->
mergify bot pushed a commit that referenced this issue Jun 26, 2020
* Fix broken links (#42)

* Fixed broken links

* Update README.md

* minor wording changes in readme files

* minor wording changes

* modernize python and typescript examples

* add default region in env

* feat: add example for AppSync GraphQL w/ DynamoDB CRUD resolvers (#44)

Add a AWS CDK example for an AppSync GraphQL API with an API Key, and CRUD Resolvers with DynamoDB. There are different Resolvers doing two Queries to Get One, All and two Mutations doing Save Item and Delete Item.

Should be useful for developers starting with AWS CDK on how to run a GraphQL API with Resolvers and DynamoDB. .

* Updated Python examples to work with 0.33.  Note that this still doesn't fix #483 but is a precursor to that.

* fix(elasticbeanstalk-bg-pipeline): Converted 'getContext' to 'tryGetContext' (#49)

* fix(elasticbeanstalk-environment): Converted 'getContext' to 'tryGetContext' (#49)

* fix(static-site): Converted 'getContext' to 'tryGetContext' (#49)

* fix(static-site): Converted 'AliasRecord' to new 'ARecord' and converted props accordingly (#49)

* fix(typescript): Replaced all instances of 'app.run()' with 'app.synth()' (#49)

To comply with new standard nomenclature

* Update ecs typescript examples to v0.36.1

* Updating Python examples to 0.36.1 (#64)

* WIP: Updating Python examples to 0.36.1

* Adding some ECS examples

* Adding more ECS examples

* Adding final ECS examples

* fix: many updates to fix for CDK 0.36.0 (#62)

* Change @aws-cdk/cdk to @aws-cdk/core
* change in typescript files as well
* changed values for resoruce overrides
* more updates to latest apis
* more updates
* added commet
* more cleanup
* updates to more files
* static site patch
* fix time
* Update CONTRIBUTING.md - Update documentation to align version `0.36.0`

Co-Authored-By: Tom Dufall <[email protected]>
* fix instance type constructor to include a combincation of class and size
* fix path resolution for fromAsset
* nit cleanup
* better definition of instane type
* timeout to 300 seconds
* change from AssetCode to Code
* added cluster capacity for further investigation
* added optional properities back
* extra space
* uncomment code for further investigation
* added timeout duration

* feat: README - add table of contents (#51)

Proposing adding a "table of contents" to the README

* fix: ecs-service-with-logging - ECS, not Fargate (#52)

* ecs-service-with-logging - ECS, not Fargate

ecs-service-with-logging uses ECS, not Fargate

* actually want this to say 'Starting a container fronted by a load balancer on ECS' not frontend

* chore(ecs-cluster): remove comment from the ecs cluster example (#67)

* fix: update Python StepFunctions project layout  (#66)

* chore(overrides): add README to "overrides" example (#69)

The README explains that the example does not end up in a deployable
state.

Also slighly edit example to use some of the nicer new features.

Fixes #68.

* Updating all Python examples for CDK release 0.38 (#70)

* Update VPCProps to us maxAzs (#72)

* feat: README updates 0.39.0. Builds confirmed (#71)

* fix: rename flasks app.synth to app.run (#74)

flasks app.run was accidentally renamed to app.synth in global rename

* fix: remove duplicate grant in ddb example (#75)

* fix: CDK General Availability (1.0.0) updates (#76)

Also build all examples in the PR build.

* Delete README.txt

* Fixes an invalid function name in the lambda-cron Java example, and updates test assertions to match.

* Removed * imports in favour of fully qualified single imports at the request of @rhboyd.

* Remove functionName from java lambda-cron example.

* Update java lambda-cron example expected CFT to have more realistic resource names.

* Reverted changes to java lambda-cron example back to using SingletonFunction, without functionName.

* sets removal policy on S3 and DynamoDB to DESTROY

* chore: added issue/pr templates + mergify/semanticprs config (#101)

* url-shortner from aws online tech talk

Add the python example for the url-shortener service demo
in the online tech talk about the AWS CDK.

* Updates

* un-ignore and add waltersco_common
* annotated with comments all around
* some minor cr tweaks

* dummy values for external resources

the build system of aws-cdk-examples will attempt to synth all sample
apps (which is a great thing), but since we have external resources,
we need some dummy values as defaults.

* handle fake context in all builds

* dont fail synth

* chore: fix build for ElasticBeanStalk TypeScript examples

* feat: include DNS-validated ACM certificate and S3 bucket deployment for static site (#118)

* feat: example using S3 trigger for Lambda (#106)

* feat: Python example for APIGW with lambda integration and CORS (#104)

* chore: update version of maven-compiler-plugin (#98)

* feat: add Python example for Kinesis+Lambda (#77)

* fix: updated Policy Name to match new parameter format (#86)

* Reference to Typescript >Python translation docs (#90)

Added reference to doc that provides guidance on how to read TypeScript code and translating it to Python.

* feat: add C# port of TypeScript 'my-widget-service' (#92)

* feat: make Python load balancer example start an actual HTTP server (#97)

* feat: (python) added my-widget-service example (#122)

* added my-widget-service

* added PR feedback

* fixed merge conflict with gitignore

* added my-widget-service

* added PR feedback

* fixed merge conflict with gitignore

* added more robust gitignore

* feat: Add python example for appsync-graphql-dynamodb (#121)

* add appsync-graphql-dynamodb

* add appsync-graphql-dynamodb

* Delete README.md

* feat: add appsync-graphql-dynamodb python example

* pep8 lint

* rm setup.py

* feat: add python/appsync-graphql-dynamodb/README.md (#124)

* feat: add python/appsync-graphql-dynamodb/README.md

* feat: add python/appsync-graphql-dynamodb/README.md

* fix: Update Fargate LoadBalance Service examples (#126)

Update Fargate load balanced service example for TypeScript and Python based on aws/aws-cdk#3719.

* fix: update static site example after breaking changes

* fix: update fargate-service-with-auto-scaling (#139)

broke here: https://github.com/aws/aws-cdk/pull/4369/files#diff-3311a7940b009157ac675f59ce84e301L35

* fix: update ecs-patterns examples to use the latest version of the cdk (#136)

* Fix ecs-patterns examples to use the latest version of the cdk

* Fix merge conflicts

* feat: added a CodePipeline Python example building a Docker image (#140)

* feat(ecs/elbv2): add example showing how to share LB across stacks

* chore: update lambda.Runtime to NODEJS_10_X (#133)

* chore: update lambda.Runtime to NODEJS_10_X

Node.js 8.x EoL is on 31 Dec 2019 https://endoflife.date/nodejs

* update dependencies

* The Python version specified in the Lambda runtime has been changed from PYTHON_2_X to PYTHON_3_6. (#146)

* fix: correct minor typos in code (#150)

* chore: update Java examples (#144)

* chore: update Java examples

* fixup dependency declarations

* chore: clean up C# example (#143)

- Added the dependency on the JSII Roslyn analyzers package.
- Removed now-unnecessary `null` arguments for "default props".
- Upgraded Lambda's runtime to Node-10.x (Node-8.x being deprecated)

* Change to loadBalancerTarget() (#142)

* feat: add RandomWriter C# example (#153)

* custom resource example for Java

* fix: update the Python URL shortener example with the new cdk.context.json used by the VPC provider (#170)

Fixes the build of the project.

* implemented Builder.create() pattern for the resources

* chore: refresh Java examples with latest syntax elements (#162)

* Fix typos in appsync-graphql-dynamodb/requirements.txt (#157)

* adding java examples for static site and stepfunctions-job-poller

* feat: add RDS sample in Python (#158)

* fix: Allow ingress traffic from public internet for NLB Ec2/Fargate Service (#155)

* Allow ingress traffic from public internet

* Fix load balancer service examples

* Fix README

* Added .NET link to README. (#193)

* feat: Add C# Static-Site (#173)

* Add C# Static-Site

* some semantic fixes

* Readme updates for clarity

* Example Formatting

Formatted new example source code with the google java formatter.

* feat: Add C# StepFunctions Job Poller (#174)

* Add C# StepFunctions Job Poller

* semantic fixes

* feat(Java): add Java code for resource-overrides example. (#167)

* feat(Java): add Java code for resource-overrides example.

* Add simple test.

* Address PR comments

* feat: my-widget-service example for Java (#172)

* my-widget-service java example

* cleaned up output.json

* Updated Readme for my-widget-service

* Updated pom.xml fix the build

* removed org.codehaus.mojo plugin from pom.xml

* updated the reference to app class in pom.xml

* updated cdk.json to point to App class, cleaned up the stack code with consistent formatting

* updated gitignore for bin directory

* format updates to  stack class

* updated cdk version to 1.18.0

* add .class to gitignore

* java syntax updates

updated to use "Builder" syntax for construct library

* feat: Add C# Classic Load Balancer (#180)

* Add C# Classic Load Balancer

* minor semantic/typo fixes

* added the static site and stepfunctions java examples info to ReadMe

* feat: Format Java Code (#199)

Formats existing java examples using google-java-format. Adds 'style and
formatting' section to CONTRIBUTING.md regarding java code formatting.

Fixes #198

* update cdk version numbers (#171)

* Upgrade typescript version to resolve implicitly issue (#159)

* fix(java/resource-overrides): example uses method toPrettyString() which doesn't exist (#201)

* feat: c# project with a c# lambda function handler (#202)

There is no clear guidance at the moment on how to use C# lambda function handler
within a CDK project. Adding an example here for customers to discover or for us to
direct them.

aws/aws-cdk#5340 is a customer question on this.

* feat: added ECS fargate-load-balanced-service Java example (#160)

* Initial commit of Java fargate-load-balanced-service

* Removed unused code and updated ECSFargateLoadBalancedStack

* Linked Java version of fargate-load-balanced-service to the README.md

* Updated expected CloudFormation for the JUnit test

* Removed unused imports

* Added some comments and did some code cleanup

* Updated SG to include VPC Cide (#191)

* updated Python Fargate Service load balance example for security groups (#192)

* updated ts version (#207)

* feat(new-ex): add an Amplify Console App Example (#59)

* adding the Amplify Console App example

* minor updates due to cdk changes

* update readme to standard format

Co-authored-by: Noah Litov <[email protected]>

* feat: Add C# ElasticBeanstalk (#182)

* Add C# ElasticBeanstalk

Authored-by: Richard H Boyd <[email protected]>
Co-authored-by: Noah Litov <[email protected]>

* fix: update travis to use jsii superchain (#219)

* update travis to use jsii superchain
* update maven version custom-resource

* feat(new-ex): add AppSync triggering Event Bridge Example (#103)

* Add AppSync2EventBridge Example

* update lambda node version

* latest ts and cdk versions

* some package build fixes

Co-authored-by: Noah Litov <[email protected]>

* Add requirements.txt for python/api-cors-lambda (#200)

Co-authored-by: Noah Litov <[email protected]>

* Update README.md (#213)

* fix: update CDK versions for Java examples to latest (#217)

Updated all Java examples to the latest CDK version.
We switched to use a version range in `pom.xml`,
so we will now always use the latest versions as they are available.

Also fixed the expected CFN output for the ECS examples tests
(the updated CDK versions brought with them more taggable resources in the CFN spec).

Fixes #216

* feat(new-ex): custom logical names (#120)

* custom logical names

an example for how to implement custom logical name allocation.

related: aws/aws-cdk#4045

* Use `ApplicationLoadBalancedFargateService`

* fix: broken build (#225)

The resource-overrides code build was broken because desiredCapacity is
not calculated all of the time.

Ref: aws/aws-cdk@0adf6c7#diff-ab28b1e5c6b252f017045680eb86f108

Also, outputting the current project being built into STDOUT for better
future diagnosis.

* feat(repo): add dotnet buildscripts (#229)

- Adds dotnet build script build-csharp.sh and modified build.sh to run the former
- Minor fixes to build scripts to improve consistency

* chore(csharp): update cdk configs for new csharp CI builds

- Added package-lambda script to capitalize-string
- Added context to elasticbeanstalk-environment
- Added DO_NOT_AUTOTEST to static-site (requires user credentials in code)
- Added context to static-site

Fixes #228  <!-- Please create a new issue if none exists yet -->

* feat(repo): add actions CI to repo (#231)

* feat: add actions CI to repo

* make build-csharp.sh executable

* make build-csharp.sh executable

* make build-csharp.sh executable

* fix random-writer versioning

* feat(py-stepfunctions): add step-mapping to example (#215)

* Added Mapping to step function

* Added Mapping to step function

* Added Mapping to step function

* Made suggested corrections.

Co-authored-by: Noah Litov <[email protected]>

* feat: add 3 tier app, usage of userdata, sec grps (#214)

* feat: add 3 tier app, usage of userdata, sec grps

* fix: correct the naming of directory

* fix: correct the naming of directory

* Delete nextcloud_docker_cdk_stack.py

* Update setup.py

* Update setup.py

Co-authored-by: Noah Litov <[email protected]>

* feat: Passing resources between stacks (#210)

* resource passing
* fix comment
* Update setup.py

Co-authored-by: Noah Litov <[email protected]>

* feat: add VPC, EC2 Python Example (#204)

This pull request is aimed at creating the following Python Examples:
- Import VPC
- Create new VPC with 2 AZs and 6 Subnets, Public, Private and DataBase.
- Sharing VPC between two stacks
- Create ALB/EC2/AutoscalingGroup in the VPC
- How to define EC2 to specify AMI or auto-selection
- Define property override for EC2 Instance with BlockStorageMapping
- Define userdata for EC2 to setup httpd
- Create NAT GW and Bastion 
- Chain the Security Groups

* feat: Add EKS cluster with VPC and self managed ASG example (#224)

Adds a typescript example EKS cluster with a VPC & auto-scaling group.

* feat: DynamoDB, Lambda and CloudWatch Example (#220)

* Added Mapping to step function

* Added Mapping to step function

* Added Mapping to step function

* Made suggested corrections.

* cdk dynamo-lambda example

* fix requirements.txt to include packages

Co-authored-by: Noah Litov <[email protected]>

* chore: remove Travis CI config file (#233)

Remove the Travis configuration file so Github Actions is the only CI for repo.

* feat: Add codebuild cdk examples to create Project, ReportGroup… (#235)

* feat: Add codebuild cdk examples to create Project, ReportGroup and SourceCredentials

This commit adds three CDK sample examples for the aws codebuild in java. It will help customers use the sample for better understanding of using CDK for codebuild.

* feat: Java :implementation of classic load balancer sample (#187)

* Java implementation of classic load balancer

Co-authored-by: netanir <[email protected]>
Co-authored-by: Noah Litov <[email protected]>

* fix: change ecs local example to ALB (#242)

* fix: Fixes broken link for ecs-network-load-balanced-service exa… (#243)

* feat: Java api cors lambda crud dynamodb (#196)

* Java implementation of classic load balancer

* Java Sample for api-cors-lambda-dynamodb

* Refactored to two seaparate module - lambda and cd stack

* Need some dummy files for build to succeed with maven sub-modules.

* need a cdk.json for build to go through

* Need some dummy files for build to succeed with maven sub-modules.
Co-authored-by: Mitchell Valine <[email protected]>

* chore: update version of checkout action in workflow (#247)

* feat(newex): example of Cognito-protected APIGateway backed by L… (#252)

This makes a Cognito-protected APIG backed by a simple Hello World Lambda.

Signed-off-by: campionfellin <[email protected]>

* fix: broken build (#255)

* update Cognito example to incorporate the recent breaking change.
* eks/cluster typescript project to exclude re-compiling dependencies in
  `node_modules/`.

* feat: add lambda-ddb-mysql-etl-pipeline python service (#134)

* Contributing new Python CDK example project
* feat: Add context vars & fix: README update
* feat: added layers, context vars, fixed mysql exmpl & gen refactor

* feat:add a multi rule ALB sample with host and path based routing (#257)

* add a multi rule ALB sample with a combination of host and path based routing
* Update java/alb-multi-rule-response/README.md

* fix:  Typo in README (#258)

* fix: csharp example RandomWriter does not build

CDK and JSII versions were not pinned and the latest release included breaking changes.
Also modified the dependencies to be pinned to the latest version

* Revert "fix: csharp example RandomWriter does not build"

This reverts commit 8492843.

* fix: csharp example RandomWriter does not work

CDK and JSII versions were not pinned and the latest release included breaking changes.
Also modified the dependencies to be pinned to the latest version

* chore: unpin cdk versions so they can serve as canaries for changes that might be breaking in the future

* chore: remove pinned dependencies for csharp examples

Rationale: these should work with the latest release and also serve as a canary
if they break.

* fix: indicate port 80 is http NOT ssh (#273)

fixes a comment typo indicating that port 80 was assigned to ssh

* Add example of fargate service with an efs filesystem mount

* Update with requested changes & add readme - also bump cdk packages to latest version

* Fix aws-cdk package versions

Co-authored-by: Doug <[email protected]>
Co-authored-by: Adrian Orozco <[email protected]>
Co-authored-by: Elad Ben-Israel <[email protected]>
Co-authored-by: Alexander Simovic <[email protected]>
Co-authored-by: Mitch Garnaat <[email protected]>
Co-authored-by: Noah Litov <[email protected]>
Co-authored-by: Piradeep Kandasamy <[email protected]>
Co-authored-by: tbadlov <[email protected]>
Co-authored-by: Scott Brenner <[email protected]>
Co-authored-by: Richard Boyd <[email protected]>
Co-authored-by: Rico Huijbers <[email protected]>
Co-authored-by: Noah Litov <[email protected]>
Co-authored-by: Brian Pfeil <[email protected]>
Co-authored-by: Jan Sepke <[email protected]>
Co-authored-by: Adam Ruka <[email protected]>
Co-authored-by: Nathan Peck <[email protected]>
Co-authored-by: Stephen Nutbrown <[email protected]>
Co-authored-by: Andrew Chatfield <[email protected]>
Co-authored-by: Adam Ruka <[email protected]>
Co-authored-by: Clare Liguori <[email protected]>
Co-authored-by: Pubudu Jayawardana <[email protected]>
Co-authored-by: Shay Elmualem <[email protected]>
Co-authored-by: sullis <[email protected]>
Co-authored-by: Joseph Snell <[email protected]>
Co-authored-by: Steven Bryen <[email protected]>
Co-authored-by: Geoff Weinhold <[email protected]>
Co-authored-by: StevenSu <[email protected]>
Co-authored-by: zanhsieh <[email protected]>
Co-authored-by: करतोफ्फेलस्क्रिप्ट™ <[email protected]>
Co-authored-by: Josh Jay <[email protected]>
Co-authored-by: Rico Huijbers <[email protected]>
Co-authored-by: Trivikram Kamat <[email protected]>
Co-authored-by: curry9999 <[email protected]>
Co-authored-by: mounick-mallow <[email protected]>
Co-authored-by: Romain Marcadier-Muller <[email protected]>
Co-authored-by: Penghao He <[email protected]>
Co-authored-by: Kasina <[email protected]>
Co-authored-by: Wing-Kam <[email protected]>
Co-authored-by: Mitchell Valine <[email protected]>
Co-authored-by: Piotr Mlocek <[email protected]>
Co-authored-by: Srihari Prabaharan <[email protected]>
Co-authored-by: Mitchell Valine <[email protected]>
Co-authored-by: zechariahks <[email protected]>
Co-authored-by: Niranjan Jayakar <[email protected]>
Co-authored-by: Vinay Selvaraj <[email protected]>
Co-authored-by: David Christian <[email protected]>
Co-authored-by: Ed Lima <[email protected]>
Co-authored-by: no-brand <[email protected]>
Co-authored-by: Sarvesh <[email protected]>
Co-authored-by: Evan <[email protected]>
Co-authored-by: Richard H Boyd <[email protected]>
Co-authored-by: huangzbaws <[email protected]>
Co-authored-by: Andreas Skarmutsos Lindh <[email protected]>
Co-authored-by: Jigar Bhatt <[email protected]>
Co-authored-by: djiten75 <[email protected]>
Co-authored-by: netanir <[email protected]>
Co-authored-by: Chris Nankervis <[email protected]>
Co-authored-by: Campion Fellin <[email protected]>
Co-authored-by: Benjamin E. Farr <[email protected]>
Co-authored-by: Nas Taibi <[email protected]>
Co-authored-by: Mohamed Elzarei <[email protected]>
Co-authored-by: Shiv Lakshminarayan <[email protected]>
Co-authored-by: ColWillis <[email protected]>
ryands17 added a commit to ryands17/aws-cdk-examples that referenced this issue Sep 21, 2020
* Update dynamodb_lambda_stack.py (aws-samples#301)

Small typo fixes

* fix(python/rds): upgrade to new API (aws-samples#306)

* fix(python/rds): upgrade to new API

* fix second broken example

* And the last (?)

* chore(mergify): remove commented-reviews-by condition (aws-samples#310)

This condition enforces that PRs have no comments before it can be
merged. It's not clear why this is needed. As long as the build succeeds
and there is one approval from a core member, it's fine to merge

* feat: Python example for api-sqs-lambda (aws-samples#295)

* added Python example for api-sqs-lambda

* Update python/api-sqs-lambda/README.md

Co-authored-by: Niranjan Jayakar <[email protected]>

* Update python/api-sqs-lambda/README.md

Co-authored-by: Niranjan Jayakar <[email protected]>

* api-sqs-lambda: added testing instructions to readme

* Update python/api-sqs-lambda/README.md

Co-authored-by: Khanna <[email protected]>
Co-authored-by: Niranjan Jayakar <[email protected]>

* feat: add a http proxy with api gateway typescript example (aws-samples#297)

* feat: add a http proxy with api gateway typescript example

* fix: fix dependencies version

* docs: Add more information in README.md

* docs: change naming

* docs: Fix naming

* docs: Fix broken github url

Co-authored-by: Niranjan Jayakar <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* feat: add typescript example of a Fargate service with efs mount (aws-samples#274)

* Fix broken links (aws-samples#42)

* Fixed broken links

* Update README.md

* minor wording changes in readme files

* minor wording changes

* modernize python and typescript examples

* add default region in env

* feat: add example for AppSync GraphQL w/ DynamoDB CRUD resolvers (aws-samples#44)

Add a AWS CDK example for an AppSync GraphQL API with an API Key, and CRUD Resolvers with DynamoDB. There are different Resolvers doing two Queries to Get One, All and two Mutations doing Save Item and Delete Item.

Should be useful for developers starting with AWS CDK on how to run a GraphQL API with Resolvers and DynamoDB. .

* Updated Python examples to work with 0.33.  Note that this still doesn't fix aws-samples#483 but is a precursor to that.

* fix(elasticbeanstalk-bg-pipeline): Converted 'getContext' to 'tryGetContext' (aws-samples#49)

* fix(elasticbeanstalk-environment): Converted 'getContext' to 'tryGetContext' (aws-samples#49)

* fix(static-site): Converted 'getContext' to 'tryGetContext' (aws-samples#49)

* fix(static-site): Converted 'AliasRecord' to new 'ARecord' and converted props accordingly (aws-samples#49)

* fix(typescript): Replaced all instances of 'app.run()' with 'app.synth()' (aws-samples#49)

To comply with new standard nomenclature

* Update ecs typescript examples to v0.36.1

* Updating Python examples to 0.36.1 (aws-samples#64)

* WIP: Updating Python examples to 0.36.1

* Adding some ECS examples

* Adding more ECS examples

* Adding final ECS examples

* fix: many updates to fix for CDK 0.36.0 (aws-samples#62)

* Change @aws-cdk/cdk to @aws-cdk/core
* change in typescript files as well
* changed values for resoruce overrides
* more updates to latest apis
* more updates
* added commet
* more cleanup
* updates to more files
* static site patch
* fix time
* Update CONTRIBUTING.md - Update documentation to align version `0.36.0`

Co-Authored-By: Tom Dufall <[email protected]>
* fix instance type constructor to include a combincation of class and size
* fix path resolution for fromAsset
* nit cleanup
* better definition of instane type
* timeout to 300 seconds
* change from AssetCode to Code
* added cluster capacity for further investigation
* added optional properities back
* extra space
* uncomment code for further investigation
* added timeout duration

* feat: README - add table of contents (aws-samples#51)

Proposing adding a "table of contents" to the README

* fix: ecs-service-with-logging - ECS, not Fargate (aws-samples#52)

* ecs-service-with-logging - ECS, not Fargate

ecs-service-with-logging uses ECS, not Fargate

* actually want this to say 'Starting a container fronted by a load balancer on ECS' not frontend

* chore(ecs-cluster): remove comment from the ecs cluster example (aws-samples#67)

* fix: update Python StepFunctions project layout  (aws-samples#66)

* chore(overrides): add README to "overrides" example (aws-samples#69)

The README explains that the example does not end up in a deployable
state.

Also slighly edit example to use some of the nicer new features.

Fixes aws-samples#68.

* Updating all Python examples for CDK release 0.38 (aws-samples#70)

* Update VPCProps to us maxAzs (aws-samples#72)

* feat: README updates 0.39.0. Builds confirmed (aws-samples#71)

* fix: rename flasks app.synth to app.run (aws-samples#74)

flasks app.run was accidentally renamed to app.synth in global rename

* fix: remove duplicate grant in ddb example (aws-samples#75)

* fix: CDK General Availability (1.0.0) updates (aws-samples#76)

Also build all examples in the PR build.

* Delete README.txt

* Fixes an invalid function name in the lambda-cron Java example, and updates test assertions to match.

* Removed * imports in favour of fully qualified single imports at the request of @rhboyd.

* Remove functionName from java lambda-cron example.

* Update java lambda-cron example expected CFT to have more realistic resource names.

* Reverted changes to java lambda-cron example back to using SingletonFunction, without functionName.

* sets removal policy on S3 and DynamoDB to DESTROY

* chore: added issue/pr templates + mergify/semanticprs config (aws-samples#101)

* url-shortner from aws online tech talk

Add the python example for the url-shortener service demo
in the online tech talk about the AWS CDK.

* Updates

* un-ignore and add waltersco_common
* annotated with comments all around
* some minor cr tweaks

* dummy values for external resources

the build system of aws-cdk-examples will attempt to synth all sample
apps (which is a great thing), but since we have external resources,
we need some dummy values as defaults.

* handle fake context in all builds

* dont fail synth

* chore: fix build for ElasticBeanStalk TypeScript examples

* feat: include DNS-validated ACM certificate and S3 bucket deployment for static site (aws-samples#118)

* feat: example using S3 trigger for Lambda (aws-samples#106)

* feat: Python example for APIGW with lambda integration and CORS (aws-samples#104)

* chore: update version of maven-compiler-plugin (aws-samples#98)

* feat: add Python example for Kinesis+Lambda (aws-samples#77)

* fix: updated Policy Name to match new parameter format (aws-samples#86)

* Reference to Typescript >Python translation docs (aws-samples#90)

Added reference to doc that provides guidance on how to read TypeScript code and translating it to Python.

* feat: add C# port of TypeScript 'my-widget-service' (aws-samples#92)

* feat: make Python load balancer example start an actual HTTP server (aws-samples#97)

* feat: (python) added my-widget-service example (aws-samples#122)

* added my-widget-service

* added PR feedback

* fixed merge conflict with gitignore

* added my-widget-service

* added PR feedback

* fixed merge conflict with gitignore

* added more robust gitignore

* feat: Add python example for appsync-graphql-dynamodb (aws-samples#121)

* add appsync-graphql-dynamodb

* add appsync-graphql-dynamodb

* Delete README.md

* feat: add appsync-graphql-dynamodb python example

* pep8 lint

* rm setup.py

* feat: add python/appsync-graphql-dynamodb/README.md (aws-samples#124)

* feat: add python/appsync-graphql-dynamodb/README.md

* feat: add python/appsync-graphql-dynamodb/README.md

* fix: Update Fargate LoadBalance Service examples (aws-samples#126)

Update Fargate load balanced service example for TypeScript and Python based on aws/aws-cdk#3719.

* fix: update static site example after breaking changes

* fix: update fargate-service-with-auto-scaling (aws-samples#139)

broke here: https://github.com/aws/aws-cdk/pull/4369/files#diff-3311a7940b009157ac675f59ce84e301L35

* fix: update ecs-patterns examples to use the latest version of the cdk (aws-samples#136)

* Fix ecs-patterns examples to use the latest version of the cdk

* Fix merge conflicts

* feat: added a CodePipeline Python example building a Docker image (aws-samples#140)

* feat(ecs/elbv2): add example showing how to share LB across stacks

* chore: update lambda.Runtime to NODEJS_10_X (aws-samples#133)

* chore: update lambda.Runtime to NODEJS_10_X

Node.js 8.x EoL is on 31 Dec 2019 https://endoflife.date/nodejs

* update dependencies

* The Python version specified in the Lambda runtime has been changed from PYTHON_2_X to PYTHON_3_6. (aws-samples#146)

* fix: correct minor typos in code (aws-samples#150)

* chore: update Java examples (aws-samples#144)

* chore: update Java examples

* fixup dependency declarations

* chore: clean up C# example (aws-samples#143)

- Added the dependency on the JSII Roslyn analyzers package.
- Removed now-unnecessary `null` arguments for "default props".
- Upgraded Lambda's runtime to Node-10.x (Node-8.x being deprecated)

* Change to loadBalancerTarget() (aws-samples#142)

* feat: add RandomWriter C# example (aws-samples#153)

* custom resource example for Java

* fix: update the Python URL shortener example with the new cdk.context.json used by the VPC provider (aws-samples#170)

Fixes the build of the project.

* implemented Builder.create() pattern for the resources

* chore: refresh Java examples with latest syntax elements (aws-samples#162)

* Fix typos in appsync-graphql-dynamodb/requirements.txt (aws-samples#157)

* adding java examples for static site and stepfunctions-job-poller

* feat: add RDS sample in Python (aws-samples#158)

* fix: Allow ingress traffic from public internet for NLB Ec2/Fargate Service (aws-samples#155)

* Allow ingress traffic from public internet

* Fix load balancer service examples

* Fix README

* Added .NET link to README. (aws-samples#193)

* feat: Add C# Static-Site (aws-samples#173)

* Add C# Static-Site

* some semantic fixes

* Readme updates for clarity

* Example Formatting

Formatted new example source code with the google java formatter.

* feat: Add C# StepFunctions Job Poller (aws-samples#174)

* Add C# StepFunctions Job Poller

* semantic fixes

* feat(Java): add Java code for resource-overrides example. (aws-samples#167)

* feat(Java): add Java code for resource-overrides example.

* Add simple test.

* Address PR comments

* feat: my-widget-service example for Java (aws-samples#172)

* my-widget-service java example

* cleaned up output.json

* Updated Readme for my-widget-service

* Updated pom.xml fix the build

* removed org.codehaus.mojo plugin from pom.xml

* updated the reference to app class in pom.xml

* updated cdk.json to point to App class, cleaned up the stack code with consistent formatting

* updated gitignore for bin directory

* format updates to  stack class

* updated cdk version to 1.18.0

* add .class to gitignore

* java syntax updates

updated to use "Builder" syntax for construct library

* feat: Add C# Classic Load Balancer (aws-samples#180)

* Add C# Classic Load Balancer

* minor semantic/typo fixes

* added the static site and stepfunctions java examples info to ReadMe

* feat: Format Java Code (aws-samples#199)

Formats existing java examples using google-java-format. Adds 'style and
formatting' section to CONTRIBUTING.md regarding java code formatting.

Fixes aws-samples#198

* update cdk version numbers (aws-samples#171)

* Upgrade typescript version to resolve implicitly issue (aws-samples#159)

* fix(java/resource-overrides): example uses method toPrettyString() which doesn't exist (aws-samples#201)

* feat: c# project with a c# lambda function handler (aws-samples#202)

There is no clear guidance at the moment on how to use C# lambda function handler
within a CDK project. Adding an example here for customers to discover or for us to
direct them.

aws/aws-cdk#5340 is a customer question on this.

* feat: added ECS fargate-load-balanced-service Java example (aws-samples#160)

* Initial commit of Java fargate-load-balanced-service

* Removed unused code and updated ECSFargateLoadBalancedStack

* Linked Java version of fargate-load-balanced-service to the README.md

* Updated expected CloudFormation for the JUnit test

* Removed unused imports

* Added some comments and did some code cleanup

* Updated SG to include VPC Cide (aws-samples#191)

* updated Python Fargate Service load balance example for security groups (aws-samples#192)

* updated ts version (aws-samples#207)

* feat(new-ex): add an Amplify Console App Example (aws-samples#59)

* adding the Amplify Console App example

* minor updates due to cdk changes

* update readme to standard format

Co-authored-by: Noah Litov <[email protected]>

* feat: Add C# ElasticBeanstalk (aws-samples#182)

* Add C# ElasticBeanstalk

Authored-by: Richard H Boyd <[email protected]>
Co-authored-by: Noah Litov <[email protected]>

* fix: update travis to use jsii superchain (aws-samples#219)

* update travis to use jsii superchain
* update maven version custom-resource

* feat(new-ex): add AppSync triggering Event Bridge Example (aws-samples#103)

* Add AppSync2EventBridge Example

* update lambda node version

* latest ts and cdk versions

* some package build fixes

Co-authored-by: Noah Litov <[email protected]>

* Add requirements.txt for python/api-cors-lambda (aws-samples#200)

Co-authored-by: Noah Litov <[email protected]>

* Update README.md (aws-samples#213)

* fix: update CDK versions for Java examples to latest (aws-samples#217)

Updated all Java examples to the latest CDK version.
We switched to use a version range in `pom.xml`,
so we will now always use the latest versions as they are available.

Also fixed the expected CFN output for the ECS examples tests
(the updated CDK versions brought with them more taggable resources in the CFN spec).

Fixes aws-samples#216

* feat(new-ex): custom logical names (aws-samples#120)

* custom logical names

an example for how to implement custom logical name allocation.

related: aws/aws-cdk#4045

* Use `ApplicationLoadBalancedFargateService`

* fix: broken build (aws-samples#225)

The resource-overrides code build was broken because desiredCapacity is
not calculated all of the time.

Ref: aws/aws-cdk@0adf6c7#diff-ab28b1e5c6b252f017045680eb86f108

Also, outputting the current project being built into STDOUT for better
future diagnosis.

* feat(repo): add dotnet buildscripts (aws-samples#229)

- Adds dotnet build script build-csharp.sh and modified build.sh to run the former
- Minor fixes to build scripts to improve consistency

* chore(csharp): update cdk configs for new csharp CI builds

- Added package-lambda script to capitalize-string
- Added context to elasticbeanstalk-environment
- Added DO_NOT_AUTOTEST to static-site (requires user credentials in code)
- Added context to static-site

Fixes aws-samples#228  <!-- Please create a new issue if none exists yet -->

* feat(repo): add actions CI to repo (aws-samples#231)

* feat: add actions CI to repo

* make build-csharp.sh executable

* make build-csharp.sh executable

* make build-csharp.sh executable

* fix random-writer versioning

* feat(py-stepfunctions): add step-mapping to example (aws-samples#215)

* Added Mapping to step function

* Added Mapping to step function

* Added Mapping to step function

* Made suggested corrections.

Co-authored-by: Noah Litov <[email protected]>

* feat: add 3 tier app, usage of userdata, sec grps (aws-samples#214)

* feat: add 3 tier app, usage of userdata, sec grps

* fix: correct the naming of directory

* fix: correct the naming of directory

* Delete nextcloud_docker_cdk_stack.py

* Update setup.py

* Update setup.py

Co-authored-by: Noah Litov <[email protected]>

* feat: Passing resources between stacks (aws-samples#210)

* resource passing
* fix comment
* Update setup.py

Co-authored-by: Noah Litov <[email protected]>

* feat: add VPC, EC2 Python Example (aws-samples#204)

This pull request is aimed at creating the following Python Examples:
- Import VPC
- Create new VPC with 2 AZs and 6 Subnets, Public, Private and DataBase.
- Sharing VPC between two stacks
- Create ALB/EC2/AutoscalingGroup in the VPC
- How to define EC2 to specify AMI or auto-selection
- Define property override for EC2 Instance with BlockStorageMapping
- Define userdata for EC2 to setup httpd
- Create NAT GW and Bastion 
- Chain the Security Groups

* feat: Add EKS cluster with VPC and self managed ASG example (aws-samples#224)

Adds a typescript example EKS cluster with a VPC & auto-scaling group.

* feat: DynamoDB, Lambda and CloudWatch Example (aws-samples#220)

* Added Mapping to step function

* Added Mapping to step function

* Added Mapping to step function

* Made suggested corrections.

* cdk dynamo-lambda example

* fix requirements.txt to include packages

Co-authored-by: Noah Litov <[email protected]>

* chore: remove Travis CI config file (aws-samples#233)

Remove the Travis configuration file so Github Actions is the only CI for repo.

* feat: Add codebuild cdk examples to create Project, ReportGroup… (aws-samples#235)

* feat: Add codebuild cdk examples to create Project, ReportGroup and SourceCredentials

This commit adds three CDK sample examples for the aws codebuild in java. It will help customers use the sample for better understanding of using CDK for codebuild.

* feat: Java :implementation of classic load balancer sample (aws-samples#187)

* Java implementation of classic load balancer

Co-authored-by: netanir <[email protected]>
Co-authored-by: Noah Litov <[email protected]>

* fix: change ecs local example to ALB (aws-samples#242)

* fix: Fixes broken link for ecs-network-load-balanced-service exa… (aws-samples#243)

* feat: Java api cors lambda crud dynamodb (aws-samples#196)

* Java implementation of classic load balancer

* Java Sample for api-cors-lambda-dynamodb

* Refactored to two seaparate module - lambda and cd stack

* Need some dummy files for build to succeed with maven sub-modules.

* need a cdk.json for build to go through

* Need some dummy files for build to succeed with maven sub-modules.
Co-authored-by: Mitchell Valine <[email protected]>

* chore: update version of checkout action in workflow (aws-samples#247)

* feat(newex): example of Cognito-protected APIGateway backed by L… (aws-samples#252)

This makes a Cognito-protected APIG backed by a simple Hello World Lambda.

Signed-off-by: campionfellin <[email protected]>

* fix: broken build (aws-samples#255)

* update Cognito example to incorporate the recent breaking change.
* eks/cluster typescript project to exclude re-compiling dependencies in
  `node_modules/`.

* feat: add lambda-ddb-mysql-etl-pipeline python service (aws-samples#134)

* Contributing new Python CDK example project
* feat: Add context vars & fix: README update
* feat: added layers, context vars, fixed mysql exmpl & gen refactor

* feat:add a multi rule ALB sample with host and path based routing (aws-samples#257)

* add a multi rule ALB sample with a combination of host and path based routing
* Update java/alb-multi-rule-response/README.md

* fix:  Typo in README (aws-samples#258)

* fix: csharp example RandomWriter does not build

CDK and JSII versions were not pinned and the latest release included breaking changes.
Also modified the dependencies to be pinned to the latest version

* Revert "fix: csharp example RandomWriter does not build"

This reverts commit 8492843.

* fix: csharp example RandomWriter does not work

CDK and JSII versions were not pinned and the latest release included breaking changes.
Also modified the dependencies to be pinned to the latest version

* chore: unpin cdk versions so they can serve as canaries for changes that might be breaking in the future

* chore: remove pinned dependencies for csharp examples

Rationale: these should work with the latest release and also serve as a canary
if they break.

* fix: indicate port 80 is http NOT ssh (aws-samples#273)

fixes a comment typo indicating that port 80 was assigned to ssh

* Add example of fargate service with an efs filesystem mount

* Update with requested changes & add readme - also bump cdk packages to latest version

* Fix aws-cdk package versions

Co-authored-by: Doug <[email protected]>
Co-authored-by: Adrian Orozco <[email protected]>
Co-authored-by: Elad Ben-Israel <[email protected]>
Co-authored-by: Alexander Simovic <[email protected]>
Co-authored-by: Mitch Garnaat <[email protected]>
Co-authored-by: Noah Litov <[email protected]>
Co-authored-by: Piradeep Kandasamy <[email protected]>
Co-authored-by: tbadlov <[email protected]>
Co-authored-by: Scott Brenner <[email protected]>
Co-authored-by: Richard Boyd <[email protected]>
Co-authored-by: Rico Huijbers <[email protected]>
Co-authored-by: Noah Litov <[email protected]>
Co-authored-by: Brian Pfeil <[email protected]>
Co-authored-by: Jan Sepke <[email protected]>
Co-authored-by: Adam Ruka <[email protected]>
Co-authored-by: Nathan Peck <[email protected]>
Co-authored-by: Stephen Nutbrown <[email protected]>
Co-authored-by: Andrew Chatfield <[email protected]>
Co-authored-by: Adam Ruka <[email protected]>
Co-authored-by: Clare Liguori <[email protected]>
Co-authored-by: Pubudu Jayawardana <[email protected]>
Co-authored-by: Shay Elmualem <[email protected]>
Co-authored-by: sullis <[email protected]>
Co-authored-by: Joseph Snell <[email protected]>
Co-authored-by: Steven Bryen <[email protected]>
Co-authored-by: Geoff Weinhold <[email protected]>
Co-authored-by: StevenSu <[email protected]>
Co-authored-by: zanhsieh <[email protected]>
Co-authored-by: करतोफ्फेलस्क्रिप्ट™ <[email protected]>
Co-authored-by: Josh Jay <[email protected]>
Co-authored-by: Rico Huijbers <[email protected]>
Co-authored-by: Trivikram Kamat <[email protected]>
Co-authored-by: curry9999 <[email protected]>
Co-authored-by: mounick-mallow <[email protected]>
Co-authored-by: Romain Marcadier-Muller <[email protected]>
Co-authored-by: Penghao He <[email protected]>
Co-authored-by: Kasina <[email protected]>
Co-authored-by: Wing-Kam <[email protected]>
Co-authored-by: Mitchell Valine <[email protected]>
Co-authored-by: Piotr Mlocek <[email protected]>
Co-authored-by: Srihari Prabaharan <[email protected]>
Co-authored-by: Mitchell Valine <[email protected]>
Co-authored-by: zechariahks <[email protected]>
Co-authored-by: Niranjan Jayakar <[email protected]>
Co-authored-by: Vinay Selvaraj <[email protected]>
Co-authored-by: David Christian <[email protected]>
Co-authored-by: Ed Lima <[email protected]>
Co-authored-by: no-brand <[email protected]>
Co-authored-by: Sarvesh <[email protected]>
Co-authored-by: Evan <[email protected]>
Co-authored-by: Richard H Boyd <[email protected]>
Co-authored-by: huangzbaws <[email protected]>
Co-authored-by: Andreas Skarmutsos Lindh <[email protected]>
Co-authored-by: Jigar Bhatt <[email protected]>
Co-authored-by: djiten75 <[email protected]>
Co-authored-by: netanir <[email protected]>
Co-authored-by: Chris Nankervis <[email protected]>
Co-authored-by: Campion Fellin <[email protected]>
Co-authored-by: Benjamin E. Farr <[email protected]>
Co-authored-by: Nas Taibi <[email protected]>
Co-authored-by: Mohamed Elzarei <[email protected]>
Co-authored-by: Shiv Lakshminarayan <[email protected]>
Co-authored-by: ColWillis <[email protected]>

* fix(typescript/eks): compile fails for missing property 'version' (aws-samples#315)

This is due to the breaking change in the eks module introduced in
version 1.50.0.
https://github.com/aws/aws-cdk/blob/master/CHANGELOG.md#1500-2020-07-07

* fix(python/rds): update to new API (aws-samples#320)

Upgrades to the engine version specification from the RDS package.

* fix: Use custom s3 origin source for static-site example (aws-samples#318)

* Use custom s3 origin source for static-site example

Change origin URL from REST API endpoint format to s3 website endpoint format

* fix: Use custom s3 origin source for static-site example

Change origin URL from REST API endpoint format to s3 website endpoint format

Co-authored-by: Nick Lynch <[email protected]>

* Rename REAMDE.md to README.md (aws-samples#319)

Co-authored-by: Nick Lynch <[email protected]>

* chore(java): update expectation for fargate-load-balanced-service example (aws-samples#331)

* Update excpectation file due to new behavior in cdk

* made diff clearer

Co-authored-by: Jordan Wright <[email protected]>
Co-authored-by: Romain Marcadier <[email protected]>
Co-authored-by: Niranjan Jayakar <[email protected]>
Co-authored-by: Akshit Khanna <[email protected]>
Co-authored-by: Khanna <[email protected]>
Co-authored-by: Dayzen <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Stefan <[email protected]>
Co-authored-by: Doug <[email protected]>
Co-authored-by: Adrian Orozco <[email protected]>
Co-authored-by: Elad Ben-Israel <[email protected]>
Co-authored-by: Alexander Simovic <[email protected]>
Co-authored-by: Mitch Garnaat <[email protected]>
Co-authored-by: Noah Litov <[email protected]>
Co-authored-by: Piradeep Kandasamy <[email protected]>
Co-authored-by: tbadlov <[email protected]>
Co-authored-by: Scott Brenner <[email protected]>
Co-authored-by: Richard Boyd <[email protected]>
Co-authored-by: Rico Huijbers <[email protected]>
Co-authored-by: Noah Litov <[email protected]>
Co-authored-by: Brian Pfeil <[email protected]>
Co-authored-by: Jan Sepke <[email protected]>
Co-authored-by: Adam Ruka <[email protected]>
Co-authored-by: Nathan Peck <[email protected]>
Co-authored-by: Stephen Nutbrown <[email protected]>
Co-authored-by: Andrew Chatfield <[email protected]>
Co-authored-by: Adam Ruka <[email protected]>
Co-authored-by: Clare Liguori <[email protected]>
Co-authored-by: Pubudu Jayawardana <[email protected]>
Co-authored-by: Shay Elmualem <[email protected]>
Co-authored-by: sullis <[email protected]>
Co-authored-by: Joseph Snell <[email protected]>
Co-authored-by: Steven Bryen <[email protected]>
Co-authored-by: Geoff Weinhold <[email protected]>
Co-authored-by: StevenSu <[email protected]>
Co-authored-by: zanhsieh <[email protected]>
Co-authored-by: करतोफ्फेलस्क्रिप्ट™ <[email protected]>
Co-authored-by: Josh Jay <[email protected]>
Co-authored-by: Rico Huijbers <[email protected]>
Co-authored-by: Trivikram Kamat <[email protected]>
Co-authored-by: curry9999 <[email protected]>
Co-authored-by: mounick-mallow <[email protected]>
Co-authored-by: Penghao He <[email protected]>
Co-authored-by: Kasina <[email protected]>
Co-authored-by: Wing-Kam <[email protected]>
Co-authored-by: Mitchell Valine <[email protected]>
Co-authored-by: Piotr Mlocek <[email protected]>
Co-authored-by: Srihari Prabaharan <[email protected]>
Co-authored-by: Mitchell Valine <[email protected]>
Co-authored-by: zechariahks <[email protected]>
Co-authored-by: Niranjan Jayakar <[email protected]>
Co-authored-by: Vinay Selvaraj <[email protected]>
Co-authored-by: David Christian <[email protected]>
Co-authored-by: Ed Lima <[email protected]>
Co-authored-by: no-brand <[email protected]>
Co-authored-by: Sarvesh <[email protected]>
Co-authored-by: Evan <[email protected]>
Co-authored-by: Richard H Boyd <[email protected]>
Co-authored-by: huangzbaws <[email protected]>
Co-authored-by: Andreas Skarmutsos Lindh <[email protected]>
Co-authored-by: Jigar Bhatt <[email protected]>
Co-authored-by: djiten75 <[email protected]>
Co-authored-by: netanir <[email protected]>
Co-authored-by: Chris Nankervis <[email protected]>
Co-authored-by: Campion Fellin <[email protected]>
Co-authored-by: Benjamin E. Farr <[email protected]>
Co-authored-by: Nas Taibi <[email protected]>
Co-authored-by: Mohamed Elzarei <[email protected]>
Co-authored-by: Shiv Lakshminarayan <[email protected]>
Co-authored-by: ColWillis <[email protected]>
Co-authored-by: Nick Lynch <[email protected]>
Co-authored-by: Meet Dave <[email protected]>
Co-authored-by: Jonathan Kosgei <[email protected]>
Co-authored-by: Eli Polonsky <[email protected]>
its-mirus-lu pushed a commit to its-mirus-lu/aws-cdk-examples that referenced this issue Mar 26, 2022
- Added package-lambda script to capitalize-string
- Added context to elasticbeanstalk-environment
- Added DO_NOT_AUTOTEST to static-site (requires user credentials in code)
- Added context to static-site

Fixes aws-samples#228  <!-- Please create a new issue if none exists yet -->
its-mirus-lu pushed a commit to its-mirus-lu/aws-cdk-examples that referenced this issue Mar 26, 2022
…-samples#274)

* Fix broken links (aws-samples#42)

* Fixed broken links

* Update README.md

* minor wording changes in readme files

* minor wording changes

* modernize python and typescript examples

* add default region in env

* feat: add example for AppSync GraphQL w/ DynamoDB CRUD resolvers (aws-samples#44)

Add a AWS CDK example for an AppSync GraphQL API with an API Key, and CRUD Resolvers with DynamoDB. There are different Resolvers doing two Queries to Get One, All and two Mutations doing Save Item and Delete Item.

Should be useful for developers starting with AWS CDK on how to run a GraphQL API with Resolvers and DynamoDB. .

* Updated Python examples to work with 0.33.  Note that this still doesn't fix aws-samples#483 but is a precursor to that.

* fix(elasticbeanstalk-bg-pipeline): Converted 'getContext' to 'tryGetContext' (aws-samples#49)

* fix(elasticbeanstalk-environment): Converted 'getContext' to 'tryGetContext' (aws-samples#49)

* fix(static-site): Converted 'getContext' to 'tryGetContext' (aws-samples#49)

* fix(static-site): Converted 'AliasRecord' to new 'ARecord' and converted props accordingly (aws-samples#49)

* fix(typescript): Replaced all instances of 'app.run()' with 'app.synth()' (aws-samples#49)

To comply with new standard nomenclature

* Update ecs typescript examples to v0.36.1

* Updating Python examples to 0.36.1 (aws-samples#64)

* WIP: Updating Python examples to 0.36.1

* Adding some ECS examples

* Adding more ECS examples

* Adding final ECS examples

* fix: many updates to fix for CDK 0.36.0 (aws-samples#62)

* Change @aws-cdk/cdk to @aws-cdk/core
* change in typescript files as well
* changed values for resoruce overrides
* more updates to latest apis
* more updates
* added commet
* more cleanup
* updates to more files
* static site patch
* fix time
* Update CONTRIBUTING.md - Update documentation to align version `0.36.0`

Co-Authored-By: Tom Dufall <[email protected]>
* fix instance type constructor to include a combincation of class and size
* fix path resolution for fromAsset
* nit cleanup
* better definition of instane type
* timeout to 300 seconds
* change from AssetCode to Code
* added cluster capacity for further investigation
* added optional properities back
* extra space
* uncomment code for further investigation
* added timeout duration

* feat: README - add table of contents (aws-samples#51)

Proposing adding a "table of contents" to the README

* fix: ecs-service-with-logging - ECS, not Fargate (aws-samples#52)

* ecs-service-with-logging - ECS, not Fargate

ecs-service-with-logging uses ECS, not Fargate

* actually want this to say 'Starting a container fronted by a load balancer on ECS' not frontend

* chore(ecs-cluster): remove comment from the ecs cluster example (aws-samples#67)

* fix: update Python StepFunctions project layout  (aws-samples#66)

* chore(overrides): add README to "overrides" example (aws-samples#69)

The README explains that the example does not end up in a deployable
state.

Also slighly edit example to use some of the nicer new features.

Fixes aws-samples#68.

* Updating all Python examples for CDK release 0.38 (aws-samples#70)

* Update VPCProps to us maxAzs (aws-samples#72)

* feat: README updates 0.39.0. Builds confirmed (aws-samples#71)

* fix: rename flasks app.synth to app.run (aws-samples#74)

flasks app.run was accidentally renamed to app.synth in global rename

* fix: remove duplicate grant in ddb example (aws-samples#75)

* fix: CDK General Availability (1.0.0) updates (aws-samples#76)

Also build all examples in the PR build.

* Delete README.txt

* Fixes an invalid function name in the lambda-cron Java example, and updates test assertions to match.

* Removed * imports in favour of fully qualified single imports at the request of @rhboyd.

* Remove functionName from java lambda-cron example.

* Update java lambda-cron example expected CFT to have more realistic resource names.

* Reverted changes to java lambda-cron example back to using SingletonFunction, without functionName.

* sets removal policy on S3 and DynamoDB to DESTROY

* chore: added issue/pr templates + mergify/semanticprs config (aws-samples#101)

* url-shortner from aws online tech talk

Add the python example for the url-shortener service demo
in the online tech talk about the AWS CDK.

* Updates

* un-ignore and add waltersco_common
* annotated with comments all around
* some minor cr tweaks

* dummy values for external resources

the build system of aws-cdk-examples will attempt to synth all sample
apps (which is a great thing), but since we have external resources,
we need some dummy values as defaults.

* handle fake context in all builds

* dont fail synth

* chore: fix build for ElasticBeanStalk TypeScript examples

* feat: include DNS-validated ACM certificate and S3 bucket deployment for static site (aws-samples#118)

* feat: example using S3 trigger for Lambda (aws-samples#106)

* feat: Python example for APIGW with lambda integration and CORS (aws-samples#104)

* chore: update version of maven-compiler-plugin (aws-samples#98)

* feat: add Python example for Kinesis+Lambda (aws-samples#77)

* fix: updated Policy Name to match new parameter format (aws-samples#86)

* Reference to Typescript >Python translation docs (aws-samples#90)

Added reference to doc that provides guidance on how to read TypeScript code and translating it to Python.

* feat: add C# port of TypeScript 'my-widget-service' (aws-samples#92)

* feat: make Python load balancer example start an actual HTTP server (aws-samples#97)

* feat: (python) added my-widget-service example (aws-samples#122)

* added my-widget-service

* added PR feedback

* fixed merge conflict with gitignore

* added my-widget-service

* added PR feedback

* fixed merge conflict with gitignore

* added more robust gitignore

* feat: Add python example for appsync-graphql-dynamodb (aws-samples#121)

* add appsync-graphql-dynamodb

* add appsync-graphql-dynamodb

* Delete README.md

* feat: add appsync-graphql-dynamodb python example

* pep8 lint

* rm setup.py

* feat: add python/appsync-graphql-dynamodb/README.md (aws-samples#124)

* feat: add python/appsync-graphql-dynamodb/README.md

* feat: add python/appsync-graphql-dynamodb/README.md

* fix: Update Fargate LoadBalance Service examples (aws-samples#126)

Update Fargate load balanced service example for TypeScript and Python based on aws/aws-cdk#3719.

* fix: update static site example after breaking changes

* fix: update fargate-service-with-auto-scaling (aws-samples#139)

broke here: https://github.com/aws/aws-cdk/pull/4369/files#diff-3311a7940b009157ac675f59ce84e301L35

* fix: update ecs-patterns examples to use the latest version of the cdk (aws-samples#136)

* Fix ecs-patterns examples to use the latest version of the cdk

* Fix merge conflicts

* feat: added a CodePipeline Python example building a Docker image (aws-samples#140)

* feat(ecs/elbv2): add example showing how to share LB across stacks

* chore: update lambda.Runtime to NODEJS_10_X (aws-samples#133)

* chore: update lambda.Runtime to NODEJS_10_X

Node.js 8.x EoL is on 31 Dec 2019 https://endoflife.date/nodejs

* update dependencies

* The Python version specified in the Lambda runtime has been changed from PYTHON_2_X to PYTHON_3_6. (aws-samples#146)

* fix: correct minor typos in code (aws-samples#150)

* chore: update Java examples (aws-samples#144)

* chore: update Java examples

* fixup dependency declarations

* chore: clean up C# example (aws-samples#143)

- Added the dependency on the JSII Roslyn analyzers package.
- Removed now-unnecessary `null` arguments for "default props".
- Upgraded Lambda's runtime to Node-10.x (Node-8.x being deprecated)

* Change to loadBalancerTarget() (aws-samples#142)

* feat: add RandomWriter C# example (aws-samples#153)

* custom resource example for Java

* fix: update the Python URL shortener example with the new cdk.context.json used by the VPC provider (aws-samples#170)

Fixes the build of the project.

* implemented Builder.create() pattern for the resources

* chore: refresh Java examples with latest syntax elements (aws-samples#162)

* Fix typos in appsync-graphql-dynamodb/requirements.txt (aws-samples#157)

* adding java examples for static site and stepfunctions-job-poller

* feat: add RDS sample in Python (aws-samples#158)

* fix: Allow ingress traffic from public internet for NLB Ec2/Fargate Service (aws-samples#155)

* Allow ingress traffic from public internet

* Fix load balancer service examples

* Fix README

* Added .NET link to README. (aws-samples#193)

* feat: Add C# Static-Site (aws-samples#173)

* Add C# Static-Site

* some semantic fixes

* Readme updates for clarity

* Example Formatting

Formatted new example source code with the google java formatter.

* feat: Add C# StepFunctions Job Poller (aws-samples#174)

* Add C# StepFunctions Job Poller

* semantic fixes

* feat(Java): add Java code for resource-overrides example. (aws-samples#167)

* feat(Java): add Java code for resource-overrides example.

* Add simple test.

* Address PR comments

* feat: my-widget-service example for Java (aws-samples#172)

* my-widget-service java example

* cleaned up output.json

* Updated Readme for my-widget-service

* Updated pom.xml fix the build

* removed org.codehaus.mojo plugin from pom.xml

* updated the reference to app class in pom.xml

* updated cdk.json to point to App class, cleaned up the stack code with consistent formatting

* updated gitignore for bin directory

* format updates to  stack class

* updated cdk version to 1.18.0

* add .class to gitignore

* java syntax updates

updated to use "Builder" syntax for construct library

* feat: Add C# Classic Load Balancer (aws-samples#180)

* Add C# Classic Load Balancer

* minor semantic/typo fixes

* added the static site and stepfunctions java examples info to ReadMe

* feat: Format Java Code (aws-samples#199)

Formats existing java examples using google-java-format. Adds 'style and
formatting' section to CONTRIBUTING.md regarding java code formatting.

Fixes aws-samples#198

* update cdk version numbers (aws-samples#171)

* Upgrade typescript version to resolve implicitly issue (aws-samples#159)

* fix(java/resource-overrides): example uses method toPrettyString() which doesn't exist (aws-samples#201)

* feat: c# project with a c# lambda function handler (aws-samples#202)

There is no clear guidance at the moment on how to use C# lambda function handler
within a CDK project. Adding an example here for customers to discover or for us to
direct them.

aws/aws-cdk#5340 is a customer question on this.

* feat: added ECS fargate-load-balanced-service Java example (aws-samples#160)

* Initial commit of Java fargate-load-balanced-service

* Removed unused code and updated ECSFargateLoadBalancedStack

* Linked Java version of fargate-load-balanced-service to the README.md

* Updated expected CloudFormation for the JUnit test

* Removed unused imports

* Added some comments and did some code cleanup

* Updated SG to include VPC Cide (aws-samples#191)

* updated Python Fargate Service load balance example for security groups (aws-samples#192)

* updated ts version (aws-samples#207)

* feat(new-ex): add an Amplify Console App Example (aws-samples#59)

* adding the Amplify Console App example

* minor updates due to cdk changes

* update readme to standard format

Co-authored-by: Noah Litov <[email protected]>

* feat: Add C# ElasticBeanstalk (aws-samples#182)

* Add C# ElasticBeanstalk

Authored-by: Richard H Boyd <[email protected]>
Co-authored-by: Noah Litov <[email protected]>

* fix: update travis to use jsii superchain (aws-samples#219)

* update travis to use jsii superchain
* update maven version custom-resource

* feat(new-ex): add AppSync triggering Event Bridge Example (aws-samples#103)

* Add AppSync2EventBridge Example

* update lambda node version

* latest ts and cdk versions

* some package build fixes

Co-authored-by: Noah Litov <[email protected]>

* Add requirements.txt for python/api-cors-lambda (aws-samples#200)

Co-authored-by: Noah Litov <[email protected]>

* Update README.md (aws-samples#213)

* fix: update CDK versions for Java examples to latest (aws-samples#217)

Updated all Java examples to the latest CDK version.
We switched to use a version range in `pom.xml`,
so we will now always use the latest versions as they are available.

Also fixed the expected CFN output for the ECS examples tests
(the updated CDK versions brought with them more taggable resources in the CFN spec).

Fixes aws-samples#216

* feat(new-ex): custom logical names (aws-samples#120)

* custom logical names

an example for how to implement custom logical name allocation.

related: aws/aws-cdk#4045

* Use `ApplicationLoadBalancedFargateService`

* fix: broken build (aws-samples#225)

The resource-overrides code build was broken because desiredCapacity is
not calculated all of the time.

Ref: aws/aws-cdk@0adf6c7#diff-ab28b1e5c6b252f017045680eb86f108

Also, outputting the current project being built into STDOUT for better
future diagnosis.

* feat(repo): add dotnet buildscripts (aws-samples#229)

- Adds dotnet build script build-csharp.sh and modified build.sh to run the former
- Minor fixes to build scripts to improve consistency

* chore(csharp): update cdk configs for new csharp CI builds

- Added package-lambda script to capitalize-string
- Added context to elasticbeanstalk-environment
- Added DO_NOT_AUTOTEST to static-site (requires user credentials in code)
- Added context to static-site

Fixes aws-samples#228  <!-- Please create a new issue if none exists yet -->

* feat(repo): add actions CI to repo (aws-samples#231)

* feat: add actions CI to repo

* make build-csharp.sh executable

* make build-csharp.sh executable

* make build-csharp.sh executable

* fix random-writer versioning

* feat(py-stepfunctions): add step-mapping to example (aws-samples#215)

* Added Mapping to step function

* Added Mapping to step function

* Added Mapping to step function

* Made suggested corrections.

Co-authored-by: Noah Litov <[email protected]>

* feat: add 3 tier app, usage of userdata, sec grps (aws-samples#214)

* feat: add 3 tier app, usage of userdata, sec grps

* fix: correct the naming of directory

* fix: correct the naming of directory

* Delete nextcloud_docker_cdk_stack.py

* Update setup.py

* Update setup.py

Co-authored-by: Noah Litov <[email protected]>

* feat: Passing resources between stacks (aws-samples#210)

* resource passing
* fix comment
* Update setup.py

Co-authored-by: Noah Litov <[email protected]>

* feat: add VPC, EC2 Python Example (aws-samples#204)

This pull request is aimed at creating the following Python Examples:
- Import VPC
- Create new VPC with 2 AZs and 6 Subnets, Public, Private and DataBase.
- Sharing VPC between two stacks
- Create ALB/EC2/AutoscalingGroup in the VPC
- How to define EC2 to specify AMI or auto-selection
- Define property override for EC2 Instance with BlockStorageMapping
- Define userdata for EC2 to setup httpd
- Create NAT GW and Bastion 
- Chain the Security Groups

* feat: Add EKS cluster with VPC and self managed ASG example (aws-samples#224)

Adds a typescript example EKS cluster with a VPC & auto-scaling group.

* feat: DynamoDB, Lambda and CloudWatch Example (aws-samples#220)

* Added Mapping to step function

* Added Mapping to step function

* Added Mapping to step function

* Made suggested corrections.

* cdk dynamo-lambda example

* fix requirements.txt to include packages

Co-authored-by: Noah Litov <[email protected]>

* chore: remove Travis CI config file (aws-samples#233)

Remove the Travis configuration file so Github Actions is the only CI for repo.

* feat: Add codebuild cdk examples to create Project, ReportGroup… (aws-samples#235)

* feat: Add codebuild cdk examples to create Project, ReportGroup and SourceCredentials

This commit adds three CDK sample examples for the aws codebuild in java. It will help customers use the sample for better understanding of using CDK for codebuild.

* feat: Java :implementation of classic load balancer sample (aws-samples#187)

* Java implementation of classic load balancer

Co-authored-by: netanir <[email protected]>
Co-authored-by: Noah Litov <[email protected]>

* fix: change ecs local example to ALB (aws-samples#242)

* fix: Fixes broken link for ecs-network-load-balanced-service exa… (aws-samples#243)

* feat: Java api cors lambda crud dynamodb (aws-samples#196)

* Java implementation of classic load balancer

* Java Sample for api-cors-lambda-dynamodb

* Refactored to two seaparate module - lambda and cd stack

* Need some dummy files for build to succeed with maven sub-modules.

* need a cdk.json for build to go through

* Need some dummy files for build to succeed with maven sub-modules.
Co-authored-by: Mitchell Valine <[email protected]>

* chore: update version of checkout action in workflow (aws-samples#247)

* feat(newex): example of Cognito-protected APIGateway backed by L… (aws-samples#252)

This makes a Cognito-protected APIG backed by a simple Hello World Lambda.

Signed-off-by: campionfellin <[email protected]>

* fix: broken build (aws-samples#255)

* update Cognito example to incorporate the recent breaking change.
* eks/cluster typescript project to exclude re-compiling dependencies in
  `node_modules/`.

* feat: add lambda-ddb-mysql-etl-pipeline python service (aws-samples#134)

* Contributing new Python CDK example project
* feat: Add context vars & fix: README update
* feat: added layers, context vars, fixed mysql exmpl & gen refactor

* feat:add a multi rule ALB sample with host and path based routing (aws-samples#257)

* add a multi rule ALB sample with a combination of host and path based routing
* Update java/alb-multi-rule-response/README.md

* fix:  Typo in README (aws-samples#258)

* fix: csharp example RandomWriter does not build

CDK and JSII versions were not pinned and the latest release included breaking changes.
Also modified the dependencies to be pinned to the latest version

* Revert "fix: csharp example RandomWriter does not build"

This reverts commit 8492843.

* fix: csharp example RandomWriter does not work

CDK and JSII versions were not pinned and the latest release included breaking changes.
Also modified the dependencies to be pinned to the latest version

* chore: unpin cdk versions so they can serve as canaries for changes that might be breaking in the future

* chore: remove pinned dependencies for csharp examples

Rationale: these should work with the latest release and also serve as a canary
if they break.

* fix: indicate port 80 is http NOT ssh (aws-samples#273)

fixes a comment typo indicating that port 80 was assigned to ssh

* Add example of fargate service with an efs filesystem mount

* Update with requested changes & add readme - also bump cdk packages to latest version

* Fix aws-cdk package versions

Co-authored-by: Doug <[email protected]>
Co-authored-by: Adrian Orozco <[email protected]>
Co-authored-by: Elad Ben-Israel <[email protected]>
Co-authored-by: Alexander Simovic <[email protected]>
Co-authored-by: Mitch Garnaat <[email protected]>
Co-authored-by: Noah Litov <[email protected]>
Co-authored-by: Piradeep Kandasamy <[email protected]>
Co-authored-by: tbadlov <[email protected]>
Co-authored-by: Scott Brenner <[email protected]>
Co-authored-by: Richard Boyd <[email protected]>
Co-authored-by: Rico Huijbers <[email protected]>
Co-authored-by: Noah Litov <[email protected]>
Co-authored-by: Brian Pfeil <[email protected]>
Co-authored-by: Jan Sepke <[email protected]>
Co-authored-by: Adam Ruka <[email protected]>
Co-authored-by: Nathan Peck <[email protected]>
Co-authored-by: Stephen Nutbrown <[email protected]>
Co-authored-by: Andrew Chatfield <[email protected]>
Co-authored-by: Adam Ruka <[email protected]>
Co-authored-by: Clare Liguori <[email protected]>
Co-authored-by: Pubudu Jayawardana <[email protected]>
Co-authored-by: Shay Elmualem <[email protected]>
Co-authored-by: sullis <[email protected]>
Co-authored-by: Joseph Snell <[email protected]>
Co-authored-by: Steven Bryen <[email protected]>
Co-authored-by: Geoff Weinhold <[email protected]>
Co-authored-by: StevenSu <[email protected]>
Co-authored-by: zanhsieh <[email protected]>
Co-authored-by: करतोफ्फेलस्क्रिप्ट™ <[email protected]>
Co-authored-by: Josh Jay <[email protected]>
Co-authored-by: Rico Huijbers <[email protected]>
Co-authored-by: Trivikram Kamat <[email protected]>
Co-authored-by: curry9999 <[email protected]>
Co-authored-by: mounick-mallow <[email protected]>
Co-authored-by: Romain Marcadier-Muller <[email protected]>
Co-authored-by: Penghao He <[email protected]>
Co-authored-by: Kasina <[email protected]>
Co-authored-by: Wing-Kam <[email protected]>
Co-authored-by: Mitchell Valine <[email protected]>
Co-authored-by: Piotr Mlocek <[email protected]>
Co-authored-by: Srihari Prabaharan <[email protected]>
Co-authored-by: Mitchell Valine <[email protected]>
Co-authored-by: zechariahks <[email protected]>
Co-authored-by: Niranjan Jayakar <[email protected]>
Co-authored-by: Vinay Selvaraj <[email protected]>
Co-authored-by: David Christian <[email protected]>
Co-authored-by: Ed Lima <[email protected]>
Co-authored-by: no-brand <[email protected]>
Co-authored-by: Sarvesh <[email protected]>
Co-authored-by: Evan <[email protected]>
Co-authored-by: Richard H Boyd <[email protected]>
Co-authored-by: huangzbaws <[email protected]>
Co-authored-by: Andreas Skarmutsos Lindh <[email protected]>
Co-authored-by: Jigar Bhatt <[email protected]>
Co-authored-by: djiten75 <[email protected]>
Co-authored-by: netanir <[email protected]>
Co-authored-by: Chris Nankervis <[email protected]>
Co-authored-by: Campion Fellin <[email protected]>
Co-authored-by: Benjamin E. Farr <[email protected]>
Co-authored-by: Nas Taibi <[email protected]>
Co-authored-by: Mohamed Elzarei <[email protected]>
Co-authored-by: Shiv Lakshminarayan <[email protected]>
Co-authored-by: ColWillis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs/repo-general Related to repo documentation (CONTRIBUTING, CODE_OF_CONDUCT, etc.) effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. in-progress Issue is being actively worked on. language/dotnet Related to .NET examples
Projects
None yet
1 participant