Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@aws-cdk/aws-ecr

Package Overview
Dependencies
Maintainers
5
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-ecr - npm Package Compare versions

Comparing version 1.137.0 to 1.138.0

10

.warnings.jsii.js

@@ -9,6 +9,6 @@ function _aws_cdk_aws_ecr_TagMutability(p) {

}
function _aws_cdk_aws_ecr_OnImageScanCompletedOptions(p) {
}
function _aws_cdk_aws_ecr_OnCloudTrailImagePushedOptions(p) {
}
function _aws_cdk_aws_ecr_OnImageScanCompletedOptions(p) {
}
function _aws_cdk_aws_ecr_AuthorizationToken(p) {

@@ -72,6 +72,6 @@ }

}
function _aws_cdk_aws_ecr_CfnRepository_ImageScanningConfigurationProperty(p) {
}
function _aws_cdk_aws_ecr_CfnReplicationConfiguration_ReplicationRuleProperty(p) {
}
function _aws_cdk_aws_ecr_CfnRepository_ImageScanningConfigurationProperty(p) {
}
function _aws_cdk_aws_ecr_Repository(p) {

@@ -98,3 +98,3 @@ }

}
module.exports = { print, _aws_cdk_aws_ecr_TagMutability, _aws_cdk_aws_ecr_TagStatus, _aws_cdk_aws_ecr_CfnRegistryPolicyProps, _aws_cdk_aws_ecr_RepositoryAttributes, _aws_cdk_aws_ecr_OnCloudTrailImagePushedOptions, _aws_cdk_aws_ecr_OnImageScanCompletedOptions, _aws_cdk_aws_ecr_AuthorizationToken, _aws_cdk_aws_ecr_PublicGalleryAuthorizationToken, _aws_cdk_aws_ecr_CfnPublicRepositoryProps, _aws_cdk_aws_ecr_CfnReplicationConfigurationProps, _aws_cdk_aws_ecr_LifecycleRule, _aws_cdk_aws_ecr_CfnRegistryPolicy, _aws_cdk_aws_ecr_CfnPublicRepository, _aws_cdk_aws_ecr_RepositoryProps, _aws_cdk_aws_ecr_CfnReplicationConfiguration, _aws_cdk_aws_ecr_CfnReplicationConfiguration_ReplicationDestinationProperty, _aws_cdk_aws_ecr_CfnReplicationConfiguration_RepositoryFilterProperty, _aws_cdk_aws_ecr_CfnRepositoryProps, _aws_cdk_aws_ecr_CfnReplicationConfiguration_ReplicationConfigurationProperty, _aws_cdk_aws_ecr_CfnRepository, _aws_cdk_aws_ecr_CfnRepository_EncryptionConfigurationProperty, _aws_cdk_aws_ecr_CfnRepository_LifecyclePolicyProperty, _aws_cdk_aws_ecr_CfnReplicationConfiguration_ReplicationRuleProperty, _aws_cdk_aws_ecr_CfnRepository_ImageScanningConfigurationProperty, _aws_cdk_aws_ecr_Repository, _aws_cdk_aws_ecr_IRepository, _aws_cdk_aws_ecr_RepositoryBase };
module.exports = { print, _aws_cdk_aws_ecr_TagMutability, _aws_cdk_aws_ecr_TagStatus, _aws_cdk_aws_ecr_CfnRegistryPolicyProps, _aws_cdk_aws_ecr_RepositoryAttributes, _aws_cdk_aws_ecr_OnImageScanCompletedOptions, _aws_cdk_aws_ecr_OnCloudTrailImagePushedOptions, _aws_cdk_aws_ecr_AuthorizationToken, _aws_cdk_aws_ecr_PublicGalleryAuthorizationToken, _aws_cdk_aws_ecr_CfnPublicRepositoryProps, _aws_cdk_aws_ecr_CfnReplicationConfigurationProps, _aws_cdk_aws_ecr_LifecycleRule, _aws_cdk_aws_ecr_CfnRegistryPolicy, _aws_cdk_aws_ecr_CfnPublicRepository, _aws_cdk_aws_ecr_RepositoryProps, _aws_cdk_aws_ecr_CfnReplicationConfiguration, _aws_cdk_aws_ecr_CfnReplicationConfiguration_ReplicationDestinationProperty, _aws_cdk_aws_ecr_CfnReplicationConfiguration_RepositoryFilterProperty, _aws_cdk_aws_ecr_CfnRepositoryProps, _aws_cdk_aws_ecr_CfnReplicationConfiguration_ReplicationConfigurationProperty, _aws_cdk_aws_ecr_CfnRepository, _aws_cdk_aws_ecr_CfnRepository_EncryptionConfigurationProperty, _aws_cdk_aws_ecr_CfnRepository_LifecyclePolicyProperty, _aws_cdk_aws_ecr_CfnRepository_ImageScanningConfigurationProperty, _aws_cdk_aws_ecr_CfnReplicationConfiguration_ReplicationRuleProperty, _aws_cdk_aws_ecr_Repository, _aws_cdk_aws_ecr_IRepository, _aws_cdk_aws_ecr_RepositoryBase };
module.exports.DeprecationError = DeprecationError;

