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.

Information about the EC2 instances that are to be sent the command, specified as key-value pairs. Each RunCommandTarget block can include only one key, but this key may specify multiple values.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatchEvents.Model.RunCommandTarget

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

Syntax

C#
public class RunCommandTarget

The RunCommandTarget type exposes the following members

Constructors

NameDescription
Public Method RunCommandTarget()

Properties

NameTypeDescription
Public Property Key System.String

Gets and sets the property Key.

Can be either tag: tag-key or InstanceIds.

Public Property Values System.Collections.Generic.List<System.String>

Gets and sets the property Values.

If Key is tag: tag-key, Values is a list of tag values. If Key is InstanceIds, Values is a list of Amazon EC2 instance IDs.

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms