How to add tags to trail in AWS

0 votes

Hi Team,

I have created one Cloud Trail in AWS. I want to add tags to the trail. How can I do that?

Nov 17, 2020 in AWS by akhtar
• 38,260 points
662 views

1 answer to this question.

0 votes

Hi@akhtar,

You can add one or more tags to a trail, up to a limit of 50. You can also overwrite an existing tag's value when a new value is specified for an existing tag key. The below command can be used to add a tag to a trail.

$ aws cloudtrail add-tags --resource-id arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail1 --tags-list Key=name,Value=Alice Key=location,Value=us
answered Nov 17, 2020 by MD
• 95,460 points

Related Questions In AWS

0 votes
1 answer

How to add IAM role to an existing instance in aws?

As of AWS CLI v1.11.46,  you can ...READ MORE

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

How to create a trail in AWS?

Hi@akhtar, You can create a trail that specifies the ...READ MORE

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

How to describe a trail in AWS?

Hi@akhtar, You can retrieves settings for one or ...READ MORE

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

How to add a file to a repository in AWS CodeCommit?

Hi@akhtar, You can add or update a file in a ...READ MORE

answered Nov 24, 2020 in AWS by MD
• 95,460 points
1,660 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

How to add AWS tags to an existing repository in AWS CodeCommit?

Hi@akhtar, You can add or update tags for a resource ...READ MORE

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

How to add a role to an instance profile in AWS?

Hi@akhtar, You can add the specified IAM role ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,460 points
601 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