How to add a tag to aws api gateway using aws cli

0 votes

Hi Team,

I am new to AWS API Gateway. I want to add a tag to AWS API Gateway using the CLI command. How can I do that?

Dec 8, 2020 in AWS by akhtar
• 38,260 points
1,815 views

1 answer to this question.

0 votes

Hi@akhtar,

You need to use a tag-resource method in your AWS API gateway command as shown below.

$ aws apigateway tag-resource --resource-arn your-api-gateway-arn --tags tag-name=tag-value
answered Dec 8, 2020 by MD
• 95,460 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

How to download the latest file in a S3 bucket using AWS CLI?

You can use the below command $ aws ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,170 points
19,756 views
0 votes
1 answer
0 votes
1 answer

How to create a virtual MFA device using AWS CLI?

Hi@akhtar, You can create a new virtual MFA device ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,460 points
1,090 views
0 votes
1 answer

How to delete a Lambda function using AWS CLI?

Hi@akhtar, You can delete a Lambda function. To ...READ MORE

answered Nov 5, 2020 in AWS by MD
• 95,460 points
2,423 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP