RepositoryArgs class
The set of arguments for Repository. The set of arguments for Repository.
Constructors
-
RepositoryArgs({Input<
List< ? encryptionConfigurations, Input<RepositoryEncryptionConfiguration> ?>bool?> ? forceDelete, Input<RepositoryImageScanningConfiguration?> ? imageScanningConfiguration, Input<String?> ? imageTagMutability, Input<List< ? imageTagMutabilityExclusionFilters, Input<RepositoryImageTagMutabilityExclusionFilter> ?>LifecyclePolicy?> ? lifecyclePolicy, Input<String?> ? name, Input<String?> ? region, Input<Map< ? tags})String, String> ?> -
Creates a new RepositoryArgs.
encryptionConfigurationsEncryption configuration for the repository. See below for schema.forceDeleteIftrue, will delete the repository even if it contains images.imageScanningConfigurationConfiguration 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.imageTagMutabilityThe tag mutability setting for the repository. Must be one of:MUTABLE,IMMUTABLE,IMMUTABLE_WITH_EXCLUSION, orMUTABLE_WITH_EXCLUSION. Defaults toMUTABLE.imageTagMutabilityExclusionFiltersConfiguration block that defines filters to specify which image tags can override the default tag mutability setting. Only applicable whenimageTagMutabilityis set toIMMUTABLE_WITH_EXCLUSIONorMUTABLE_WITH_EXCLUSION. See below for schema.lifecyclePolicyA 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.nameName of the repository.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsA map of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration 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 tofalse.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, orMUTABLE_WITH_EXCLUSION. Defaults toMUTABLE.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
imageTagMutabilityis set toIMMUTABLE_WITH_EXCLUSIONorMUTABLE_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
-
A map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration 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