KinesisDestinationProps

class aws_cdk.aws_logs_destinations.KinesisDestinationProps(*, role=None)

Bases: object

Customize the Kinesis Logs Destination.

Parameters:

role (Optional[IRole]) – The role to assume to write log events to the destination. Default: - A new Role is created

ExampleMetadata:

fixture=_generated

Example:

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

# role: iam.Role

kinesis_destination_props = logs_destinations.KinesisDestinationProps(
    role=role
)

Attributes

role

The role to assume to write log events to the destination.

Default:
  • A new Role is created