Show / Hide Table of Contents

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
object
CfnRule.RunCommandParametersProperty
Implements
CfnRule.IRunCommandParametersProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRule.RunCommandParametersProperty : CfnRule.IRunCommandParametersProperty
Syntax (vb)
Public Class CfnRule.RunCommandParametersProperty Implements 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

Constructors

RunCommandParametersProperty()

This parameter contains the criteria (either InstanceIds or a tag) used to specify which EC2 instances are to be sent the command.

Properties

RunCommandTargets

Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.

Constructors

RunCommandParametersProperty()

This parameter contains the criteria (either InstanceIds or a tag) used to specify which EC2 instances are to be sent the command.

public RunCommandParametersProperty()
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" }
                 } }
             };

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

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)[]

Implements

CfnRule.IRunCommandParametersProperty
Back to top Generated by DocFX