Class KinesisStreamPutRecord
(experimental) Use an Amazon Kinesis Data Streams as a target for AWS EventBridge Scheduler.
Implements
Namespace: Amazon.CDK.AWS.Scheduler.Targets.Alpha
Assembly: Amazon.CDK.AWS.Scheduler.Targets.Alpha.dll
Syntax (csharp)
public class KinesisStreamPutRecord : ScheduleTargetBase, IScheduleTarget
Syntax (vb)
Public Class KinesisStreamPutRecord
Inherits ScheduleTargetBase
Implements IScheduleTarget
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Kinesis;
var stream = new Stream(this, "MyStream");
new Schedule(this, "Schedule", new ScheduleProps {
Schedule = ScheduleExpression.Rate(Duration.Minutes(60)),
Target = new KinesisStreamPutRecord(stream, new KinesisStreamPutRecordProps {
PartitionKey = "key"
})
});
Synopsis
Constructors
KinesisStreamPutRecord(IStream, IKinesisStreamPutRecordProps) | |
KinesisStreamPutRecord(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
KinesisStreamPutRecord(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
AddTargetActionToRole(ISchedule, IRole) | |
BindBaseTargetConfig(ISchedule) |
Constructors
KinesisStreamPutRecord(IStream, IKinesisStreamPutRecordProps)
public KinesisStreamPutRecord(IStream stream, IKinesisStreamPutRecordProps props)
Parameters
- stream IStream
- props IKinesisStreamPutRecordProps
Remarks
Stability: Experimental
KinesisStreamPutRecord(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected KinesisStreamPutRecord(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
KinesisStreamPutRecord(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected KinesisStreamPutRecord(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
AddTargetActionToRole(ISchedule, IRole)
protected override void AddTargetActionToRole(ISchedule schedule, IRole role)
Parameters
Overrides
Remarks
Stability: Experimental
BindBaseTargetConfig(ISchedule)
protected override IScheduleTargetConfig BindBaseTargetConfig(ISchedule schedule)
Parameters
- schedule ISchedule
Returns
Overrides
Remarks
Stability: Experimental