import * as core from "@terrascript/core"; export interface CatalogDataArgs extends core.SchemaArgs { aboutText?: string | core.StringOut; architectures?: core.Array | core.ArrayOut; description?: string | core.StringOut; logoImageBlob?: string | core.StringOut; operatingSystems?: core.Array | core.ArrayOut; usageText?: string | core.StringOut; } export class CatalogData extends core.Schema { @core.attr(String) public aboutText?: string | core.StringOut; @core.attr(String, { kind: "array" }) public architectures?: core.Array | core.ArrayOut; @core.attr(String) public description?: string | core.StringOut; @core.attr(String, { computed: true }) public logoImageBlob?: string | core.StringOut; @core.attr(String, { kind: "array" }) public operatingSystems?: core.Array | core.ArrayOut; @core.attr(String) public usageText?: string | core.StringOut; } export interface RepositoryArgs extends core.ResourceArgs { /** * (Optional) Catalog data configuration for the repository. See [below for schema](#catalog_data). */ catalogData?: CatalogData; forceDestroy?: boolean | core.BooleanOut; /** * (Required) Name of the repository. */ repositoryName: string | core.StringOut; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * Map of tags assigned to the resource, including those inherited from the provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block). */ tagsAll?: core.Map | core.MapOut; } export class Repository extends core.Resource { /** * Full ARN of the repository. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) Catalog data configuration for the repository. See [below for schema](#catalog_data). */ @core.attr(CatalogData) public catalogData?: CatalogData; @core.attr(Boolean) public forceDestroy?: boolean | core.BooleanOut; /** * The repository name. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The registry ID where the repository was created. */ @core.attr(String, { computed: true }) public registryId!: string | core.StringOut; /** * (Required) Name of the repository. */ @core.attr(String) public repositoryName!: string | core.StringOut; /** * The URI of the repository. */ @core.attr(String, { computed: true }) public repositoryUri!: string | core.StringOut; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * Map of tags assigned to the resource, including those inherited from the provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: RepositoryArgs) { super(name, "aws_ecrpublic_repository", args); } public override getNamespace(): string { return "aws_ecrpublic"; } }