AWS Native is in preview. AWS Classic is fully supported.
aws-native.lambda.Alias
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const examplealiasResourceResourceFromLambda = new aws_native.lambda.Alias("examplealiasResourceResourceFromLambda", {
functionName: "string",
functionVersion: "string",
description: "string",
name: "string",
provisionedConcurrencyConfig: {
provisionedConcurrentExecutions: 0,
},
routingConfig: {
additionalVersionWeights: [{
functionVersion: "string",
functionWeight: 0,
}],
},
});
Coming soon!
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
The Alias resource accepts the following input properties:
- function
Name String - function
Version String - description String
- name String
- provisioned
Concurrency Property MapConfig - routing
Config Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Alias resource produces the following output properties:
Supporting Types
AliasProvisionedConcurrencyConfiguration, AliasProvisionedConcurrencyConfigurationArgs
- provisioned
Concurrent IntegerExecutions
AliasRoutingConfiguration, AliasRoutingConfigurationArgs
AliasVersionWeight, AliasVersionWeightArgs
- Function
Version string - Function
Weight double
- Function
Version string - Function
Weight float64
- function
Version String - function
Weight Double
- function
Version string - function
Weight number
- function_
version str - function_
weight float
- function
Version String - function
Weight Number
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.