Interface CfnAliasProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAliasProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)",
date="2024-08-15T01:32:50.291Z")
@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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier 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 or ARN 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 or ARN 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.
- See Also:
- Function ARN -
-
getFunctionVersion
The function version that the alias invokes.- See Also:
-
getName
The name of the alias.- See Also:
-
getDescription
A description of the alias.- See Also:
-
getProvisionedConcurrencyConfig
Specifies a provisioned concurrency configuration for a function's alias.- See Also:
-
getRoutingConfig
The routing configuration of the alias.- See Also:
-
builder
- Returns:
- a
CfnAliasProps.Builder
ofCfnAliasProps
-