Loading TOC...

ec2:run-instances

ec2:run-instances(
   $access-key as xs:string,
   $secret-key as xs:string,
   $ec2-region as xs:string,
   $image-id as xs:string,
   $min-count as xs:integer,
   $max-count as xs:integer,
   $instance-type as xs:string?,
   $key-pair as xs:string?,
   $security-group as xs:string*,
   $instance-options as xs:string*
) as node()

Summary

This function calls the Amazon RunInstances function.

Parameters
access-key Your Amazon Access Key ID obtained from your account's Security Credentials.
secret-key Your Amazon Secret Access Key obtained from your account's Security Credentials.
ec2-region The EC2 region you wish to manage. Determines the web service endpoint to be used. Example: "us-east-1"
image-id Sets the ImageId parameter on the Amazon function.
min-count Sets the MinCount parameter on the Amazon function.
max-count Sets the MaxCount parameter on the Amazon function.
instance-type Sets the InstanceType parameter on the Amazon function.
key-pair Sets the KeyName parameter on the Amazon function.
security-group Sets the SecurityGroup.n parameter on the Amazon function.
instance-options Sets the any number of optional parameters on the Amazon function. Specify using the form: ("name=value", "name=value").

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.