aws-iam-policy-types
Version:
Autogenerated Typescript types for AWS IAM Policy and enums for all policy actions
331 lines • 14.6 kB
JavaScript
// AUTOGENERATED FILE - DO NOT EDIT
/**
* All IAM policy actions for Amazon Elastic Container Registry (ECR)
*
* Extracted by `aws-iam-policy` from
* https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonelasticcontainerregistry.html
*
* 2025-02-24T21:47:45.770Z
*/
export var AwsEcrActions;
(function (AwsEcrActions) {
/**
* Grants permission to check the availability of multiple image layers in a speci
* fied registry and repository
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_BatchCheckLayerAvailability.html
*/
AwsEcrActions["BatchCheckLayerAvailability"] = "ecr:BatchCheckLayerAvailability";
/**
* Grants permission to delete a list of specified images within a specified repos
* itory
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_BatchDeleteImage.html
*/
AwsEcrActions["BatchDeleteImage"] = "ecr:BatchDeleteImage";
/**
* Grants permission to get detailed information for specified images within a spe
* cified repository
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_BatchGetImage.html
*/
AwsEcrActions["BatchGetImage"] = "ecr:BatchGetImage";
/**
* Grants permission to retrieve repository scanning configuration for a list of r
* epositories
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_BatchGetRepositoryScanningConfiguration.html
*/
AwsEcrActions["BatchGetRepositoryScanningConfiguration"] = "ecr:BatchGetRepositoryScanningConfiguration";
/**
* Grants permission to retrieve the image from the upstream registry and import i
* t to your private registry
*
* See https://docs.aws.amazon.com/AmazonECR/latest/userguide/pull-through-cache.html
*/
AwsEcrActions["BatchImportUpstreamImage"] = "ecr:BatchImportUpstreamImage";
/**
* Grants permission to inform Amazon ECR that the image layer upload for a specif
* ied registry, repository name, and upload ID, has completed
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_CompleteLayerUpload.html
*/
AwsEcrActions["CompleteLayerUpload"] = "ecr:CompleteLayerUpload";
/**
* Grants permission to create new pull-through cache rule
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_CreatePullThroughCacheRule.html
*/
AwsEcrActions["CreatePullThroughCacheRule"] = "ecr:CreatePullThroughCacheRule";
/**
* Grants permission to create an image repository
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_CreateRepository.html
*/
AwsEcrActions["CreateRepository"] = "ecr:CreateRepository";
/**
* Grants permission to create the repository creation template
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_CreateRepositoryCreationTemplate.html
*/
AwsEcrActions["CreateRepositoryCreationTemplate"] = "ecr:CreateRepositoryCreationTemplate";
/**
* Grants permission to delete the specified lifecycle policy
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_DeleteLifecyclePolicy.html
*/
AwsEcrActions["DeleteLifecyclePolicy"] = "ecr:DeleteLifecyclePolicy";
/**
* Grants permission to delete the pull-through cache rule
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_DeletePullThroughCacheRule.html
*/
AwsEcrActions["DeletePullThroughCacheRule"] = "ecr:DeletePullThroughCacheRule";
/**
* Grants permission to delete the registry policy
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_DeleteRegistryPolicy.html
*/
AwsEcrActions["DeleteRegistryPolicy"] = "ecr:DeleteRegistryPolicy";
/**
* Grants permission to delete an existing image repository
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_DeleteRepository.html
*/
AwsEcrActions["DeleteRepository"] = "ecr:DeleteRepository";
/**
* Grants permission to delete the repository creation template
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_DeleteRepositoryCreationTemplate.html
*/
AwsEcrActions["DeleteRepositoryCreationTemplate"] = "ecr:DeleteRepositoryCreationTemplate";
/**
* Grants permission to delete the repository policy from a specified repository
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_DeleteRepositoryPolicy.html
*/
AwsEcrActions["DeleteRepositoryPolicy"] = "ecr:DeleteRepositoryPolicy";
/**
* Grants permission to retrieve replication status about an image in a registry,
* including failure reason if replication fails
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_DescribeImageReplicationStatus.html
*/
AwsEcrActions["DescribeImageReplicationStatus"] = "ecr:DescribeImageReplicationStatus";
/**
* Grants permission to describe the image scan findings for the specified image
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_DescribeImageScanFindings.html
*/
AwsEcrActions["DescribeImageScanFindings"] = "ecr:DescribeImageScanFindings";
/**
* Grants permission to get metadata about the images in a repository, including i
* mage size, image tags, and creation date
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_DescribeImages.html
*/
AwsEcrActions["DescribeImages"] = "ecr:DescribeImages";
/**
* Grants permission to describe the pull-through cache rules
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_DescribePullThroughCacheRules.html
*/
AwsEcrActions["DescribePullThroughCacheRules"] = "ecr:DescribePullThroughCacheRules";
/**
* Grants permission to describe the registry settings
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_DescribeRegistry.html
*/
AwsEcrActions["DescribeRegistry"] = "ecr:DescribeRegistry";
/**
* Grants permission to describe image repositories in a registry
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_DescribeRepositories.html
*/
AwsEcrActions["DescribeRepositories"] = "ecr:DescribeRepositories";
/**
* Grants permission to describe the repository creation template
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_DescribeRepositoryCreationTemplates.html
*/
AwsEcrActions["DescribeRepositoryCreationTemplates"] = "ecr:DescribeRepositoryCreationTemplates";
/**
* Grants permission to retrieve account settings
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetAccountSetting.html
*/
AwsEcrActions["GetAccountSetting"] = "ecr:GetAccountSetting";
/**
* Grants permission to retrieve a token that is valid for a specified registry fo
* r 12 hours
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetAuthorizationToken.html
*/
AwsEcrActions["GetAuthorizationToken"] = "ecr:GetAuthorizationToken";
/**
* Grants permission to retrieve the download URL corresponding to an image layer
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetDownloadUrlForLayer.html
*/
AwsEcrActions["GetDownloadUrlForLayer"] = "ecr:GetDownloadUrlForLayer";
/**
* Grants permission to retrieve the specified lifecycle policy
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetLifecyclePolicy.html
*/
AwsEcrActions["GetLifecyclePolicy"] = "ecr:GetLifecyclePolicy";
/**
* Grants permission to retrieve the results of the specified lifecycle policy pre
* view request
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetLifecyclePolicyPreview.html
*/
AwsEcrActions["GetLifecyclePolicyPreview"] = "ecr:GetLifecyclePolicyPreview";
/**
* Grants permission to retrieve the registry policy
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetRegistryPolicy.html
*/
AwsEcrActions["GetRegistryPolicy"] = "ecr:GetRegistryPolicy";
/**
* Grants permission to retrieve registry scanning configuration
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetRegistryScanningConfiguration.html
*/
AwsEcrActions["GetRegistryScanningConfiguration"] = "ecr:GetRegistryScanningConfiguration";
/**
* Grants permission to retrieve the repository policy for a specified repository
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_GetRepositoryPolicy.html
*/
AwsEcrActions["GetRepositoryPolicy"] = "ecr:GetRepositoryPolicy";
/**
* Grants permission to notify Amazon ECR that you intend to upload an image layer
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_InitiateLayerUpload.html
*/
AwsEcrActions["InitiateLayerUpload"] = "ecr:InitiateLayerUpload";
/**
* Grants permission to list all the image IDs for a given repository
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_ListImages.html
*/
AwsEcrActions["ListImages"] = "ecr:ListImages";
/**
* Grants permission to list the tags for an Amazon ECR resource
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_ListTagsForResource.html
*/
AwsEcrActions["ListTagsForResource"] = "ecr:ListTagsForResource";
/**
* Grants permission to update account settings
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_PutAccountSetting.html
*/
AwsEcrActions["PutAccountSetting"] = "ecr:PutAccountSetting";
/**
* Grants permission to create or update the image manifest associated with an ima
* ge
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_PutImage.html
*/
AwsEcrActions["PutImage"] = "ecr:PutImage";
/**
* Grants permission to update the image scanning configuration for a repository
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_PutImageScanningConfiguration.html
*/
AwsEcrActions["PutImageScanningConfiguration"] = "ecr:PutImageScanningConfiguration";
/**
* Grants permission to update the image tag mutability settings for a repository
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_PutImageTagMutability.html
*/
AwsEcrActions["PutImageTagMutability"] = "ecr:PutImageTagMutability";
/**
* Grants permission to create or update a lifecycle policy
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_PutLifecyclePolicy.html
*/
AwsEcrActions["PutLifecyclePolicy"] = "ecr:PutLifecyclePolicy";
/**
* Grants permission to update the registry policy
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_PutRegistryPolicy.html
*/
AwsEcrActions["PutRegistryPolicy"] = "ecr:PutRegistryPolicy";
/**
* Grants permission to update registry scanning configuration
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_PutRegistryScanningConfiguration.html
*/
AwsEcrActions["PutRegistryScanningConfiguration"] = "ecr:PutRegistryScanningConfiguration";
/**
* Grants permission to update the replication configuration for the registry
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_PutReplicationConfiguration.html
*/
AwsEcrActions["PutReplicationConfiguration"] = "ecr:PutReplicationConfiguration";
/**
* Grants permission to replicate images to the destination registry
*
* See https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html
*/
AwsEcrActions["ReplicateImage"] = "ecr:ReplicateImage";
/**
* Grants permission to apply a repository policy on a specified repository to con
* trol access permissions
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_SetRepositoryPolicy.html
*/
AwsEcrActions["SetRepositoryPolicy"] = "ecr:SetRepositoryPolicy";
/**
* Grants permission to start an image scan
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_StartImageScan.html
*/
AwsEcrActions["StartImageScan"] = "ecr:StartImageScan";
/**
* Grants permission to start a preview of the specified lifecycle policy
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_StartLifecyclePolicyPreview.html
*/
AwsEcrActions["StartLifecyclePolicyPreview"] = "ecr:StartLifecyclePolicyPreview";
/**
* Grants permission to tag an Amazon ECR resource
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_TagResource.html
*/
AwsEcrActions["TagResource"] = "ecr:TagResource";
/**
* Grants permission to untag an Amazon ECR resource
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_UntagResource.html
*/
AwsEcrActions["UntagResource"] = "ecr:UntagResource";
/**
* Grants permission to update the pull-through cache rule
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_UpdatePullThroughCacheRule.html
*/
AwsEcrActions["UpdatePullThroughCacheRule"] = "ecr:UpdatePullThroughCacheRule";
/**
* Grants permission to update the repository creation template
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_UpdateRepositoryCreationTemplate.html
*/
AwsEcrActions["UpdateRepositoryCreationTemplate"] = "ecr:UpdateRepositoryCreationTemplate";
/**
* Grants permission to upload an image layer part to Amazon ECR
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_UploadLayerPart.html
*/
AwsEcrActions["UploadLayerPart"] = "ecr:UploadLayerPart";
/**
* Grants permission to validate the pull-through cache rule
*
* See https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_ValidatePullThroughCacheRule.html
*/
AwsEcrActions["ValidatePullThroughCacheRule"] = "ecr:ValidatePullThroughCacheRule";
})(AwsEcrActions || (AwsEcrActions = {}));
//# sourceMappingURL=ecr.js.map