aws-cdk-lib.aws_logs_destinations.KinesisDestinationProps

interface KinesisDestinationProps

LanguageType name
.NETAmazon.CDK.AWS.Logs.Destinations.KinesisDestinationProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslogsdestinations#KinesisDestinationProps
Javasoftware.amazon.awscdk.services.logs.destinations.KinesisDestinationProps
Pythonaws_cdk.aws_logs_destinations.KinesisDestinationProps
TypeScript (source)aws-cdk-lib » aws_logs_destinations » KinesisDestinationProps

Customize the Kinesis Logs Destination.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iam as iam } from 'aws-cdk-lib';
import { aws_logs_destinations as logs_destinations } from 'aws-cdk-lib';

declare const role: iam.Role;
const kinesisDestinationProps: logs_destinations.KinesisDestinationProps = {
  role: role,
};

Properties

NameTypeDescription
role?IRoleThe role to assume to write log events to the destination.

role?

Type: IRole (optional, default: A new Role is created)

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