We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.ecs.getPrimaryTaskSet
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
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:
getPrimaryTaskSet Result
The following output properties are available:
- Task
Set stringId - The ID or full Amazon Resource Name (ARN) of the task set.
- Task
Set stringId - The ID or full Amazon Resource Name (ARN) of the task set.
- task
Set StringId - The ID or full Amazon Resource Name (ARN) of the task set.
- task
Set stringId - The ID or full Amazon Resource Name (ARN) of the task set.
- task_
set_ strid - The ID or full Amazon Resource Name (ARN) of the task set.
- task
Set StringId - The ID or full Amazon Resource Name (ARN) of the task set.
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 Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi