AWS Native

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

getRepository

The resource schema to create a CodeArtifact repository.

Using getRepository

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 getRepository(args: GetRepositoryArgs, opts?: InvokeOptions): Promise<GetRepositoryResult>
function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: InvokeOptions): Output<GetRepositoryResult>
def get_repository(arn: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetRepositoryResult
def get_repository_output(arn: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetRepositoryResult]
func LookupRepository(ctx *Context, args *LookupRepositoryArgs, opts ...InvokeOption) (*LookupRepositoryResult, error)
func LookupRepositoryOutput(ctx *Context, args *LookupRepositoryOutputArgs, opts ...InvokeOption) LookupRepositoryResultOutput

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

public static class GetRepository 
{
    public static Task<GetRepositoryResult> InvokeAsync(GetRepositoryArgs args, InvokeOptions? opts = null)
    public static Output<GetRepositoryResult> Invoke(GetRepositoryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:codeartifact:getRepository
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Arn string

The ARN of the repository.

Arn string

The ARN of the repository.

arn String

The ARN of the repository.

arn string

The ARN of the repository.

arn str

The ARN of the repository.

arn String

The ARN of the repository.

getRepository Result

The following output properties are available:

Arn string

The ARN of the repository.

Description string

A text description of the repository.

ExternalConnections List<string>

A list of external connections associated with the repository.

Name string

The name of the repository. This is used for GetAtt

PermissionsPolicyDocument object

The access control resource policy on the provided repository.

Tags List<Pulumi.AwsNative.CodeArtifact.Outputs.RepositoryTag>

An array of key-value pairs to apply to this resource.

Upstreams List<string>

A list of upstream repositories associated with the repository.

Arn string

The ARN of the repository.

Description string

A text description of the repository.

ExternalConnections []string

A list of external connections associated with the repository.

Name string

The name of the repository. This is used for GetAtt

PermissionsPolicyDocument interface{}

The access control resource policy on the provided repository.

Tags []RepositoryTag

An array of key-value pairs to apply to this resource.

Upstreams []string

A list of upstream repositories associated with the repository.

arn String

The ARN of the repository.

description String

A text description of the repository.

externalConnections List<String>

A list of external connections associated with the repository.

name String

The name of the repository. This is used for GetAtt

permissionsPolicyDocument Object

The access control resource policy on the provided repository.

tags List<RepositoryTag>

An array of key-value pairs to apply to this resource.

upstreams List<String>

A list of upstream repositories associated with the repository.

arn string

The ARN of the repository.

description string

A text description of the repository.

externalConnections string[]

A list of external connections associated with the repository.

name string

The name of the repository. This is used for GetAtt

permissionsPolicyDocument any

The access control resource policy on the provided repository.

tags RepositoryTag[]

An array of key-value pairs to apply to this resource.

upstreams string[]

A list of upstream repositories associated with the repository.

arn str

The ARN of the repository.

description str

A text description of the repository.

external_connections Sequence[str]

A list of external connections associated with the repository.

name str

The name of the repository. This is used for GetAtt

permissions_policy_document Any

The access control resource policy on the provided repository.

tags Sequence[RepositoryTag]

An array of key-value pairs to apply to this resource.

upstreams Sequence[str]

A list of upstream repositories associated with the repository.

arn String

The ARN of the repository.

description String

A text description of the repository.

externalConnections List<String>

A list of external connections associated with the repository.

name String

The name of the repository. This is used for GetAtt

permissionsPolicyDocument Any

The access control resource policy on the provided repository.

tags List<Property Map>

An array of key-value pairs to apply to this resource.

upstreams List<String>

A list of upstream repositories associated with the repository.

Supporting Types

RepositoryTag

Key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key str

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value str

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Package Details

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