class Amazonite::Ssm::TargetLocation

Overview

The combination of Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Automation execution.

Included Modules

Defined in:

ssm/target_location.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(accounts : Array(String) | Nil = nil, regions : Array(String) | Nil = nil, target_location_max_concurrency : String | Nil = nil, target_location_max_errors : String | Nil = nil, execution_role_name : String | Nil = nil, target_location_alarm_configuration : AlarmConfiguration | Nil = nil, include_child_organization_units : Bool | Nil = nil, exclude_accounts : Array(String) | Nil = nil, targets : Array(Target) | Nil = nil, targets_max_concurrency : String | Nil = nil, targets_max_errors : 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 accounts : Array(String) | Nil #

The Amazon Web Services accounts targeted by the current Automation execution.


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

The Amazon Web Services accounts targeted by the current Automation execution.


[View source]
def exclude_accounts : Array(String) | Nil #

Amazon Web Services accounts or organizational units to exclude as expanded targets.


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

Amazon Web Services accounts or organizational units to exclude as expanded targets.


[View source]
def execution_role_name : String | Nil #

The Automation execution role used by the currently running Automation. If not specified, the default value is AWS-SystemsManager-AutomationExecutionRole.


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

The Automation execution role used by the currently running Automation. If not specified, the default value is AWS-SystemsManager-AutomationExecutionRole.


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

See Object#hash(hasher)


def include_child_organization_units : Bool | Nil #

Indicates whether to include child organizational units (OUs) that are children of the targeted OUs. The default is false.


[View source]
def include_child_organization_units=(include_child_organization_units : Bool | Nil) #

Indicates whether to include child organizational units (OUs) that are children of the targeted OUs. The default is false.


[View source]
def regions : Array(String) | Nil #

The Amazon Web Services Regions targeted by the current Automation execution.


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

The Amazon Web Services Regions targeted by the current Automation execution.


[View source]
def target_location_alarm_configuration : AlarmConfiguration | Nil #

[View source]
def target_location_alarm_configuration=(target_location_alarm_configuration : AlarmConfiguration | Nil) #

[View source]
def target_location_max_concurrency : String | Nil #

The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation concurrently. TargetLocationMaxConcurrency has a default value of 1.


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

The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation concurrently. TargetLocationMaxConcurrency has a default value of 1.


[View source]
def target_location_max_errors : String | Nil #

The maximum number of errors allowed before the system stops queueing additional Automation executions for the currently running Automation. TargetLocationMaxErrors has a default value of 0.


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

The maximum number of errors allowed before the system stops queueing additional Automation executions for the currently running Automation. TargetLocationMaxErrors has a default value of 0.


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

A list of key-value mappings to target resources. If you specify values for this data type, you must also specify a value for TargetParameterName.

This Targets parameter takes precedence over the StartAutomationExecution:Targets parameter if both are supplied.


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

A list of key-value mappings to target resources. If you specify values for this data type, you must also specify a value for TargetParameterName.

This Targets parameter takes precedence over the StartAutomationExecution:Targets parameter if both are supplied.


[View source]
def targets_max_concurrency : String | Nil #

The maximum number of targets allowed to run this task in parallel. This TargetsMaxConcurrency takes precedence over the StartAutomationExecution:MaxConcurrency parameter if both are supplied.


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

The maximum number of targets allowed to run this task in parallel. This TargetsMaxConcurrency takes precedence over the StartAutomationExecution:MaxConcurrency parameter if both are supplied.


[View source]
def targets_max_errors : String | Nil #

The maximum number of errors that are allowed before the system stops running the automation on additional targets. This TargetsMaxErrors parameter takes precedence over the StartAutomationExecution:MaxErrors parameter if both are supplied.


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

The maximum number of errors that are allowed before the system stops running the automation on additional targets. This TargetsMaxErrors parameter takes precedence over the StartAutomationExecution:MaxErrors parameter if both are supplied.


[View source]
def validate! : Nil #

[View source]