# EndPointProperty

Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const endPointProperty: cloudfront.CfnRealtimeLogConfig.EndPointProperty = {
  kinesisStreamConfig: {
    roleArn: 'roleArn',
    streamArn: 'streamArn',
  },
  streamType: 'streamType',
};
```

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_cloudfront as cloudfront

end_point_property = cloudfront.CfnRealtimeLogConfig.EndPointProperty(
    kinesis_stream_config=cloudfront.CfnRealtimeLogConfig.KinesisStreamConfigProperty(
        role_arn="roleArn",
        stream_arn="streamArn"
    ),
    stream_type="streamType"
)
```

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.cloudfront.*;

EndPointProperty endPointProperty = EndPointProperty.builder()
        .kinesisStreamConfig(KinesisStreamConfigProperty.builder()
                .roleArn("roleArn")
                .streamArn("streamArn")
                .build())
        .streamType("streamType")
        .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.CloudFront;

var endPointProperty = new EndPointProperty {
    KinesisStreamConfig = new KinesisStreamConfigProperty {
        RoleArn = "roleArn",
        StreamArn = "streamArn"
    },
    StreamType = "streamType"
};
```

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"

endPointProperty := &EndPointProperty{
	KinesisStreamConfig: &KinesisStreamConfigProperty{
		RoleArn: jsii.String("roleArn"),
		StreamArn: jsii.String("streamArn"),
	},
	StreamType: jsii.String("streamType"),
}
```

## Properties

- `kinesisStreamConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRealtimeLogConfig.KinesisStreamConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.CfnRealtimeLogConfig.KinesisStreamConfigProperty.html) (required) — Contains information about the Amazon Kinesis data stream where you are sending real-time log data in a real-time log configuration.

- `streamType`: string (required) — The type of data stream where you are sending real-time log data.

  The only valid value is `Kinesis` .
