awsautoscalinghooktargets

package
v2.0.0-alpha.12 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFunctionHook_Override

func NewFunctionHook_Override(f FunctionHook, fn awslambda.IFunction, encryptionKey awskms.IKey)

Experimental.

func NewQueueHook_Override

func NewQueueHook_Override(q QueueHook, queue awssqs.IQueue)

Experimental.

func NewTopicHook_Override

func NewTopicHook_Override(t TopicHook, topic awssns.ITopic)

Experimental.

Types

type FunctionHook

type FunctionHook interface {
	awsautoscaling.ILifecycleHookTarget
	Bind(scope constructs.Construct, lifecycleHook awsautoscaling.ILifecycleHook) *awsautoscaling.LifecycleHookTargetConfig
}

Use a Lambda Function as a hook target.

Internally creates a Topic to make the connection. Experimental.

func NewFunctionHook

func NewFunctionHook(fn awslambda.IFunction, encryptionKey awskms.IKey) FunctionHook

Experimental.

type QueueHook

type QueueHook interface {
	awsautoscaling.ILifecycleHookTarget
	Bind(_scope constructs.Construct, lifecycleHook awsautoscaling.ILifecycleHook) *awsautoscaling.LifecycleHookTargetConfig
}

Use an SQS queue as a hook target. Experimental.

func NewQueueHook

func NewQueueHook(queue awssqs.IQueue) QueueHook

Experimental.

type TopicHook

type TopicHook interface {
	awsautoscaling.ILifecycleHookTarget
	Bind(_scope constructs.Construct, lifecycleHook awsautoscaling.ILifecycleHook) *awsautoscaling.LifecycleHookTargetConfig
}

Use an SNS topic as a hook target. Experimental.

func NewTopicHook

func NewTopicHook(topic awssns.ITopic) TopicHook

Experimental.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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