Interface CfnRule.IRunCommandTargetProperty
Information about the EC2 instances that are to be sent the command, specified as key-value pairs.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnRule.IRunCommandTargetProperty
Syntax (vb)
Public Interface CfnRule.IRunCommandTargetProperty
Remarks
Each RunCommandTarget block can include only one key, but this key may specify multiple values.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Events;
var runCommandTargetProperty = new RunCommandTargetProperty {
Key = "key",
Values = new [] { "values" }
};
Synopsis
Properties
| Key | Can be either |
| Values | If |
Properties
Key
Can be either tag: tag-key or InstanceIds .
string Key { get; }
Property Value
Remarks
Values
If Key is tag: tag-key , Values is a list of tag values.
string[] Values { get; }
Property Value
string[]
Remarks
If Key is InstanceIds , Values is a list of Amazon EC2 instance IDs.