Show / Hide Table of Contents

Class GetContainerDefinition

Inheritance
System.Object
GetContainerDefinition
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ecs
Assembly: Pulumi.Aws.dll
Syntax
public static class GetContainerDefinition

Methods

View Source

InvokeAsync(GetContainerDefinitionArgs, InvokeOptions)

The ECS container definition data source allows access to details of a specific container within an AWS ECS service.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var ecs_mongo = Output.Create(Aws.Ecs.GetContainerDefinition.InvokeAsync(new Aws.Ecs.GetContainerDefinitionArgs
    {
        ContainerName = "mongodb",
        TaskDefinition = aws_ecs_task_definition.Mongo.Id,
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetContainerDefinitionResult> InvokeAsync(GetContainerDefinitionArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetContainerDefinitionArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetContainerDefinitionResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.