Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "aqua",
Short: "Create a basic gateway for a Lambda function",
Long: `Create a gateway for the provided Lambda function.
If the function doesn't exist yet, it will first create it using the provided
file or a basic example that echoes back your parameters.
For function code located online, the file will first be downloaded locally.
Example (only create Gateway):
aqua --name functionName --region us-west-1
Example (create Lambda function from local file):
aqua --name functionName --role basic_execution_role --file path/to/function.zip
Example (create Lambda function from web file):
aqua --name functionName --role basic_execution_role --file https://github.com/ArjenSchwarz/aqua/releases/download/latest/igor.zip
`,
Run: buildGateway,
}
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.