AWS SDK Version 3 for .NET
API Reference

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 AddTagsToOnPremisesInstances operation. Adds tags to on-premises instances.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CodeDeploy.AmazonCodeDeployRequest
      Amazon.CodeDeploy.Model.AddTagsToOnPremisesInstancesRequest

Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.CodeDeploy.dll
Version: 3.x.y.z

Syntax

C#
public class AddTagsToOnPremisesInstancesRequest : AmazonCodeDeployRequest
         IAmazonWebServiceRequest

The AddTagsToOnPremisesInstancesRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property InstanceNames System.Collections.Generic.List<System.String>

Gets and sets the property InstanceNames.

The names of the on-premises instances to which to add tags.

Public Property Tags System.Collections.Generic.List<Amazon.CodeDeploy.Model.Tag>

Gets and sets the property Tags.

The tag key-value pairs to add to the on-premises instances.

Keys and values are both required. Keys cannot be null or empty strings. Value-only tags are not allowed.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5