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.

AliasConfiguration

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

type AliasConfiguration struct { AliasArn *string `type:"string"` Description *string `type:"string"` FunctionVersion *string `min:"1" type:"string"` Name *string `min:"1" type:"string"` RevisionId *string `type:"string"` RoutingConfig *AliasRoutingConfiguration `type:"structure"` }

Provides configuration information about a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html).

AliasArn

Type: *string

The Amazon Resource Name (ARN) of the alias.

Description

Type: *string

A description of the alias.

FunctionVersion

Type: *string

The function version that the alias invokes.

Name

Type: *string

The name of the alias.

RevisionId

Type: *string

A unique identifier that changes when you update the alias.

RoutingConfig

The traffic-shifting (https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) configuration of a Lambda function alias.

Method

GoString

func (s AliasConfiguration) GoString() string

GoString returns the string representation

SetAliasArn

func (s *AliasConfiguration) SetAliasArn(v string) *AliasConfiguration

SetAliasArn sets the AliasArn field's value.

SetDescription

func (s *AliasConfiguration) SetDescription(v string) *AliasConfiguration

SetDescription sets the Description field's value.

SetFunctionVersion

func (s *AliasConfiguration) SetFunctionVersion(v string) *AliasConfiguration

SetFunctionVersion sets the FunctionVersion field's value.

SetName

func (s *AliasConfiguration) SetName(v string) *AliasConfiguration

SetName sets the Name field's value.

SetRevisionId

func (s *AliasConfiguration) SetRevisionId(v string) *AliasConfiguration

SetRevisionId sets the RevisionId field's value.

SetRoutingConfig

func (s *AliasConfiguration) SetRoutingConfig(v *AliasRoutingConfiguration) *AliasConfiguration

SetRoutingConfig sets the RoutingConfig field's value.

String

func (s AliasConfiguration) String() string

String returns the string representation

On this page: