cfn

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Function

type Function struct {
	APIKey         string
	APIKeyProvider mackerel.APIKeyProvider
	BaseURL        *url.URL
	Version        string
	// contains filtered or unexported fields
}

Function is a custom resource function for CloudForamtion.

func (*Function) Handle

func (f *Function) Handle(ctx context.Context, event cfn.Event) (physicalResourceID string, data map[string]interface{}, err error)

Handle handles custom resource events of CloudForamtion.

func (*Function) LambdaWrap

func (f *Function) LambdaWrap() cfn.CustomResourceLambdaFunction

LambdaWrap returns a CustomResourceLambdaFunction which is something lambda.Start() will understand.

Jump to

Keyboard shortcuts

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