| Package | Description |
|---|---|
| software.amazon.awscdk.services.ecr |
Amazon ECR Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
static Repository.Builder |
Repository.Builder.create(software.constructs.Construct scope,
String id) |
Repository.Builder |
Repository.Builder.encryption(RepositoryEncryption encryption)
The kind of server-side encryption to apply to this repository.
|
Repository.Builder |
Repository.Builder.encryptionKey(IKey encryptionKey)
External KMS key to use for repository encryption.
|
Repository.Builder |
Repository.Builder.imageScanOnPush(Boolean imageScanOnPush)
Enable the scan on push when creating the repository.
|
Repository.Builder |
Repository.Builder.imageTagMutability(TagMutability imageTagMutability)
The tag mutability setting for the repository.
|
Repository.Builder |
Repository.Builder.lifecycleRegistryId(String lifecycleRegistryId)
The AWS account ID associated with the registry that contains the repository.
|
Repository.Builder |
Repository.Builder.lifecycleRules(List<? extends LifecycleRule> lifecycleRules)
Life cycle rules to apply to this registry.
|
Repository.Builder |
Repository.Builder.removalPolicy(RemovalPolicy removalPolicy)
Determine what happens to the repository when the resource/stack is deleted.
|
Repository.Builder |
Repository.Builder.repositoryName(String repositoryName)
Name for this repository.
|
Copyright © 2022. All rights reserved.