# RunCommandParametersProperty

This parameter contains the criteria (either InstanceIds or a tag) used to specify which EC2 instances are to be sent the command.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_events as events } from 'aws-cdk-lib';
const runCommandParametersProperty: events.CfnRule.RunCommandParametersProperty = {
  runCommandTargets: [{
    key: 'key',
    values: ['values'],
  }],
};
```

## Properties

- `runCommandTargets`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRule.RunCommandTargetProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_events.CfnRule.RunCommandTargetProperty.html)[] (required) — Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.
