AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the UpdateTagsForResource operation.
Update the list of tags applied to an AWS Elastic Beanstalk resource. Two lists can
be passed: TagsToAdd
for tags to add or update, and TagsToRemove
.
Elastic Beanstalk supports tagging of all of its resources. For details about resource tagging, see Tagging Application Resources.
If you create a custom IAM user policy to control permission to this operation, specify one of the following two virtual actions (or both) instead of the API operation name:
Controls permission to call UpdateTagsForResource
and pass a list of tags to
add in the TagsToAdd
parameter.
Controls permission to call UpdateTagsForResource
and pass a list of tag keys
to remove in the TagsToRemove
parameter.
For details about creating a custom user policy, see Creating a Custom User Policy.
Namespace: Amazon.ElasticBeanstalk.Model
Assembly: AWSSDK.ElasticBeanstalk.dll
Version: 3.x.y.z
public class UpdateTagsForResourceRequest : AmazonElasticBeanstalkRequest IAmazonWebServiceRequest
The UpdateTagsForResourceRequest type exposes the following members
Name | Description | |
---|---|---|
UpdateTagsForResourceRequest() |
Name | Type | Description | |
---|---|---|---|
ResourceArn | System.String |
Gets and sets the property ResourceArn. The Amazon Resource Name (ARN) of the resouce to be updated. Must be the ARN of an Elastic Beanstalk resource. |
|
TagsToAdd | System.Collections.Generic.List<Amazon.ElasticBeanstalk.Model.Tag> |
Gets and sets the property TagsToAdd. A list of tags to add or update. If a key of an existing tag is added, the tag's value is updated.
Specify at least one of these parameters: |
|
TagsToRemove | System.Collections.Generic.List<System.String> |
Gets and sets the property TagsToRemove. A list of tag keys to remove. If a tag key doesn't exist, it is silently ignored.
Specify at least one of these parameters: |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5