import * as core from "@terrascript/core"; export interface ExternalConnectionsArgs extends core.SchemaArgs { externalConnectionName: string | core.StringOut; packageFormat: string | core.StringOut; status: string | core.StringOut; } export declare class ExternalConnections extends core.Schema { externalConnectionName: string | core.StringOut; packageFormat: string | core.StringOut; status: string | core.StringOut; } export interface UpstreamArgs extends core.SchemaArgs { repositoryName: string | core.StringOut; } export declare class Upstream extends core.Schema { repositoryName: string | core.StringOut; } export interface RepositoryArgs extends core.ResourceArgs { /** * (Optional) The description of the repository. */ description?: string | core.StringOut; /** * (Required) The domain that contains the created repository. */ domain: string | core.StringOut; /** * (Optional) The account number of the AWS account that owns the domain. */ domainOwner?: string | core.StringOut; /** * An array of external connections associated with the repository. Only one external connection can be * set per repository. see [External Connections](#external-connections). */ externalConnections?: ExternalConnections; /** * (Required) The name of the repository to create. */ repository: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Optional) A list of upstream repositories to associate with the repository. The order of the upstre * am repositories in the list determines their priority order when AWS CodeArtifact looks for a reques * ted package version. see [Upstream](#upstream) */ upstream?: core.Array | core.ArrayOut; } export declare class Repository extends core.Resource { /** * The account number of the AWS account that manages the repository. */ administratorAccount: string | core.StringOut; /** * The ARN of the repository. */ arn: string | core.StringOut; /** * (Optional) The description of the repository. */ description?: string | core.StringOut; /** * (Required) The domain that contains the created repository. */ domain: string | core.StringOut; /** * (Optional) The account number of the AWS account that owns the domain. */ domainOwner?: string | core.StringOut; /** * An array of external connections associated with the repository. Only one external connection can be * set per repository. see [External Connections](#external-connections). */ externalConnections?: ExternalConnections; /** * The ARN of the repository. */ id: string | core.StringOut; /** * (Required) The name of the repository to create. */ repository: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Optional) A list of upstream repositories to associate with the repository. The order of the upstre * am repositories in the list determines their priority order when AWS CodeArtifact looks for a reques * ted package version. see [Upstream](#upstream) */ upstream?: core.Array | core.ArrayOut; constructor(name: string, args?: RepositoryArgs); getNamespace(): string; } //# sourceMappingURL=repository.d.ts.map