Show / Hide Table of Contents

Class ProvisionedConcurrencyConfig

Manages a Lambda Provisioned Concurrency Configuration.

Example Usage

Alias Name

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.Lambda.ProvisionedConcurrencyConfig("example", new Aws.Lambda.ProvisionedConcurrencyConfigArgs
    {
        FunctionName = aws_lambda_alias.Example.Function_name,
        ProvisionedConcurrentExecutions = 1,
        Qualifier = aws_lambda_alias.Example.Name,
    });
}

}

Function Version

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.Lambda.ProvisionedConcurrencyConfig("example", new Aws.Lambda.ProvisionedConcurrencyConfigArgs
    {
        FunctionName = aws_lambda_function.Example.Function_name,
        ProvisionedConcurrentExecutions = 1,
        Qualifier = aws_lambda_function.Example.Version,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
ProvisionedConcurrencyConfig
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Lambda
Assembly: Pulumi.Aws.dll
Syntax
public class ProvisionedConcurrencyConfig : CustomResource

Constructors

View Source

ProvisionedConcurrencyConfig(String, ProvisionedConcurrencyConfigArgs, CustomResourceOptions)

Create a ProvisionedConcurrencyConfig resource with the given unique name, arguments, and options.

Declaration
public ProvisionedConcurrencyConfig(string name, ProvisionedConcurrencyConfigArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ProvisionedConcurrencyConfigArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

FunctionName

Name or Amazon Resource Name (ARN) of the Lambda Function.

Declaration
public Output<string> FunctionName { get; }
Property Value
Type Description
Output<System.String>
View Source

ProvisionedConcurrentExecutions

Amount of capacity to allocate. Must be greater than or equal to 1.

Declaration
public Output<int> ProvisionedConcurrentExecutions { get; }
Property Value
Type Description
Output<System.Int32>
View Source

Qualifier

Lambda Function version or Lambda Alias name.

Declaration
public Output<string> Qualifier { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ProvisionedConcurrencyConfigState, CustomResourceOptions)

Get an existing ProvisionedConcurrencyConfig resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ProvisionedConcurrencyConfig Get(string name, Input<string> id, ProvisionedConcurrencyConfigState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ProvisionedConcurrencyConfigState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ProvisionedConcurrencyConfig
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.