ServiceResource / Sub-Resource / Instance

Instance#

EC2.ServiceResource.Instance(id)#

Creates a Instance resource.:

instance = ec2.Instance('id')
Parameters:

id (string) – The Instance’s id identifier. This must be set.

Return type:

EC2.Instance

Returns:

A Instance resource