serverless

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

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