aws-native logo
AWS Native v0.55.0, Mar 28 23

aws-native.ecs.getTaskSet

Create a task set in the specified cluster and service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.htmlin the Amazon Elastic Container Service Developer Guide.

Using getTaskSet

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 getTaskSet(args: GetTaskSetArgs, opts?: InvokeOptions): Promise<GetTaskSetResult>
function getTaskSetOutput(args: GetTaskSetOutputArgs, opts?: InvokeOptions): Output<GetTaskSetResult>
def get_task_set(cluster: Optional[str] = None,
                 id: Optional[str] = None,
                 service: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetTaskSetResult
def get_task_set_output(cluster: Optional[pulumi.Input[str]] = None,
                 id: Optional[pulumi.Input[str]] = None,
                 service: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetTaskSetResult]
func LookupTaskSet(ctx *Context, args *LookupTaskSetArgs, opts ...InvokeOption) (*LookupTaskSetResult, error)
func LookupTaskSetOutput(ctx *Context, args *LookupTaskSetOutputArgs, opts ...InvokeOption) LookupTaskSetResultOutput

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

public static class GetTaskSet 
{
    public static Task<GetTaskSetResult> InvokeAsync(GetTaskSetArgs args, InvokeOptions? opts = null)
    public static Output<GetTaskSetResult> Invoke(GetTaskSetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTaskSetResult> getTaskSet(GetTaskSetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:ecs:getTaskSet
  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.

Id string

The ID of the task set.

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.

Id string

The ID of the task set.

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.

id String

The ID of the task set.

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.

id string

The ID of the task set.

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.

id str

The ID of the task set.

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.

id String

The ID of the task set.

service String

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

getTaskSet Result

The following output properties are available:

Id string

The ID of the task set.

Scale Pulumi.AwsNative.ECS.Outputs.TaskSetScale

A floating-point percentage of the desired number of tasks to place and keep running in the task set.

Id string

The ID of the task set.

Scale TaskSetScale

A floating-point percentage of the desired number of tasks to place and keep running in the task set.

id String

The ID of the task set.

scale TaskSetScale

A floating-point percentage of the desired number of tasks to place and keep running in the task set.

id string

The ID of the task set.

scale TaskSetScale

A floating-point percentage of the desired number of tasks to place and keep running in the task set.

id str

The ID of the task set.

scale TaskSetScale

A floating-point percentage of the desired number of tasks to place and keep running in the task set.

id String

The ID of the task set.

scale Property Map

A floating-point percentage of the desired number of tasks to place and keep running in the task set.

Supporting Types

TaskSetScale

Unit Pulumi.AwsNative.ECS.TaskSetScaleUnit

The unit of measure for the scale value.

Value double

The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.

Unit TaskSetScaleUnit

The unit of measure for the scale value.

Value float64

The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.

unit TaskSetScaleUnit

The unit of measure for the scale value.

value Double

The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.

unit TaskSetScaleUnit

The unit of measure for the scale value.

value number

The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.

unit TaskSetScaleUnit

The unit of measure for the scale value.

value float

The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.

unit "PERCENT"

The unit of measure for the scale value.

value Number

The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.

TaskSetScaleUnit

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0