We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.ecs.getClusterCapacityProviderAssociations
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 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)
// 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
- 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:
- Capacity
Providers List<string> - The capacity providers to associate with the cluster.
- Default
Capacity 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.
- Capacity
Providers []string - The capacity providers to associate with the cluster.
- Default
Capacity []ClusterProvider Strategy Capacity Provider Associations Capacity Provider Strategy - The default capacity provider strategy to associate with the cluster.
- capacity
Providers List<String> - The capacity providers to associate with the cluster.
- default
Capacity List<ClusterProvider Strategy Capacity Provider Associations Capacity Provider Strategy> - The default capacity provider strategy to associate with the cluster.
- capacity
Providers (ClusterCapacity Provider Associations Capacity Provider | string)[] - The capacity providers to associate with the cluster.
- default
Capacity 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.
- capacity
Providers List<"FARGATE" | "FARGATE_SPOT" | String> - The capacity providers to associate with the cluster.
- default
Capacity List<Property Map>Provider Strategy - The default capacity provider strategy to associate with the cluster.
Supporting Types
ClusterCapacityProviderAssociationsCapacityProvider
ClusterCapacityProviderAssociationsCapacityProviderStrategy
- capacity
Provider ClusterCapacity | StringProvider Associations Capacity Provider - base Integer
- weight Integer
- capacity
Provider ClusterCapacity | stringProvider Associations Capacity Provider - base number
- weight number
- capacity
Provider "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 Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi