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.

S3Configuration

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

type S3Configuration struct { BucketARN *string `min:"1" type:"string" required:"true"` FileKey *string `min:"1" type:"string" required:"true"` RoleARN *string `min:"1" type:"string" required:"true"` }

Provides a description of an Amazon S3 data source, including the Amazon Resource Name (ARN) of the S3 bucket, the ARN of the IAM role that is used to access the bucket, and the name of the Amazon S3 object that contains the data.

BucketARN

Type: *string

ARN of the S3 bucket that contains the data.

BucketARN is a required field

FileKey

Type: *string

The name of the object that contains the data.

FileKey is a required field

RoleARN

Type: *string

IAM ARN of the role used to access the data.

RoleARN is a required field

Method

GoString

func (s S3Configuration) GoString() string

GoString returns the string representation

SetBucketARN

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

SetBucketARN sets the BucketARN field's value.

SetFileKey

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

SetFileKey sets the FileKey field's value.

SetRoleARN

func (s *S3Configuration) SetRoleARN(v string) *S3Configuration

SetRoleARN sets the RoleARN field's value.

String

func (s S3Configuration) String() string

String returns the string representation

Validate

func (s *S3Configuration) Validate() error

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

On this page: