Category "aws-cli"

How to stop all running Step Functions of a specific state machine?

I accidentally started very many step functions and now wish to terminate all of them. Any smart ways to do this using the CLI or web console?

AWS CLI - Create script to add my IP to security group

I'm trying to create a script to add my IP adress to AWS VPC security groups somthing like > aws ec2 modify-security-group-rules --group-id GROUPID\ > --

How to tell what version of Instance Metadata Service(IMDS) EC2 instance is using?

I'm trying to figure out what version of Instance Metadata Service my ec2 instance is using. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-ins

How to deploy API into API Gateway stage using AWS CLI?

I am trying to deploy lambda function into API Gateway using AWS CLI. I am using aws apigateway put-integration and aws apigateway put-integration-response to u

Trying to restore glacier deep archive to different s3 bucket

I am trying to restore the glacier deep archive to a different s3 bucket, but when I run the below command getting error : fatal error: An error occurred (404)

AWS Cognito - Possible to resend Signup Email with temporary password?

After searching the official AWS CLI cognito-idp documentation, it seems there is no way to 'reset' a user back into a FORCE_CHANGE_PASSWORD state once that use

Unable to download aws s3 glacier objects

I was trying to copy all the files from my S3 bucket to a local folder in VM and I am getting the following error: warning: Skipping file s3://bucket/object. Ob

aws cli fails to return a role policy

I am copying the name of a policy a created (and attached to a role) and running the following command: ▶ aws iam get-role-policy --role-name MyRole --po

How to print the most recent Cloudwatch log for a certain Lambda function from the AWS CLI?

I am trying to use the AWS CLI and ASK CLI to code an Alexa skill, and I would like to be able to use the Alexa simulator and view the console logs directly fro

Is there anyway to generate a SRP_A from AWS CLI?

aws cognito-idp admin-initiate-auth --user-pool-id eu-west-1_xxxxx --client-id xxxxxxxxxxxxxxxxx --auth-flow USER_SRP_AUTH --auth-parameters USERNAME=xxx@yahoo.

AWS CLI install with homebrew keep error with [SSL: CERTIFICATE_VERIFY_FAILED]

My system is M1 Mac with macOS 12.3.1 and aws cli install via homebrew when tried to run aws s3 ls it keep error with SSL validation failed for https://s3.{awsr

AWS SSM put parameter Validation Exception

I am getting error when I execute the below command. But as far as I have googled, I see the syntax is correct. Command 1: aws ssm put-parameter --name /Finan

AWS S3 Sync --force-glacier-transfer

A few days back I was experimenting with S3 & Glacier and my data was archived so restoring it back I had to use their expedited service (which costs a lot)

Jenkins: The config profile (user_profile) could not be found Error: Cannot perform an interactive login from a non TTY device

I'm getting the error when executing the build with Jenkins:The config profile (user_profile) could not be found Error: Cannot perform an interactive login from

Filtering AWS CloudWatch raw log events by multiple values / AWS CLI

Given the following query on CloudWatch that extracts logs with messages including "entry 1456" (where 1456 is an ID) how should I extend this to take multiple

AWS InvalidParameter when calling the ImportImage operation

I have .ova VM's stored on my S3 bucket, I am trying to create AMI from these OVA. I was going through this video to Import a VM as an Image Using VM Import/Exp

How can I download/pull lambda code to a local machine from command line?

I am using the sam deploy command with the AWS SAM command line tool to deploy. Now I made some changes with the web IDE in the AWS Console. How can I pull the

How to run `dotnet lambda deploy-serverless` command without parameters?

Good evening. The question is about dotnet lambda deploy-serverless command. This command is used to deploy .Net apps to AWS Lambda service using AWS CloudForma

How to get orderer logs | amazon managed blockchain

I setup hyperledger fabric in amazon managed blockchain. I can get peer node logs, CA logs, chaincode logs. I do not know how to get orderer logs. That is requi

docker exec cli peer channel create | failed to create new connection: context deadline exceeded | amazon managed blockchain

I am trying to setup hyperledger fabric blockchain network using amazon managed blockchain following this guide. In the step 6, to create the channel I have exe