AWS2::Instance type

Declarative primitive for referencing AWS Instance resources. Supported anchor items: VpcId, State (defaults to pending and running, pass "*" for all states except shutting-down and terminated, pass null for all states), InstanceId, ImageId (required for creation), KeyName, SubnetId, InstanceType, PublicIpAddress (Bool), PrivateIpAddresses, UserData Supported properties: Tags, SecurityGroups, State (running/stopped), SourceDestCheck.

Direct parent types

AWS2::ResDef
AWS Resource definition
Direct subtypes: 18

Methods

create(rd:AWS2::Instance, **props:Hash)internal
Declarative primitive for creating AWS Instance resources
find(rd:AWS2::Instance)
Declarative primitive for finding AWS Instance resources
init(rd:AWS2::Instance, **kwargs:Hash)
Initialize Instance (ResDef) from kwargs
AWS2::add_to_known_hosts(r:AWS2::Instance, prop_name:Str)experimental
Declarative primitive for adding ssh host fingerprints of AWS Instance resource to known hosts.