@@ -31,3 +31,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
AuthorizationToken[_a] = { fqn: "@aws-cdk/aws-ecr.AuthorizationToken", version: "1.137.0" };
AuthorizationToken[_a] = { fqn: "@aws-cdk/aws-ecr.AuthorizationToken", version: "1.138.0" };
/**

@@ -58,3 +58,3 @@ * Authorization token to access the global public ECR Gallery via Docker CLI.

_b = JSII_RTTI_SYMBOL_1;
PublicGalleryAuthorizationToken[_b] = { fqn: "@aws-cdk/aws-ecr.PublicGalleryAuthorizationToken", version: "1.137.0" };
PublicGalleryAuthorizationToken[_b] = { fqn: "@aws-cdk/aws-ecr.PublicGalleryAuthorizationToken", version: "1.138.0" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC10b2tlbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImF1dGgtdG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSx3Q0FBd0M7Ozs7Ozs7QUFHeEMsTUFBYSxrQkFBa0I7SUFVN0I7S0FDQzs7Ozs7O0lBVE0sTUFBTSxDQUFDLFNBQVMsQ0FBQyxPQUF1QjtRQUM3QyxPQUFPLENBQUMsY0FBYyxDQUFDLG9CQUFvQixDQUFDLElBQUksR0FBRyxDQUFDLGVBQWUsQ0FBQztZQUNsRSxPQUFPLEVBQUUsQ0FBQywyQkFBMkIsQ0FBQztZQUN0QywrTUFBK007WUFDL00sU0FBUyxFQUFFLENBQUMsR0FBRyxDQUFDO1NBQ2pCLENBQUMsQ0FBQyxDQUFDO0tBQ0w7O0FBUkgsZ0RBWUM7Ozs7Ozs7OztBQUdELE1BQWEsK0JBQStCO0lBWTFDO0tBQ0M7Ozs7OztJQVZNLE1BQU0sQ0FBQyxTQUFTLENBQUMsT0FBdUI7UUFDN0MsT0FBTyxDQUFDLGNBQWMsQ0FBQyxvQkFBb0IsQ0FBQyxJQUFJLEdBQUcsQ0FBQyxlQUFlLENBQUM7WUFDbEUsT0FBTyxFQUFFLENBQUMsa0NBQWtDLEVBQUUsMkJBQTJCLENBQUM7WUFDMUUsK01BQStNO1lBQy9NLGlNQUFpTTtZQUNqTSxTQUFTLEVBQUUsQ0FBQyxHQUFHLENBQUM7U0FDakIsQ0FBQyxDQUFDLENBQUM7S0FDTDs7QUFWSCwwRUFlQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIGlhbSBmcm9tICdAYXdzLWNkay9hd3MtaWFtJztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuZXhwb3J0IGNsYXNzIEF1dGhvcml6YXRpb25Ub2tlbiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICBwdWJsaWMgc3RhdGljIGdyYW50UmVhZChncmFudGVlOiBpYW0uSUdyYW50YWJsZSkge1xuICAgIGdyYW50ZWUuZ3JhbnRQcmluY2lwYWwuYWRkVG9QcmluY2lwYWxQb2xpY3kobmV3IGlhbS5Qb2xpY3lTdGF0ZW1lbnQoe1xuICAgICAgYWN0aW9uczogWydlY3I6R2V0QXV0aG9yaXphdGlvblRva2VuJ10sXG4gICAgICAvLyBHZXRBdXRob3JpemF0aW9uVG9rZW4gb25seSBhbGxvd3MgJyonLiBTZWUgaHR0cHM6Ly9kb2NzLmF3cy5hbWF6b24uY29tL3NlcnZpY2UtYXV0aG9yaXphdGlvbi9sYXRlc3QvcmVmZXJlbmNlL2xpc3RfYW1hem9uZWxhc3RpY2NvbnRhaW5lcnJlZ2lzdHJ5Lmh0bWwjYW1hem9uZWxhc3RpY2NvbnRhaW5lcnJlZ2lzdHJ5LWFjdGlvbnMtYXMtcGVybWlzc2lvbnNcbiAgICAgIHJlc291cmNlczogWycqJ10sXG4gICAgfSkpO1xuICB9XG5cbiAgcHJpdmF0ZSBjb25zdHJ1Y3RvcigpIHtcbiAgfVxufVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG5leHBvcnQgY2xhc3MgUHVibGljR2FsbGVyeUF1dGhvcml6YXRpb25Ub2tlbiB7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyBzdGF0aWMgZ3JhbnRSZWFkKGdyYW50ZWU6IGlhbS5JR3JhbnRhYmxlKSB7XG4gICAgZ3JhbnRlZS5ncmFudFByaW5jaXBhbC5hZGRUb1ByaW5jaXBhbFBvbGljeShuZXcgaWFtLlBvbGljeVN0YXRlbWVudCh7XG4gICAgICBhY3Rpb25zOiBbJ2Vjci1wdWJsaWM6R2V0QXV0aG9yaXphdGlvblRva2VuJywgJ3N0czpHZXRTZXJ2aWNlQmVhcmVyVG9rZW4nXSxcbiAgICAgIC8vIEdldEF1dGhvcml6YXRpb25Ub2tlbiBvbmx5IGFsbG93cyAnKicuIFNlZSBodHRwczovL2RvY3MuYXdzLmFtYXpvbi5jb20vc2VydmljZS1hdXRob3JpemF0aW9uL2xhdGVzdC9yZWZlcmVuY2UvbGlzdF9hbWF6b25lbGFzdGljY29udGFpbmVycmVnaXN0cnkuaHRtbCNhbWF6b25lbGFzdGljY29udGFpbmVycmVnaXN0cnktYWN0aW9ucy1hcy1wZXJtaXNzaW9uc1xuICAgICAgLy8gR2V0U2VydmljZUJlYXJlclRva2VuIG9ubHkgYWxsb3dzICcqJy4gU2VlIGh0dHBzOi8vZG9jcy5hd3MuYW1hem9uLmNvbS9zZXJ2aWNlLWF1dGhvcml6YXRpb24vbGF0ZXN0L3JlZmVyZW5jZS9saXN0X2F3c3NlY3VyaXR5dG9rZW5zZXJ2aWNlLmh0bWwjYXdzc2VjdXJpdHl0b2tlbnNlcnZpY2UtYWN0aW9ucy1hcy1wZXJtaXNzaW9uc1xuICAgICAgcmVzb3VyY2VzOiBbJyonXSxcbiAgICB9KSk7XG4gIH1cblxuICBwcml2YXRlIGNvbnN0cnVjdG9yKCkge1xuICB9XG5cbn1cbiJdfQ==
import * as cdk from '@aws-cdk/core';
import * as cfn_parse from '@aws-cdk/core/lib/cfn-parse';
/**
* Properties for defining a `AWS::ECR::PublicRepository`.
* Properties for defining a `CfnPublicRepository`.
*

@@ -11,4 +11,6 @@ * @external

/**
* `AWS::ECR::PublicRepository.RepositoryCatalogData`.
* The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
*
* For more information, see [Amazon ECR Public repository catalog data](https://docs.aws.amazon.com/AmazonECR/latest/public/public-repository-catalog-data.html) in the *Amazon ECR Public User Guide* .
*
* @external

@@ -19,4 +21,8 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-publicrepository.html#cfn-ecr-publicrepository-repositorycatalogdata

/**
* `AWS::ECR::PublicRepository.RepositoryName`.
* The name to use for the public 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` ). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the repository name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html) .
*
* > If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
*
* @external

@@ -27,4 +33,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-publicrepository.html#cfn-ecr-publicrepository-repositoryname

/**
* `AWS::ECR::PublicRepository.RepositoryPolicyText`.
* The JSON repository policy text to apply to the public repository.
*
* For more information, see [Amazon ECR Public repository policies](https://docs.aws.amazon.com/AmazonECR/latest/public/public-repository-policies.html) in the *Amazon ECR Public User Guide* .
*
* @external

@@ -35,3 +43,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-publicrepository.html#cfn-ecr-publicrepository-repositorypolicytext

/**
* `AWS::ECR::PublicRepository.Tags`.
* An array of key-value pairs to apply to this resource.
*

@@ -46,2 +54,4 @@ * @external

*
* The `AWS::ECR::PublicRepository` resource specifies an Amazon Elastic Container Registry Public (Amazon ECR Public) repository, where users can push and pull Docker images, Open Container Initiative (OCI) images, and OCI compatible artifacts. For more information, see [Amazon ECR public repositories](https://docs.aws.amazon.com/AmazonECR/latest/public/public-repositories.html) in the *Amazon ECR Public User Guide* .
*
* @external

@@ -67,2 +77,6 @@ * @cloudformationResource AWS::ECR::PublicRepository

/**
* Returns the Amazon Resource Name (ARN) for the specified `AWS::ECR::PublicRepository` resource.
*
* For example, `arn:aws:ecr-public:: *123456789012* :repository/ *test-repository*` .
*
* @external

@@ -73,4 +87,6 @@ * @cloudformationAttribute Arn

/**
* `AWS::ECR::PublicRepository.RepositoryCatalogData`.
* The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
*
* For more information, see [Amazon ECR Public repository catalog data](https://docs.aws.amazon.com/AmazonECR/latest/public/public-repository-catalog-data.html) in the *Amazon ECR Public User Guide* .
*
* @external

@@ -81,4 +97,8 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-publicrepository.html#cfn-ecr-publicrepository-repositorycatalogdata

/**
* `AWS::ECR::PublicRepository.RepositoryName`.
* The name to use for the public 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` ). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the repository name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html) .
*
* > If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
*
* @external

@@ -89,4 +109,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-publicrepository.html#cfn-ecr-publicrepository-repositoryname

/**
* `AWS::ECR::PublicRepository.RepositoryPolicyText`.
* The JSON repository policy text to apply to the public repository.
*
* For more information, see [Amazon ECR Public repository policies](https://docs.aws.amazon.com/AmazonECR/latest/public/public-repository-policies.html) in the *Amazon ECR Public User Guide* .
*
* @external

@@ -97,3 +119,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-publicrepository.html#cfn-ecr-publicrepository-repositorypolicytext

/**
* `AWS::ECR::PublicRepository.Tags`.
* An array of key-value pairs to apply to this resource.
*

@@ -136,3 +158,3 @@ * @external

/**
* Properties for defining a `AWS::ECR::RegistryPolicy`.
* Properties for defining a `CfnRegistryPolicy`.
*

@@ -144,3 +166,3 @@ * @external

/**
* `AWS::ECR::RegistryPolicy.PolicyText`.
* The JSON policy text for your registry.
*

@@ -155,2 +177,6 @@ * @external

*
* The `AWS::ECR::RegistryPolicy` resource creates or updates the permissions policy for a private registry.
*
* A private registry policy is used to specify permissions for another AWS account and is used when configuring cross-account replication. For more information, see [Registry permissions](https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html) in the *Amazon Elastic Container Registry User Guide* .
*
* @external

@@ -176,2 +202,4 @@ * @cloudformationResource AWS::ECR::RegistryPolicy

/**
* The account ID of the private registry the policy is associated with.
*
* @external

@@ -182,3 +210,3 @@ * @cloudformationAttribute RegistryId

/**
* `AWS::ECR::RegistryPolicy.PolicyText`.
* The JSON policy text for your registry.
*

@@ -221,3 +249,3 @@ * @external

/**
* Properties for defining a `AWS::ECR::ReplicationConfiguration`.
* Properties for defining a `CfnReplicationConfiguration`.
*

@@ -229,3 +257,3 @@ * @external

/**
* `AWS::ECR::ReplicationConfiguration.ReplicationConfiguration`.
* The replication configuration for a registry.
*

@@ -240,2 +268,6 @@ * @external

*
* The `AWS::ECR::ReplicationConfiguration` resource creates or updates the replication configuration for a private registry. The first time a replication configuration is applied to a private registry, a service-linked IAM role is created in your account for the replication process. For more information, see [Using Service-Linked Roles for Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/userguide/using-service-linked-roles.html) in the *Amazon Elastic Container Registry User Guide* .
*
* > When configuring cross-account replication, the destination account must grant the source account permission to replicate. This permission is controlled using a private registry permissions policy. For more information, see `AWS::ECR::RegistryPolicy` .
*
* @external

@@ -261,2 +293,4 @@ * @cloudformationResource AWS::ECR::ReplicationConfiguration

/**
* The account ID of the destination registry.
*
* @external

@@ -267,3 +301,3 @@ * @cloudformationAttribute RegistryId

/**
* `AWS::ECR::ReplicationConfiguration.ReplicationConfiguration`.
* The replication configuration for a registry.
*

@@ -308,2 +342,6 @@ * @external

*
* The `AWS::ECR::ReplicationConfiguration` resource creates or updates the replication configuration for a private registry. The first time a replication configuration is applied to a private registry, a service-linked IAM role is created in your account for the replication process. For more information, see [Using Service-Linked Roles for Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/userguide/using-service-linked-roles.html) in the *Amazon Elastic Container Registry User Guide* .
*
* > When configuring cross-account replication, the destination account must grant the source account permission to replicate. This permission is controlled using a private registry permissions policy. For more information, see `AWS::ECR::RegistryPolicy` .
*
* @external

@@ -315,2 +353,4 @@ * @cloudformationResource AWS::ECR::ReplicationConfiguration

/**
* The replication configuration for a registry.
*
* @external

@@ -321,3 +361,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-replicationconfiguration-replicationconfiguration.html

/**
* `CfnReplicationConfiguration.ReplicationConfigurationProperty.Rules`.
* An array of objects representing the replication destinations and repository filters for a replication configuration.
*

@@ -333,2 +373,6 @@ * @external

*
* The `AWS::ECR::ReplicationConfiguration` resource creates or updates the replication configuration for a private registry. The first time a replication configuration is applied to a private registry, a service-linked IAM role is created in your account for the replication process. For more information, see [Using Service-Linked Roles for Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/userguide/using-service-linked-roles.html) in the *Amazon Elastic Container Registry User Guide* .
*
* > When configuring cross-account replication, the destination account must grant the source account permission to replicate. This permission is controlled using a private registry permissions policy. For more information, see `AWS::ECR::RegistryPolicy` .
*
* @external

@@ -340,2 +384,4 @@ * @cloudformationResource AWS::ECR::ReplicationConfiguration

/**
* An array of objects representing the destination for a replication rule.
*
* @external

@@ -346,3 +392,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-replicationconfiguration-replicationdestination.html

/**
* `CfnReplicationConfiguration.ReplicationDestinationProperty.Region`.
* The Region to replicate to.
*

@@ -354,4 +400,6 @@ * @external

/**
* `CfnReplicationConfiguration.ReplicationDestinationProperty.RegistryId`.
* The AWS account ID of the Amazon ECR private registry to replicate to.
*
* When configuring cross-Region replication within your own registry, specify your own account ID.
*
* @external

@@ -366,2 +414,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-replicationconfiguration-replicationdestination.html#cfn-ecr-replicationconfiguration-replicationdestination-registryid

*
* The `AWS::ECR::ReplicationConfiguration` resource creates or updates the replication configuration for a private registry. The first time a replication configuration is applied to a private registry, a service-linked IAM role is created in your account for the replication process. For more information, see [Using Service-Linked Roles for Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/userguide/using-service-linked-roles.html) in the *Amazon Elastic Container Registry User Guide* .
*
* > When configuring cross-account replication, the destination account must grant the source account permission to replicate. This permission is controlled using a private registry permissions policy. For more information, see `AWS::ECR::RegistryPolicy` .
*
* @external

@@ -373,2 +425,4 @@ * @cloudformationResource AWS::ECR::ReplicationConfiguration

/**
* An array of objects representing the replication destinations and repository filters for a replication configuration.
*
* @external

@@ -379,3 +433,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-replicationconfiguration-replicationrule.html

/**
* `CfnReplicationConfiguration.ReplicationRuleProperty.Destinations`.
* An array of objects representing the destination for a replication rule.
*

@@ -387,4 +441,6 @@ * @external

/**
* `CfnReplicationConfiguration.ReplicationRuleProperty.RepositoryFilters`.
* An array of objects representing the filters for a replication rule.
*
* Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.
*
* @external

@@ -399,2 +455,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-replicationconfiguration-replicationrule.html#cfn-ecr-replicationconfiguration-replicationrule-repositoryfilters

*
* The `AWS::ECR::ReplicationConfiguration` resource creates or updates the replication configuration for a private registry. The first time a replication configuration is applied to a private registry, a service-linked IAM role is created in your account for the replication process. For more information, see [Using Service-Linked Roles for Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/userguide/using-service-linked-roles.html) in the *Amazon Elastic Container Registry User Guide* .
*
* > When configuring cross-account replication, the destination account must grant the source account permission to replicate. This permission is controlled using a private registry permissions policy. For more information, see `AWS::ECR::RegistryPolicy` .
*
* @external

@@ -406,2 +466,6 @@ * @cloudformationResource AWS::ECR::ReplicationConfiguration

/**
* The filter settings used with image replication.
*
* Specifying a repository filter to a replication rule provides a method for controlling which repositories in a private registry are replicated. If no repository filter is specified, all images in the repository are replicated.
*
* @external

@@ -412,4 +476,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-replicationconfiguration-repositoryfilter.html

/**
* `CfnReplicationConfiguration.RepositoryFilterProperty.Filter`.
* The repository filter details.
*
* When the `PREFIX_MATCH` filter type is specified, this value is required and should be the repository name prefix to configure replication for.
*
* @external

@@ -420,4 +486,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-replicationconfiguration-repositoryfilter.html#cfn-ecr-replicationconfiguration-repositoryfilter-filter

/**
* `CfnReplicationConfiguration.RepositoryFilterProperty.FilterType`.
* The repository filter type.
*
* The only supported value is `PREFIX_MATCH` , which is a repository name prefix specified with the `filter` parameter.
*
* @external

@@ -430,3 +498,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-replicationconfiguration-repositoryfilter.html#cfn-ecr-replicationconfiguration-repositoryfilter-filtertype

/**
* Properties for defining a `AWS::ECR::Repository`.
* Properties for defining a `CfnRepository`.
*

@@ -438,4 +506,6 @@ * @external

/**
* `AWS::ECR::Repository.EncryptionConfiguration`.
* The encryption configuration for the repository.
*
* This determines how the contents of your repository are encrypted at rest.
*
* @external

@@ -446,4 +516,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-encryptionconfiguration

/**
* `AWS::ECR::Repository.ImageScanningConfiguration`.
* The image scanning configuration for the repository.
*
* This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
*
* @external

@@ -454,4 +526,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-imagescanningconfiguration

/**
* `AWS::ECR::Repository.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.
*
* @external

@@ -462,4 +536,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-imagetagmutability

/**
* `AWS::ECR::Repository.LifecyclePolicy`.
* Creates or updates a lifecycle policy.
*
* For information about lifecycle policy syntax, see [Lifecycle policy template](https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html) .
*
* @external

@@ -470,4 +546,8 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-lifecyclepolicy

/**
* `AWS::ECR::Repository.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` ). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the repository name. For more information, see [Name type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html) .
*
* > If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
*
* @external

@@ -478,4 +558,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-repositoryname

/**
* `AWS::ECR::Repository.RepositoryPolicyText`.
* The JSON repository policy text to apply to the repository.
*
* For more information, see [Amazon ECR repository policies](https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html) in the *Amazon Elastic Container Registry User Guide* .
*
* @external

@@ -486,3 +568,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-repositorypolicytext

/**
* `AWS::ECR::Repository.Tags`.
* An array of key-value pairs to apply to this resource.
*

@@ -497,2 +579,4 @@ * @external

*
* The `AWS::ECR::Repository` resource specifies an Amazon Elastic Container Registry (Amazon ECR) repository, where users can push and pull Docker images, Open Container Initiative (OCI) images, and OCI compatible artifacts. For more information, see [Amazon ECR private repositories](https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html) in the *Amazon ECR User Guide* .
*
* @external

@@ -518,2 +602,6 @@ * @cloudformationResource AWS::ECR::Repository

/**
* Returns the Amazon Resource Name (ARN) for the specified `AWS::ECR::Repository` resource.
*
* For example, `arn:aws:ecr: *eu-west-1* : *123456789012* :repository/ *test-repository*` .
*
* @external

@@ -524,2 +612,6 @@ * @cloudformationAttribute Arn

/**
* Returns the URI for the specified `AWS::ECR::Repository` resource.
*
* For example, `*123456789012* .dkr.ecr. *us-west-2* .amazonaws.com/repository` .
*
* @external

@@ -530,4 +622,6 @@ * @cloudformationAttribute RepositoryUri

/**
* `AWS::ECR::Repository.EncryptionConfiguration`.
* The encryption configuration for the repository.
*
* This determines how the contents of your repository are encrypted at rest.
*
* @external

@@ -538,4 +632,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-encryptionconfiguration

/**
* `AWS::ECR::Repository.ImageScanningConfiguration`.
* The image scanning configuration for the repository.
*
* This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
*
* @external

@@ -546,4 +642,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-imagescanningconfiguration

/**
* `AWS::ECR::Repository.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.
*
* @external

@@ -554,4 +652,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-imagetagmutability

/**
* `AWS::ECR::Repository.LifecyclePolicy`.
* Creates or updates a lifecycle policy.
*
* For information about lifecycle policy syntax, see [Lifecycle policy template](https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html) .
*
* @external

@@ -562,4 +662,8 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-lifecyclepolicy

/**
* `AWS::ECR::Repository.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` ). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the repository name. For more information, see [Name type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html) .
*
* > If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
*
* @external

@@ -570,4 +674,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-repositoryname

/**
* `AWS::ECR::Repository.RepositoryPolicyText`.
* The JSON repository policy text to apply to the repository.
*
* For more information, see [Amazon ECR repository policies](https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html) in the *Amazon Elastic Container Registry User Guide* .
*
* @external

@@ -578,3 +684,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-repositorypolicytext

/**
* `AWS::ECR::Repository.Tags`.
* An array of key-value pairs to apply to this resource.
*

@@ -619,2 +725,4 @@ * @external

*
* The `AWS::ECR::Repository` resource specifies an Amazon Elastic Container Registry (Amazon ECR) repository, where users can push and pull Docker images, Open Container Initiative (OCI) images, and OCI compatible artifacts. For more information, see [Amazon ECR private repositories](https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html) in the *Amazon ECR User Guide* .
*
* @external

@@ -626,2 +734,8 @@ * @cloudformationResource AWS::ECR::Repository

/**
* The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
*
* By default, when no encryption configuration is set or the `AES256` encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts your data at rest using an AES-256 encryption algorithm. This does not require any action on your part.
*
* For more control over the encryption of the contents of your repository, you can use server-side encryption with AWS Key Management Service key stored in AWS Key Management Service ( AWS KMS ) to encrypt your images. For more information, see [Amazon ECR encryption at rest](https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html) in the *Amazon Elastic Container Registry User Guide* .
*
* @external

@@ -632,4 +746,8 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-encryptionconfiguration.html

/**
* `CfnRepository.EncryptionConfigurationProperty.EncryptionType`.
* The encryption type to use.
*
* If you use the `KMS` encryption type, the contents of the repository will be encrypted using server-side encryption with AWS Key Management Service key stored in AWS KMS . When you use AWS KMS to encrypt your data, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you already created. For more information, see [Protecting data using server-side encryption with an AWS KMS key stored in AWS Key Management Service (SSE-KMS)](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) in the *Amazon Simple Storage Service Console Developer Guide* .
*
* If you use the `AES256` encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES-256 encryption algorithm. For more information, see [Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3)](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html) in the *Amazon Simple Storage Service Console Developer Guide* .
*
* @external

@@ -640,4 +758,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-encryptionconfiguration.html#cfn-ecr-repository-encryptionconfiguration-encryptiontype

/**
* `CfnRepository.EncryptionConfigurationProperty.KmsKey`.
* If you use the `KMS` encryption type, specify the AWS KMS key to use for encryption.
*
* The alias, key ID, or full ARN of the AWS KMS key can be specified. The key must exist in the same Region as the repository. If no key is specified, the default AWS managed AWS KMS key for Amazon ECR will be used.
*
* @external

@@ -652,2 +772,4 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-encryptionconfiguration.html#cfn-ecr-repository-encryptionconfiguration-kmskey

*
* The `AWS::ECR::Repository` resource specifies an Amazon Elastic Container Registry (Amazon ECR) repository, where users can push and pull Docker images, Open Container Initiative (OCI) images, and OCI compatible artifacts. For more information, see [Amazon ECR private repositories](https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html) in the *Amazon ECR User Guide* .
*
* @external

@@ -659,2 +781,4 @@ * @cloudformationResource AWS::ECR::Repository

/**
* The image scanning configuration for a repository.
*
* @external

@@ -665,4 +789,6 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-imagescanningconfiguration.html

/**
* `CfnRepository.ImageScanningConfigurationProperty.ScanOnPush`.
* The setting that determines whether images are scanned after being pushed to a repository.
*
* If set to `true` , images will be scanned after being pushed. If this parameter is not specified, it will default to `false` and images will not be scanned unless a scan is manually started.
*
* @external

@@ -677,2 +803,4 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-imagescanningconfiguration.html#cfn-ecr-repository-imagescanningconfiguration-scanonpush

*
* The `AWS::ECR::Repository` resource specifies an Amazon Elastic Container Registry (Amazon ECR) repository, where users can push and pull Docker images, Open Container Initiative (OCI) images, and OCI compatible artifacts. For more information, see [Amazon ECR private repositories](https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html) in the *Amazon ECR User Guide* .
*
* @external

@@ -684,2 +812,6 @@ * @cloudformationResource AWS::ECR::Repository

/**
* The `LifecyclePolicy` property type specifies a lifecycle policy.
*
* For information about lifecycle policy syntax, see [Lifecycle policy template](https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html) in the *Amazon ECR User Guide* .
*
* @external

@@ -690,3 +822,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-lifecyclepolicy.html

/**
* `CfnRepository.LifecyclePolicyProperty.LifecyclePolicyText`.
* The JSON repository policy text to apply to the repository.
*

@@ -698,4 +830,6 @@ * @external

/**
* `CfnRepository.LifecyclePolicyProperty.RegistryId`.
* The AWS account ID associated with the registry that contains the repository.
*
* If you do not specify a registry, the default registry is assumed.
*
* @external

@@ -702,0 +836,0 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-lifecyclepolicy.html#cfn-ecr-repository-lifecyclepolicy-registryid

@@ -192,3 +192,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
RepositoryBase[_a] = { fqn: "@aws-cdk/aws-ecr.RepositoryBase", version: "1.137.0" };
RepositoryBase[_a] = { fqn: "@aws-cdk/aws-ecr.RepositoryBase", version: "1.138.0" };
/**

@@ -434,3 +434,3 @@ * Define an ECR repository.

_b = JSII_RTTI_SYMBOL_1;
Repository[_b] = { fqn: "@aws-cdk/aws-ecr.Repository", version: "1.137.0" };
Repository[_b] = { fqn: "@aws-cdk/aws-ecr.Repository", version: "1.138.0" };
function validateAnyRuleLast(rules) {

@@ -437,0 +437,0 @@ const anyRules = rules.filter(r => r.tagStatus === lifecycle_1.TagStatus.ANY);

{
"name": "@aws-cdk/aws-ecr",
"version": "1.137.0",
"version": "1.138.0",
"description": "The CDK Construct Library for AWS::ECR",

@@ -86,13 +86,13 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert-internal": "1.137.0",
"@aws-cdk/cdk-build-tools": "1.137.0",
"@aws-cdk/cdk-integ-tools": "1.137.0",
"@aws-cdk/cfn2ts": "1.137.0",
"@aws-cdk/pkglint": "1.137.0",
"@aws-cdk/assert-internal": "1.138.0",
"@aws-cdk/cdk-build-tools": "1.138.0",
"@aws-cdk/cdk-integ-tools": "1.138.0",
"@aws-cdk/cfn2ts": "1.138.0",
"@aws-cdk/pkglint": "1.138.0",
"@types/jest": "^27.0.3"
},
"dependencies": {
"@aws-cdk/aws-events": "1.137.0",
"@aws-cdk/aws-iam": "1.137.0",
"@aws-cdk/core": "1.137.0",
"@aws-cdk/aws-events": "1.138.0",
"@aws-cdk/aws-iam": "1.138.0",
"@aws-cdk/core": "1.138.0",
"constructs": "^3.3.69"

@@ -102,5 +102,5 @@ },

"peerDependencies": {
"@aws-cdk/aws-events": "1.137.0",
"@aws-cdk/aws-iam": "1.137.0",
"@aws-cdk/core": "1.137.0",
"@aws-cdk/aws-events": "1.138.0",
"@aws-cdk/aws-iam": "1.138.0",
"@aws-cdk/core": "1.138.0",
"constructs": "^3.3.69"

@@ -107,0 +107,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc