Saravanan666/pypi-org huggingface dataset:
Package: cdk-common
Welcome tocdk-commonThis Constructs Library will collection of usefulfunctionandclassfor AWS CDK.InstallUsethenpmdisttagtooptinCDKv1orCDKv2:

//forCDKv2
npminstallcdk-common
or
npminstallcdk-common@latest

//forCDKv1
npminstallcdk-common@cdkv1💡💡💡 please clickhere, if you are using aws-cdk v1.x.x version.💡💡💡AWS Managed Policiesenumimport*ascdkfrom'aws-cdk-lib';import{AWSManagedPolicies}from'cdk-common';import{Construct}from'constructs';constapp=newcdk.App();conststack=newcdk.Stack(app,'integ-default',{env});exportclassIntegDefaultextendsConstruct{constructor(scope:Construct,id:string){super(scope,id);constrole=newiam.Role(this,'iamrole',{assumedBy:newiam.ServicePrincipal('ec2.amazonaws.com'),});//Usethisway.role.addManagedPolicy(iam.ManagedPolicy.fromAwsManagedPolicyName(AWSManagedPolicies.AMAZON_SSM_MANAGED_INSTANCE_CORE));//Notthisway.role.addManagedPolicy(iam.ManagedPolicy.fromAwsManagedPolicyName('AmazonSSMManagedInstanceCore'));}}
Package: cdk-compliant-dynamodb
cdk-compliant-dynamodbcdk-compliant-dynamodbis an AWS CK construct that allows you to easily create an AWS DynamoDB that is fully compliant against the following AWS Config rules:BACKUP_RECOVERY_POINT_MANUAL_DELETION_DISABLEDDYNAMODB_IN_BACKUP_PLANDYNAMODB_PITR_ENABLEDDYNAMODB_AUTOSCALING_ENABLEDDYNAMODB_THROUGHPUT_LIMIT_CHECKDYNAMODB_TABLE_ENCRYPTED_KMSWhyUse this construct to be compliant against the most common AWS Config rules without the need to even know them. Opt-out of rules for non production environments.Samplecreate a fully compliant DynamoDb table with imported AWS Backup vaultnewCompliantDynamoDb(stack,'MyCompliantDynamoDB',{partitionKey:{name:'id',type:dynamodb.AttributeType.STRING,},backupVaultName:'my-dynamodb-backup-vault',deleteBackupAfterDays:90,backupPlanStartTime:6,});Opt out of all rules (create a non compliant table)newCompliantDynamoDb(stack,'MyCompliantDynamoDB',{partitionKey:{name:'id',type:dynamodb.AttributeType.STRING,},disabledRules:['BACKUP_RECOVERY_POINT_MANUAL_DELETION_DISABLED','DYNAMODB_IN_BACKUP_PLAN','DYNAMODB_PITR_ENABLED','DYNAMODB_AUTOSCALING_ENABLED','DYNAMODB_THROUGHPUT_LIMIT_CHECK','DYNAMODB_TABLE_ENCRYPTED_KMS',],});
Package: cdk-constants
CDK ConstantsThis repository contains constants that make it easier to work with theaws-cdk(CDK).Why?The CDK is awesome but it currently lacks types when initializing constructs such as IAM service principals and managed policies. Finding the right construct names requires diving into AWS documentation. Because there is no verification of these construct initializers, errors are only surfaced after deployment and via a rollback.This library aims to be an up to date constants library for all things AWS so the above never happens again!QuickstartInstall or update from npmTypeScript/Javascriptnpm i cdk-constantsPythonpip install cdk-constantsUsage** TypeScript **# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826fromcdk_constantsimportServicePrincipals,ManagedPolicieslambda_role=Role(self,"lambdaDomainChecker",assumed_by=ServicePrincipal(ServicePrincipals.LAMBDA),managed_policies=[ManagedPolicy.from_aws_managed_policy_name(ManagedPolicies.AWS_LAMBDA_BASIC_EXECUTION_ROLE)])** Python **fromcdk_constantsimportServicePrincipals,ManagedPolicieslambda_role=Role(self,"lambdaDomainChecker",assumed_by=ServicePrincipal(ServicePrincipals.LAMBDA),managed_policies=[ManagedPolicy.from_aws_managed_policy_name(ManagedPolicies.AWS_LAMBDA_BASIC_EXECUTION_ROLE)])PropertiesServicePrincipalsAWS services principalsManagedPoliciesManaged AWS policiesCreditscdk-constantswouldn't be possible without modules from the following authorsJared Short: initialgistof all service principalsGene Wood:gistto pull all aws managed policiesContributionsAll contributors are welcome. As you are reading this, AWS has probably released a new service. Please seeCONTRIBUTINGfor information on how to setup a development environment and submit code.Some upcoming items on the roadmap:list of aws regions and azs, including gov and chinalist of all iam permissionsjsii compilation into different languages that CDK supportsLicensecdk-constants is distributed under theApache License, Version 2.0.SeeLICENSEfor more information.
Package: cdk-construct1
test pip package wolfganginstall required toolspip install setuptools
pip install wheel
pip install twinepyexample
â”œâ”€â”€ LICENSE
â”œâ”€â”€ pyexample
â”‚   â”œâ”€â”€init.py
â”‚   â”œâ”€â”€ module_mpi4py_1.py
â”‚   â”œâ”€â”€ module_numpy_1.py
â”‚   â””â”€â”€ module_numpy_2.py
â”œâ”€â”€ README.rst
â””â”€â”€ setup.pycreate packagepython setup.py bdist_wheelinstall localpython -m pip install dist/cdk_construct1-0.1-py3-none-any.whlcheckpython setup.py checkupload:Create pypircpython -m twine upload dist/*
python -m twine upload dist/cdk_construct1-0.1.1-py3-none-any.whlsee alsohttps://betterscientificsoftware.github.io/python-for-hpc/tutorials/python-pypi-packaging/https://packaging.python.org/https://dzone.com/articles/executable-package-pip-install
Package: cdk-cr-constructs
cdk-cr-constructsThis Construct is collect custom resourceExample for CustomResourceGetEIPimport{App,Stack,CfnOutput,Duration,aws_iam}from'aws-cdk-lib';import{CustomResourceGetEIP}from'cdk-cr-constructs';constenv={region:process.env.CDK_DEFAULT_REGION,account:process.env.CDK_DEFAULT_ACCOUNT,};constapp=newApp();conststack=newStack(app,'testing-stack',{env});constgetIps=newCustomResourceGetEIP(stack,'CustomResourceGetEIP',{/***Discoveryus-east-1ElasticIps.*/regions:['us-east-1'],/***AddCompanyIps.*/companyIps:['1.2.3.4'],});constrole=newaws_iam.Role(stack,'DemoRole',{assumedBy:newaws_iam.AccountRootPrincipal(),});/***Examplecreateanassumerole,allowallactionfromipaddress.*/role.addToPolicy(newaws_iam.PolicyStatement({effect:aws_iam.Effect.ALLOW,resources:['*'],actions:['*'],conditions:{IpAddress:{'aws:SourceIp':getIps.ipList(),},},}));
Package: cdk-daily-spend-to-slack
Daily spend to slackA construct that deploys a CloudWatch cronjob that will trigger a Lambda that will fetch the yesterday usage of AWS and send it to a SNS as a spoofed ECR CloudWatch event that can be parsed by AWS Chatbot and send to Slack.Yes, that was a mouthful. But the general idea is that to create a FinOps/Cost optimization culture in your team, your team also needs to know what they are spending. That is why I created this. This construct will deliver the yesterday usage to your slack channel of choice. This can also be a private channel.InstallationManual stepsYour AWS account must be connected with your Slack channel. Thiscan't be done by IaCbut involves manual steps.Followthe steps of Step 1in the category "Setting up AWS Chatbot with Slack"CDK steps# Example automatically generated from non-compiling source. May contain errors.'use strict';import{App,Stack}from'aws-cdk-lib';import{Schedule}from'aws-cdk-lib/aws-events';import{DailySpendToSlack}from'./index';constapp=newApp();conststack=newStack(app,'DailySpendToSlack');newDailySpendToSlack(stack,'DailySpendToSlack',{schedule:Schedule.cron({minute:'0',hour:'9'}),slackWorkspaceId:'',slackChannelId:'',slackChannelName:'',accountName:'stroobants.dev',});Parametersschedule: Schedule - The schedule it should run on, for exampleSchedule.cron({ minute: '0', hour: '9' })means everyday at 09:00 UTCslackWorkspaceId: string - The ID that AWS generates for (see picture below)slackChannelId: string - The ID of the Slack Channel (Open slack, right-click on the channel you want the bot in, Copy link) ->https://cloudar.slack.com/archives/{slackChannelId})slackChannelName: string - The name of the Slack channel (this will be used to generate the Configuration name)accountName: string - You can give the bot a recognizable name, lowercase, max 30 and only.-allowed (could be more but that is what I tested)LicenseMozilla Public License 2.0
Package: cdk-datadog-integration
AWS Cloud Development Kit (CDK) Datadog IntegrationThis construct makes it easy to integrate your AWS account with Datadog. It
creates nested stacks based on the officialDatadog Cloudformation templatesusingAmazon Cloud Development Kit (CDK).Warning:warning: This construct does not use the newest Datadog CloudFormation template because sensitive
parameters must be hard-coded. Seehttps://github.com/DataDog/cloudformation-template/issues/68for an upstream
feature request. :warning:This construct will still work, but it cannot be updated to the latest integration template until the upstream
issue is fixed. Please add a +1 tohttps://github.com/DataDog/cloudformation-template/issues/68to help
prioritize it.Basic UsageInstall the packagenpm i --save cdk-datadog-integrationOr viapypi,NuGet, orGitHub Packages.Import the stack and pass the required parameters.import*ascdkfrom"aws-cdk-lib";import{MonitoringInfrastructureStack}from"../lib/monitoring-infrastructure-stack";constapp=newcdk.App();newMonitoringInfrastructureStack(app,"MonitoringInfrastructure");import*ascdkfrom"aws-cdk-lib";import*assecretsfrom"aws-cdk-lib/aws-secretsmanager";import{DatadogIntegration}from"cdk-datadog-integration";exportclassMonitoringInfrastructureStackextendscdk.Stack{constructor(scope:cdk.App,id:string,props?:cdk.StackProps){super(scope,id,props);constdatadog=newDatadogIntegration(this,"Datadog",{//GenerateanIDhere:https://app.datadoghq.com/account/settings#integrations/amazon-web-servicesexternalId:"",//Createorlookupa`Secret`thatcontainsyourDatadogAPIKey//Seehttps://docs.aws.amazon.com/cdk/api/latest/docs/aws-secretsmanager-readme.htmlfordetailsonSecretsinCDK//GetyourAPIkeyhere:https://app.datadoghq.com/account/settings#apiapiKey:secrets.Secret.fromSecretNameV2(this,"DatadogApiKey","<your secret name>"),});}}ConfigurationUseDatadogIntegrationConfigto set additional configuration parameters. Check
outdocsfor more details on what's available.Additionally, a CDKConstructis exposed, should you want to add additional
customizations vs. using the out-of-the-boxStack.CDK Version CompatibilityThis package is expected to work with all recent versions of CDK v2. It has been
tested with 2.1.0 so almost certainly works will all newer versions, and
probably works with some older versions too, but is untested.If you're still on CDK v1, you can usecdk-datadog-integration@1, but this
version is unmaintained. Please upgrade to CDKv2.How it WorksThis module uses theCfnStackCDK Constructto import the three CloudFormation stacks referenced by themain Datadog CloudFormation template.
By referencing the Datadog-provided templates, you can be confident that the
integration works exactly as Datadog intends.AuthorThis package is created and maintained byBen Limmer, afreelance architect and consultant. I love
helping businesses of all sizes solve their hardest technology problems. Let'sconnectif I can be of help!ContributingPRs are welcome!ReleasingTo release, merge your PR tomain.
Package: cdk-datadog-resources
AWS CDK Datadog ResourcesAn AWS CDK construct library that wrapsDataDog/datadog-cloudformation-resources.RequirementsBefore using this library,register datadog-cloudformation-resources to your AWS account.You need to register the correct version listed inSupported Resources.Supported CDK LanguagesTypeScriptPythonJavaSorry, there is a problem with the release. (#22)Supported ResourcesSupported?ResourceDatadog CF Resource NameDescriptionDatadog CF Version✅DashboardsDatadog::Dashboards::DashboardCreate, update, and delete Datadog dashboards.1.0.0✅Datadog-AWS integrationDatadog::Integrations::AWSManage your Datadog-Amazon Web Service integration.1.1.0✅MonitorsDatadog::Monitors::MonitorCreate, update, and delete Datadog monitors.3.0.0✅DowntimesDatadog::Monitors::DowntimeEnable or disable downtimes for your monitors.2.0.0✅UsersDatadog::IAM::UserCreate and manage Datadog users.1.2.0InstallationTypeScriptnpminstall@nomadblacky/cdk-datadog-resourcesPythonpipinstallcdk-datadog-resourcesJava<dependency><groupId>dev.nomadblacky</groupId><artifactId>cdk-datadog-resources</artifactId><version>x.y.z</version></dependency>UsageBelow are examples of TypeScript.Dashboards# Example automatically generated. See https://github.com/aws/jsii/issues/826importfsasfsfromnomadblacky.cdk_datadog_resourcesimportDatadogDashboardDatadogDashboard(your_stack,"TestDashboard",datadog_credentials={"api_key":process.env.DATADOG_API_KEY,"application_key":process.env.DATADOG_APP_KEY},dashboard_definition=fs.read_file_sync(f"{__dirname}/path/to/your/dashboard-definition.json").to_string())Monitors# Example automatically generated. See https://github.com/aws/jsii/issues/826fromnomadblacky.cdk_datadog_resourcesimportDatadogMonitorDatadogMonitor(your_stack,"TestMonitor",datadog_credentials={"api_key":process.env.DATADOG_API_KEY,"application_key":process.env.DATADOG_APP_KEY},query="avg(last_1h):sum:system.cpu.system{host:host0} > 100",type=MonitorType.QueryAlert,name="Test Monitor",options={"thresholds":{"critical":100,"warning":80,"o_k":90},"notify_no_data":True,"evaluation_delay":60})Downtimes# Example automatically generated. See https://github.com/aws/jsii/issues/826fromnomadblacky.cdk_datadog_resourcesimportDatadogDowntimeDatadogDowntime(stack,"TestMonitor",datadog_credentials={"api_key":"DATADOG_API_KEY","application_key":"DATADOG_APP_KEY"},scope=["host:myserver","service:myservice"],start=1624542715,end=1624546321)Users# Example automatically generated. See https://github.com/aws/jsii/issues/826fromnomadblacky.cdk_datadog_resourcesimportDatadogIAMUserDatadogIAMUser(stack,"TestUser",datadog_credentials={"api_key":"DATADOG_API_KEY","application_key":"DATADOG_APP_KEY"},email="jane.doe@example.com",name="name_example",handle="title_example",disabled=False)DataDog Integration# Example automatically generated. See https://github.com/aws/jsii/issues/826fromnomadblacky.cdk_datadog_resourcesimportDatadogIntegrationAWSDatadogIntegrationAWS(self,"DataDogIntegration",datadog_credentials={"api_key":"DATADOG_API_KEY","application_key":"DATADOG_APP_KEY"},account_id="ACCOUNT_ID",role_name="DatadogIntegrationRole")
Package: cdk-db-migration
CDK DB MigrationAWS CDKL3 construct for managing DB migrations. Currently implemented DBMS:AthenaI created this construct becauseCloudFormations Glue Tabledoesn't supportTBLPROPERTIES. I needed an alternative to create a table. Since creating a table is a DB migration, I created a migration construct instead of a simple table construct, which would be hard to impossible to update.InstallationThis package has peer dependencies, which need to be installed along in the expected version.For TypeScript/NodeJS, add these to yourdependenciesinpackage.json. For Python, add these to yourrequirements.txt:cdk-db-migrationaws-cdk-lib (^2.0.0)constructs (^10.0.0)CDK compatibilityVersion 2.x is compatible with the CDK v2.Version 1.x is compatible with the CDK v1. There won't be regular updates for this.Usageimport*asMigrationfrom'cdk-db-migration';constm1=newMigration.Athena(this,'M1',{up:'CREATE EXTERNAL TABLE foo ...;',down:'DROP TABLE foo;',});constm2=newMigration.Athena(this,'M2',{dependsOn:m1,up:'ALTER TABLE foo ...;',down:'ALTER TABLE foo ...;',});Every migration requires a query forupanddownmigrations.upis executed when the migration is created.downis executed when the migration is destroyed.A full example including creating bucket, database, workgroup and permissions can be found in thetest directory.NotesNo modifications: The construct will refuse to update any existing migration, because this is not how migrations work. Add another migration or first delete the migration, then add the modified statement.Dependencies: Since migrations (might) depend on one another, make sure to set dependencies where required. In CDK you usually add dependencies like this:constm1=newMigration.Athena(this,'M1',{...});constm2=newMigration.Athena(this,'M2',{...});m2.node.addDependency(m1);Since dependencies are a very common pattern for migrations, a migration also accepts dependencies directly:constm1=newMigration.Athena(this,'M1',{...});constm2=newMigration.Athena(this,'M2',{dependsOn:m1,...});Permissions: The Lambda function which runs the migrations, is not authorized to do anything at all, because the required permissions are very custom to the use case (database, workgroup, S3 location, KMS etc). Instead of giving too wide permissions by default, none are given at all. The construct exposes the IAM role and you need to grant the required permissions.Best solution for your use case?: While the construct is capable of managing the state of a database over time, have a good thought if you really want to do this with CDK/CloudFormation. CloudFormation can ony handle up to 500 resources in a stack, so this (minus all the other resources in your stack) is going to be your hard limit of migrations. Migrations are executed by a Lambda function. Since the maximum execution time of a Lambda function is 15 minutes, migrations cannot exceed this limit.
Package: cdk-deployer
Deployer CDK ConstructThis is a CDK construct library for deploying artifacts via CodeDeploy.This library currently supports NodeJS and Python.InstallationInstall with npm$npminstallcdk-deployerInstall with pip$pipinstallcdk-deployerUsage/ExamplesTypeScript:WithcodeDeploy.ServerDeploymentGroup:import*ascdkfrom'@aws-cdk/core';import*asautoscalingfrom'@aws-cdk/aws-autoscaling';import*ascodedeployfrom'@aws-cdk/aws-codedeploy';import{Ec2Deployer,Code}from'cdk-deployer';constasg=newautoscaling.AutoScalingGroup(this,'Asg',{...});constdeploymentGroup=newcodedeploy.ServerDeploymentGroup(this,'DeploymentGroup',{autoScalingGroups:[asg]});constdeployer=newEc2Deployer(this,'Deployer',{code:Code.fromAsset('path/to/code/directory'),deploymentGroup,});WithcodeDeploy.IServerDeploymentGroup, also need to specifyinstanceRoles:import*ascdkfrom'@aws-cdk/core';import*ascodedeployfrom'@aws-cdk/aws-codedeploy';import*asiamfrom'@aws-cdk/aws-iam';import{Ec2Deployer,Code}from'cdk-deployer';constdeploymentGroup=codedeploy.ServerDeploymentGroup.fromServerDeploymentGroupAttributes(this,'DeploymentGroup',{...});constinstanceRole=iam.Role.fromRoleArn(this,'Role',cdk.Arn.format({service:'iam',resource:'role',resourceName:'instance-role-name'// role assigned to target instances associated with deployment group},cdk.Stack.of(this)));constdeployer=newEc2Deployer(this,'Deployer',{code:Code.fromAsset('path/to/code/directory'),deploymentGroup,instanceRoles:[instanceRole]});Python:WithcodeDeploy.ServerDeploymentGroup:fromaws_cdkimport(coreascdk,aws_codedeployascodedeploy,aws_autoscalingasautoscaling,)fromcdk_deployerimport(Ec2Deployer,Code)asg=autoscaling.AutoScalingGroup(self,'Asg',...)deployment_group=codedeploy.ServerDeploymentGroup(self,'DeploymentGroup',auto_scaling_groups=[asg])deployment=Ec2Deployer(self,'Deployment',code=Code.from_asset('path/to/code/directory'),deployment_group=deployment_group)WithcodeDeploy.IServerDeploymentGroup, also need to specifyinstance_roles:fromaws_cdkimport(coreascdk,aws_autoscalingasautoscaling,aws_codedeployascodedeploy,aws_iamasiam,)fromcdk_deployerimport(Ec2Deployer,Code)deployment_group=codedeploy.ServerDeploymentGroup.from_server_deployment_group_attributes(self,'DeploymentGroup',...)instance_role=iam.Role.from_role_arn(self,'Role',cdk.Arn.format(components=cdk.ArnComponents(service='iam',resource='role',resource_name='instance-role-name'),stack=cdk.Stack.of(self)))deployment=Ec2Deployer(self,'Deployment',code=Code.from_asset('app'),deployment_group=deployment_group,instance_roles=[instance_role])Seeexample folderfor a more complete example.ContributingContributions of all kinds are welcome and celebrated. Raise an issue, submit a PR, do the right thing.SeeCONTRIBUTING.mdfor contributing guidelines.LicenseApache 2.0
Package: cdk-docker-image-deployment
CDK Docker Image DeploymentThis module allows you to copy docker image assets to a repository you control.
This can be necessary if you want to build a Docker image in one CDK app and consume it in a different app or outside the CDK,
or if you want to apply a lifecycle policy to all images of a part of your application.Getting StartedBelow is a basic example for how to use theDockerImageDeploymentAPI:import*asecrfrom'aws-cdk-lib/aws-ecr';import*asimagedeployfrom'cdk-docker-image-deployment';constrepo=newecr.Repository.fromRepositoryName(this,'MyRepository','myrepository');newimagedeploy.DockerImageDeployment(this,'ExampleImageDeploymentWithTag',{source:imagedeploy.Source.directory('path/to/directory'),destination:imagedeploy.Destination.ecr(repo,{tag:'myspecialtag',}),});Currently Supported SourcesSource.directory(): Supply a path to a local docker image as source.Don't see a source listed? See if there is an openissueorPRalready. If not, please open an issue asking for it
or better yet, submit a contribution!Currently Supported DestinationsDestination.ecr(repo, options): Send your docker image to an ECR repository in your stack's account.Don't see a destination listed? See if there is an openissueorPRalready. If not, please open an issue asking for it
or better yet, submit a contribution!Under the HoodWhen this stack is deployed (either via cdk deploy or via CI/CD), the contents of the local Docker image will be archived and uploaded to an intermediary assets ECR Repository using the cdk-assets mechanism.TheDockerImageDeploymentconstruct synthesizes a CodeBuild Project which uses docker to pull the image from the intermediary repository, tag the image if a tag is provided, and push the image to the destination repository.The deployment will wait until the CodeBuild Project completes successfully before finishing.The architecture of this construct can be seen here:SecuritySeeCONTRIBUTINGfor more information.LicenseThis project is licensed under the Apache-2.0 License.
Package: cdk-dynamo-table-view
cdk-dynamo-table-viewerAn AWS CDK construct which exposes a public HTTP endpoint which displays an HTML
page with the contents of a DynamoDB table in your stack.SECURITY NOTE: this construct was built for demonstration purposes and
using it in production is probably a really bad idea. It exposes the entire
contents of a DynamoDB table in your account to the general public.The library is published under the following names:LanguageRepositoryJavaScript/TypeScriptcdk-dynamo-table-viewerPythoncdk-dynamo-table-viewer.NETEladb.DynamoTableViewerJavacom.github.eladb/cdk-dynamo-table-viewerGogithub.com/cdklabs/cdk-dynamo-table-viewer-go/dynamotableviewerUsage (TypeScript/JavaScript)Install via npm:$npmicdk-dynamo-table-viewerAdd to your CDK stack:# cookies_table: dynamodb.Tableviewer=TableViewer(self,"CookiesViewer",table=cookies_table,title="Cookie Sales",# optionalsort_by="-sales")Notes:The endpoint will be available (as an deploy-time value) underviewer.endpoint.
It will also be exported as a stack output.Paging is not supported. This means that only the first 1MB of items will be
displayed (again, this is a demo...)Supports CDK version 2.60.0 and aboveLicenseApache 2.0
Package: cdk-dynamo-table-viewer
cdk-dynamo-table-viewerAn AWS CDK construct which exposes a public HTTP endpoint which displays an HTML
page with the contents of a DynamoDB table in your stack.SECURITY NOTE: this construct was built for demonstration purposes and
using it in production is probably a really bad idea. It exposes the entire
contents of a DynamoDB table in your account to the general public.The library is published under the following names:LanguageRepositoryJavaScript/TypeScriptcdk-dynamo-table-viewerPythoncdk-dynamo-table-viewer.NETEladb.DynamoTableViewerJavacom.github.eladb/cdk-dynamo-table-viewerUsage (TypeScript/JavaScript)Install via npm:$npmicdk-dynamo-table-viewerAdd to your CDK stack:# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826fromcdk_dynamo_table_viewerimportTableViewerviewer=TableViewer(self,"CookiesViewer",table=cookies_table,title="Cookie Sales",# optionalsort_by="-sales")Notes:The endpoint will be available (as an deploy-time value) underviewer.endpoint.
It will also be exported as a stack output.Paging is not supported. This means that only the first 1MB of items will be
displayed (again, this is a demo...)Supports CDK version 0.38.0 and aboveLicenseApache 2.0