Class CfnAliasProps
Properties for defining a CfnAlias
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAliasProps : Object, ICfnAliasProps
Syntax (vb)
Public Class CfnAliasProps
Inherits Object
Implements ICfnAliasProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;
var cfnAliasProps = new CfnAliasProps {
FunctionName = "functionName",
FunctionVersion = "functionVersion",
Name = "name",
// the properties below are optional
Description = "description",
ProvisionedConcurrencyConfig = new ProvisionedConcurrencyConfigurationProperty {
ProvisionedConcurrentExecutions = 123
},
RoutingConfig = new AliasRoutingConfigurationProperty {
AdditionalVersionWeights = new [] { new VersionWeightProperty {
FunctionVersion = "functionVersion",
FunctionWeight = 123
} }
}
};
Synopsis
Constructors
CfnAliasProps() |
Properties
Description | A description of the alias. |
FunctionName | The name or ARN of the Lambda function. |
FunctionVersion | The function version that the alias invokes. |
Name | The name of the alias. |
ProvisionedConcurrencyConfig | Specifies a provisioned concurrency configuration for a function's alias. |
RoutingConfig | The routing configuration of the alias. |
Constructors
CfnAliasProps()
public CfnAliasProps()
Properties
Description
A description of the alias.
public string Description { get; set; }
Property Value
System.String
Remarks
FunctionName
The name or ARN of the Lambda function.
public string FunctionName { get; set; }
Property Value
System.String
Remarks
Name formats - Function name - 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.
FunctionVersion
The function version that the alias invokes.
public string FunctionVersion { get; set; }
Property Value
System.String
Remarks
Name
The name of the alias.
public string Name { get; set; }
Property Value
System.String
Remarks
ProvisionedConcurrencyConfig
Specifies a provisioned concurrency configuration for a function's alias.
public object ProvisionedConcurrencyConfig { get; set; }
Property Value
System.Object
Remarks
RoutingConfig
The routing configuration of the alias.
public object RoutingConfig { get; set; }
Property Value
System.Object