# KinesisDestinationProps

Customize the Kinesis Logs Destination.

Used as props by: [KinesisDestination](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs_destinations.KinesisDestination.html)

- Source: [`aws-logs-destinations/lib/kinesis.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-logs-destinations/lib/kinesis.ts#L10)
- Type last changed: v2.13.0 · 19 Feb 2022

## Example

TypeScript:

```ts
// 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,
};
```

Python:

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

# role: iam.Role

kinesis_destination_props = logs_destinations.KinesisDestinationProps(
    role=role
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.services.logs.destinations.*;

Role role;

KinesisDestinationProps kinesisDestinationProps = KinesisDestinationProps.builder()
        .role(role)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IAM;
using Amazon.CDK.AWS.Logs.Destinations;

Role role;

var kinesisDestinationProps = new KinesisDestinationProps {
    Role = role
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"

var role Role

kinesisDestinationProps := &KinesisDestinationProps{
	Role: role,
}
```

## Properties

- `role`: [IRole](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iam.IRole.html) — The role to assume to write log events to the destination.

  **Default:** A new Role is created
