Class RunCommandTarget
- Namespace
- Amazon.EventBridge.Model
- Assembly
- AWSSDK.EventBridge.dll
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.
public class RunCommandTarget
- Inheritance
-
RunCommandTarget
- Inherited Members
Constructors
RunCommandTarget()
public RunCommandTarget()
Properties
Key
Gets and sets the property Key.
Can be either tag:
tag-key or InstanceIds
.
public string Key { get; set; }
Property Value
Values
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.
public List<string> Values { get; set; }