Class CfnRule.RunCommandParametersProperty
This parameter contains the criteria (either InstanceIds or a tag) used to specify which EC2 instances are to be sent the command.
Inheritance
System.Object
CfnRule.RunCommandParametersProperty
Implements
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RunCommandParametersProperty : Object, CfnRule.IRunCommandParametersProperty
Syntax (vb)
Public Class RunCommandParametersProperty
Inherits Object
Implements CfnRule.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
Constructors
RunCommandParametersProperty() |
Properties
RunCommandTargets | Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag. |
Constructors
RunCommandParametersProperty()
public RunCommandParametersProperty()
Properties
RunCommandTargets
Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.
public object RunCommandTargets { get; set; }
Property Value
System.Object