1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. lambda
  5. getAlias

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

aws-native logo

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:

    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.
    ProvisionedConcurrencyConfig Pulumi.AwsNative.Lambda.Outputs.AliasProvisionedConcurrencyConfiguration
    Specifies a provisioned concurrency configuration for a function's alias.
    RoutingConfig Pulumi.AwsNative.Lambda.Outputs.AliasRoutingConfiguration
    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.
    ProvisionedConcurrencyConfig AliasProvisionedConcurrencyConfiguration
    Specifies a provisioned concurrency configuration for a function's alias.
    RoutingConfig AliasRoutingConfiguration
    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.
    provisionedConcurrencyConfig AliasProvisionedConcurrencyConfiguration
    Specifies a provisioned concurrency configuration for a function's alias.
    routingConfig AliasRoutingConfiguration
    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.
    provisionedConcurrencyConfig AliasProvisionedConcurrencyConfiguration
    Specifies a provisioned concurrency configuration for a function's alias.
    routingConfig AliasRoutingConfiguration
    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_config lambda_.AliasProvisionedConcurrencyConfiguration
    Specifies a provisioned concurrency configuration for a function's alias.
    routing_config lambda_.AliasRoutingConfiguration
    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.
    provisionedConcurrencyConfig Property Map
    Specifies a provisioned concurrency configuration for a function's alias.
    routingConfig Property Map
    The routing configuration of the alias.

    Supporting Types

    AliasProvisionedConcurrencyConfiguration

    ProvisionedConcurrentExecutions int
    The amount of provisioned concurrency to allocate for the alias.
    ProvisionedConcurrentExecutions int
    The amount of provisioned concurrency to allocate for the alias.
    provisionedConcurrentExecutions Integer
    The amount of provisioned concurrency to allocate for the alias.
    provisionedConcurrentExecutions number
    The amount of provisioned concurrency to allocate for the alias.
    provisioned_concurrent_executions int
    The amount of provisioned concurrency to allocate for the alias.
    provisionedConcurrentExecutions Number
    The amount of provisioned concurrency to allocate for the alias.

    AliasRoutingConfiguration

    AdditionalVersionWeights List<Pulumi.AwsNative.Lambda.Inputs.AliasVersionWeight>
    The second version, and the percentage of traffic that's routed to it.
    AdditionalVersionWeights []AliasVersionWeight
    The second version, and the percentage of traffic that's routed to it.
    additionalVersionWeights List<AliasVersionWeight>
    The second version, and the percentage of traffic that's routed to it.
    additionalVersionWeights AliasVersionWeight[]
    The second version, and the percentage of traffic that's routed to it.
    additional_version_weights Sequence[lambda_.AliasVersionWeight]
    The second version, and the percentage of traffic that's routed to it.
    additionalVersionWeights List<Property Map>
    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
    aws-native logo

    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