Delete Repository
ecr_delete_repository | R Documentation |
Deletes a repository¶
Description¶
Deletes a repository. If the repository isn't empty, you must either
delete the contents of the repository or use the force
option to
delete the repository and have Amazon ECR delete all of its contents on
your behalf.
Usage¶
Arguments¶
registryId
The Amazon Web Services account ID associated with the registry that contains the repository to delete. If you do not specify a registry, the default registry is assumed.
repositoryName
[required] The name of the repository to delete.
force
If true, deleting the repository force deletes the contents of the repository. If false, the repository must be empty before attempting to delete it.
Value¶
A list with the following syntax:
list(
repository = list(
repositoryArn = "string",
registryId = "string",
repositoryName = "string",
repositoryUri = "string",
createdAt = as.POSIXct(
"2015-01-01"
),
imageTagMutability = "MUTABLE"|"IMMUTABLE",
imageScanningConfiguration = list(
scanOnPush = TRUE|FALSE
),
encryptionConfiguration = list(
encryptionType = "AES256"|"KMS",
kmsKey = "string"
)
)
)