AWS Native

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

getTaskDefinition

Resource Schema describing various properties for ECS TaskDefinition

Using getTaskDefinition

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 getTaskDefinition(args: GetTaskDefinitionArgs, opts?: InvokeOptions): Promise<GetTaskDefinitionResult>
function getTaskDefinitionOutput(args: GetTaskDefinitionOutputArgs, opts?: InvokeOptions): Output<GetTaskDefinitionResult>
def get_task_definition(task_definition_arn: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetTaskDefinitionResult
def get_task_definition_output(task_definition_arn: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetTaskDefinitionResult]
func LookupTaskDefinition(ctx *Context, args *LookupTaskDefinitionArgs, opts ...InvokeOption) (*LookupTaskDefinitionResult, error)
func LookupTaskDefinitionOutput(ctx *Context, args *LookupTaskDefinitionOutputArgs, opts ...InvokeOption) LookupTaskDefinitionResultOutput

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

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

The following arguments are supported:

TaskDefinitionArn string

The Amazon Resource Name (ARN) of the Amazon ECS task definition

TaskDefinitionArn string

The Amazon Resource Name (ARN) of the Amazon ECS task definition

taskDefinitionArn String

The Amazon Resource Name (ARN) of the Amazon ECS task definition

taskDefinitionArn string

The Amazon Resource Name (ARN) of the Amazon ECS task definition

task_definition_arn str

The Amazon Resource Name (ARN) of the Amazon ECS task definition

taskDefinitionArn String

The Amazon Resource Name (ARN) of the Amazon ECS task definition

getTaskDefinition Result

The following output properties are available:

Tags List<Pulumi.AwsNative.ECS.Outputs.TaskDefinitionTag>
TaskDefinitionArn string

The Amazon Resource Name (ARN) of the Amazon ECS task definition

Tags []TaskDefinitionTag
TaskDefinitionArn string

The Amazon Resource Name (ARN) of the Amazon ECS task definition

tags List<TaskDefinitionTag>
taskDefinitionArn String

The Amazon Resource Name (ARN) of the Amazon ECS task definition

tags TaskDefinitionTag[]
taskDefinitionArn string

The Amazon Resource Name (ARN) of the Amazon ECS task definition

tags Sequence[TaskDefinitionTag]
task_definition_arn str

The Amazon Resource Name (ARN) of the Amazon ECS task definition

tags List<Property Map>
taskDefinitionArn String

The Amazon Resource Name (ARN) of the Amazon ECS task definition

Supporting Types

TaskDefinitionTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

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