Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 20:19
    alexfernandezv labeled #4331
  • 20:19
    alexfernandezv labeled #4331
  • 20:19
    alexfernandezv opened #4331
  • 19:35

    aws-sdk-js-automation on master

    Updates SDK to v2.1306.0 (compare)

  • 19:35

    aws-sdk-js-automation on v2.1306.0


  • 05:42
    RanVaknin assigned #4280
  • 00:12
    github-actions[bot] unlabeled #4330
  • 00:12
    github-actions[bot] labeled #3922
  • 00:12
    github-actions[bot] commented #3922
  • Jan 30 19:46

    aws-sdk-js-automation on master

    Updates SDK to v2.1305.0 (compare)

  • Jan 30 19:46

    aws-sdk-js-automation on v2.1305.0


  • Jan 30 19:15
    RanVaknin closed #4308
  • Jan 30 19:15
    RanVaknin commented #4308
  • Jan 30 19:15
    RanVaknin unlabeled #4308
  • Jan 30 19:15
    RanVaknin assigned #4308
  • Jan 30 19:06
    medikoo commented #4330
  • Jan 30 19:04
    RanVaknin labeled #4330
  • Jan 30 19:04
    RanVaknin unlabeled #4330
  • Jan 30 19:03
    RanVaknin assigned #4330
  • Jan 30 19:03
    RanVaknin commented #4330
Aleš Ferlan
I just have a question, about qldbsession, should I create a session for the scope of the app or should I make a new session before each transaction?
Hi again! As for my question
I resolved it by git checking out to the earlier release version of AWS KCL for node js
Their last release contains update to http2 that is not compatible with localstack
as I understand
Trivikram Kamat
Hi everyone, this is Trivikram - maintainer of AWS JavaScript SDK
We're looking forward to hear from you about v2-style (idiomatic) vs command style (modular) in aws/aws-sdk-js#2969
Please provide your valuable feedback, if you have a specific preference over one or the other
Aleš Ferlan
@trivikr I have just started learning all these AWS SDK and Ion so I don't know much about it. But I would like for the SDK to be more modular (feels like everything is just crammed into one giant lib)
@trivikr as for me, I think everything is ok
Trivikram Kamat
Thank you @Alko89 and @khitsik for your responses.
Jairo Campos Vargas
Hi Guys, I have a question how can I use the same user from a master account to upload files to different buckets in a different AWS account, I already added a role on these accounts to allow this master user push files to his buckets.
for example
const s3 = new AWS.S3({ accessKeyId: 'xxxx', secretAccessKey: 'xxxxxx', });
this point to my master account but I need to go to the bucket name of another account with this user that has access by role
Aleš Ferlan
@jcamposv can't you create a new instance with different keys?
const secondS3 = new AWS.S3({ accessKeyId: 'otherkey', secretAccessKey: 'othersecret', });
Aleš Ferlan
I'm trying to develop a Lambda that invokes a second Lambda function in itself. How can I test both lambdas locally using AWS SAM CLI?
I'm defining the lambda like this: const lambda = new Lambda({ region: env.awsRegion, maxRetries: 0 });
obviously this expects the second Lambda to already be deployed on AWS
is there a way to configure it to also run in the Docker container?
Varun Kumar Yadav

Hello Guy's,
I am having issue in AWS CodeBuild service. I am getting below error during codebuild execution.

COMMAND_EXECUTION_ERROR: Error while executing command: docker push $REPOSITORY_URI:latest. Reason: exit status 127

Here is my buildspec.yml file
version: 0.2
docker: 18

  - echo Logging in to Amazon ECR...
  - aws ecr get-login --no-include-email --region us-east-1
  - REPOSITORY_URI=***********.dkr.ecr.us-east-1.amazonaws.com/Reponame
  - IMAGE_TAG=${COMMIT_HASH:=latest}


  - echo Build started on `date`
  - echo Building the Docker image...    
  - docker build -t $REPOSITORY_URI:latest .


  - echo Build completed
  - echo Pushing the Docker images...
  - docker push $REPOSITORY_URI:latest
  - docker push $REPOSITORY_URI:$IMAGE_TAG
  - echo Writing definitions file...
  - printf '[{"name":"project-container","imageUri":"%s"}]' $REPOSITORY_URI:$IMAGE_TAG > taskdefinition.json

files: taskdefinition.json
Please help.

Hello guys, Could you help me please I have issue, My application works on lambda and I have a transaction and customers can scheduler them. I need to send them to another service. i docn't know have i can scheduler
Usama Tahir


I was using s3 to store images from my website with ssl certificate enabled. my certificate expired today and now when I post data to s3, the network calls times out. Is this because of the ssl certificate expiration? does s3 allow access to secure server from an insecure server?

