import * as core from "@terrascript/core"; export interface DsRepositoryEndpointArgs { /** * (Required) The name of the domain that contains the repository. */ domain: string | core.StringOut; /** * (Optional) The account number of the AWS account that owns the domain. */ domainOwner?: string | core.StringOut; /** * (Required) Which endpoint of a repository to return. A repository has one endpoint for each package * format: `npm`, `pypi`, `maven`, and `nuget`. */ format: string | core.StringOut; /** * (Required) The name of the repository. */ repository: string | core.StringOut; } export class DsRepositoryEndpoint extends core.Data { /** * (Required) The name of the domain that contains the repository. */ @core.attr(String) public domain!: string | core.StringOut; /** * (Optional) The account number of the AWS account that owns the domain. */ @core.attr(String, { computed: true }) public domainOwner?: string | core.StringOut; /** * (Required) Which endpoint of a repository to return. A repository has one endpoint for each package * format: `npm`, `pypi`, `maven`, and `nuget`. */ @core.attr(String) public format!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the repository. */ @core.attr(String) public repository!: string | core.StringOut; /** * The URL of the returned endpoint. */ @core.attr(String, { computed: true }) public repositoryEndpoint!: string | core.StringOut; constructor(name: string, args?: DsRepositoryEndpointArgs) { super(name, "aws_codeartifact_repository_endpoint", args); } public override getNamespace(): string { return "aws_codeartifact"; } }