Interface CfnRule.IRunCommandParametersProperty
This parameter contains the criteria (either InstanceIds or a tag) used to specify which EC2 instances are to be sent the command.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IRunCommandParametersProperty
Syntax (vb)
Public Interface IRunCommandParametersProperty
Remarks
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 runCommandParametersProperty = new RunCommandParametersProperty {
RunCommandTargets = new [] { new RunCommandTargetProperty {
Key = "key",
Values = new [] { "values" }
} }
};
Synopsis
Properties
RunCommandTargets | Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag. |
Properties
RunCommandTargets
Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.
object RunCommandTargets { get; }
Property Value
System.Object