Skip to content
v2.277.0

S3ReferenceDataSourceProperty Struct ​

For an SQL-based Amazon Kinesis Data Analytics application, identifies the Amazon S3 bucket and object that contains the reference data.

A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesisanalyticsv2 as kinesisanalyticsv2 } from 'aws-cdk-lib';
const s3ReferenceDataSourceProperty: kinesisanalyticsv2.CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty = {
  bucketArn: 'bucketArn',
  fileKey: 'fileKey',
};
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_kinesisanalyticsv2 as kinesisanalyticsv2

s3_reference_data_source_property = kinesisanalyticsv2.CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty(
    bucket_arn="bucketArn",
    file_key="fileKey"
)
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.kinesisanalyticsv2.*;

S3ReferenceDataSourceProperty s3ReferenceDataSourceProperty = S3ReferenceDataSourceProperty.builder()
        .bucketArn("bucketArn")
        .fileKey("fileKey")
        .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.KinesisAnalyticsV2;

var s3ReferenceDataSourceProperty = new S3ReferenceDataSourceProperty {
    BucketArn = "bucketArn",
    FileKey = "fileKey"
};
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"

s3ReferenceDataSourceProperty := &S3ReferenceDataSourceProperty{
	BucketArn: jsii.String("bucketArn"),
	FileKey: jsii.String("fileKey"),
}

Properties ​

bucketArnstringbucket_arnstrbucketArnStringBucketArnstringBucketArn*stringrequired#
The Amazon Resource Name (ARN) of the S3 bucket.
fileKeystringfile_keystrfileKeyStringFileKeystringFileKey*stringrequired#
The object key name containing the reference data.