@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.728Z") @Stability(value=Stable) public class KinesisDestination extends software.amazon.jsii.JsiiObject implements ILogSubscriptionDestination
Example:
// 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.kinesis.*;
import software.amazon.awscdk.services.logs.destinations.*;
Role role;
Stream stream;
KinesisDestination kinesisDestination = KinesisDestination.Builder.create(stream)
.role(role)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
KinesisDestination.Builder
A fluent builder for
KinesisDestination. |
software.amazon.jsii.JsiiObject.InitializationModeILogSubscriptionDestination.Jsii$Default, ILogSubscriptionDestination.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
KinesisDestination(IStream stream) |
|
KinesisDestination(IStream stream,
KinesisDestinationProps props) |
protected |
KinesisDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
KinesisDestination(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
LogSubscriptionDestinationConfig |
bind(software.constructs.Construct scope,
ILogGroup _sourceLogGroup)
Return the properties required to send subscription events to this destination.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected KinesisDestination(software.amazon.jsii.JsiiObjectRef objRef)
protected KinesisDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public KinesisDestination(@NotNull
IStream stream,
@Nullable
KinesisDestinationProps props)
stream - The Kinesis stream to use as destination. This parameter is required.props - The Kinesis Destination properties.@Stability(value=Stable)
public KinesisDestination(@NotNull
IStream stream)
stream - The Kinesis stream to use as destination. This parameter is required.@Stability(value=Stable) @NotNull public LogSubscriptionDestinationConfig bind(@NotNull software.constructs.Construct scope, @NotNull ILogGroup _sourceLogGroup)
If necessary, the destination can use the properties of the SubscriptionFilter object itself to configure its permissions to allow the subscription to write to it.
The destination may reconfigure its own permissions in response to this function call.
bind in interface ILogSubscriptionDestinationscope - This parameter is required._sourceLogGroup - This parameter is required.Copyright © 2022. All rights reserved.