Documentation ¶
Index ¶
- func NewKinesisDestination_Override(k KinesisDestination, stream awskinesis.IStream, ...)
- func NewLambdaDestination_Override(l LambdaDestination, fn awslambda.IFunction, options *LambdaDestinationOptions)
- type KinesisDestination
- type KinesisDestinationProps
- type LambdaDestination
- type LambdaDestinationOptions
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
Click to show internal directories.
Click to hide internal directories.