1. Packages
  2. AWS
  3. API Docs
  4. ecrpublic
  5. Repository
AWS v6.75.0 published on Wednesday, Apr 2, 2025 by Pulumi

aws.ecrpublic.Repository

Explore with Pulumi AI

Provides a Public Elastic Container Registry Repository.

NOTE: This resource can only be used in the us-east-1 region.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import * as std from "@pulumi/std";

const foo = new aws.ecrpublic.Repository("foo", {
    repositoryName: "bar",
    catalogData: {
        aboutText: "About Text",
        architectures: ["ARM"],
        description: "Description",
        logoImageBlob: std.filebase64({
            input: png,
        }).then(invoke => invoke.result),
        operatingSystems: ["Linux"],
        usageText: "Usage Text",
    },
    tags: {
        env: "production",
    },
});
Copy
import pulumi
import pulumi_aws as aws
import pulumi_std as std

foo = aws.ecrpublic.Repository("foo",
    repository_name="bar",
    catalog_data={
        "about_text": "About Text",
        "architectures": ["ARM"],
        "description": "Description",
        "logo_image_blob": std.filebase64(input=png).result,
        "operating_systems": ["Linux"],
        "usage_text": "Usage Text",
    },
    tags={
        "env": "production",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ecrpublic"
	"github.com/pulumi/pulumi-std/sdk/go/std"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		invokeFilebase64, err := std.Filebase64(ctx, &std.Filebase64Args{
			Input: png,
		}, nil)
		if err != nil {
			return err
		}
		_, err = ecrpublic.NewRepository(ctx, "foo", &ecrpublic.RepositoryArgs{
			RepositoryName: pulumi.String("bar"),
			CatalogData: &ecrpublic.RepositoryCatalogDataArgs{
				AboutText: pulumi.String("About Text"),
				Architectures: pulumi.StringArray{
					pulumi.String("ARM"),
				},
				Description:   pulumi.String("Description"),
				LogoImageBlob: pulumi.String(invokeFilebase64.Result),
				OperatingSystems: pulumi.StringArray{
					pulumi.String("Linux"),
				},
				UsageText: pulumi.String("Usage Text"),
			},
			Tags: pulumi.StringMap{
				"env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
using Std = Pulumi.Std;

return await Deployment.RunAsync(() => 
{
    var foo = new Aws.EcrPublic.Repository("foo", new()
    {
        RepositoryName = "bar",
        CatalogData = new Aws.EcrPublic.Inputs.RepositoryCatalogDataArgs
        {
            AboutText = "About Text",
            Architectures = new[]
            {
                "ARM",
            },
            Description = "Description",
            LogoImageBlob = Std.Filebase64.Invoke(new()
            {
                Input = png,
            }).Apply(invoke => invoke.Result),
            OperatingSystems = new[]
            {
                "Linux",
            },
            UsageText = "Usage Text",
        },
        Tags = 
        {
            { "env", "production" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ecrpublic.Repository;
import com.pulumi.aws.ecrpublic.RepositoryArgs;
import com.pulumi.aws.ecrpublic.inputs.RepositoryCatalogDataArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var foo = new Repository("foo", RepositoryArgs.builder()
            .repositoryName("bar")
            .catalogData(RepositoryCatalogDataArgs.builder()
                .aboutText("About Text")
                .architectures("ARM")
                .description("Description")
                .logoImageBlob(StdFunctions.filebase64(Filebase64Args.builder()
                    .input(png)
                    .build()).result())
                .operatingSystems("Linux")
                .usageText("Usage Text")
                .build())
            .tags(Map.of("env", "production"))
            .build());

    }
}
Copy
resources:
  foo:
    type: aws:ecrpublic:Repository
    properties:
      repositoryName: bar
      catalogData:
        aboutText: About Text
        architectures:
          - ARM
        description: Description
        logoImageBlob:
          fn::invoke:
            function: std:filebase64
            arguments:
              input: ${png}
            return: result
        operatingSystems:
          - Linux
        usageText: Usage Text
      tags:
        env: production
Copy

Create Repository Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Repository(name: string, args: RepositoryArgs, opts?: CustomResourceOptions);
@overload
def Repository(resource_name: str,
               args: RepositoryArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def Repository(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               repository_name: Optional[str] = None,
               catalog_data: Optional[RepositoryCatalogDataArgs] = None,
               force_destroy: Optional[bool] = None,
               tags: Optional[Mapping[str, str]] = None)
func NewRepository(ctx *Context, name string, args RepositoryArgs, opts ...ResourceOption) (*Repository, error)
public Repository(string name, RepositoryArgs args, CustomResourceOptions? opts = null)
public Repository(String name, RepositoryArgs args)
public Repository(String name, RepositoryArgs args, CustomResourceOptions options)
type: aws:ecrpublic:Repository
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. RepositoryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. RepositoryArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. RepositoryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. RepositoryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. RepositoryArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var examplerepositoryResourceResourceFromEcrpublicrepository = new Aws.EcrPublic.Repository("examplerepositoryResourceResourceFromEcrpublicrepository", new()
{
    RepositoryName = "string",
    CatalogData = new Aws.EcrPublic.Inputs.RepositoryCatalogDataArgs
    {
        AboutText = "string",
        Architectures = new[]
        {
            "string",
        },
        Description = "string",
        LogoImageBlob = "string",
        OperatingSystems = new[]
        {
            "string",
        },
        UsageText = "string",
    },
    ForceDestroy = false,
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := ecrpublic.NewRepository(ctx, "examplerepositoryResourceResourceFromEcrpublicrepository", &ecrpublic.RepositoryArgs{
	RepositoryName: pulumi.String("string"),
	CatalogData: &ecrpublic.RepositoryCatalogDataArgs{
		AboutText: pulumi.String("string"),
		Architectures: pulumi.StringArray{
			pulumi.String("string"),
		},
		Description:   pulumi.String("string"),
		LogoImageBlob: pulumi.String("string"),
		OperatingSystems: pulumi.StringArray{
			pulumi.String("string"),
		},
		UsageText: pulumi.String("string"),
	},
	ForceDestroy: pulumi.Bool(false),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var examplerepositoryResourceResourceFromEcrpublicrepository = new Repository("examplerepositoryResourceResourceFromEcrpublicrepository", RepositoryArgs.builder()
    .repositoryName("string")
    .catalogData(RepositoryCatalogDataArgs.builder()
        .aboutText("string")
        .architectures("string")
        .description("string")
        .logoImageBlob("string")
        .operatingSystems("string")
        .usageText("string")
        .build())
    .forceDestroy(false)
    .tags(Map.of("string", "string"))
    .build());
Copy
examplerepository_resource_resource_from_ecrpublicrepository = aws.ecrpublic.Repository("examplerepositoryResourceResourceFromEcrpublicrepository",
    repository_name="string",
    catalog_data={
        "about_text": "string",
        "architectures": ["string"],
        "description": "string",
        "logo_image_blob": "string",
        "operating_systems": ["string"],
        "usage_text": "string",
    },
    force_destroy=False,
    tags={
        "string": "string",
    })
Copy
const examplerepositoryResourceResourceFromEcrpublicrepository = new aws.ecrpublic.Repository("examplerepositoryResourceResourceFromEcrpublicrepository", {
    repositoryName: "string",
    catalogData: {
        aboutText: "string",
        architectures: ["string"],
        description: "string",
        logoImageBlob: "string",
        operatingSystems: ["string"],
        usageText: "string",
    },
    forceDestroy: false,
    tags: {
        string: "string",
    },
});
Copy
type: aws:ecrpublic:Repository
properties:
    catalogData:
        aboutText: string
        architectures:
            - string
        description: string
        logoImageBlob: string
        operatingSystems:
            - string
        usageText: string
    forceDestroy: false
    repositoryName: string
    tags:
        string: string
Copy

Repository Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Repository resource accepts the following input properties:

RepositoryName
This property is required.
Changes to this property will trigger replacement.
string
Name of the repository.
CatalogData RepositoryCatalogData
Catalog data configuration for the repository. See below for schema.
ForceDestroy bool
Tags Dictionary<string, string>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
RepositoryName
This property is required.
Changes to this property will trigger replacement.
string
Name of the repository.
CatalogData RepositoryCatalogDataArgs
Catalog data configuration for the repository. See below for schema.
ForceDestroy bool
Tags map[string]string
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
repositoryName
This property is required.
Changes to this property will trigger replacement.
String
Name of the repository.
catalogData RepositoryCatalogData
Catalog data configuration for the repository. See below for schema.
forceDestroy Boolean
tags Map<String,String>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
repositoryName
This property is required.
Changes to this property will trigger replacement.
string
Name of the repository.
catalogData RepositoryCatalogData
Catalog data configuration for the repository. See below for schema.
forceDestroy boolean
tags {[key: string]: string}
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
repository_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the repository.
catalog_data RepositoryCatalogDataArgs
Catalog data configuration for the repository. See below for schema.
force_destroy bool
tags Mapping[str, str]
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
repositoryName
This property is required.
Changes to this property will trigger replacement.
String
Name of the repository.
catalogData Property Map
Catalog data configuration for the repository. See below for schema.
forceDestroy Boolean
tags Map<String>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Outputs

All input properties are implicitly available as output properties. Additionally, the Repository resource produces the following output properties:

Arn string
Full ARN of the repository.
Id string
The provider-assigned unique ID for this managed resource.
RegistryId string
The registry ID where the repository was created.
RepositoryUri string
The URI of the repository.
TagsAll Dictionary<string, string>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Arn string
Full ARN of the repository.
Id string
The provider-assigned unique ID for this managed resource.
RegistryId string
The registry ID where the repository was created.
RepositoryUri string
The URI of the repository.
TagsAll map[string]string
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
Full ARN of the repository.
id String
The provider-assigned unique ID for this managed resource.
registryId String
The registry ID where the repository was created.
repositoryUri String
The URI of the repository.
tagsAll Map<String,String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn string
Full ARN of the repository.
id string
The provider-assigned unique ID for this managed resource.
registryId string
The registry ID where the repository was created.
repositoryUri string
The URI of the repository.
tagsAll {[key: string]: string}
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn str
Full ARN of the repository.
id str
The provider-assigned unique ID for this managed resource.
registry_id str
The registry ID where the repository was created.
repository_uri str
The URI of the repository.
tags_all Mapping[str, str]
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
Full ARN of the repository.
id String
The provider-assigned unique ID for this managed resource.
registryId String
The registry ID where the repository was created.
repositoryUri String
The URI of the repository.
tagsAll Map<String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Look up Existing Repository Resource

Get an existing Repository resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: RepositoryState, opts?: CustomResourceOptions): Repository
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        catalog_data: Optional[RepositoryCatalogDataArgs] = None,
        force_destroy: Optional[bool] = None,
        registry_id: Optional[str] = None,
        repository_name: Optional[str] = None,
        repository_uri: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> Repository
func GetRepository(ctx *Context, name string, id IDInput, state *RepositoryState, opts ...ResourceOption) (*Repository, error)
public static Repository Get(string name, Input<string> id, RepositoryState? state, CustomResourceOptions? opts = null)
public static Repository get(String name, Output<String> id, RepositoryState state, CustomResourceOptions options)
resources:  _:    type: aws:ecrpublic:Repository    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string
Full ARN of the repository.
CatalogData RepositoryCatalogData
Catalog data configuration for the repository. See below for schema.
ForceDestroy bool
RegistryId string
The registry ID where the repository was created.
RepositoryName Changes to this property will trigger replacement. string
Name of the repository.
RepositoryUri string
The URI of the repository.
Tags Dictionary<string, string>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll Dictionary<string, string>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Arn string
Full ARN of the repository.
CatalogData RepositoryCatalogDataArgs
Catalog data configuration for the repository. See below for schema.
ForceDestroy bool
RegistryId string
The registry ID where the repository was created.
RepositoryName Changes to this property will trigger replacement. string
Name of the repository.
RepositoryUri string
The URI of the repository.
Tags map[string]string
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll map[string]string
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
Full ARN of the repository.
catalogData RepositoryCatalogData
Catalog data configuration for the repository. See below for schema.
forceDestroy Boolean
registryId String
The registry ID where the repository was created.
repositoryName Changes to this property will trigger replacement. String
Name of the repository.
repositoryUri String
The URI of the repository.
tags Map<String,String>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String,String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn string
Full ARN of the repository.
catalogData RepositoryCatalogData
Catalog data configuration for the repository. See below for schema.
forceDestroy boolean
registryId string
The registry ID where the repository was created.
repositoryName Changes to this property will trigger replacement. string
Name of the repository.
repositoryUri string
The URI of the repository.
tags {[key: string]: string}
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll {[key: string]: string}
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn str
Full ARN of the repository.
catalog_data RepositoryCatalogDataArgs
Catalog data configuration for the repository. See below for schema.
force_destroy bool
registry_id str
The registry ID where the repository was created.
repository_name Changes to this property will trigger replacement. str
Name of the repository.
repository_uri str
The URI of the repository.
tags Mapping[str, str]
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tags_all Mapping[str, str]
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
Full ARN of the repository.
catalogData Property Map
Catalog data configuration for the repository. See below for schema.
forceDestroy Boolean
registryId String
The registry ID where the repository was created.
repositoryName Changes to this property will trigger replacement. String
Name of the repository.
repositoryUri String
The URI of the repository.
tags Map<String>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Supporting Types

RepositoryCatalogData
, RepositoryCatalogDataArgs

AboutText string
A detailed description of the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The text must be in markdown format.
Architectures List<string>
The system architecture that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported architectures will appear as badges on the repository and are used as search filters: ARM, ARM 64, x86, x86-64
Description string
A short description of the contents of the repository. This text appears in both the image details and also when searching for repositories on the Amazon ECR Public Gallery.
LogoImageBlob string
The base64-encoded repository logo payload. (Only visible for verified accounts) Note that drift detection is disabled for this attribute.
OperatingSystems List<string>
The operating systems that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported operating systems will appear as badges on the repository and are used as search filters: Linux, Windows
UsageText string
Detailed information on how to use the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The usage text provides context, support information, and additional usage details for users of the repository. The text must be in markdown format.
AboutText string
A detailed description of the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The text must be in markdown format.
Architectures []string
The system architecture that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported architectures will appear as badges on the repository and are used as search filters: ARM, ARM 64, x86, x86-64
Description string
A short description of the contents of the repository. This text appears in both the image details and also when searching for repositories on the Amazon ECR Public Gallery.
LogoImageBlob string
The base64-encoded repository logo payload. (Only visible for verified accounts) Note that drift detection is disabled for this attribute.
OperatingSystems []string
The operating systems that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported operating systems will appear as badges on the repository and are used as search filters: Linux, Windows
UsageText string
Detailed information on how to use the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The usage text provides context, support information, and additional usage details for users of the repository. The text must be in markdown format.
aboutText String
A detailed description of the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The text must be in markdown format.
architectures List<String>
The system architecture that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported architectures will appear as badges on the repository and are used as search filters: ARM, ARM 64, x86, x86-64
description String
A short description of the contents of the repository. This text appears in both the image details and also when searching for repositories on the Amazon ECR Public Gallery.
logoImageBlob String
The base64-encoded repository logo payload. (Only visible for verified accounts) Note that drift detection is disabled for this attribute.
operatingSystems List<String>
The operating systems that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported operating systems will appear as badges on the repository and are used as search filters: Linux, Windows
usageText String
Detailed information on how to use the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The usage text provides context, support information, and additional usage details for users of the repository. The text must be in markdown format.
aboutText string
A detailed description of the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The text must be in markdown format.
architectures string[]
The system architecture that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported architectures will appear as badges on the repository and are used as search filters: ARM, ARM 64, x86, x86-64
description string
A short description of the contents of the repository. This text appears in both the image details and also when searching for repositories on the Amazon ECR Public Gallery.
logoImageBlob string
The base64-encoded repository logo payload. (Only visible for verified accounts) Note that drift detection is disabled for this attribute.
operatingSystems string[]
The operating systems that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported operating systems will appear as badges on the repository and are used as search filters: Linux, Windows
usageText string
Detailed information on how to use the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The usage text provides context, support information, and additional usage details for users of the repository. The text must be in markdown format.
about_text str
A detailed description of the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The text must be in markdown format.
architectures Sequence[str]
The system architecture that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported architectures will appear as badges on the repository and are used as search filters: ARM, ARM 64, x86, x86-64
description str
A short description of the contents of the repository. This text appears in both the image details and also when searching for repositories on the Amazon ECR Public Gallery.
logo_image_blob str
The base64-encoded repository logo payload. (Only visible for verified accounts) Note that drift detection is disabled for this attribute.
operating_systems Sequence[str]
The operating systems that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported operating systems will appear as badges on the repository and are used as search filters: Linux, Windows
usage_text str
Detailed information on how to use the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The usage text provides context, support information, and additional usage details for users of the repository. The text must be in markdown format.
aboutText String
A detailed description of the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The text must be in markdown format.
architectures List<String>
The system architecture that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported architectures will appear as badges on the repository and are used as search filters: ARM, ARM 64, x86, x86-64
description String
A short description of the contents of the repository. This text appears in both the image details and also when searching for repositories on the Amazon ECR Public Gallery.
logoImageBlob String
The base64-encoded repository logo payload. (Only visible for verified accounts) Note that drift detection is disabled for this attribute.
operatingSystems List<String>
The operating systems that the images in the repository are compatible with. On the Amazon ECR Public Gallery, the following supported operating systems will appear as badges on the repository and are used as search filters: Linux, Windows
usageText String
Detailed information on how to use the contents of the repository. It is publicly visible in the Amazon ECR Public Gallery. The usage text provides context, support information, and additional usage details for users of the repository. The text must be in markdown format.

Import

Using pulumi import, import ECR Public Repositories using the repository_name. For example:

$ pulumi import aws:ecrpublic/repository:Repository example example
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.