KinesisStreamSpecificationProperty Struct
The Kinesis Data Streams configuration for the specified table.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dynamodb as dynamodb } from 'aws-cdk-lib';
const kinesisStreamSpecificationProperty: dynamodb.CfnTable.KinesisStreamSpecificationProperty = {
streamArn: 'streamArn',
// the properties below are optional
approximateCreationDateTimePrecision: 'approximateCreationDateTimePrecision',
};
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_dynamodb as dynamodb
kinesis_stream_specification_property = dynamodb.CfnTable.KinesisStreamSpecificationProperty(
stream_arn="streamArn",
# the properties below are optional
approximate_creation_date_time_precision="approximateCreationDateTimePrecision"
)
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.dynamodb.*;
KinesisStreamSpecificationProperty kinesisStreamSpecificationProperty = KinesisStreamSpecificationProperty.builder()
.streamArn("streamArn")
// the properties below are optional
.approximateCreationDateTimePrecision("approximateCreationDateTimePrecision")
.build();
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.DynamoDB;
var kinesisStreamSpecificationProperty = new KinesisStreamSpecificationProperty {
StreamArn = "streamArn",
// the properties below are optional
ApproximateCreationDateTimePrecision = "approximateCreationDateTimePrecision"
};
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"
kinesisStreamSpecificationProperty := &KinesisStreamSpecificationProperty{
StreamArn: jsii.String("streamArn"),
// the properties below are optional
ApproximateCreationDateTimePrecision: jsii.String("approximateCreationDateTimePrecision"),
}
Properties
approximateCreationDateTimePrecisionoptionalstringapproximate_creation_date_time_precisionoptionalstrapproximateCreationDateTimePrecisionoptionalStringApproximateCreationDateTimePrecisionoptionalstringApproximateCreationDateTimePrecisionoptional*string #The precision for the time and date that the stream was created.
The ARN for a specific Kinesis data stream.
Length Constraints: Minimum length of 37. Maximum length of 1024.