class Amazonite::EventBridge::RunCommandTarget

Overview

Information about the EC2 instances that are to be sent the command, specified as key-value pairs. Each RunCommandTarget block can include only one key, but this key may specify multiple values.

Included Modules

Defined in:

eventbridge/run_command_target.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(key : String, values : Array(String)) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def key : String #

Can be either tag: tag-key or InstanceIds.


[View source]
def key=(key : String) #

Can be either tag: tag-key or InstanceIds.


[View source]
def validate! : Nil #

[View source]
def values : Array(String) #

If Key is tag: tag-key, Values is a list of tag values. If Key is InstanceIds, Values is a list of Amazon EC2 instance IDs.


[View source]
def values=(values : Array(String)) #

If Key is tag: tag-key, Values is a list of tag values. If Key is InstanceIds, Values is a list of Amazon EC2 instance IDs.


[View source]