AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getPrimaryTaskSet

A pseudo-resource that manages which of your ECS task sets is primary.

Using getPrimaryTaskSet

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 getPrimaryTaskSet(args: GetPrimaryTaskSetArgs, opts?: InvokeOptions): Promise<GetPrimaryTaskSetResult>
function getPrimaryTaskSetOutput(args: GetPrimaryTaskSetOutputArgs, opts?: InvokeOptions): Output<GetPrimaryTaskSetResult>
def get_primary_task_set(cluster: Optional[str] = None,
                         service: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetPrimaryTaskSetResult
def get_primary_task_set_output(cluster: Optional[pulumi.Input[str]] = None,
                         service: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetPrimaryTaskSetResult]
func LookupPrimaryTaskSet(ctx *Context, args *LookupPrimaryTaskSetArgs, opts ...InvokeOption) (*LookupPrimaryTaskSetResult, error)
func LookupPrimaryTaskSetOutput(ctx *Context, args *LookupPrimaryTaskSetOutputArgs, opts ...InvokeOption) LookupPrimaryTaskSetResultOutput

> Note: This function is named LookupPrimaryTaskSet in the Go SDK.

public static class GetPrimaryTaskSet 
{
    public static Task<GetPrimaryTaskSetResult> InvokeAsync(GetPrimaryTaskSetArgs args, InvokeOptions? opts = null)
    public static Output<GetPrimaryTaskSetResult> Invoke(GetPrimaryTaskSetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrimaryTaskSetResult> getPrimaryTaskSet(GetPrimaryTaskSetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:ecs:getPrimaryTaskSet
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Cluster string

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.

Service string

The short name or full Amazon Resource Name (ARN) of the service to create the task set in.

Cluster string

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.

Service string

The short name or full Amazon Resource Name (ARN) of the service to create the task set in.

cluster String

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.

service String

The short name or full Amazon Resource Name (ARN) of the service to create the task set in.

cluster string

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.

service string

The short name or full Amazon Resource Name (ARN) of the service to create the task set in.

cluster str

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.

service str

The short name or full Amazon Resource Name (ARN) of the service to create the task set in.

cluster String

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.

service String

The short name or full Amazon Resource Name (ARN) of the service to create the task set in.

getPrimaryTaskSet Result

The following output properties are available:

TaskSetId string

The ID or full Amazon Resource Name (ARN) of the task set.

TaskSetId string

The ID or full Amazon Resource Name (ARN) of the task set.

taskSetId String

The ID or full Amazon Resource Name (ARN) of the task set.

taskSetId string

The ID or full Amazon Resource Name (ARN) of the task set.

task_set_id str

The ID or full Amazon Resource Name (ARN) of the task set.

taskSetId String

The ID or full Amazon Resource Name (ARN) of the task set.

Package Details

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