public static interface AliasConfiguration.Builder extends CopyableBuilder<AliasConfiguration.Builder,AliasConfiguration>
Modifier and Type | Method and Description |
---|---|
AliasConfiguration.Builder |
aliasArn(String aliasArn)
Lambda function ARN that is qualified using the alias name as the suffix.
|
AliasConfiguration.Builder |
description(String description)
Alias description.
|
AliasConfiguration.Builder |
functionVersion(String functionVersion)
Function version to which the alias points.
|
AliasConfiguration.Builder |
name(String name)
Alias name.
|
AliasConfiguration.Builder |
revisionId(String revisionId)
Represents the latest updated revision of the function or alias.
|
AliasConfiguration.Builder |
routingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of
traffic will invoke each version.
|
default AliasConfiguration.Builder |
routingConfig(Consumer<AliasRoutingConfiguration.Builder> routingConfig)
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of
traffic will invoke each version.
|
copy
applyMutation, build
AliasConfiguration.Builder aliasArn(String aliasArn)
Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias
called BETA
that points to a helloworld function version, the ARN is
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.
aliasArn
- Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create
an alias called BETA
that points to a helloworld function version, the ARN is
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.AliasConfiguration.Builder name(String name)
Alias name.
name
- Alias name.AliasConfiguration.Builder functionVersion(String functionVersion)
Function version to which the alias points.
functionVersion
- Function version to which the alias points.AliasConfiguration.Builder description(String description)
Alias description.
description
- Alias description.AliasConfiguration.Builder routingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic will invoke each version. For more information, see lambda-traffic-shifting-using-aliases.
routingConfig
- Specifies an additional function versions the alias points to, allowing you to dictate what percentage
of traffic will invoke each version. For more information, see
lambda-traffic-shifting-using-aliases.default AliasConfiguration.Builder routingConfig(Consumer<AliasRoutingConfiguration.Builder> routingConfig)
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic will invoke each version. For more information, see lambda-traffic-shifting-using-aliases.
This is a convenience that creates an instance of theAliasRoutingConfiguration.Builder
avoiding the
need to create one manually via AliasRoutingConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to routingConfig(AliasRoutingConfiguration)
.routingConfig
- a consumer that will call methods on AliasRoutingConfiguration.Builder
routingConfig(AliasRoutingConfiguration)
AliasConfiguration.Builder revisionId(String revisionId)
Represents the latest updated revision of the function or alias.
revisionId
- Represents the latest updated revision of the function or alias.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.