AWS Native is in preview. AWS Classic is fully supported.
aws-native.codeartifact.getRepository
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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 dictionaryThe 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.
 - External
Connections List<string> - A list of external connections associated with the repository.
 - Name string
 - The name of the repository. This is used for GetAtt
 - Permissions
Policy objectDocument  The access control resource policy on the provided repository.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Repositoryfor more information about the expected schema for this property.- 
List<Pulumi.
Aws Native. Outputs. Tag>  - 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.
 - External
Connections []string - A list of external connections associated with the repository.
 - Name string
 - The name of the repository. This is used for GetAtt
 - Permissions
Policy interface{}Document  The access control resource policy on the provided repository.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Repositoryfor more information about the expected schema for this property.- Tag
 - 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.
 - external
Connections List<String> - A list of external connections associated with the repository.
 - name String
 - The name of the repository. This is used for GetAtt
 - permissions
Policy ObjectDocument  The access control resource policy on the provided repository.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Repositoryfor more information about the expected schema for this property.- List<Tag>
 - 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.
 - external
Connections string[] - A list of external connections associated with the repository.
 - name string
 - The name of the repository. This is used for GetAtt
 - permissions
Policy anyDocument  The access control resource policy on the provided repository.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Repositoryfor more information about the expected schema for this property.- Tag[]
 - 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_ Anydocument  The access control resource policy on the provided repository.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Repositoryfor more information about the expected schema for this property.- Sequence[root_Tag]
 - 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.
 - external
Connections List<String> - A list of external connections associated with the repository.
 - name String
 - The name of the repository. This is used for GetAtt
 - permissions
Policy AnyDocument  The access control resource policy on the provided repository.
Search the CloudFormation User Guide for
AWS::CodeArtifact::Repositoryfor more information about the expected schema for this property.- 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
Tag
Package Details
- Repository
 - AWS Native pulumi/pulumi-aws-native
 - License
 - Apache-2.0
 
AWS Native is in preview. AWS Classic is fully supported.