We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.ecs.getClusterCapacityProviderAssociations
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
Associate a set of ECS Capacity Providers with a specified ECS Cluster
Using getClusterCapacityProviderAssociations
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 getClusterCapacityProviderAssociations(args: GetClusterCapacityProviderAssociationsArgs, opts?: InvokeOptions): Promise<GetClusterCapacityProviderAssociationsResult>
function getClusterCapacityProviderAssociationsOutput(args: GetClusterCapacityProviderAssociationsOutputArgs, opts?: InvokeOptions): Output<GetClusterCapacityProviderAssociationsResult>def get_cluster_capacity_provider_associations(cluster: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetClusterCapacityProviderAssociationsResult
def get_cluster_capacity_provider_associations_output(cluster: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetClusterCapacityProviderAssociationsResult]func LookupClusterCapacityProviderAssociations(ctx *Context, args *LookupClusterCapacityProviderAssociationsArgs, opts ...InvokeOption) (*LookupClusterCapacityProviderAssociationsResult, error)
func LookupClusterCapacityProviderAssociationsOutput(ctx *Context, args *LookupClusterCapacityProviderAssociationsOutputArgs, opts ...InvokeOption) LookupClusterCapacityProviderAssociationsResultOutput> Note: This function is named LookupClusterCapacityProviderAssociations in the Go SDK.
public static class GetClusterCapacityProviderAssociations 
{
    public static Task<GetClusterCapacityProviderAssociationsResult> InvokeAsync(GetClusterCapacityProviderAssociationsArgs args, InvokeOptions? opts = null)
    public static Output<GetClusterCapacityProviderAssociationsResult> Invoke(GetClusterCapacityProviderAssociationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetClusterCapacityProviderAssociationsResult> getClusterCapacityProviderAssociations(GetClusterCapacityProviderAssociationsArgs args, InvokeOptions options)
public static Output<GetClusterCapacityProviderAssociationsResult> getClusterCapacityProviderAssociations(GetClusterCapacityProviderAssociationsArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:ecs:getClusterCapacityProviderAssociations
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Cluster string
- The cluster the capacity provider association is the target of.
- Cluster string
- The cluster the capacity provider association is the target of.
- cluster String
- The cluster the capacity provider association is the target of.
- cluster string
- The cluster the capacity provider association is the target of.
- cluster str
- The cluster the capacity provider association is the target of.
- cluster String
- The cluster the capacity provider association is the target of.
getClusterCapacityProviderAssociations Result
The following output properties are available:
- CapacityProviders List<string>
- The capacity providers to associate with the cluster.
- DefaultCapacity List<Pulumi.Provider Strategy Aws Native. Ecs. Outputs. Cluster Capacity Provider Associations Capacity Provider Strategy> 
- The default capacity provider strategy to associate with the cluster.
- CapacityProviders []string
- The capacity providers to associate with the cluster.
- DefaultCapacity []ClusterProvider Strategy Capacity Provider Associations Capacity Provider Strategy 
- The default capacity provider strategy to associate with the cluster.
- capacityProviders List<String>
- The capacity providers to associate with the cluster.
- defaultCapacity List<ClusterProvider Strategy Capacity Provider Associations Capacity Provider Strategy> 
- The default capacity provider strategy to associate with the cluster.
- capacityProviders (ClusterCapacity Provider Associations Capacity Provider | string)[] 
- The capacity providers to associate with the cluster.
- defaultCapacity ClusterProvider Strategy Capacity Provider Associations Capacity Provider Strategy[] 
- The default capacity provider strategy to associate with the cluster.
- capacity_providers Sequence[str]
- The capacity providers to associate with the cluster.
- default_capacity_ Sequence[Clusterprovider_ strategy Capacity Provider Associations Capacity Provider Strategy] 
- The default capacity provider strategy to associate with the cluster.
- capacityProviders List<"FARGATE" | "FARGATE_SPOT" | String>
- The capacity providers to associate with the cluster.
- defaultCapacity List<Property Map>Provider Strategy 
- The default capacity provider strategy to associate with the cluster.
Supporting Types
ClusterCapacityProviderAssociationsCapacityProvider     
ClusterCapacityProviderAssociationsCapacityProviderStrategy      
- capacityProvider ClusterCapacity | StringProvider Associations Capacity Provider 
- base Integer
- weight Integer
- capacityProvider ClusterCapacity | stringProvider Associations Capacity Provider 
- base number
- weight number
- capacityProvider "FARGATE" | "FARGATE_SPOT" | String
- base Number
- weight Number
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.26.0 published on Wednesday, Mar 12, 2025 by Pulumi