Class CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty
Identifies the S3 bucket and object that contains the reference data.
Inheritance
Namespace: Amazon.CDK.AWS.KinesisAnalytics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class S3ReferenceDataSourceProperty : Object, CfnApplicationReferenceDataSource.IS3ReferenceDataSourceProperty
Syntax (vb)
Public Class S3ReferenceDataSourceProperty
Inherits Object
Implements CfnApplicationReferenceDataSource.IS3ReferenceDataSourceProperty
Remarks
Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf.
An Amazon Kinesis Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KinesisAnalytics;
var s3ReferenceDataSourceProperty = new S3ReferenceDataSourceProperty {
BucketArn = "bucketArn",
FileKey = "fileKey",
ReferenceRoleArn = "referenceRoleArn"
};
Synopsis
Constructors
S3ReferenceDataSourceProperty() |
Properties
BucketArn | Amazon Resource Name (ARN) of the S3 bucket. |
FileKey | Object key name containing reference data. |
ReferenceRoleArn | ARN of the IAM role that the service can assume to read data on your behalf. |
Constructors
S3ReferenceDataSourceProperty()
public S3ReferenceDataSourceProperty()
Properties
BucketArn
Amazon Resource Name (ARN) of the S3 bucket.
public string BucketArn { get; set; }
Property Value
System.String
Remarks
FileKey
Object key name containing reference data.
public string FileKey { get; set; }
Property Value
System.String
Remarks
ReferenceRoleArn
ARN of the IAM role that the service can assume to read data on your behalf.
public string ReferenceRoleArn { get; set; }
Property Value
System.String
Remarks
This role must have permission for the s3:GetObject
action on the object and trust policy that allows Amazon Kinesis Analytics service principal to assume this role.