Loading TOC...

ec2:create-volume-from-snapshot

ec2:create-volume-from-snapshot(
   $access-key as xs:string,
   $secret-key as xs:string,
   $ec2-region as xs:string,
   $availability-zone as xs:string,
   $snapshot-id as xs:string,
   [$size as xs:integer?]
) as node()

Summary

This function calls the Amazon CreateVolume function with a $snapshot-id parameter.

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"
availability-zone Sets the AvailabilityZone parameter on the Amazon function.
snapshot-id Sets the SnapshotId parameter on the Amazon function.
size Sets the Size parameter on the Amazon function.

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