AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

S3ReferenceDataSource

import "github.com/aws/aws-sdk-go/service/kinesisanalytics"

type S3ReferenceDataSource struct { BucketARN *string `min:"1" type:"string" required:"true"` FileKey *string `min:"1" type:"string" required:"true"` ReferenceRoleARN *string `min:"1" type:"string" required:"true"` }

Identifies the S3 bucket and object that contains the reference data. 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.

BucketARN

Type: *string

Amazon Resource Name (ARN) of the S3 bucket.

BucketARN is a required field

FileKey

Type: *string

Object key name containing reference data.

FileKey is a required field

ReferenceRoleARN

Type: *string

ARN of the IAM role that the service can assume to read data on your behalf. 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.

ReferenceRoleARN is a required field

Method

GoString

func (s S3ReferenceDataSource) GoString() string

GoString returns the string representation

SetBucketARN

func (s *S3ReferenceDataSource) SetBucketARN(v string) *S3ReferenceDataSource

SetBucketARN sets the BucketARN field's value.

SetFileKey

func (s *S3ReferenceDataSource) SetFileKey(v string) *S3ReferenceDataSource

SetFileKey sets the FileKey field's value.

SetReferenceRoleARN

func (s *S3ReferenceDataSource) SetReferenceRoleARN(v string) *S3ReferenceDataSource

SetReferenceRoleARN sets the ReferenceRoleARN field's value.

String

func (s S3ReferenceDataSource) String() string

String returns the string representation

Validate

func (s *S3ReferenceDataSource) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: