awslogsdestinations

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: Apache-2.0 Imports: 9 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, props *KinesisDestinationProps)

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, props *KinesisDestinationProps) KinesisDestination

type KinesisDestinationProps added in v2.13.0

type KinesisDestinationProps struct {
	// The role to assume to write log events to the destination.
	Role awsiam.IRole `json:"role" yaml:"role"`
}

Customize the Kinesis Logs Destination.

TODO: EXAMPLE

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