PutRecords
PutRecords
yaml
type: "io.kestra.plugin.aws.kinesis.PutRecords"Examples
yaml
id: aws_kinesis_put_records
namespace: company.team
tasks:
- id: put_records
type: io.kestra.plugin.aws.kinesis.PutRecords
accessKeyId: "{{ secret('AWS_ACCESS_KEY_ID') }}"
secretKeyId: "{{ secret('AWS_SECRET_KEY_ID') }}"
region: "eu-central-1"
streamName: "mystream"
records:
- data: "user sign-in event"
explicitHashKey: "optional hash value overriding the partition key"
partitionKey: "user1"
- data: "user sign-out event"
partitionKey: "user1"
yaml
id: aws_kinesis_put_records
namespace: company.team
tasks:
- id: put_records
type: io.kestra.plugin.aws.kinesis.PutRecords
accessKeyId: "{{ secret('AWS_ACCESS_KEY_ID') }}"
secretKeyId: "{{ secret('AWS_SECRET_KEY_ID') }}"
region: "eu-central-1"
streamName: "mystream"
records: kestra:///myfile.ion
Properties
records *Requiredstringarray
accessKeyId string
compatibilityMode booleanstring
endpointOverride string
failOnUnsuccessfulRecords booleanstring
Default
trueforcePathStyle booleanstring
region string
secretKeyId string
sessionToken string
streamArn string
streamName string
stsEndpointOverride string
stsRoleArn string
stsRoleExternalId string
stsRoleSessionDuration string
Default
PT15MFormat
durationstsRoleSessionName string
Outputs
failedRecordsCount integer
Default
0recordCount integer
Default
0uri string
Format
uriMetrics
duration timer
Unit
nanosecondsrecord.count counter
Unit
recordsrecord.failed counter
Unit
recordsrecord.successful counter
Unit
records