start_instance

start_instance(**kwargs)

Starts a specified instance. For more information, see Starting, Stopping, and Rebooting Instances.

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

See also: AWS API Documentation

Request Syntax

response = client.start_instance(
    InstanceId='string'
)
Parameters
InstanceId (string) --

[REQUIRED]

The instance ID.

Returns
None

Exceptions

  • OpsWorks.Client.exceptions.ValidationException
  • OpsWorks.Client.exceptions.ResourceNotFoundException