awslogsdestinations

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 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)

func NewLambdaDestination_Override

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

LambdaDestinationOptions.

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.

TODO: EXAMPLE

func NewKinesisDestination

func NewKinesisDestination(stream awskinesis.IStream) KinesisDestination

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.

TODO: EXAMPLE

func NewLambdaDestination

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

LambdaDestinationOptions.

type LambdaDestinationOptions

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

Options that may be provided to LambdaDestination.

TODO: EXAMPLE

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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