class Amazonite::Ssm::MaintenanceWindowTarget

Overview

The target registered with the maintenance window.

Included Modules

Defined in:

ssm/maintenance_window_target.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(window_id : String | Nil = nil, window_target_id : String | Nil = nil, resource_type : MaintenanceWindowResourceType | Nil = nil, targets : Array(Target) | Nil = nil, owner_information : String | Nil = nil, name : String | Nil = nil, description : String | Nil = nil) #

[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 description : String | Nil #

A description for the target.


[View source]
def description=(description : String | Nil) #

A description for the target.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String | Nil #

The name for the maintenance window target.


[View source]
def name=(name : String | Nil) #

The name for the maintenance window target.


[View source]
def owner_information : String | Nil #

A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.


[View source]
def owner_information=(owner_information : String | Nil) #

A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.


[View source]
def resource_type : MaintenanceWindowResourceType | Nil #

The type of target that is being registered with the maintenance window.


[View source]
def resource_type=(resource_type : MaintenanceWindowResourceType | Nil) #

The type of target that is being registered with the maintenance window.


[View source]
def targets : Array(Target) | Nil #

The targets, either managed nodes or tags.

Specify managed nodes using the following format:

Key=instanceids,Values=,

Tags are specified using the following format:

Key=,Values=.


[View source]
def targets=(targets : Array(Target) | Nil) #

The targets, either managed nodes or tags.

Specify managed nodes using the following format:

Key=instanceids,Values=,

Tags are specified using the following format:

Key=,Values=.


[View source]
def validate! : Nil #

[View source]
def window_id : String | Nil #

The ID of the maintenance window to register the target with.


[View source]
def window_id=(window_id : String | Nil) #

The ID of the maintenance window to register the target with.


[View source]
def window_target_id : String | Nil #

The ID of the target.


[View source]
def window_target_id=(window_target_id : String | Nil) #

The ID of the target.


[View source]