We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.lambda.getAlias
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
Resource Type definition for AWS::Lambda::Alias
Using getAlias
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAlias(args: GetAliasArgs, opts?: InvokeOptions): Promise<GetAliasResult>
function getAliasOutput(args: GetAliasOutputArgs, opts?: InvokeOptions): Output<GetAliasResult>def get_alias(alias_arn: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetAliasResult
def get_alias_output(alias_arn: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetAliasResult]func LookupAlias(ctx *Context, args *LookupAliasArgs, opts ...InvokeOption) (*LookupAliasResult, error)
func LookupAliasOutput(ctx *Context, args *LookupAliasOutputArgs, opts ...InvokeOption) LookupAliasResultOutput> Note: This function is named LookupAlias in the Go SDK.
public static class GetAlias 
{
    public static Task<GetAliasResult> InvokeAsync(GetAliasArgs args, InvokeOptions? opts = null)
    public static Output<GetAliasResult> Invoke(GetAliasInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAliasResult> getAlias(GetAliasArgs args, InvokeOptions options)
public static Output<GetAliasResult> getAlias(GetAliasArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:lambda:getAlias
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AliasArn string
- Lambda Alias ARN generated by the service.
- AliasArn string
- Lambda Alias ARN generated by the service.
- aliasArn String
- Lambda Alias ARN generated by the service.
- aliasArn string
- Lambda Alias ARN generated by the service.
- alias_arn str
- Lambda Alias ARN generated by the service.
- aliasArn String
- Lambda Alias ARN generated by the service.
getAlias Result
The following output properties are available:
- AliasArn string
- Lambda Alias ARN generated by the service.
- Description string
- A description of the alias.
- FunctionVersion string
- The function version that the alias invokes.
- ProvisionedConcurrency Pulumi.Config Aws Native. Lambda. Outputs. Alias Provisioned Concurrency Configuration 
- Specifies a provisioned concurrency configuration for a function's alias.
- RoutingConfig Pulumi.Aws Native. Lambda. Outputs. Alias Routing Configuration 
- The routing configuration of the alias.
- AliasArn string
- Lambda Alias ARN generated by the service.
- Description string
- A description of the alias.
- FunctionVersion string
- The function version that the alias invokes.
- ProvisionedConcurrency AliasConfig Provisioned Concurrency Configuration 
- Specifies a provisioned concurrency configuration for a function's alias.
- RoutingConfig AliasRouting Configuration 
- The routing configuration of the alias.
- aliasArn String
- Lambda Alias ARN generated by the service.
- description String
- A description of the alias.
- functionVersion String
- The function version that the alias invokes.
- provisionedConcurrency AliasConfig Provisioned Concurrency Configuration 
- Specifies a provisioned concurrency configuration for a function's alias.
- routingConfig AliasRouting Configuration 
- The routing configuration of the alias.
- aliasArn string
- Lambda Alias ARN generated by the service.
- description string
- A description of the alias.
- functionVersion string
- The function version that the alias invokes.
- provisionedConcurrency AliasConfig Provisioned Concurrency Configuration 
- Specifies a provisioned concurrency configuration for a function's alias.
- routingConfig AliasRouting Configuration 
- The routing configuration of the alias.
- alias_arn str
- Lambda Alias ARN generated by the service.
- description str
- A description of the alias.
- function_version str
- The function version that the alias invokes.
- provisioned_concurrency_ lambda_.config Alias Provisioned Concurrency Configuration 
- Specifies a provisioned concurrency configuration for a function's alias.
- routing_config lambda_.Alias Routing Configuration 
- The routing configuration of the alias.
- aliasArn String
- Lambda Alias ARN generated by the service.
- description String
- A description of the alias.
- functionVersion String
- The function version that the alias invokes.
- provisionedConcurrency Property MapConfig 
- Specifies a provisioned concurrency configuration for a function's alias.
- routingConfig Property Map
- The routing configuration of the alias.
Supporting Types
AliasProvisionedConcurrencyConfiguration   
- 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  
- 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  
- 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.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi