Saravanan666/pypi-org huggingface dataset:
Package: cdk-cloudformation-tf-cloudflare-record
tf-cloudflare-recordAWS CDKL1 constructand data structures for theAWS CloudFormation RegistrytypeTF::Cloudflare::Recordv1.0.0.DescriptionProvides a Cloudflare record resource.ReferencesDocumentationSourceUsageIn order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using theAWS CLIusing the following command:awscloudformationactivate-type\--type-nameTF::Cloudflare::Record\--publisher-ide1238fdd31aee1839e14fb3fb2dac9db154dae29\--typeRESOURCE\--execution-role-arnROLE-ARNAlternatively:awscloudformationactivate-type\--public-type-arnarn:aws:cloudformation:us-east-1::type/resource/e1238fdd31aee1839e14fb3fb2dac9db154dae29/TF-Cloudflare-Record\--execution-role-arnROLE-ARNYou can find more information about activating this type in theAWS CloudFormation documentation.FeedbackThis library is auto-generated and published to all supported programming languages by thecdklabs/cdk-cloudformationproject based on the API schema published forTF::Cloudflare::Record.Issues related to this generated library should bereported here.Issues related toTF::Cloudflare::Recordshould be reported to thepublisher.LicenseDistributed under the Apache-2.0 License.
Package: cdk-cloudformation-tf-digitalocean-droplet
tf-digitalocean-dropletAWS CDKL1 constructand data structures for theAWS CloudFormation RegistrytypeTF::DigitalOcean::Dropletv1.0.0.DescriptionProvides a DigitalOcean Droplet resource. This can be used to create,
modify, and delete Droplets. Droplets also supportprovisioning.ReferencesDocumentationSourceUsageIn order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using theAWS CLIusing the following command:awscloudformationactivate-type\--type-nameTF::DigitalOcean::Droplet\--publisher-ide1238fdd31aee1839e14fb3fb2dac9db154dae29\--typeRESOURCE\--execution-role-arnROLE-ARNAlternatively:awscloudformationactivate-type\--public-type-arnarn:aws:cloudformation:us-east-1::type/resource/e1238fdd31aee1839e14fb3fb2dac9db154dae29/TF-DigitalOcean-Droplet\--execution-role-arnROLE-ARNYou can find more information about activating this type in theAWS CloudFormation documentation.FeedbackThis library is auto-generated and published to all supported programming languages by thecdklabs/cdk-cloudformationproject based on the API schema published forTF::DigitalOcean::Droplet.Issues related to this generated library should bereported here.Issues related toTF::DigitalOcean::Dropletshould be reported to thepublisher.LicenseDistributed under the Apache-2.0 License.
Package: cdk-cloudformation-tf-github-repository
tf-github-repositoryAWS CDKL1 constructand data structures for theAWS CloudFormation RegistrytypeTF::GitHub::Repositoryv1.0.0.DescriptionThis resource allows you to create and manage repositories within your
GitHub organization or personal account.ReferencesDocumentationSourceUsageIn order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using theAWS CLIusing the following command:awscloudformationactivate-type\--type-nameTF::GitHub::Repository\--publisher-ide1238fdd31aee1839e14fb3fb2dac9db154dae29\--typeRESOURCE\--execution-role-arnROLE-ARNAlternatively:awscloudformationactivate-type\--public-type-arnarn:aws:cloudformation:us-east-1::type/resource/e1238fdd31aee1839e14fb3fb2dac9db154dae29/TF-GitHub-Repository\--execution-role-arnROLE-ARNYou can find more information about activating this type in theAWS CloudFormation documentation.FeedbackThis library is auto-generated and published to all supported programming languages by thecdklabs/cdk-cloudformationproject based on the API schema published forTF::GitHub::Repository.Issues related to this generated library should bereported here.Issues related toTF::GitHub::Repositoryshould be reported to thepublisher.LicenseDistributed under the Apache-2.0 License.
Package: cdk-cloudformation-tf-google-storagebucket
tf-google-storagebucketAWS CDKL1 constructand data structures for theAWS CloudFormation RegistrytypeTF::Google::StorageBucketv1.0.0.DescriptionCreates a new bucket in Google cloud storage service (GCS).
Once a bucket has been created, its location can't be changed.For more information seethe official documentationandAPI.Note: If the project id is not set on the resource or in the provider block it will be dynamically
determined which will require enabling the compute api.ReferencesDocumentationSourceUsageIn order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using theAWS CLIusing the following command:awscloudformationactivate-type\--type-nameTF::Google::StorageBucket\--publisher-ide1238fdd31aee1839e14fb3fb2dac9db154dae29\--typeRESOURCE\--execution-role-arnROLE-ARNAlternatively:awscloudformationactivate-type\--public-type-arnarn:aws:cloudformation:us-east-1::type/resource/e1238fdd31aee1839e14fb3fb2dac9db154dae29/TF-Google-StorageBucket\--execution-role-arnROLE-ARNYou can find more information about activating this type in theAWS CloudFormation documentation.FeedbackThis library is auto-generated and published to all supported programming languages by thecdklabs/cdk-cloudformationproject based on the API schema published forTF::Google::StorageBucket.Issues related to this generated library should bereported here.Issues related toTF::Google::StorageBucketshould be reported to thepublisher.LicenseDistributed under the Apache-2.0 License.
Package: cdk-cloudformation-tf-pagerduty-service
tf-pagerduty-serviceAWS CDKL1 constructand data structures for theAWS CloudFormation RegistrytypeTF::PagerDuty::Servicev1.0.0.DescriptionAservicerepresents something you monitor (like a web service, email service, or database service). It is a container for related incidents that associates them with escalation policies.ReferencesDocumentationSourceUsageIn order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using theAWS CLIusing the following command:awscloudformationactivate-type\--type-nameTF::PagerDuty::Service\--publisher-ide1238fdd31aee1839e14fb3fb2dac9db154dae29\--typeRESOURCE\--execution-role-arnROLE-ARNAlternatively:awscloudformationactivate-type\--public-type-arnarn:aws:cloudformation:us-east-1::type/resource/e1238fdd31aee1839e14fb3fb2dac9db154dae29/TF-PagerDuty-Service\--execution-role-arnROLE-ARNYou can find more information about activating this type in theAWS CloudFormation documentation.FeedbackThis library is auto-generated and published to all supported programming languages by thecdklabs/cdk-cloudformationproject based on the API schema published forTF::PagerDuty::Service.Issues related to this generated library should bereported here.Issues related toTF::PagerDuty::Serviceshould be reported to thepublisher.LicenseDistributed under the Apache-2.0 License.
Package: cdk-cloudformation-tf-random-string
tf-random-stringAWS CDKL1 constructand data structures for theAWS CloudFormation RegistrytypeTF::Random::Stringv1.0.0.DescriptionCloudFormation equivalent of random_stringReferencesDocumentationSourceUsageIn order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using theAWS CLIusing the following command:awscloudformationactivate-type\--type-nameTF::Random::String\--publisher-ide1238fdd31aee1839e14fb3fb2dac9db154dae29\--typeRESOURCE\--execution-role-arnROLE-ARNAlternatively:awscloudformationactivate-type\--public-type-arnarn:aws:cloudformation:us-east-1::type/resource/e1238fdd31aee1839e14fb3fb2dac9db154dae29/TF-Random-String\--execution-role-arnROLE-ARNYou can find more information about activating this type in theAWS CloudFormation documentation.FeedbackThis library is auto-generated and published to all supported programming languages by thecdklabs/cdk-cloudformationproject based on the API schema published forTF::Random::String.Issues related to this generated library should bereported here.Issues related toTF::Random::Stringshould be reported to thepublisher.LicenseDistributed under the Apache-2.0 License.
Package: cdk-cloudformation-tf-random-uuid
tf-random-uuidAWS CDKL1 constructand data structures for theAWS CloudFormation RegistrytypeTF::Random::Uuidv1.0.0.DescriptionCloudFormation equivalent of random_uuidReferencesDocumentationSourceUsageIn order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using theAWS CLIusing the following command:awscloudformationactivate-type\--type-nameTF::Random::Uuid\--publisher-ide1238fdd31aee1839e14fb3fb2dac9db154dae29\--typeRESOURCE\--execution-role-arnROLE-ARNAlternatively:awscloudformationactivate-type\--public-type-arnarn:aws:cloudformation:us-east-1::type/resource/e1238fdd31aee1839e14fb3fb2dac9db154dae29/TF-Random-Uuid\--execution-role-arnROLE-ARNYou can find more information about activating this type in theAWS CloudFormation documentation.FeedbackThis library is auto-generated and published to all supported programming languages by thecdklabs/cdk-cloudformationproject based on the API schema published forTF::Random::Uuid.Issues related to this generated library should bereported here.Issues related toTF::Random::Uuidshould be reported to thepublisher.LicenseDistributed under the Apache-2.0 License.
Package: cdk-cloudformation-trendmicro-cloudonecontainer-helm
trendmicro-cloudonecontainer-helmAWS CDKL1 constructand data structures for theAWS CloudFormation RegistrytypeTrendMicro::CloudOneContainer::Helmv1.2.0.DescriptionDeploys Trend Micro Cloud One Container Security into EKS clusters using helm.ReferencesDocumentationSourceUsageIn order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using theAWS CLIusing the following command:awscloudformationactivate-type\--type-nameTrendMicro::CloudOneContainer::Helm\--publisher-id408988dff9e863704bcc72e7e13f8d645cee8311\--typeRESOURCE\--execution-role-arnROLE-ARNAlternatively:awscloudformationactivate-type\--public-type-arnarn:aws:cloudformation:us-east-1::type/resource/408988dff9e863704bcc72e7e13f8d645cee8311/TrendMicro-CloudOneContainer-Helm\--execution-role-arnROLE-ARNYou can find more information about activating this type in theAWS CloudFormation documentation.FeedbackThis library is auto-generated and published to all supported programming languages by thecdklabs/cdk-cloudformationproject based on the API schema published forTrendMicro::CloudOneContainer::Helm.Issues related to this generated library should bereported here.Issues related toTrendMicro::CloudOneContainer::Helmshould be reported to thepublisher.LicenseDistributed under the Apache-2.0 License.
Package: cdk-cloudformation-unxpose-iam-integration-module
unxpose-iam-integration-moduleAWS CDKL1 constructand data structures for theAWS CloudFormation RegistrytypeUnxpose::IAM::Integration::MODULEv1.1.1.DescriptionSchema for Module Fragment of type Unxpose::IAM::Integration::MODULEUsageIn order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using theAWS CLIusing the following command:awscloudformationactivate-type\--type-nameUnxpose::IAM::Integration::MODULE\--publisher-id8f866e0a9c638d58c2b4c9ef8507be596497629e\--typeMODULE\--execution-role-arnROLE-ARNAlternatively:awscloudformationactivate-type\--public-type-arnarn:aws:cloudformation:us-east-1::type/module/8f866e0a9c638d58c2b4c9ef8507be596497629e/Unxpose-IAM-Integration-MODULE\--execution-role-arnROLE-ARNYou can find more information about activating this type in theAWS CloudFormation documentation.FeedbackThis library is auto-generated and published to all supported programming languages by thecdklabs/cdk-cloudformationproject based on the API schema published forUnxpose::IAM::Integration::MODULE.Issues related to this generated library should bereported here.Issues related toUnxpose::IAM::Integration::MODULEshould be reported to thepublisher.LicenseDistributed under the Apache-2.0 License.
Package: cdk-cloudformation-zmk-iam-lambdabasicrole-module
zmk-iam-lambdabasicrole-moduleAWS CDKL1 constructand data structures for theAWS CloudFormation Registrytypezmk::IAM::LambdaBasicRole::MODULEv1.0.0.DescriptionSchema for Module Fragment of type zmk::IAM::LambdaBasicRole::MODULEUsageIn order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using theAWS CLIusing the following command:awscloudformationactivate-type\--type-namezmk::IAM::LambdaBasicRole::MODULE\--publisher-id926aa6a6595e13ea95b60697274c934dbd591182\--typeMODULE\--execution-role-arnROLE-ARNAlternatively:awscloudformationactivate-type\--public-type-arnarn:aws:cloudformation:us-east-1::type/module/926aa6a6595e13ea95b60697274c934dbd591182/zmk-IAM-LambdaBasicRole-MODULE\--execution-role-arnROLE-ARNYou can find more information about activating this type in theAWS CloudFormation documentation.FeedbackThis library is auto-generated and published to all supported programming languages by thecdklabs/cdk-cloudformationproject based on the API schema published forzmk::IAM::LambdaBasicRole::MODULE.Issues related to this generated library should bereported here.Issues related tozmk::IAM::LambdaBasicRole::MODULEshould be reported to thepublisher.LicenseDistributed under the Apache-2.0 License.
Package: cdk-cloudfront-associate-alias
cdk-cloudfront-associate-aliasA simple construct to handle automated Cloudfront DNS alias migration with zero downtime.NPM PackageUsageUsage of this construct is fairly straightforward. Simply pass in the Cloudfront distribution, the Route53 hosted zone, and the alias you want to associate with the distribution.constcustomDomain="example.com";consthostedZone=route53.HostedZone.fromLookup(this,"HostedZone",{domainName:DOMAIN_NAME,});consttargetDistribution=cloudfront.Distribution.fromDistributionAttributes(this,"Distribution",{distributionId,domainName:distributionDomainName,},);newCloudfrontAliasAssociator(this,"AliasAssociator",{alias:customDomain,hostedZone,targetDistribution,},);What this doesThis construct will create:A TXT record, this is specific to the API call used, and ensures you have ownership of the domain.A Custom Resource that makes anAssociateAliasAPI call to Cloudfront. This API specifically is for zero downtime alias migration in Cloudfront. This will work even if the domain isn't pre-associated.An A and AAAA alias record that points to the (new) Cloudfront distribution.Use CasesNotably, this construct can be used to provide Blue/Green style deployments for Cloudfront distributions. This means you can create a new distribution, associate the alias with it and this will result in zero downtime for your users.You can also use this construct in reverse to rollback your alias to the previous deployment (or any other deployment).For this use case, I recommend pairing this construct with thecdk-versioned-stack-managerto manage your versioned stacks.
Package: cdk-cloudfront-plus
cdk-cloudfront-plusCDK constructs library that allows you to buildAWS CloudFront ExtensionsinJavaScript,TypeScriptorPython.Sample# Example automatically generated from non-compiling source. May contain errors.import*ascfplusfrom'cdk-cloudfront-plus';constapp=newcdk.App();conststack=newcdk.Stack(app,'demo-stack');//preparethe`modifyresonseheader`extensionconstmodifyRespHeader=newextensions.ModifyResponseHeader(stack,'ModifyResp');//preparethe`anti-hotlinking`extensionconstantiHotlinking=newextensions.AntiHotlinking(stack,'AntiHotlink',{referer:['example.com','exa?ple.*',],});//createthecloudfrontdistributionwithextension(s)newDistribution(stack,'dist',{defaultBehavior:{origin:neworigins.HttpOrigin('aws.amazon.com'),edgeLambdas:[modifyRespHeader,antiHotlinking,],},});Available Extensions in AWS CDKExtension NameCategorySolution IDFunction/Folder NameStatusContributorAccess Origin by geolocationOrigin SelectionSO8118cf-access-origin-by-geolocationCompleted@pahud PR#52Redirect by geolocationOrigin SelectionSO8135cf-redirect-by-geolocationCompleted@minche-tsai PR#50Convert Query StringOverride RequestSO8113cf-convert-query-stringCompleted@HsiehShuJeng PR#53OAuth2 AuthenticationAuthenticationSO8131cf-authentication-by-oauth2Completed@dwchiang PR#59Cognito RedirectAuthenticationSO8132cf-authentication-by-cognito-redirectWIP(BabooPan)-Global Data IngestionLoggingSO8133cf-global-data-ingestionCompleted@titanjer PR#62HTTP 302 from OriginURL RedirectSO8103cf-http302-from-originCompleted@RicoToothless PR#71Default Directory Index for Amazon S3 OriginURL RedirectSO8134cf-default-dir-indexCompleted@guan840912 PR#21Modify Response HeaderHeader RewriteSO8105cf-modify-response-headerCompleted@pahud PR#45Custom Error PageHeader RewriteSO8136cf-custom-error-pageCompleted@BabooPan PR#46Anti HotlinkingSecuritySO8126cf-anti-hotlinkingCompleted@pahud PR#2Add Security HeadersSecuritySO8102cf-add-security-headersCompleted@pahud PR#7Failover to alternative originOrigin SelectionSO8120cf-multiple-origin-ip-retryCompleted@guan840912 PR#58Normalize Query StringOverride RequestSO8112cf-normalize-query-stringCompleted@benkajaja  PR#64
Package: cdk-cloudwatch-alarm-chatbot
cdk-cloudwatch-alarm-chatbotA CDK construct which creates an SNS AWS ChatBot (Slack) integration for CloudWatch alarms.ExampleExample use of constructimport*ascdkfrom'aws-cdk-lib';import*ascloudwatchfrom'aws-cdk-lib/aws-cloudwatch';import*ascloudwatch_actionsfrom'aws-cdk-lib/aws-cloudwatch-actions';import*assqsfrom'aws-cdk-lib/aws-sqs';import{CdkCloudWatchAlarmChatBot}from'cdk-cloudwatch-alarm-chatbot';import{Construct}from'constructs';exportclassCdkDemoStackextendscdk.Stack{constructor(scope:Construct,id:string,props?:cdk.StackProps){super(scope,id,props);constqueue=newsqs.Queue(this,'HelloCdkQueue',{visibilityTimeout:cdk.Duration.seconds(300)});constqMetric=queue.metric('ApproximateNumberOfMessagesVisible');constalarm=newcloudwatch.Alarm(this,'Alarm',{metric:qMetric,threshold:100,evaluationPeriods:3,datapointsToAlarm:2});constslackAlarmIntegration=newCdkCloudWatchAlarmChatBot(this,'SlackIntegration',{topicName:'slack-alarm',slackChannelId:'xxx',slackWorkSpaceId:'yyy',});alarm.addAlarmAction(newcloudwatch_actions.SnsAction(slackAlarmIntegration.topic));}}Test Alarm:$ aws cloudwatch set-alarm-state --alarm-name "xxx" --state-value ALARM --state-reason "testing purposes"
Package: cdk-codeartifact
cdk-codeartifactCDK Construct to create an AWS Codeartifact repository.  Construct combines creating both Domain and one or more Repositories into one construct and also provides an enumerated type for public external connections.There are some additional validations built-in to ensure the construct will deploy correctly:Naming convention checks for Codeartifact Domain Name.Naming convention checks for Codeartifact Repository Name.Passing in more than 1 external repository will throw an error - only 1 external repository is supported by Codeartifact.Breaking Changes - Migrating to V1.0.0Release 1.0.0 introduces breaking changesso any project you have created using pre-1.0.0 of cdk-codeartifact should not be upgraded to this version.Migrating to Version 1.0.0 will require any existing stacks to be removed before upgrading. The Cloudformation composition synthesized in V1.0.0 has a different composition, which means that Cloudformation will detect a change in how the stack is constructed and will try to delete the existing CodeArtifact domain and/or repositories.  This will not be possible if any artifacts have been pushed into the repositories.The originalCodeArtifactconstruct class has been deprecated and is replaced by theDomainclass which better reflects what this code construct is doing.  For convenience, aRepositoryclass has been added so that a stand-alone repository can also be created using this library.  The Repository class is a simple extension of theCfnRepositoryclass at this stage without any additional functionality.All Interface Property structures have been renamed to start with a capital "I" to conform to the usual dotnet convention for interface naming, this will assist when cross-compilation is enabled for this construct.External Connection TypeWhen adding an External Connection to your CodeArtifact repository ensure to make use of theExternalRepositorytype to define the public external repository comnnection.exportenumExternalRepository{NPM='public:npmjs',PYPI='public:pypi',MAVEN_CENTRAL='public:msven-central',MAVEN_GOOGLE_ANDROID='public:maven-googleandroid',MAVEN_GRADLE_PLUGINS='public:maven-gradleplugins',MAVEN_COMMONSWARE='public:maven-commonsware',NUGET='public:nuget-org'}Currently this construct has been published as an NPM package.Installation and UsageTypescriptInstallation$npminstall--savecdk-codeartifactUsage for CDK V2import{App,Stack,StackProps}from'aws-cdk-lib';import{Domain,ExternalRepository}from'cdk-codeartifact';import{Construct}from'constructs';exportclassMyStackextendsStack{constructor(scope:Construct,id:string,props:StackProps={}){super(scope,id,props);newDomain(this,id,{domainName:'test-domain',repositories:[{repositoryName:'test-repo',externalConnections:[ExternalRepository.NPM],},{repositoryName:'test-repo2',externalConnections:[ExternalRepository.PYPI],}],});}}
Package: cdk-codepipeline-badge-notification
CDK-CodePipeline-Badge-NotificationFeatureGenerate badge when AWS CodePipeline state changeUpdate GitHub commit status when AWS CodePipeline state changeNotification for chat bot providerSlackGoogle ChatTelegramSupport CDKv1 and CDKv2CDKv2npm install cdk-codepipeline-badge-notification
or
npm install cdk-codepipeline-badge-notification@latest
or
npm install cdk-codepipeline-badge-notification@^2.0.0CDKv1npm install cdk-codepipeline-badge-notification@cdkv1
or
npm install cdk-codepipeline-badge-notification@^1.0.6Usageimport{CodePipelineBadgeNotification}from'cdk-pipeline-badge-notification';import*ascdkfrom'@aws-cdk/core';import*ascodePipelinefrom'@aws-cdk/aws-codepipeline';constapp=newcdk.App();constenv={region:process.env.CDK_DEFAULT_REGION,account:process.env.CDK_DEFAULT_ACCOUNT,};conststack=newcdk.Stack(app,'codepipeline-badge-notification',{env});constpipeline=newcodePipeline.Pipeline(stack,'TestPipeline',{pipelineName:'testCodePipeline',crossAccountKeys:false,});newCodePipelineBadgeNotification(stack,'CodePipelineBadgeNotification',{pipelineArn:pipeline.pipelineArn,gitHubTokenFromSecretsManager:{secretsManagerArn:'arn:aws:secretsmanager:ap-northeast-1:111111111111:secret:codepipeline/lambda/github-token-YWWmII',secretKey:'codepipeline/lambda/github-token',},notification:{stageName:'production',ssmSlackWebHookUrl:'/chat/google/slack',ssmGoogleChatWebHookUrl:'/chat/google/webhook',ssmTelegramWebHookUrl:'/chat/telegram/webhook',},});:warning: telegram webhook url from ssm parameter which the URL is not includetextquery stringgitHubTokenFromSecretsManager and notification is optionalOnly badgenewCodePipelineBadgeNotification(stack,'CodePipelineBadgeNotification',{pipelineArn:pipeline.pipelineArn,});
Package: cdk-cognito-userpool
author: haimtrantitle: create a cognito userpool for web development
date: 20/08/2023Cognito AuthorizerWhen developing an web or mobile application, we usually need a identity provider. So this Construct can be used to create a Cognito UserPoolnewCognitoAuthorizer(stack,'CognitoAuthorizer',{userPoolName:'chatbot',userPoolClientName:'chatbotapp',});Usage GuideThere are different use cases, for exampleUse in another CDK StackCreate only a UserPool for a web application