Duc Le
hi all, I have a test written in webdriverio and wanted to integrate with a CI/CD platform. I originally tried it on CircleCI, but ran into an issue with circle not being able to access private network. I was told that aws codebuild will be able to run my test and able to access private network. Are there any other suggestions, and how hard is it to get it setup and running? All I want to do is to be able to get my test run thru a CI/CD pipeline. Thanks!
Andrii Kharsun

Hi there. Does anyone did "Building an Amazon CloudWatch Dashboard Outside of the AWS"? I want to build dynamic metrics from AWS on my app with ability to Edit and Create new.
So, I need to use structure like in aws.getCloudWatch().getMetricWidgetImage(widgetDefinition)

widgetDefinition: {
                    "width": 500,
                    "height": 400,
                    "view": "timeSeries",
                    "stacked": false,
                    "metrics": [
                        [ "AWS/EC2", "CPUUtilization", "AutoScalingGroupName", "BP-xxxx-ServerAutoScalingGroup-xxxxx", { "period": 900, "visible": false } ],
                        [ "...", "BP-xxx-ServerAutoScalingGroup-xxxxx", { "period": 900, "label": "CPUUtilization" } ],
                        [ "...", "BP-x-ServerAutoScalingGroup-xxxxx", { "period": 900 } ]
                    "region": "us-west-2",
                    "yAxis": {
                        "left": {
                            "min": 0
                    "title": "AutoScaling Group - CPUUtilization",
                    "period": 300,
                    "start": this.graphstartTime,
                    "end": this.graphendTime



Screenshot at Dec 12 10-32-06.png
Ganesh S Acharya
Hello guys, anyone has integrated a javascript client to gamelift? (Client is a game written in javascript, for match making, other game logic specifics it needs to talk directly to a game server like gamelift)
pleez how to deploy multiple images docker located in this project https://github.com/aviacommerce/avia
I have few images in s3 snd i have few Questions in Mongodb...what i want is...
Display question and its respective image from s3 on web
Ronique Ricketts
I am trying to get a Microservice up and running in ECS but I have a question. Does each service get its own task definition in ECS?
Hey :wave: I'm trying to figure out what i need to do (in terms of aws credentials/roles) to get my static site hosted on s3 using the node aws sdk to get data from cloudwatch? Any ideas would be very much appreciated :D
Deleema Fernando
I want to deploy a React app as a SaaS offering, How can I do this using AWS ?
Yashwardhan Pauranik
I'm trying to setup CI/CD using github actions and I'm facing an issue when deploying my application to AWS ELasticBeanstalk. Can anybody help me with this question here?https://stackoverflow.com/questions/59607944/elastic-beanstalk-cannot-find-the-server-js-file
andrew quartey
i use assumed roles for access resource across different accounts. However, one of the accounts is MFA-protected. I tried using the following to set up the required credentials to make the subsequent request. It fails on the MFA bit. Help appreciated.
let sts = new AWS.STS();
  RoleArn: 'arn:aws:iam::xxxxxxx:role/OrganizationAccountAccessRole',
  RoleSessionName: 'awssdk',
  SerialNumber: 'arn:aws:iam::yyyyyyy:mfa/me@work.com',
  TokenCode: '12345', 
}, function(err, data) {
  if (err) { 
    console.log('Cannot assume role');
    console.log(err, err.stack);
  } else { // successful response
      accessKeyId: data.Credentials.AccessKeyId,
      secretAccessKey: data.Credentials.SecretAccessKey,
      sessionToken: data.Credentials.SessionToken,
Hi guys, I have a problem with s3. My backend upload the file and saves the location in the database, when the front-end wants to download it, I give the URL from my database, but now I realized that all people can access that have the URL, I want only a user in my application could download it, could you help me? how to do better
Hi, you need to set the correct ACL on the objects (private), and then, create signed URL (this is a s3 method) with the Uer's authorization to get the temporary url for the file
Check out the putObject operation to see the ACL options https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#putObject-property

Hi folks, I want to integrate Amazon comprehend service in angular 8.
AWS recommends to use Amplify which doesn't seem to support comprehend yet (ref. https://aws-amplify.github.io/amplify-js/api/).

I tried to consume it as REST API call but docs doesn't contain that either.

A way (maybe bad) I'm trying - Trying to replicate API call made by boto3 in python using http call logs.

Please suggest me the correct way.

Hey - you could include the AWS sdk js in your angular app, and call the AWS SDK comprehend methods from there ?
one ting you have to be aware of is that you would have to create a "subset" of the aws sdk library for your frontend, as the default one would be 1MB, and not quite network friendly
@BertrandMarechal It worked. thanks for inputs!
great ! :)
Hello guys! How can I provide ses to cognito and send users layout, could you help me please