RepositoryArgs constructor

const RepositoryArgs({
  1. Input<List<RepositoryEncryptionConfiguration>?>? encryptionConfigurations,
  2. Input<bool?>? forceDelete,
  3. Input<RepositoryImageScanningConfiguration?>? imageScanningConfiguration,
  4. Input<String?>? imageTagMutability,
  5. Input<List<RepositoryImageTagMutabilityExclusionFilter>?>? imageTagMutabilityExclusionFilters,
  6. Input<LifecyclePolicy?>? lifecyclePolicy,
  7. Input<String?>? name,
  8. Input<String?>? region,
  9. Input<Map<String, String>?>? tags,
})

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. lifecyclePolicy A lifecycle policy consists of one or more rules that determine which images in a repository should be expired. If not provided, this will default to untagged images expiring after 1 day. 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.lifecyclePolicy,
  this.name,
  this.region,
  this.tags,
});