<commit_before># About these CDK apps

This document describes the resources created by the CDK apps
in this directory.

## go_example_lambda

This CDK app creates the following resource:

- An Amazon S3 bucket
- An Amazon DynamoDB table
- An Amazon SNS topic
- An Amazon SQS queue

In addition, this CDK app creates notifications to
Amazon Lambda function that detect changes in those resources,
and handlers, in Go, that print messages to an AWS CloudWatch log.

## javascript_example_code_polly_aws_service

## javascript_example_code_transcribe_demo

## javascript_example_lambda_aws-service

## python_example_code_apigateway_aws_service

## python_example_code_apigateway_websocket

## python_example_code_stepfunctions_demo<commit_msg>Updated CDK readme with info about what the apps create<commit_after># About these CDK apps

This document describes the resources created by the CDK apps
in this directory.

## go_example_lambda

This CDK app creates the following resources:

- An Amazon S3 bucket
- An Amazon DynamoDB table
- An Amazon SNS topic
- An Amazon SQS queue

In addition, this CDK app creates notifications to
Amazon Lambda function that detect changes in those resources,
and handlers, in Go, that print messages to an AWS CloudWatch log.

## javascript_example_code_polly_aws_service

This CDK app creates the following resources:

- An AWS Identity and Access Management (AWS IAM) unauthenticated role with full access to Amazon Polly. 
- An Amazon Cognito identity pool with the Amazon IAM unauthenticated role attached to it.

## javascript_example_code_transcribe_demo

This CDK app creates the following resources:

- An Amazon Cognito identity pool with an authenticated user role.
- An IAM policy with permissions for the Amazon S3 and Amazon Transcribe is attached to the authenticated user role.
- An Amazon Cognito user pool that enables users to sign up and sign in to the app.
- An Amazon S3 bucket to host the application files.
- An Amazon S3 bucket to to store the transcriptions.

## javascript_example_lambda_aws-service

This CDK app creates the following resources:

- An Amazon S3 bucket with public access to the bucket's objects
- An AWS Identity and Access Management (AWS IAM) unauthenticated role based on an AWS identity
  that has permission to create an AWS DynamoDB table, invoke an AWS Lambda function,
  and create a mobile analytics event. 
- An Amazon Cognito identity pool with the role attached to it. 

## python_example_code_apigateway_aws_service

This CDK app creates the following resources:

- An Amazon DynamoDB table with a
  `username` partition key
- an AWS Identity and Access Management (IAM) role
  that enables Amazon API Gateway to read from and write to the table.

## python_example_code_apigateway_websocket

This CDK app creates the following resources:

- An Amazon DynamoDB table with a `connection_id` primary key.
- An AWS Identity and Access Management (IAM) role and policy that grants
  AWS Lambda permission to access the DynamoDB table and have basic rights to
  run functions.
- A Lambda function that runs on Python 3.7 and has an environment variable
  that contains the DynamoDB table name. The function code is updated as part
  of the example.

## python_example_code_secretsmanager_demo

This CDK app creates the following resources:

- An Amazon Aurora serverless cluster

## python_example_code_stepfunctions_demo

This CDK app creates the following resources:

- An Amazon DynamoDB table with a
  `username` partition key
- An AWS Identity and Access Management (IAM) role
  that enables s Amazon API Gateway to read from and write to the table.
{'fraction_non_alphanumeric': 0.03350727822026916, 'fraction_numerical': 0.0021971985718209283, 'mean_word_length': 4.664074650077761, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '82489', 'n_tokens_mistral': 993, 'n_tokens_neox': 929, 'n_words': 494}