Show / Hide Table of Contents

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 CfnRule.IRunCommandParametersProperty
Syntax (vb)
Public Interface CfnRule.IRunCommandParametersProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-runcommandparameters.html

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-runcommandparameters.html#cfn-events-rule-runcommandparameters-runcommandtargets

Type union: either IResolvable or (either IResolvable or CfnRule.IRunCommandTargetProperty)[]

Back to top Generated by DocFX