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,170 points
88 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,060 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,150 points
11,321 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,060 points
60 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,060 points
84 views