KinesisDestinationProps Struct
Customize the Kinesis Logs Destination.
| Source | aws-logs-destinations/lib/kinesis.ts |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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
};
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,
}