serverless

package
v0.14.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 21 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	LimitCPU    = "1024"
	LimitMemory = "2048"
)

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size

Variables

View Source
var (
	Repeat  scheduleType = "rate"
	OneTime scheduleType = "at"
)
View Source
var (
	ErrInvalidBackedURLForTimeout = fmt.Errorf("timeout can action can not be set due to backed url pointing to local file. Please use external storage or remote timeout option")
)

Functions

func Create

func Create(mCtx *mc.Context, command string, scheduleType scheduleType, schedulexpression, logGroupName string) error

function to create a mapt servless cmd which will be executed repeatedly interval should match expected expression https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-scheduled-rule-pattern.html

func Destroy added in v0.8.0

func Destroy(mCtx *mc.Context) (err error)

func OneTimeDelayedTask added in v0.8.0

func OneTimeDelayedTask(ctx *pulumi.Context, mCtx *mc.Context,
	region, prefix, componentID string,
	cmd string,
	delay string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL