AWS Native

v0.43.0 published on Thursday, Dec 1, 2022 by Pulumi

getClusterCapacityProviderAssociations

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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:ecs:getClusterCapacityProviderAssociations
  arguments:
    # arguments dictionary

The following arguments are supported:

Cluster string
Cluster string
cluster String
cluster string
cluster String

getClusterCapacityProviderAssociations Result

The following output properties are available:

Supporting Types

ClusterCapacityProviderAssociationsCapacityProvider

ClusterCapacityProviderAssociationsCapacityProviderStrategy

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0