RepositoryArgs constructor
- Input<
List< ? encryptionConfigurations,RepositoryEncryptionConfiguration> ?> - Input<
bool?> ? forceDelete, - Input<
RepositoryImageScanningConfiguration?> ? imageScanningConfiguration, - Input<
String?> ? imageTagMutability, - Input<
List< ? imageTagMutabilityExclusionFilters,RepositoryImageTagMutabilityExclusionFilter> ?> - Input<
String?> ? name, - Input<
String?> ? region, - Input<
Map< ? tags,String, String> ?>
Creates a new RepositoryArgs.
encryptionConfigurations Encryption configuration for the repository. See below for schema.
forceDelete If true, will delete the repository even if it contains images.
imageScanningConfiguration Configuration block that defines image scanning configuration for the repository. By default, image scanning must be manually triggered. See the ECR User Guide for more information about image scanning.
imageTagMutability The tag mutability setting for the repository. Must be one of: MUTABLE, IMMUTABLE, IMMUTABLE_WITH_EXCLUSION, or MUTABLE_WITH_EXCLUSION. Defaults to MUTABLE.
imageTagMutabilityExclusionFilters Configuration block that defines filters to specify which image tags can override the default tag mutability setting. Only applicable when imageTagMutability is set to IMMUTABLE_WITH_EXCLUSION or MUTABLE_WITH_EXCLUSION. See below for schema.
name Name of the repository.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
tags A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Implementation
const RepositoryArgs({
this.encryptionConfigurations,
this.forceDelete,
this.imageScanningConfiguration,
this.imageTagMutability,
this.imageTagMutabilityExclusionFilters,
this.name,
this.region,
this.tags,
});