We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.40.0 published on Thursday, Dec 11, 2025 by Pulumi
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.40.0 published on Thursday, Dec 11, 2025 by Pulumi
Resource Type definition for AWS::Lambda::CapacityProvider
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 - The name of the capacity provider. The name must be unique within your AWS account and region. If you don't specify a name, CloudFormation generates one.
- Capacity
Provider stringName - The name of the capacity provider. The name must be unique within your AWS account and region. If you don't specify a name, CloudFormation generates one.
- capacity
Provider StringName - The name of the capacity provider. The name must be unique within your AWS account and region. If you don't specify a name, CloudFormation generates one.
- capacity
Provider stringName - The name of the capacity provider. The name must be unique within your AWS account and region. If you don't specify a name, CloudFormation generates one.
- capacity_
provider_ strname - The name of the capacity provider. The name must be unique within your AWS account and region. If you don't specify a name, CloudFormation generates one.
- capacity
Provider StringName - The name of the capacity provider. The name must be unique within your AWS account and region. If you don't specify a name, CloudFormation generates one.
getCapacityProvider Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the capacity provider. This is a read-only property that is automatically generated when the capacity provider is created.
- 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 list of tags to apply to the capacity provider.
- Arn string
- The Amazon Resource Name (ARN) of the capacity provider. This is a read-only property that is automatically generated when the capacity provider is created.
- 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 list of tags to apply to the capacity provider.
- arn String
- The Amazon Resource Name (ARN) of the capacity provider. This is a read-only property that is automatically generated when the capacity provider is created.
- 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 list of tags to apply to the capacity provider.
- arn string
- The Amazon Resource Name (ARN) of the capacity provider. This is a read-only property that is automatically generated when the capacity provider is created.
- 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 list of tags to apply to the capacity provider.
- arn str
- The Amazon Resource Name (ARN) of the capacity provider. This is a read-only property that is automatically generated when the capacity provider is created.
- 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 list of tags to apply to the capacity provider.
- arn String
- The Amazon Resource Name (ARN) of the capacity provider. This is a read-only property that is automatically generated when the capacity provider is created.
- 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 list of tags to apply to the capacity provider.
Supporting Types
CapacityProviderPredefinedMetricType
CapacityProviderScalingConfig
- Max
VCpu intCount - The maximum number of EC2 instances that the capacity provider can scale up to.
- Scaling
Mode Pulumi.Aws Native. Lambda. Capacity Provider Scaling Mode - 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 EC2 instances that the capacity provider can scale up to.
- Scaling
Mode CapacityProvider Scaling Mode - 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 EC2 instances that the capacity provider can scale up to.
- scaling
Mode CapacityProvider Scaling Mode - 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 EC2 instances that the capacity provider can scale up to.
- scaling
Mode CapacityProvider Scaling Mode - 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 EC2 instances that the capacity provider can scale up to.
- scaling_
mode CapacityProvider Scaling Mode - 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 EC2 instances that the capacity provider can scale up to.
- scaling
Mode "Auto" | "Manual" - 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 - Target
Value double - The target value for the metric as a percentage (for example, 70.0 for 70%).
- Predefined
Metric CapacityType Provider Predefined Metric Type - Target
Value float64 - The target value for the metric as a percentage (for example, 70.0 for 70%).
- predefined
Metric CapacityType Provider Predefined Metric Type - target
Value Double - The target value for the metric as a percentage (for example, 70.0 for 70%).
- predefined
Metric CapacityType Provider Predefined Metric Type - target
Value number - The target value for the metric as a percentage (for example, 70.0 for 70%).
- predefined_
metric_ Capacitytype Provider Predefined Metric Type - target_
value float - The target value for the metric as a percentage (for example, 70.0 for 70%).
- predefined
Metric "LambdaType Capacity Provider Average CPUUtilization" - target
Value Number - The target value for the metric as a percentage (for example, 70.0 for 70%).
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.40.0 published on Thursday, Dec 11, 2025 by Pulumi
