Interface CfnAliasProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAliasProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.566Z")
@Stability(Stable)
public interface CfnAliasProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnAlias
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lambda.*; CfnAliasProps cfnAliasProps = CfnAliasProps.builder() .functionName("functionName") .functionVersion("functionVersion") .name("name") // the properties below are optional .description("description") .provisionedConcurrencyConfig(ProvisionedConcurrencyConfigurationProperty.builder() .provisionedConcurrentExecutions(123) .build()) .routingConfig(AliasRoutingConfigurationProperty.builder() .additionalVersionWeights(List.of(VersionWeightProperty.builder() .functionVersion("functionVersion") .functionWeight(123) .build())) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAliasProps
static final class
An implementation forCfnAliasProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAliasProps.Builder
builder()
default String
A description of the alias.The name of the Lambda function.The function version that the alias invokes.getName()
The name of the alias.default Object
Specifies a provisioned concurrency configuration for a function's alias.default Object
The routing configuration of the alias.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFunctionName
The name of the Lambda function.Name formats - Function name -
MyFunction
.- Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:MyFunction
. - Partial ARN -
123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
- Function ARN -
-
getFunctionVersion
The function version that the alias invokes. -
getName
The name of the alias. -
getDescription
A description of the alias. -
getProvisionedConcurrencyConfig
Specifies a provisioned concurrency configuration for a function's alias. -
getRoutingConfig
The routing configuration of the alias. -
builder
- Returns:
- a
CfnAliasProps.Builder
ofCfnAliasProps
-