awslogsdestinations

package
v2.0.0-rc.27 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKinesisDestination_Override

func NewKinesisDestination_Override(k KinesisDestination, stream awskinesis.IStream)

Experimental.

func NewLambdaDestination_Override

func NewLambdaDestination_Override(l LambdaDestination, fn awslambda.IFunction, options *LambdaDestinationOptions)

LambdaDestinationOptions. Experimental.

Types

type KinesisDestination

type KinesisDestination interface {
	awslogs.ILogSubscriptionDestination
	Bind(scope constructs.Construct, _sourceLogGroup awslogs.ILogGroup) *awslogs.LogSubscriptionDestinationConfig
}

Use a Kinesis stream as the destination for a log subscription. Experimental.

func NewKinesisDestination

func NewKinesisDestination(stream awskinesis.IStream) KinesisDestination

Experimental.

type LambdaDestination

type LambdaDestination interface {
	awslogs.ILogSubscriptionDestination
	Bind(scope constructs.Construct, logGroup awslogs.ILogGroup) *awslogs.LogSubscriptionDestinationConfig
}

Use a Lambda Function as the destination for a log subscription. Experimental.

func NewLambdaDestination

func NewLambdaDestination(fn awslambda.IFunction, options *LambdaDestinationOptions) LambdaDestination

LambdaDestinationOptions. Experimental.

type LambdaDestinationOptions

type LambdaDestinationOptions struct {
	// Whether or not to add Lambda Permissions.
	// Experimental.
	AddPermissions *bool `json:"addPermissions"`
}

Options that may be provided to LambdaDestination. Experimental.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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