AWS2::InstanceRes type

Single declarative primitive resource describing AWS Instance

Direct parent types

AWS2::Res
AWS resource
Direct subtypes: 17

Methods

code(r:AWS2::InstanceRes)experimental Source: autoload/AWS2.ngs:1132
EXPERIMENTAL! Do not use! Converts Instance resources to NGS code. Right now it works in the most primitive way.
delete(r:AWS2::InstanceRes) Source: autoload/AWS2.ngs:995
Declarative primitive for deleting AWS Instance resources
update(r:AWS2::InstanceRes, props:Hash)internal Source: autoload/AWS2.ngs:945
Declarative primitive for updating AWS Instance resources
AWS2::wait_state(r:AWS2::InstanceRes, state_name:Str) Source: autoload/AWS2.ngs:1029
Declarative primitive for waiting for AWS Instance resource to reach given state

Parameters

state_nametypeically "running" or "stopped" (less common)

Returns

r
AWS2::get_console_output(r:AWS2::InstanceRes) Source: autoload/AWS2.ngs:1049
Declarative primitive for getting console output of AWS Instance resource
AWS2::get_ssh_host_keys(r:AWS2::InstanceRes) Source: autoload/AWS2.ngs:1066
Declarative primitive for getting ssh host fingerprints of AWS Instance resource

Returns

Array of Str. Each Str format "key-type base64key"
AWS2::add_to_known_hosts(r:AWS2::InstanceRes, ip_or_hostname:Any)experimental Source: autoload/AWS2.ngs:1085
Declarative primitive for adding ssh host fingerprints of AWS Instance resource to known hosts.