We recommend new projects start with resources from the AWS provider.
aws-native.lambda.Alias
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Lambda::Alias
Create Alias Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Alias(name: string, args: AliasArgs, opts?: CustomResourceOptions);@overload
def Alias(resource_name: str,
          args: AliasArgs,
          opts: Optional[ResourceOptions] = None)
@overload
def Alias(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          function_name: Optional[str] = None,
          function_version: Optional[str] = None,
          description: Optional[str] = None,
          name: Optional[str] = None,
          provisioned_concurrency_config: Optional[_lambda_.AliasProvisionedConcurrencyConfigurationArgs] = None,
          routing_config: Optional[_lambda_.AliasRoutingConfigurationArgs] = None)func NewAlias(ctx *Context, name string, args AliasArgs, opts ...ResourceOption) (*Alias, error)public Alias(string name, AliasArgs args, CustomResourceOptions? opts = null)type: aws-native:lambda:Alias
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AliasArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AliasArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AliasArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AliasArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AliasArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Alias Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Alias resource accepts the following input properties:
- FunctionName string
- The name of the Lambda function.
- FunctionVersion string
- The function version that the alias invokes.
- Description string
- A description of the alias.
- Name string
- The name of the alias.
- ProvisionedConcurrency Pulumi.Config Aws Native. Lambda. Inputs. Alias Provisioned Concurrency Configuration 
- Specifies a provisioned concurrency configuration for a function's alias.
- RoutingConfig Pulumi.Aws Native. Lambda. Inputs. Alias Routing Configuration 
- The routing configuration of the alias.
- FunctionName string
- The name of the Lambda function.
- FunctionVersion string
- The function version that the alias invokes.
- Description string
- A description of the alias.
- Name string
- The name of the alias.
- ProvisionedConcurrency AliasConfig Provisioned Concurrency Configuration Args 
- Specifies a provisioned concurrency configuration for a function's alias.
- RoutingConfig AliasRouting Configuration Args 
- The routing configuration of the alias.
- functionName String
- The name of the Lambda function.
- functionVersion String
- The function version that the alias invokes.
- description String
- A description of the alias.
- name String
- The name of the alias.
- provisionedConcurrency AliasConfig Provisioned Concurrency Configuration 
- Specifies a provisioned concurrency configuration for a function's alias.
- routingConfig AliasRouting Configuration 
- The routing configuration of the alias.
- functionName string
- The name of the Lambda function.
- functionVersion string
- The function version that the alias invokes.
- description string
- A description of the alias.
- name string
- The name of the alias.
- provisionedConcurrency AliasConfig Provisioned Concurrency Configuration 
- Specifies a provisioned concurrency configuration for a function's alias.
- routingConfig AliasRouting Configuration 
- The routing configuration of the alias.
- function_name str
- The name of the Lambda function.
- function_version str
- The function version that the alias invokes.
- description str
- A description of the alias.
- name str
- The name of the alias.
- provisioned_concurrency_ lambda_.config Alias Provisioned Concurrency Configuration Args 
- Specifies a provisioned concurrency configuration for a function's alias.
- routing_config lambda_.Alias Routing Configuration Args 
- The routing configuration of the alias.
- functionName String
- The name of the Lambda function.
- functionVersion String
- The function version that the alias invokes.
- description String
- A description of the alias.
- name String
- The name of the alias.
- provisionedConcurrency Property MapConfig 
- Specifies a provisioned concurrency configuration for a function's alias.
- routingConfig Property Map
- The routing configuration of the alias.
Outputs
All input properties are implicitly available as output properties. Additionally, the Alias resource produces the following output properties:
Supporting Types
AliasProvisionedConcurrencyConfiguration, AliasProvisionedConcurrencyConfigurationArgs        
- ProvisionedConcurrent intExecutions 
- The amount of provisioned concurrency to allocate for the alias.
- ProvisionedConcurrent intExecutions 
- The amount of provisioned concurrency to allocate for the alias.
- provisionedConcurrent IntegerExecutions 
- The amount of provisioned concurrency to allocate for the alias.
- provisionedConcurrent numberExecutions 
- The amount of provisioned concurrency to allocate for the alias.
- provisioned_concurrent_ intexecutions 
- The amount of provisioned concurrency to allocate for the alias.
- provisionedConcurrent NumberExecutions 
- The amount of provisioned concurrency to allocate for the alias.
AliasRoutingConfiguration, AliasRoutingConfigurationArgs      
- AdditionalVersion List<Pulumi.Weights Aws Native. Lambda. Inputs. Alias Version Weight> 
- The second version, and the percentage of traffic that's routed to it.
- AdditionalVersion []AliasWeights Version Weight 
- The second version, and the percentage of traffic that's routed to it.
- additionalVersion List<AliasWeights Version Weight> 
- The second version, and the percentage of traffic that's routed to it.
- additionalVersion AliasWeights Version Weight[] 
- The second version, and the percentage of traffic that's routed to it.
- additional_version_ Sequence[lambda_.weights Alias Version Weight] 
- The second version, and the percentage of traffic that's routed to it.
- additionalVersion List<Property Map>Weights 
- The second version, and the percentage of traffic that's routed to it.
AliasVersionWeight, AliasVersionWeightArgs      
- FunctionVersion string
- The qualifier of the second version.
- FunctionWeight double
- The percentage of traffic that the alias routes to the second version.
- FunctionVersion string
- The qualifier of the second version.
- FunctionWeight float64
- The percentage of traffic that the alias routes to the second version.
- functionVersion String
- The qualifier of the second version.
- functionWeight Double
- The percentage of traffic that the alias routes to the second version.
- functionVersion string
- The qualifier of the second version.
- functionWeight number
- The percentage of traffic that the alias routes to the second version.
- function_version str
- The qualifier of the second version.
- function_weight float
- The percentage of traffic that the alias routes to the second version.
- functionVersion String
- The qualifier of the second version.
- functionWeight Number
- The percentage of traffic that the alias routes to the second version.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.