We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.14.0 published on Monday, Dec 9, 2024 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.14.0 published on Monday, Dec 9, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:lambda:getAlias
arguments:
# arguments dictionary
The following arguments are supported:
- Alias
Arn string - Lambda Alias ARN generated by the service.
- Alias
Arn string - Lambda Alias ARN generated by the service.
- alias
Arn String - Lambda Alias ARN generated by the service.
- alias
Arn string - Lambda Alias ARN generated by the service.
- alias_
arn str - Lambda Alias ARN generated by the service.
- alias
Arn String - Lambda Alias ARN generated by the service.
getAlias Result
The following output properties are available:
- Alias
Arn string - Lambda Alias ARN generated by the service.
- Description string
- A description of the alias.
- Function
Version string - The function version that the alias invokes.
- Provisioned
Concurrency Pulumi.Config Aws Native. Lambda. Outputs. Alias Provisioned Concurrency Configuration - Specifies a provisioned concurrency configuration for a function's alias.
- Routing
Config Pulumi.Aws Native. Lambda. Outputs. Alias Routing Configuration - The routing configuration of the alias.
- Alias
Arn string - Lambda Alias ARN generated by the service.
- Description string
- A description of the alias.
- Function
Version string - The function version that the alias invokes.
- Provisioned
Concurrency AliasConfig Provisioned Concurrency Configuration - Specifies a provisioned concurrency configuration for a function's alias.
- Routing
Config AliasRouting Configuration - The routing configuration of the alias.
- alias
Arn String - Lambda Alias ARN generated by the service.
- description String
- A description of the alias.
- function
Version String - The function version that the alias invokes.
- provisioned
Concurrency AliasConfig Provisioned Concurrency Configuration - Specifies a provisioned concurrency configuration for a function's alias.
- routing
Config AliasRouting Configuration - The routing configuration of the alias.
- alias
Arn string - Lambda Alias ARN generated by the service.
- description string
- A description of the alias.
- function
Version string - The function version that the alias invokes.
- provisioned
Concurrency AliasConfig Provisioned Concurrency Configuration - Specifies a provisioned concurrency configuration for a function's alias.
- routing
Config 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.
- alias
Arn String - Lambda Alias ARN generated by the service.
- description String
- A description of the alias.
- function
Version String - The function version that the alias invokes.
- provisioned
Concurrency Property MapConfig - Specifies a provisioned concurrency configuration for a function's alias.
- routing
Config Property Map - The routing configuration of the alias.
Supporting Types
AliasProvisionedConcurrencyConfiguration
- Provisioned
Concurrent intExecutions - The amount of provisioned concurrency to allocate for the alias.
- Provisioned
Concurrent intExecutions - The amount of provisioned concurrency to allocate for the alias.
- provisioned
Concurrent IntegerExecutions - The amount of provisioned concurrency to allocate for the alias.
- provisioned
Concurrent numberExecutions - The amount of provisioned concurrency to allocate for the alias.
- provisioned_
concurrent_ intexecutions - The amount of provisioned concurrency to allocate for the alias.
- provisioned
Concurrent NumberExecutions - The amount of provisioned concurrency to allocate for the alias.
AliasRoutingConfiguration
- Additional
Version List<Pulumi.Weights Aws Native. Lambda. Inputs. Alias Version Weight> - The second version, and the percentage of traffic that's routed to it.
- Additional
Version []AliasWeights Version Weight - The second version, and the percentage of traffic that's routed to it.
- additional
Version List<AliasWeights Version Weight> - The second version, and the percentage of traffic that's routed to it.
- additional
Version 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.
- additional
Version List<Property Map>Weights - The second version, and the percentage of traffic that's routed to it.
AliasVersionWeight
- Function
Version string - The qualifier of the second version.
- Function
Weight double - The percentage of traffic that the alias routes to the second version.
- Function
Version string - The qualifier of the second version.
- Function
Weight float64 - The percentage of traffic that the alias routes to the second version.
- function
Version String - The qualifier of the second version.
- function
Weight Double - The percentage of traffic that the alias routes to the second version.
- function
Version string - The qualifier of the second version.
- function
Weight 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.
- function
Version String - The qualifier of the second version.
- function
Weight 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.14.0 published on Monday, Dec 9, 2024 by Pulumi