resources

package
v1.3.0-testing Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CustomResources = map[string]cfn.CustomResourceFunction{

	"Custom::ApiGatewayAlarms": customAPIGatewayAlarms,

	"Custom::AppSyncAlarms": customAppSyncAlarms,

	"Custom::ElbAlarms": customElbAlarms,

	"Custom::Certificate": customCertificate,

	"Custom::CognitoUserPoolMfa": customCognitoUserPoolMfa,

	"Custom::LambdaMetricFilters": customLambdaMetricFilters,
}

CustomResources map type names to their respective handler functions.

Functions

This section is empty.

Types

type APIGatewayAlarmProperties added in v1.3.0

type APIGatewayAlarmProperties struct {
	APIName            string  `json:"ApiName" validate:"required"`
	AlarmTopicArn      string  `validate:"required"`
	ErrorThreshold     int     `json:",string" validate:"omitempty,min=0"`
	LatencyThresholdMs float64 `json:",string" validate:"omitempty,min=1"`
}

type AppSyncAlarmProperties added in v1.3.0

type AppSyncAlarmProperties struct {
	APIID                string `json:"ApiId" validate:"required"`
	APIName              string `json:"ApiName" validate:"required"`
	AlarmTopicArn        string `validate:"required"`
	ClientErrorThreshold int    `json:",string" validate:"omitempty,min=0"`
	ServerErrorThreshold int    `json:",string" validate:"omitempty,min=0"`
}

type CognitoUserPoolMfaProperties added in v1.3.0

type CognitoUserPoolMfaProperties struct {
	UserPoolID string `json:"UserPoolId" validate:"required"`
}

type ElbAlarmProperties added in v1.3.0

type ElbAlarmProperties struct {
	AlarmTopicArn            string `validate:"required"`
	LoadBalancerFriendlyName string `validate:"required"`
	LoadBalancerFullName     string `validate:"required"`

	ClientErrorThreshold    int     `json:",string" validate:"omitempty,min=0"`
	LatencyThresholdSeconds float64 `json:",string" validate:"omitempty,min=0"`
}

type LambdaMetricFiltersProperties added in v1.3.0

type LambdaMetricFiltersProperties struct {
	LambdaRuntime string `validate:"omitempty,oneof=Go Python"`
	LogGroupName  string `validate:"required"`
}

Jump to

Keyboard shortcuts

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