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:
getTaskSet Result
The following output properties are available:
- Id string
The ID of the task set.
- Scale
Pulumi.
Aws Native. ECS. Outputs. Task Set Scale 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
Task
Set Scale 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
Task
Set Scale 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
Task
Set Scale 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
Task
Set Scale 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.
Aws Native. ECS. Task Set Scale Unit 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
Task
Set Scale Unit 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
Task
Set Scale Unit 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
Task
Set Scale Unit 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
Task
Set Scale Unit 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.
TaskSetScaleUnit
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0