RepositoryCreationTemplateState class
Input properties used for looking up and filtering RepositoryCreationTemplate resources.
Constructors
-
RepositoryCreationTemplateState({Input<
List< ? appliedFors, Input<String> ?>String?> ? customRoleArn, Input<String?> ? description, Input<List< ? encryptionConfigurations, Input<RepositoryCreationTemplateEncryptionConfiguration> ?>String?> ? imageTagMutability, Input<List< ? imageTagMutabilityExclusionFilters, Input<RepositoryCreationTemplateImageTagMutabilityExclusionFilter> ?>String?> ? lifecyclePolicy, Input<String?> ? prefix, Input<String?> ? region, Input<String?> ? registryId, Input<String?> ? repositoryPolicy, Input<Map< ? resourceTags})String, String> ?> -
Creates a new RepositoryCreationTemplateState.
appliedForsWhich features this template applies to. Must contain one or more ofCREATE_ON_PUSH,PULL_THROUGH_CACHE, orREPLICATION.customRoleArnA custom IAM role to use for repository creation. Required if using repository tags or KMS encryption.descriptionThe description for this template.encryptionConfigurationsEncryption configuration for any created repositories. See below for schema.imageTagMutabilityThe tag mutability setting for any created repositories. 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.lifecyclePolicyThe lifecycle policy document to apply to any created repositories. See more details about Policy Parameters in the official AWS docs. Consider using theaws.ecr.getLifecyclePolicyDocumentdataSource to generate/manage the JSON document used for thelifecyclePolicyargument.prefixThe repository name prefix to match against. UseROOTto match any prefix that doesn't explicitly match another template.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.registryIdThe registry ID the repository creation template applies to.repositoryPolicyThe registry policy document to apply to any created repositories. This is a JSON formatted string. For more information about building IAM policy documents with Terraform, see the AWS IAM Policy Document Guide.resourceTagsA map of tags to assign to any created repositories.const -
RepositoryCreationTemplateState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
appliedFors
→ Input<
List< ?String> ?> -
Which features this template applies to. Must contain one or more of
CREATE_ON_PUSH,PULL_THROUGH_CACHE, orREPLICATION.final -
customRoleArn
→ Input<
String?> ? -
A custom IAM role to use for repository creation. Required if using repository tags or KMS encryption.
final
-
description
→ Input<
String?> ? -
The description for this template.
final
-
encryptionConfigurations
→ Input<
List< ?RepositoryCreationTemplateEncryptionConfiguration> ?> -
Encryption configuration for any created repositories. See below for schema.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
imageTagMutability
→ Input<
String?> ? -
The tag mutability setting for any created repositories. Must be one of:
MUTABLE,IMMUTABLE,IMMUTABLE_WITH_EXCLUSION, orMUTABLE_WITH_EXCLUSION. Defaults toMUTABLE.final -
imageTagMutabilityExclusionFilters
→ Input<
List< ?RepositoryCreationTemplateImageTagMutabilityExclusionFilter> ?> -
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<
String?> ? -
The lifecycle policy document to apply to any created repositories. See more details about Policy Parameters in the official AWS docs. Consider using the
aws.ecr.getLifecyclePolicyDocumentdataSource to generate/manage the JSON document used for thelifecyclePolicyargument.final -
prefix
→ Input<
String?> ? -
The repository name prefix to match against. Use
ROOTto match any prefix that doesn't explicitly match another template.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
registryId
→ Input<
String?> ? -
The registry ID the repository creation template applies to.
final
-
repositoryPolicy
→ Input<
String?> ? -
The registry policy document to apply to any created repositories. This is a JSON formatted string. For more information about building IAM policy documents with Terraform, see the AWS IAM Policy Document Guide.
final
-
resourceTags
→ Input<
Map< ?String, String> ?> -
A map of tags to assign to any created repositories.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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