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

feat: Add VPC, EC2 Python Example #204

Merged
merged 6 commits into from
Jan 21, 2020
Merged

Conversation

huangzbaws
Copy link
Contributor

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

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

aws cdk example. Import or Create VPC/Subnet and build ALB/EC2/AutoscalingGroup in it.
@mergify
Copy link
Contributor

mergify bot commented Dec 18, 2019

Title does not follow the guidelines of Conventional Commits. Please adjust title before merge.

@huangzbaws huangzbaws changed the title cdk example for VPC and EC2 feat: Add VPC, EC2 Python Example Dec 18, 2019
@mergify
Copy link
Contributor

mergify bot commented Dec 18, 2019

@huangzbaws is not allowed to run commands

NGL321
NGL321 previously requested changes Jan 18, 2020
Copy link
Contributor

@NGL321 NGL321 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The majority of the content looks great, and I think this is a great example to add to the repo!
However, there are a couple minor documentation fixes needed, and I cant merge a new example without a comprehensive README (see other README files for inspiration and structure).

Once you make those changes, tag me and I will get this merged!
😸


from cdk_vpc_ec2.cdk_vpc_ec2_stack import CdkVpcEc2Stack

env_cn = core.Environment(account="1111111111", region="cn-northwest-1")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leave inline comment indicating this needs to be replaced with personal account details

