We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.56.0 published on Monday, Mar 2, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.56.0 published on Monday, Mar 2, 2026 by Pulumi
Creates a capacity provider that manages compute resources for Lambda functions
Using getCapacityProvider
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 getCapacityProvider(args: GetCapacityProviderArgs, opts?: InvokeOptions): Promise<GetCapacityProviderResult>
function getCapacityProviderOutput(args: GetCapacityProviderOutputArgs, opts?: InvokeOptions): Output<GetCapacityProviderResult>def get_capacity_provider(capacity_provider_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCapacityProviderResult
def get_capacity_provider_output(capacity_provider_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCapacityProviderResult]func LookupCapacityProvider(ctx *Context, args *LookupCapacityProviderArgs, opts ...InvokeOption) (*LookupCapacityProviderResult, error)
func LookupCapacityProviderOutput(ctx *Context, args *LookupCapacityProviderOutputArgs, opts ...InvokeOption) LookupCapacityProviderResultOutput> Note: This function is named LookupCapacityProvider in the Go SDK.
public static class GetCapacityProvider
{
public static Task<GetCapacityProviderResult> InvokeAsync(GetCapacityProviderArgs args, InvokeOptions? opts = null)
public static Output<GetCapacityProviderResult> Invoke(GetCapacityProviderInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCapacityProviderResult> getCapacityProvider(GetCapacityProviderArgs args, InvokeOptions options)
public static Output<GetCapacityProviderResult> getCapacityProvider(GetCapacityProviderArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:lambda:getCapacityProvider
arguments:
# arguments dictionaryThe following arguments are supported:
- Capacity
Provider stringName
- Capacity
Provider stringName
- capacity
Provider StringName
- capacity
Provider stringName
- capacity
Provider StringName
getCapacityProvider Result
The following output properties are available:
- Arn string
- Capacity
Provider Pulumi.Scaling Config Aws Native. Lambda. Outputs. Capacity Provider Scaling Config - The scaling configuration for the capacity provider.
- State
Pulumi.
Aws Native. Lambda. Capacity Provider State - The current state of the capacity provider.
-
List<Pulumi.
Aws Native. Outputs. Tag> - A key-value pair that provides metadata for the capacity provider.
- Arn string
- Capacity
Provider CapacityScaling Config Provider Scaling Config - The scaling configuration for the capacity provider.
- State
Capacity
Provider State Enum - The current state of the capacity provider.
- Tag
- A key-value pair that provides metadata for the capacity provider.
- arn String
- capacity
Provider CapacityScaling Config Provider Scaling Config - The scaling configuration for the capacity provider.
- state
Capacity
Provider State - The current state of the capacity provider.
- List<Tag>
- A key-value pair that provides metadata for the capacity provider.
- arn string
- capacity
Provider CapacityScaling Config Provider Scaling Config - The scaling configuration for the capacity provider.
- state
Capacity
Provider State - The current state of the capacity provider.
- Tag[]
- A key-value pair that provides metadata for the capacity provider.
- arn str
- capacity_
provider_ Capacityscaling_ config Provider Scaling Config - The scaling configuration for the capacity provider.
- state
Capacity
Provider State - The current state of the capacity provider.
- Sequence[root_Tag]
- A key-value pair that provides metadata for the capacity provider.
- arn String
- capacity
Provider Property MapScaling Config - The scaling configuration for the capacity provider.
- state "Pending" | "Active" | "Failed" | "Deleting"
- The current state of the capacity provider.
- List<Property Map>
- A key-value pair that provides metadata for the capacity provider.
Supporting Types
CapacityProviderPredefinedMetricType
CapacityProviderScalingConfig
- Max
VCpu intCount - The maximum number of vCPUs that the capacity provider can provision across all compute instances.
- Scaling
Mode Pulumi.Aws Native. Lambda. Capacity Provider Scaling Mode - The scaling mode that determines how the capacity provider responds to changes in demand.
- Scaling
Policies List<Pulumi.Aws Native. Lambda. Inputs. Capacity Provider Target Tracking Scaling Policy> - A list of target tracking scaling policies for the capacity provider.
- Max
VCpu intCount - The maximum number of vCPUs that the capacity provider can provision across all compute instances.
- Scaling
Mode CapacityProvider Scaling Mode - The scaling mode that determines how the capacity provider responds to changes in demand.
- Scaling
Policies []CapacityProvider Target Tracking Scaling Policy - A list of target tracking scaling policies for the capacity provider.
- max
VCpu IntegerCount - The maximum number of vCPUs that the capacity provider can provision across all compute instances.
- scaling
Mode CapacityProvider Scaling Mode - The scaling mode that determines how the capacity provider responds to changes in demand.
- scaling
Policies List<CapacityProvider Target Tracking Scaling Policy> - A list of target tracking scaling policies for the capacity provider.
- max
VCpu numberCount - The maximum number of vCPUs that the capacity provider can provision across all compute instances.
- scaling
Mode CapacityProvider Scaling Mode - The scaling mode that determines how the capacity provider responds to changes in demand.
- scaling
Policies CapacityProvider Target Tracking Scaling Policy[] - A list of target tracking scaling policies for the capacity provider.
- max_
v_ intcpu_ count - The maximum number of vCPUs that the capacity provider can provision across all compute instances.
- scaling_
mode CapacityProvider Scaling Mode - The scaling mode that determines how the capacity provider responds to changes in demand.
- scaling_
policies Sequence[CapacityProvider Target Tracking Scaling Policy] - A list of target tracking scaling policies for the capacity provider.
- max
VCpu NumberCount - The maximum number of vCPUs that the capacity provider can provision across all compute instances.
- scaling
Mode "Auto" | "Manual" - The scaling mode that determines how the capacity provider responds to changes in demand.
- scaling
Policies List<Property Map> - A list of target tracking scaling policies for the capacity provider.
CapacityProviderScalingMode
CapacityProviderState
CapacityProviderTargetTrackingScalingPolicy
- Predefined
Metric Pulumi.Type Aws Native. Lambda. Capacity Provider Predefined Metric Type - The predefined metric type to track for scaling decisions.
- Target
Value double - The target value for the metric that the scaling policy attempts to maintain through scaling actions.
- Predefined
Metric CapacityType Provider Predefined Metric Type - The predefined metric type to track for scaling decisions.
- Target
Value float64 - The target value for the metric that the scaling policy attempts to maintain through scaling actions.
- predefined
Metric CapacityType Provider Predefined Metric Type - The predefined metric type to track for scaling decisions.
- target
Value Double - The target value for the metric that the scaling policy attempts to maintain through scaling actions.
- predefined
Metric CapacityType Provider Predefined Metric Type - The predefined metric type to track for scaling decisions.
- target
Value number - The target value for the metric that the scaling policy attempts to maintain through scaling actions.
- predefined_
metric_ Capacitytype Provider Predefined Metric Type - The predefined metric type to track for scaling decisions.
- target_
value float - The target value for the metric that the scaling policy attempts to maintain through scaling actions.
- predefined
Metric "LambdaType Capacity Provider Average CPUUtilization" - The predefined metric type to track for scaling decisions.
- target
Value Number - The target value for the metric that the scaling policy attempts to maintain through scaling actions.
Tag
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.56.0 published on Monday, Mar 2, 2026 by Pulumi
