LambdaDestinationOptions

class aws_cdk.aws_logs_destinations.LambdaDestinationOptions(*, add_permissions=None)

Bases: object

Options that may be provided to LambdaDestination.

Parameters:

add_permissions (Optional[bool]) – Whether or not to add Lambda Permissions. Default: true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_logs_destinations as logs_destinations

lambda_destination_options = logs_destinations.LambdaDestinationOptions(
    add_permissions=False
)

Attributes

add_permissions

Whether or not to add Lambda Permissions.

Default:

true