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.
This parameter contains the criteria (either InstanceIds or a tag) used to specify which EC2 instances are to be sent the command.
Namespace: Amazon.CloudWatchEvents.Model
Assembly: AWSSDK.CloudWatchEvents.dll
Version: 3.x.y.z
public class RunCommandParameters
The RunCommandParameters type exposes the following members
Name | Description | |
---|---|---|
RunCommandParameters() |
Name | Type | Description | |
---|---|---|---|
RunCommandTargets | System.Collections.Generic.List<Amazon.CloudWatchEvents.Model.RunCommandTarget> |
Gets and sets the property RunCommandTargets. Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5