interface RunCommandParametersProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Events.CfnRule.RunCommandParametersProperty |
![]() | software.amazon.awscdk.services.events.CfnRule.RunCommandParametersProperty |
![]() | aws_cdk.aws_events.CfnRule.RunCommandParametersProperty |
![]() | @aws-cdk/aws-events » CfnRule » RunCommandParametersProperty |
This parameter contains the criteria (either InstanceIds or a tag) used to specify which EC2 instances are to be sent the command.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as events from '@aws-cdk/aws-events';
const runCommandParametersProperty: events.CfnRule.RunCommandParametersProperty = {
runCommandTargets: [{
key: 'key',
values: ['values'],
}],
};
Properties
Name | Type | Description |
---|---|---|
run | IResolvable | IResolvable | Run [] | Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag. |
runCommandTargets
Type:
IResolvable
|
IResolvable
|
Run
[]
Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.