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.

LambdaOutput

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

type LambdaOutput struct { ResourceARN *string `min:"1" type:"string" required:"true"` RoleARN *string `min:"1" type:"string" required:"true"` }

When configuring application output, identifies an AWS Lambda function as the destination. You provide the function Amazon Resource Name (ARN) and also an IAM role ARN that Amazon Kinesis Analytics can use to write to the function on your behalf.

ResourceARN

Type: *string

Amazon Resource Name (ARN) of the destination Lambda function to write to.

ResourceARN is a required field

RoleARN

Type: *string

ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination function on your behalf. You need to grant the necessary permissions to this role.

RoleARN is a required field

Method

GoString

func (s LambdaOutput) GoString() string

GoString returns the string representation

SetResourceARN

func (s *LambdaOutput) SetResourceARN(v string) *LambdaOutput

SetResourceARN sets the ResourceARN field's value.

SetRoleARN

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

SetRoleARN sets the RoleARN field's value.

String

func (s LambdaOutput) String() string

String returns the string representation

Validate

func (s *LambdaOutput) Validate() error

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

On this page: