Show / Hide Table of Contents

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-runcommandtarget.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 runCommandTargetProperty = new RunCommandTargetProperty {
                 Key = "key",
                 Values = new [] { "values" }
             };

Synopsis

Properties

Key

Can be either tag: tag-key or InstanceIds .

Values

If Key is tag: tag-key , Values is a list of tag values.

Properties

Key

Can be either tag: tag-key or InstanceIds .

string Key { get; }
Property Value

string

Remarks

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

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.

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

Back to top Generated by DocFX