key_name = "id_rsa"
linux_ami = ec2.GenericLinuxImage({
"cn-northwest-1": "ami-0f62e91915e16cfc2",
"eu-west-1": "ami-1111111"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please indicate inline placeholder

import aws_cdk.aws_ec2 as ec2

vpc_id = "vpc-111111" # Import an Exist VPC
ec2_type = "m5.xlarge"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be a t2.micro? We try to bias towards free-tier eligible applications as much as possible for demo code.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

@mergify mergify bot dismissed NGL321’s stale review January 20, 2020 03:19

Pull request has been modified.

@huangzbaws
Copy link
Contributor Author

Add readme
Add inline placeholder of account id, AMI id
Change default ec2 type to t2.micro
Add RDS stack to the project
@NGL321 @richardhboyd

NGL321
NGL321 previously approved these changes Jan 21, 2020
Copy link
Contributor

@NGL321 NGL321 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thank you for getting those changes in :)

@mergify mergify bot dismissed NGL321’s stale review January 21, 2020 21:57

Pull request has been modified.

@NGL321 NGL321 merged commit d1e1850 into aws-samples:master Jan 21, 2020
mergify bot pushed a commit that referenced this pull request 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 <tom@tomdufall.co.uk>
* 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 <noahlitov@gmail.com>

* feat: Add C# ElasticBeanstalk (#182)

* Add C# ElasticBeanstalk

Authored-by: Richard H Boyd <58230111+richardhboyd@users.noreply.github.com>
Co-authored-by: Noah Litov <noahlitov@gmail.com>

* 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 <noahlitov@gmail.com>

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

Co-authored-by: Noah Litov <noahlitov@gmail.com>

* 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 <noahlitov@gmail.com>

* 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 <noahlitov@gmail.com>

* feat: Passing resources between stacks (#210)

* resource passing
* fix comment
* Update setup.py

Co-authored-by: Noah Litov <noahlitov@gmail.com>

* 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 <noahlitov@gmail.com>

* 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 <neta1nir@gmail.com>
Co-authored-by: Noah Litov <noahlitov@gmail.com>

* 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 <mitchellvaline@gmail.com>

* 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 <campionfellin@gmail.com>

* 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 <dougsch@amazon.com>
Co-authored-by: Adrian Orozco <orozcoadrian@gmail.com>
Co-authored-by: Elad Ben-Israel <benisrae@amazon.com>
Co-authored-by: Alexander Simovic <alexander.simovic@gmail.com>
Co-authored-by: Mitch Garnaat <mitch@garnaat.com>
Co-authored-by: Noah Litov <litovng@amazon.com>
Co-authored-by: Piradeep Kandasamy <piradeep@amazon.com>
Co-authored-by: tbadlov <zvika@badalov.us>
Co-authored-by: Scott Brenner <scott@scottbrenner.me>
Co-authored-by: Richard Boyd <rboyd@gatech.edu>
Co-authored-by: Rico Huijbers <rix0rrr@gmail.com>
Co-authored-by: Noah Litov <noahlitov@gmail.com>
Co-authored-by: Brian Pfeil <brian.pfeil@gmail.com>
Co-authored-by: Jan Sepke <625043+jansepke@users.noreply.github.com>
Co-authored-by: Adam Ruka <adamruka85@gmail.com>
Co-authored-by: Nathan Peck <peckn@amazon.com>
Co-authored-by: Stephen Nutbrown <steveswfc@gmail.com>
Co-authored-by: Andrew Chatfield <hellnation@gmail.com>
Co-authored-by: Adam Ruka <adamruka@amazon.com>
Co-authored-by: Clare Liguori <liguori@amazon.com>
Co-authored-by: Pubudu Jayawardana <pubudusj@gmail.com>
Co-authored-by: Shay Elmualem <wowshay@Gmail.com>
Co-authored-by: sullis <github@seansullivan.com>
Co-authored-by: Joseph Snell <joepsnell@gmail.com>
Co-authored-by: Steven Bryen <726838+stevenbryen@users.noreply.github.com>
Co-authored-by: Geoff Weinhold <gweinhold@gmail.com>
Co-authored-by: StevenSu <suwei007@gmail.com>
Co-authored-by: zanhsieh <zanhsieh@gmail.com>
Co-authored-by: करतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
Co-authored-by: Josh Jay <josjaf@gmail.com>
Co-authored-by: Rico Huijbers <huijbers@amazon.com>
Co-authored-by: Trivikram Kamat <16024985+trivikr@users.noreply.github.com>
Co-authored-by: curry9999 <curry123456789@gmail.com>
Co-authored-by: mounick-mallow <52061259+mounick-mallow@users.noreply.github.com>
Co-authored-by: Romain Marcadier-Muller <rmuller@amazon.com>
Co-authored-by: Penghao He <penghaoh@amazon.com>
Co-authored-by: Kasina <zechak@a483e77ecef5.ant.amazon.com>
Co-authored-by: Wing-Kam <wingkwong.code@gmail.com>
Co-authored-by: Mitchell Valine <valinm@amazon.com>
Co-authored-by: Piotr Mlocek <pimlock@gmail.com>
Co-authored-by: Srihari Prabaharan <srihariph@gmail.com>
Co-authored-by: Mitchell Valine <mitchellvaline@gmail.com>
Co-authored-by: zechariahks <zechariahks@outlook.com>
Co-authored-by: Niranjan Jayakar <16217941+nija-at@users.noreply.github.com>
Co-authored-by: Vinay Selvaraj <vinay@selvaraj.com>
Co-authored-by: David Christian <dchristian3188@gmail.com>
Co-authored-by: Ed Lima <awsed@users.noreply.github.com>
Co-authored-by: no-brand <35508092+no-brand@users.noreply.github.com>
Co-authored-by: Sarvesh <sarveshbhagat@gmail.com>
Co-authored-by: Evan <esn89@users.noreply.github.com>
Co-authored-by: Richard H Boyd <58230111+richardhboyd@users.noreply.github.com>
Co-authored-by: huangzbaws <50089877+huangzbaws@users.noreply.github.com>
Co-authored-by: Andreas Skarmutsos Lindh <andreas@superblock.se>
Co-authored-by: Jigar Bhatt <60162196+jigar-lab@users.noreply.github.com>
Co-authored-by: djiten75 <57147167+djiten75@users.noreply.github.com>
Co-authored-by: netanir <neta1nir@gmail.com>
Co-authored-by: Chris Nankervis <chris@nankervis.com>
Co-authored-by: Campion Fellin <campionfellin@users.noreply.github.com>
Co-authored-by: Benjamin E. Farr <benfarr@users.noreply.github.com>
Co-authored-by: Nas Taibi <36194441+nataibi@users.noreply.github.com>
Co-authored-by: Mohamed Elzarei <mohamed.elzarei@gmail.com>
Co-authored-by: Shiv Lakshminarayan <shivlaks@amazon.com>
Co-authored-by: ColWillis <col.willis@gmail.com>
ryands17 added a commit to ryands17/aws-cdk-examples that referenced this pull request 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 <nija@amazon.com>

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

Co-authored-by: Niranjan Jayakar <nija@amazon.com>

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

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

Co-authored-by: Khanna <akskha@f45c89c20f4f.ant.amazon.com>
Co-authored-by: Niranjan Jayakar <nija@amazon.com>

* 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 <nija@amazon.com>
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 <tom@tomdufall.co.uk>
* 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 <noahlitov@gmail.com>

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

* Add C# ElasticBeanstalk

Authored-by: Richard H Boyd <58230111+richardhboyd@users.noreply.github.com>
Co-authored-by: Noah Litov <noahlitov@gmail.com>

* 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 <noahlitov@gmail.com>

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

Co-authored-by: Noah Litov <noahlitov@gmail.com>

* 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 <noahlitov@gmail.com>

* 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 <noahlitov@gmail.com>

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

* resource passing
* fix comment
* Update setup.py

Co-authored-by: Noah Litov <noahlitov@gmail.com>

* 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 <noahlitov@gmail.com>

* 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 <neta1nir@gmail.com>
Co-authored-by: Noah Litov <noahlitov@gmail.com>

* 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 <mitchellvaline@gmail.com>

* 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 <campionfellin@gmail.com>

* 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 <dougsch@amazon.com>
Co-authored-by: Adrian Orozco <orozcoadrian@gmail.com>
Co-authored-by: Elad Ben-Israel <benisrae@amazon.com>
Co-authored-by: Alexander Simovic <alexander.simovic@gmail.com>
Co-authored-by: Mitch Garnaat <mitch@garnaat.com>
Co-authored-by: Noah Litov <litovng@amazon.com>
Co-authored-by: Piradeep Kandasamy <piradeep@amazon.com>
Co-authored-by: tbadlov <zvika@badalov.us>
Co-authored-by: Scott Brenner <scott@scottbrenner.me>
Co-authored-by: Richard Boyd <rboyd@gatech.edu>
Co-authored-by: Rico Huijbers <rix0rrr@gmail.com>
Co-authored-by: Noah Litov <noahlitov@gmail.com>
Co-authored-by: Brian Pfeil <brian.pfeil@gmail.com>
Co-authored-by: Jan Sepke <625043+jansepke@users.noreply.github.com>
Co-authored-by: Adam Ruka <adamruka85@gmail.com>
Co-authored-by: Nathan Peck <peckn@amazon.com>
Co-authored-by: Stephen Nutbrown <steveswfc@gmail.com>
Co-authored-by: Andrew Chatfield <hellnation@gmail.com>
Co-authored-by: Adam Ruka <adamruka@amazon.com>
Co-authored-by: Clare Liguori <liguori@amazon.com>
Co-authored-by: Pubudu Jayawardana <pubudusj@gmail.com>
Co-authored-by: Shay Elmualem <wowshay@Gmail.com>
Co-authored-by: sullis <github@seansullivan.com>
Co-authored-by: Joseph Snell <joepsnell@gmail.com>
Co-authored-by: Steven Bryen <726838+stevenbryen@users.noreply.github.com>
Co-authored-by: Geoff Weinhold <gweinhold@gmail.com>
Co-authored-by: StevenSu <suwei007@gmail.com>
Co-authored-by: zanhsieh <zanhsieh@gmail.com>
Co-authored-by: करतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
Co-authored-by: Josh Jay <josjaf@gmail.com>
Co-authored-by: Rico Huijbers <huijbers@amazon.com>
Co-authored-by: Trivikram Kamat <16024985+trivikr@users.noreply.github.com>
Co-authored-by: curry9999 <curry123456789@gmail.com>
Co-authored-by: mounick-mallow <52061259+mounick-mallow@users.noreply.github.com>
Co-authored-by: Romain Marcadier-Muller <rmuller@amazon.com>
Co-authored-by: Penghao He <penghaoh@amazon.com>
Co-authored-by: Kasina <zechak@a483e77ecef5.ant.amazon.com>
Co-authored-by: Wing-Kam <wingkwong.code@gmail.com>
Co-authored-by: Mitchell Valine <valinm@amazon.com>
Co-authored-by: Piotr Mlocek <pimlock@gmail.com>
Co-authored-by: Srihari Prabaharan <srihariph@gmail.com>
Co-authored-by: Mitchell Valine <mitchellvaline@gmail.com>
Co-authored-by: zechariahks <zechariahks@outlook.com>
Co-authored-by: Niranjan Jayakar <16217941+nija-at@users.noreply.github.com>
Co-authored-by: Vinay Selvaraj <vinay@selvaraj.com>
Co-authored-by: David Christian <dchristian3188@gmail.com>
Co-authored-by: Ed Lima <awsed@users.noreply.github.com>
Co-authored-by: no-brand <35508092+no-brand@users.noreply.github.com>
Co-authored-by: Sarvesh <sarveshbhagat@gmail.com>
Co-authored-by: Evan <esn89@users.noreply.github.com>
Co-authored-by: Richard H Boyd <58230111+richardhboyd@users.noreply.github.com>
Co-authored-by: huangzbaws <50089877+huangzbaws@users.noreply.github.com>
Co-authored-by: Andreas Skarmutsos Lindh <andreas@superblock.se>
Co-authored-by: Jigar Bhatt <60162196+jigar-lab@users.noreply.github.com>
Co-authored-by: djiten75 <57147167+djiten75@users.noreply.github.com>
Co-authored-by: netanir <neta1nir@gmail.com>
Co-authored-by: Chris Nankervis <chris@nankervis.com>
Co-authored-by: Campion Fellin <campionfellin@users.noreply.github.com>
Co-authored-by: Benjamin E. Farr <benfarr@users.noreply.github.com>
Co-authored-by: Nas Taibi <36194441+nataibi@users.noreply.github.com>
Co-authored-by: Mohamed Elzarei <mohamed.elzarei@gmail.com>
Co-authored-by: Shiv Lakshminarayan <shivlaks@amazon.com>
Co-authored-by: ColWillis <col.willis@gmail.com>

* 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 <nlynch@amazon.com>

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

Co-authored-by: Nick Lynch <nlynch@amazon.com>

* 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 <jmwright798@gmail.com>
Co-authored-by: Romain Marcadier <rmuller@amazon.com>
Co-authored-by: Niranjan Jayakar <nija@amazon.com>
Co-authored-by: Akshit Khanna <10621391+akshitkh@users.noreply.github.com>
Co-authored-by: Khanna <akskha@f45c89c20f4f.ant.amazon.com>
Co-authored-by: Dayzen <syeuty@naver.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Stefan <stefdefig@hotmail.co.uk>
Co-authored-by: Doug <dougsch@amazon.com>
Co-authored-by: Adrian Orozco <orozcoadrian@gmail.com>
Co-authored-by: Elad Ben-Israel <benisrae@amazon.com>
Co-authored-by: Alexander Simovic <alexander.simovic@gmail.com>
Co-authored-by: Mitch Garnaat <mitch@garnaat.com>
Co-authored-by: Noah Litov <litovng@amazon.com>
Co-authored-by: Piradeep Kandasamy <piradeep@amazon.com>
Co-authored-by: tbadlov <zvika@badalov.us>
Co-authored-by: Scott Brenner <scott@scottbrenner.me>
Co-authored-by: Richard Boyd <rboyd@gatech.edu>
Co-authored-by: Rico Huijbers <rix0rrr@gmail.com>
Co-authored-by: Noah Litov <noahlitov@gmail.com>
Co-authored-by: Brian Pfeil <brian.pfeil@gmail.com>
Co-authored-by: Jan Sepke <625043+jansepke@users.noreply.github.com>
Co-authored-by: Adam Ruka <adamruka85@gmail.com>
Co-authored-by: Nathan Peck <peckn@amazon.com>
Co-authored-by: Stephen Nutbrown <steveswfc@gmail.com>
Co-authored-by: Andrew Chatfield <hellnation@gmail.com>
Co-authored-by: Adam Ruka <adamruka@amazon.com>
Co-authored-by: Clare Liguori <liguori@amazon.com>
Co-authored-by: Pubudu Jayawardana <pubudusj@gmail.com>
Co-authored-by: Shay Elmualem <wowshay@Gmail.com>
Co-authored-by: sullis <github@seansullivan.com>
Co-authored-by: Joseph Snell <joepsnell@gmail.com>
Co-authored-by: Steven Bryen <726838+stevenbryen@users.noreply.github.com>
Co-authored-by: Geoff Weinhold <gweinhold@gmail.com>
Co-authored-by: StevenSu <suwei007@gmail.com>
Co-authored-by: zanhsieh <zanhsieh@gmail.com>
Co-authored-by: करतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
Co-authored-by: Josh Jay <josjaf@gmail.com>
Co-authored-by: Rico Huijbers <huijbers@amazon.com>
Co-authored-by: Trivikram Kamat <16024985+trivikr@users.noreply.github.com>
Co-authored-by: curry9999 <curry123456789@gmail.com>
Co-authored-by: mounick-mallow <52061259+mounick-mallow@users.noreply.github.com>
Co-authored-by: Penghao He <penghaoh@amazon.com>
Co-authored-by: Kasina <zechak@a483e77ecef5.ant.amazon.com>
Co-authored-by: Wing-Kam <wingkwong.code@gmail.com>
Co-authored-by: Mitchell Valine <valinm@amazon.com>
Co-authored-by: Piotr Mlocek <pimlock@gmail.com>
Co-authored-by: Srihari Prabaharan <srihariph@gmail.com>
Co-authored-by: Mitchell Valine <mitchellvaline@gmail.com>
Co-authored-by: zechariahks <zechariahks@outlook.com>
Co-authored-by: Niranjan Jayakar <16217941+nija-at@users.noreply.github.com>
Co-authored-by: Vinay Selvaraj <vinay@selvaraj.com>
Co-authored-by: David Christian <dchristian3188@gmail.com>
Co-authored-by: Ed Lima <awsed@users.noreply.github.com>
Co-authored-by: no-brand <35508092+no-brand@users.noreply.github.com>
Co-authored-by: Sarvesh <sarveshbhagat@gmail.com>
Co-authored-by: Evan <esn89@users.noreply.github.com>
Co-authored-by: Richard H Boyd <58230111+richardhboyd@users.noreply.github.com>
Co-authored-by: huangzbaws <50089877+huangzbaws@users.noreply.github.com>
Co-authored-by: Andreas Skarmutsos Lindh <andreas@superblock.se>
Co-authored-by: Jigar Bhatt <60162196+jigar-lab@users.noreply.github.com>
Co-authored-by: djiten75 <57147167+djiten75@users.noreply.github.com>
Co-authored-by: netanir <neta1nir@gmail.com>
Co-authored-by: Chris Nankervis <chris@nankervis.com>
Co-authored-by: Campion Fellin <campionfellin@users.noreply.github.com>
Co-authored-by: Benjamin E. Farr <benfarr@users.noreply.github.com>
Co-authored-by: Nas Taibi <36194441+nataibi@users.noreply.github.com>
Co-authored-by: Mohamed Elzarei <mohamed.elzarei@gmail.com>
Co-authored-by: Shiv Lakshminarayan <shivlaks@amazon.com>
Co-authored-by: ColWillis <col.willis@gmail.com>
Co-authored-by: Nick Lynch <nlynch@amazon.com>
Co-authored-by: Meet Dave <meet.dave@outlook.com>
Co-authored-by: Jonathan Kosgei <jonathan@saharacluster.com>
Co-authored-by: Eli Polonsky <Eli.polonsky@gmail.com>
its-mirus-lu pushed a commit to its-mirus-lu/aws-cdk-examples that referenced this pull request Mar 26, 2022
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
its-mirus-lu pushed a commit to its-mirus-lu/aws-cdk-examples that referenced this pull request 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 <tom@tomdufall.co.uk>
* 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 <noahlitov@gmail.com>

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

* Add C# ElasticBeanstalk

Authored-by: Richard H Boyd <58230111+richardhboyd@users.noreply.github.com>
Co-authored-by: Noah Litov <noahlitov@gmail.com>

* 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 <noahlitov@gmail.com>

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

Co-authored-by: Noah Litov <noahlitov@gmail.com>

* 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 <noahlitov@gmail.com>

* 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 <noahlitov@gmail.com>

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

* resource passing
* fix comment
* Update setup.py

Co-authored-by: Noah Litov <noahlitov@gmail.com>

* 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 <noahlitov@gmail.com>

* 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 <neta1nir@gmail.com>
Co-authored-by: Noah Litov <noahlitov@gmail.com>

* 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 <mitchellvaline@gmail.com>

* 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 <campionfellin@gmail.com>

* 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 <dougsch@amazon.com>
Co-authored-by: Adrian Orozco <orozcoadrian@gmail.com>
Co-authored-by: Elad Ben-Israel <benisrae@amazon.com>
Co-authored-by: Alexander Simovic <alexander.simovic@gmail.com>
Co-authored-by: Mitch Garnaat <mitch@garnaat.com>
Co-authored-by: Noah Litov <litovng@amazon.com>
Co-authored-by: Piradeep Kandasamy <piradeep@amazon.com>
Co-authored-by: tbadlov <zvika@badalov.us>
Co-authored-by: Scott Brenner <scott@scottbrenner.me>
Co-authored-by: Richard Boyd <rboyd@gatech.edu>
Co-authored-by: Rico Huijbers <rix0rrr@gmail.com>
Co-authored-by: Noah Litov <noahlitov@gmail.com>
Co-authored-by: Brian Pfeil <brian.pfeil@gmail.com>
Co-authored-by: Jan Sepke <625043+jansepke@users.noreply.github.com>
Co-authored-by: Adam Ruka <adamruka85@gmail.com>
Co-authored-by: Nathan Peck <peckn@amazon.com>
Co-authored-by: Stephen Nutbrown <steveswfc@gmail.com>
Co-authored-by: Andrew Chatfield <hellnation@gmail.com>
Co-authored-by: Adam Ruka <adamruka@amazon.com>
Co-authored-by: Clare Liguori <liguori@amazon.com>
Co-authored-by: Pubudu Jayawardana <pubudusj@gmail.com>
Co-authored-by: Shay Elmualem <wowshay@Gmail.com>
Co-authored-by: sullis <github@seansullivan.com>
Co-authored-by: Joseph Snell <joepsnell@gmail.com>
Co-authored-by: Steven Bryen <726838+stevenbryen@users.noreply.github.com>
Co-authored-by: Geoff Weinhold <gweinhold@gmail.com>
Co-authored-by: StevenSu <suwei007@gmail.com>
Co-authored-by: zanhsieh <zanhsieh@gmail.com>
Co-authored-by: करतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
Co-authored-by: Josh Jay <josjaf@gmail.com>
Co-authored-by: Rico Huijbers <huijbers@amazon.com>
Co-authored-by: Trivikram Kamat <16024985+trivikr@users.noreply.github.com>
Co-authored-by: curry9999 <curry123456789@gmail.com>
Co-authored-by: mounick-mallow <52061259+mounick-mallow@users.noreply.github.com>
Co-authored-by: Romain Marcadier-Muller <rmuller@amazon.com>
Co-authored-by: Penghao He <penghaoh@amazon.com>
Co-authored-by: Kasina <zechak@a483e77ecef5.ant.amazon.com>
Co-authored-by: Wing-Kam <wingkwong.code@gmail.com>
Co-authored-by: Mitchell Valine <valinm@amazon.com>
Co-authored-by: Piotr Mlocek <pimlock@gmail.com>
Co-authored-by: Srihari Prabaharan <srihariph@gmail.com>
Co-authored-by: Mitchell Valine <mitchellvaline@gmail.com>
Co-authored-by: zechariahks <zechariahks@outlook.com>
Co-authored-by: Niranjan Jayakar <16217941+nija-at@users.noreply.github.com>
Co-authored-by: Vinay Selvaraj <vinay@selvaraj.com>
Co-authored-by: David Christian <dchristian3188@gmail.com>
Co-authored-by: Ed Lima <awsed@users.noreply.github.com>
Co-authored-by: no-brand <35508092+no-brand@users.noreply.github.com>
Co-authored-by: Sarvesh <sarveshbhagat@gmail.com>
Co-authored-by: Evan <esn89@users.noreply.github.com>
Co-authored-by: Richard H Boyd <58230111+richardhboyd@users.noreply.github.com>
Co-authored-by: huangzbaws <50089877+huangzbaws@users.noreply.github.com>
Co-authored-by: Andreas Skarmutsos Lindh <andreas@superblock.se>
Co-authored-by: Jigar Bhatt <60162196+jigar-lab@users.noreply.github.com>
Co-authored-by: djiten75 <57147167+djiten75@users.noreply.github.com>
Co-authored-by: netanir <neta1nir@gmail.com>
Co-authored-by: Chris Nankervis <chris@nankervis.com>
Co-authored-by: Campion Fellin <campionfellin@users.noreply.github.com>
Co-authored-by: Benjamin E. Farr <benfarr@users.noreply.github.com>
Co-authored-by: Nas Taibi <36194441+nataibi@users.noreply.github.com>
Co-authored-by: Mohamed Elzarei <mohamed.elzarei@gmail.com>
Co-authored-by: Shiv Lakshminarayan <shivlaks@amazon.com>
Co-authored-by: ColWillis <col.willis@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants