Skip to content

CreateRepositoryRequest

Source code in docs_src/capo_ecr/types/create_repository_request.py
class CreateRepositoryRequest(TypedDict, closed=True):
    registry_id: NotRequired["capo_ecr.types.registry_id.RegistryId"]
    """<p>The Amazon Web Services account ID associated with the registry to create the repository. If you do not specify a registry, the default registry is assumed.</p>"""
    repository_name: "capo_ecr.types.repository_name.RepositoryName"
    """<p>The name to use for the repository. The repository name may be specified on its own (such as <code>nginx-web-app</code>) or it can be prepended with a namespace to group the repository into a category (such as <code>project-a/nginx-web-app</code>).</p> <p>The repository name must start with a letter and can only contain lowercase letters, numbers, hyphens, underscores, and forward slashes.</p>"""
    tags: NotRequired["capo_ecr.types.tag_list.TagList"]
    """<p>The metadata that you apply to the repository to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>"""
    image_tag_mutability: NotRequired[
        "capo_ecr.types.image_tag_mutability.ImageTagMutability"
    ]
    """<p>The tag mutability setting for the repository. If this parameter is omitted, the default setting of <code>MUTABLE</code> will be used which will allow image tags to be overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.</p>"""
    image_tag_mutability_exclusion_filters: NotRequired[
        "capo_ecr.types.image_tag_mutability_exclusion_filters.ImageTagMutabilityExclusionFilters"
    ]
    """<p>A list of filters that specify which image tags should be excluded from the repository's image tag mutability setting.</p>"""
    image_scanning_configuration: NotRequired[
        "capo_ecr.types.image_scanning_configuration.ImageScanningConfiguration"
    ]
    """<important> <p>The <code>imageScanningConfiguration</code> parameter is being deprecated, in favor of specifying the image scanning configuration at the registry level. For more information, see <code>PutRegistryScanningConfiguration</code>.</p> </important> <p>The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.</p>"""
    encryption_configuration: NotRequired[
        "capo_ecr.types.encryption_configuration.EncryptionConfiguration"
    ]
    """<p>The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.</p>"""

encryption_configuration instance-attribute

encryption_configuration: NotRequired[EncryptionConfiguration]

The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.

image_scanning_configuration instance-attribute

image_scanning_configuration: NotRequired[ImageScanningConfiguration]

The imageScanningConfiguration parameter is being deprecated, in favor of specifying the image scanning configuration at the registry level. For more information, see PutRegistryScanningConfiguration.

The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.

image_tag_mutability instance-attribute

image_tag_mutability: NotRequired[ImageTagMutability]

The tag mutability setting for the repository. If this parameter is omitted, the default setting of MUTABLE will be used which will allow image tags to be overwritten. If IMMUTABLE is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.

image_tag_mutability_exclusion_filters instance-attribute

image_tag_mutability_exclusion_filters: NotRequired[ImageTagMutabilityExclusionFilters]

A list of filters that specify which image tags should be excluded from the repository's image tag mutability setting.

registry_id instance-attribute

registry_id: NotRequired[RegistryId]

The Amazon Web Services account ID associated with the registry to create the repository. If you do not specify a registry, the default registry is assumed.

repository_name instance-attribute

repository_name: RepositoryName

The name to use for the repository. The repository name may be specified on its own (such as nginx-web-app) or it can be prepended with a namespace to group the repository into a category (such as project-a/nginx-web-app).

The repository name must start with a letter and can only contain lowercase letters, numbers, hyphens, underscores, and forward slashes.

tags instance-attribute

tags: NotRequired[TagList]

The metadata that you apply to the repository to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.