Show / Hide Table of Contents

Class GetRepository

Inheritance
System.Object
GetRepository
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.Ecr
Assembly: Pulumi.Aws.dll
Syntax
public static class GetRepository

Methods

View Source

InvokeAsync(GetRepositoryArgs, InvokeOptions)

The ECR Repository data source allows the ARN, Repository URI and Registry ID to be retrieved for an ECR repository.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var service = Output.Create(Aws.Ecr.GetRepository.InvokeAsync(new Aws.Ecr.GetRepositoryArgs
    {
        Name = "ecr-repository",
    }));
}

}

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

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