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
EXPERIMENTAL! Do not use! Converts Instance resources to NGS code. Right now it works in the most primitive way.
delete(r:AWS2::InstanceRes)
Declarative primitive for deleting AWS Instance resources
update(r:AWS2::InstanceRes, props:Hash)internal
Declarative primitive for updating AWS Instance resources
AWS2::wait_state(r:AWS2::InstanceRes, state_name:Str)
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)
Declarative primitive for getting console output of AWS Instance resource
AWS2::get_ssh_host_keys(r:AWS2::InstanceRes)
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
Declarative primitive for adding ssh host fingerprints of AWS Instance resource to known hosts.