|
1928 | 1928 | "ecrRepositoryPrefix": { |
1929 | 1929 | "target": "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefix", |
1930 | 1930 | "traits": { |
1931 | | - "smithy.api#documentation": "<p>The repository name prefix to use when caching images from the source registry.</p>", |
| 1931 | + "smithy.api#documentation": "<p>The repository name prefix to use when caching images from the source registry.</p>\n <important>\n <p>There is always an assumed <code>/</code> applied to the end of the prefix. If you\n specify <code>ecr-public</code> as the prefix, Amazon ECR treats that as\n <code>ecr-public/</code>.</p>\n </important>", |
1932 | 1932 | "smithy.api#required": {} |
1933 | 1933 | } |
1934 | 1934 | }, |
1935 | 1935 | "upstreamRegistryUrl": { |
1936 | 1936 | "target": "com.amazonaws.ecr#Url", |
1937 | 1937 | "traits": { |
1938 | | - "smithy.api#documentation": "<p>The registry URL of the upstream public registry to use as the source for the pull\n through cache rule. The following is the syntax to use for each supported upstream\n registry.</p>\n <ul>\n <li>\n <p>Amazon ECR Public (<code>ecr-public</code>) - <code>public.ecr.aws</code>\n </p>\n </li>\n <li>\n <p>Docker Hub (<code>docker-hub</code>) -\n <code>registry-1.docker.io</code>\n </p>\n </li>\n <li>\n <p>Quay (<code>quay</code>) - <code>quay.io</code>\n </p>\n </li>\n <li>\n <p>Kubernetes (<code>k8s</code>) - <code>registry.k8s.io</code>\n </p>\n </li>\n <li>\n <p>GitHub Container Registry (<code>github-container-registry</code>) -\n <code>ghcr.io</code>\n </p>\n </li>\n <li>\n <p>Microsoft Azure Container Registry (<code>azure-container-registry</code>) -\n <code><custom>.azurecr.io</code>\n </p>\n </li>\n </ul>", |
| 1938 | + "smithy.api#documentation": "<p>The registry URL of the upstream public registry to use as the source for the pull\n through cache rule. The following is the syntax to use for each supported upstream\n registry.</p>\n <ul>\n <li>\n <p>Amazon ECR (<code>ecr</code>) –\n <code>dkr.ecr.<region>.amazonaws.com</code>\n </p>\n </li>\n <li>\n <p>Amazon ECR Public (<code>ecr-public</code>) – <code>public.ecr.aws</code>\n </p>\n </li>\n <li>\n <p>Docker Hub (<code>docker-hub</code>) –\n <code>registry-1.docker.io</code>\n </p>\n </li>\n <li>\n <p>GitHub Container Registry (<code>github-container-registry</code>) –\n <code>ghcr.io</code>\n </p>\n </li>\n <li>\n <p>GitLab Container Registry (<code>gitlab-container-registry</code>) –\n <code>registry.gitlab.com</code>\n </p>\n </li>\n <li>\n <p>Kubernetes (<code>k8s</code>) – <code>registry.k8s.io</code>\n </p>\n </li>\n <li>\n <p>Microsoft Azure Container Registry (<code>azure-container-registry</code>) –\n <code><custom>.azurecr.io</code>\n </p>\n </li>\n <li>\n <p>Quay (<code>quay</code>) – <code>quay.io</code>\n </p>\n </li>\n </ul>", |
1939 | 1939 | "smithy.api#required": {} |
1940 | 1940 | } |
1941 | 1941 | }, |
|
1956 | 1956 | "traits": { |
1957 | 1957 | "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate\n to the upstream registry.</p>" |
1958 | 1958 | } |
| 1959 | + }, |
| 1960 | + "customRoleArn": { |
| 1961 | + "target": "com.amazonaws.ecr#CustomRoleArn", |
| 1962 | + "traits": { |
| 1963 | + "smithy.api#documentation": "<p>Amazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to authenticate to\n the ECR upstream registry. This role must be in the same account as the registry that\n you are configuring.</p>" |
| 1964 | + } |
| 1965 | + }, |
| 1966 | + "upstreamRepositoryPrefix": { |
| 1967 | + "target": "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefix", |
| 1968 | + "traits": { |
| 1969 | + "smithy.api#documentation": "<p>The repository name prefix of the upstream registry to match with the upstream\n repository name. When this field isn't specified, Amazon ECR will use the\n <code>ROOT</code>.</p>" |
| 1970 | + } |
1959 | 1971 | } |
1960 | 1972 | }, |
1961 | 1973 | "traits": { |
|
2000 | 2012 | "traits": { |
2001 | 2013 | "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache\n rule.</p>" |
2002 | 2014 | } |
| 2015 | + }, |
| 2016 | + "customRoleArn": { |
| 2017 | + "target": "com.amazonaws.ecr#CustomRoleArn", |
| 2018 | + "traits": { |
| 2019 | + "smithy.api#documentation": "<p>The ARN of the IAM role associated with the pull through cache rule.</p>" |
| 2020 | + } |
| 2021 | + }, |
| 2022 | + "upstreamRepositoryPrefix": { |
| 2023 | + "target": "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefix", |
| 2024 | + "traits": { |
| 2025 | + "smithy.api#documentation": "<p>The upstream repository prefix associated with the pull through cache rule.</p>" |
| 2026 | + } |
2003 | 2027 | } |
2004 | 2028 | }, |
2005 | 2029 | "traits": { |
|
2519 | 2543 | "traits": { |
2520 | 2544 | "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache\n rule.</p>" |
2521 | 2545 | } |
| 2546 | + }, |
| 2547 | + "customRoleArn": { |
| 2548 | + "target": "com.amazonaws.ecr#CustomRoleArn", |
| 2549 | + "traits": { |
| 2550 | + "smithy.api#documentation": "<p>The ARN of the IAM role associated with the pull through cache rule.</p>" |
| 2551 | + } |
| 2552 | + }, |
| 2553 | + "upstreamRepositoryPrefix": { |
| 2554 | + "target": "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefix", |
| 2555 | + "traits": { |
| 2556 | + "smithy.api#documentation": "<p>The upstream repository prefix associated with the pull through cache rule.</p>" |
| 2557 | + } |
2522 | 2558 | } |
2523 | 2559 | }, |
2524 | 2560 | "traits": { |
|
3814 | 3850 | "value": { |
3815 | 3851 | "target": "com.amazonaws.ecr#AccountSettingName", |
3816 | 3852 | "traits": { |
3817 | | - "smithy.api#documentation": "<p>The setting value for the setting name. The following are valid values for the basic scan\n type being used: <code>AWS_NATIVE</code> or <code>CLAIR</code>. The following are valid\n values for the registry policy scope being used: <code>V1</code> or\n <code>V2</code>.</p>" |
| 3853 | + "smithy.api#documentation": "<p>The setting value for the setting name. The following are valid values for the basic\n scan type being used: <code>AWS_NATIVE</code> or <code>CLAIR</code>. The following are\n valid values for the registry policy scope being used: <code>V1</code> or\n <code>V2</code>.</p>" |
3818 | 3854 | } |
3819 | 3855 | } |
3820 | 3856 | }, |
|
4497 | 4533 | "imageSizeInBytes": { |
4498 | 4534 | "target": "com.amazonaws.ecr#ImageSizeInBytes", |
4499 | 4535 | "traits": { |
4500 | | - "smithy.api#documentation": "<p>The size, in bytes, of the image in the repository.</p>\n <p>If the image is a manifest list, this will be the max size of all manifests in the\n list.</p>\n <note>\n <p>Beginning with Docker version 1.9, the Docker client compresses image layers\n before pushing them to a V2 Docker registry. The output of the <code>docker\n images</code> command shows the uncompressed image size, so it may return a\n larger image size than the image sizes returned by <a>DescribeImages</a>.</p>\n </note>" |
| 4536 | + "smithy.api#documentation": "<p>The size, in bytes, of the image in the repository.</p>\n <p>If the image is a manifest list, this will be the max size of all manifests in the\n list.</p>\n <note>\n <p>Starting with Docker version 1.9, the Docker client compresses image layers before\n pushing them to a V2 Docker registry. The output of the <code>docker images</code>\n command shows the uncompressed image size. Therefore, Docker might return a larger\n image than the image sizes returned by <a>DescribeImages</a>.</p>\n </note>" |
4501 | 4537 | } |
4502 | 4538 | }, |
4503 | 4539 | "imagePushedAt": { |
|
5900 | 5936 | "smithy.api#documentation": "<p>The ARN of the Secrets Manager secret associated with the pull through cache rule.</p>" |
5901 | 5937 | } |
5902 | 5938 | }, |
| 5939 | + "customRoleArn": { |
| 5940 | + "target": "com.amazonaws.ecr#CustomRoleArn", |
| 5941 | + "traits": { |
| 5942 | + "smithy.api#documentation": "<p>The ARN of the IAM role associated with the pull through cache rule.</p>" |
| 5943 | + } |
| 5944 | + }, |
| 5945 | + "upstreamRepositoryPrefix": { |
| 5946 | + "target": "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefix", |
| 5947 | + "traits": { |
| 5948 | + "smithy.api#documentation": "<p>The upstream repository prefix associated with the pull through cache rule.</p>" |
| 5949 | + } |
| 5950 | + }, |
5903 | 5951 | "upstreamRegistry": { |
5904 | 5952 | "target": "com.amazonaws.ecr#UpstreamRegistry", |
5905 | 5953 | "traits": { |
|
5954 | 6002 | "min": 2, |
5955 | 6003 | "max": 30 |
5956 | 6004 | }, |
5957 | | - "smithy.api#pattern": "^(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*$" |
| 6005 | + "smithy.api#pattern": "^((?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*/?|ROOT)$" |
5958 | 6006 | } |
5959 | 6007 | }, |
5960 | 6008 | "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefixList": { |
|
6947 | 6995 | "repositoryPolicy": { |
6948 | 6996 | "target": "com.amazonaws.ecr#RepositoryPolicyText", |
6949 | 6997 | "traits": { |
6950 | | - "smithy.api#documentation": "<p>he repository policy to apply to repositories created using the template. A repository\n policy is a permissions policy associated with a repository to control access\n permissions. </p>" |
| 6998 | + "smithy.api#documentation": "<p>The repository policy to apply to repositories created using the template. A\n repository policy is a permissions policy associated with a repository to control access\n permissions. </p>" |
6951 | 6999 | } |
6952 | 7000 | }, |
6953 | 7001 | "lifecyclePolicy": { |
|
8165 | 8213 | "credentialArn": { |
8166 | 8214 | "target": "com.amazonaws.ecr#CredentialArn", |
8167 | 8215 | "traits": { |
8168 | | - "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate\n to the upstream registry.</p>", |
8169 | | - "smithy.api#required": {} |
| 8216 | + "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate\n to the upstream registry.</p>" |
| 8217 | + } |
| 8218 | + }, |
| 8219 | + "customRoleArn": { |
| 8220 | + "target": "com.amazonaws.ecr#CustomRoleArn", |
| 8221 | + "traits": { |
| 8222 | + "smithy.api#documentation": "<p>Amazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to authenticate to the\n ECR upstream registry. This role must be in the same account as the registry that you\n are configuring.</p>" |
8170 | 8223 | } |
8171 | 8224 | } |
8172 | 8225 | }, |
|
8200 | 8253 | "traits": { |
8201 | 8254 | "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache\n rule.</p>" |
8202 | 8255 | } |
| 8256 | + }, |
| 8257 | + "customRoleArn": { |
| 8258 | + "target": "com.amazonaws.ecr#CustomRoleArn", |
| 8259 | + "traits": { |
| 8260 | + "smithy.api#documentation": "<p>The ARN of the IAM role associated with the pull through cache rule.</p>" |
| 8261 | + } |
| 8262 | + }, |
| 8263 | + "upstreamRepositoryPrefix": { |
| 8264 | + "target": "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefix", |
| 8265 | + "traits": { |
| 8266 | + "smithy.api#documentation": "<p>The upstream repository prefix associated with the pull through cache rule.</p>" |
| 8267 | + } |
8203 | 8268 | } |
8204 | 8269 | }, |
8205 | 8270 | "traits": { |
|
8455 | 8520 | "com.amazonaws.ecr#UpstreamRegistry": { |
8456 | 8521 | "type": "enum", |
8457 | 8522 | "members": { |
| 8523 | + "Ecr": { |
| 8524 | + "target": "smithy.api#Unit", |
| 8525 | + "traits": { |
| 8526 | + "smithy.api#enumValue": "ecr" |
| 8527 | + } |
| 8528 | + }, |
8458 | 8529 | "EcrPublic": { |
8459 | 8530 | "target": "smithy.api#Unit", |
8460 | 8531 | "traits": { |
|
8576 | 8647 | "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache\n rule.</p>" |
8577 | 8648 | } |
8578 | 8649 | }, |
| 8650 | + "customRoleArn": { |
| 8651 | + "target": "com.amazonaws.ecr#CustomRoleArn", |
| 8652 | + "traits": { |
| 8653 | + "smithy.api#documentation": "<p>The ARN of the IAM role associated with the pull through cache rule.</p>" |
| 8654 | + } |
| 8655 | + }, |
| 8656 | + "upstreamRepositoryPrefix": { |
| 8657 | + "target": "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefix", |
| 8658 | + "traits": { |
| 8659 | + "smithy.api#documentation": "<p>The upstream repository prefix associated with the pull through cache rule.</p>" |
| 8660 | + } |
| 8661 | + }, |
8579 | 8662 | "isValid": { |
8580 | 8663 | "target": "com.amazonaws.ecr#IsPTCRuleValid", |
8581 | 8664 | "traits": { |
|
0 commit comments