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.CodeCommit
Assembly: Pulumi.Aws.dll
Syntax
public static class GetRepository

Methods

View Source

InvokeAsync(GetRepositoryArgs, InvokeOptions)

The CodeCommit Repository data source allows the ARN, Repository ID, Repository URL for HTTP and Repository URL for SSH to be retrieved for an CodeCommit repository.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var test = Output.Create(Aws.CodeCommit.GetRepository.InvokeAsync(new Aws.CodeCommit.GetRepositoryArgs
    {
        RepositoryName = "MyTestRepository",
    }));
}

}

{{% /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.