RepositoryArgs class

The set of arguments for Repository. The set of arguments for Repository.

Constructors

RepositoryArgs({Input<List<RepositoryEncryptionConfiguration>?>? encryptionConfigurations, Input<bool?>? forceDelete, Input<RepositoryImageScanningConfiguration?>? imageScanningConfiguration, Input<String?>? imageTagMutability, Input<List<RepositoryImageTagMutabilityExclusionFilter>?>? imageTagMutabilityExclusionFilters, Input<LifecyclePolicy?>? lifecyclePolicy, Input<String?>? name, Input<String?>? region, 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.
const
RepositoryArgs.fromMap(Map<String, dynamic> map)
factory

Properties

encryptionConfigurations → Input<List<RepositoryEncryptionConfiguration>?>?
Encryption configuration for the repository. See below for schema.
final
forceDelete → Input<bool?>?
If true, will delete the repository even if it contains images. Defaults to false.
final
hashCode → int
The hash code for this object.
no setterinherited
imageScanningConfiguration → Input<RepositoryImageScanningConfiguration?>?
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.
final
imageTagMutability → Input<String?>?
The tag mutability setting for the repository. Must be one of: MUTABLE, IMMUTABLE, IMMUTABLE_WITH_EXCLUSION, or MUTABLE_WITH_EXCLUSION. Defaults to MUTABLE.
final
imageTagMutabilityExclusionFilters → Input<List<RepositoryImageTagMutabilityExclusionFilter>?>?
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.
final
lifecyclePolicy → Input<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.
final
name → Input<String?>?
Name of the repository.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited