Skip to main content

kinesis_streaming_destinations

Creates, updates, deletes, gets or lists a kinesis_streaming_destinations resource.

Overview

Namekinesis_streaming_destinations
TypeResource
Idaws.dynamodb.kinesis_streaming_destinations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
kinesis_data_stream_destinationsarrayThe list of replica structures for the table being described.
table_namestringThe name of the table being described. (pattern: <code>[a-zA-Z0-9_.-]+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_kinesis_streaming_destinationselectregionReturns information about the status of Kinesis streaming.
update_kinesis_streaming_destinationupdateregion, TableName, StreamArnThe command to update the Kinesis stream destination.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns information about the status of Kinesis streaming.

SELECT
kinesis_data_stream_destinations,
table_name
FROM aws.dynamodb.kinesis_streaming_destinations
WHERE region = '{{ region }}' -- required
;

UPDATE examples

The command to update the Kinesis stream destination.

UPDATE aws.dynamodb.kinesis_streaming_destinations
SET
TableName = '{{ TableName }}',
StreamArn = '{{ StreamArn }}',
UpdateKinesisStreamingConfiguration = '{{ UpdateKinesisStreamingConfiguration }}'
WHERE
region = '{{ region }}' --required
AND TableName = '{{ TableName }}' --required
AND StreamArn = '{{ StreamArn }}' --required
RETURNING
destination_status,
stream_arn,
table_name,
update_kinesis_streaming_configuration;