Skip to content

Returns a list of capacity providers in your account

Description

Returns a list of capacity providers in your account.

Usage

lambda_list_capacity_providers(State, Marker, MaxItems)

Arguments

  • State

Filter capacity providers by their current state.

  • Marker

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

  • MaxItems

The maximum number of capacity providers to return.

Value

A list with the following syntax:

list(
  CapacityProviders = list(
    list(
      CapacityProviderArn = "string",
      State = "Pending"|"Active"|"Failed"|"Deleting",
      VpcConfig = list(
        SubnetIds = list(
          "string"
        ),
        SecurityGroupIds = list(
          "string"
        )
      ),
      PermissionsConfig = list(
        CapacityProviderOperatorRoleArn = "string"
      ),
      InstanceRequirements = list(
        Architectures = list(
          "x86_64"|"arm64"
        ),
        AllowedInstanceTypes = list(
          "string"
        ),
        ExcludedInstanceTypes = list(
          "string"
        )
      ),
      CapacityProviderScalingConfig = list(
        MaxVCpuCount = 123,
        ScalingMode = "Auto"|"Manual",
        ScalingPolicies = list(
          list(
            PredefinedMetricType = "LambdaCapacityProviderAverageCPUUtilization",
            TargetValue = 123.0
          )
        )
      ),
      KmsKeyArn = "string",
      LastModified = "string",
      PropagateTags = list(
        Mode = "None"|"Explicit",
        ExplicitTags = list(
          "string"
        )
      ),
      TelemetryConfig = list(
        LoggingConfig = list(
          SystemLogLevel = "DEBUG"|"INFO"|"WARN",
          LogGroup = "string"
        )
      )
    )
  ),
  NextMarker = "string"
)

Request syntax

svc$list_capacity_providers(
  State = "Pending"|"Active"|"Failed"|"Deleting",
  Marker = "string",
  MaxItems = 123
)