1. Packages
  2. AWS Native
  3. API Docs
  4. codeartifact
  5. getRepository

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi

aws-native.codeartifact.getRepository

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi

    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.

    Search the CloudFormation User Guide for AWS::CodeArtifact::Repository for more information about the expected schema for this property.

    Tags List<Pulumi.AwsNative.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.
    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.

    Search the CloudFormation User Guide for AWS::CodeArtifact::Repository for more information about the expected schema for this property.

    Tags 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.
    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.

    Search the CloudFormation User Guide for AWS::CodeArtifact::Repository for more information about the expected schema for this property.

    tags 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.
    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.

    Search the CloudFormation User Guide for AWS::CodeArtifact::Repository for more information about the expected schema for this property.

    tags 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_document Any

    The access control resource policy on the provided repository.

    Search the CloudFormation User Guide for AWS::CodeArtifact::Repository for more information about the expected schema for this property.

    tags 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.
    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.

    Search the CloudFormation User Guide for AWS::CodeArtifact::Repository for more information about the expected schema for this property.

    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

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi