RepositoryCreationTemplateArgs class

The set of arguments for RepositoryCreationTemplate. The set of arguments for RepositoryCreationTemplate.

Constructors

RepositoryCreationTemplateArgs({required Input<List<String>> appliedFors, Input<String?>? customRoleArn, Input<String?>? description, Input<List<RepositoryCreationTemplateEncryptionConfiguration>?>? encryptionConfigurations, Input<String?>? imageTagMutability, Input<List<RepositoryCreationTemplateImageTagMutabilityExclusionFilter>?>? imageTagMutabilityExclusionFilters, Input<String?>? lifecyclePolicy, required Input<String> prefix, Input<String?>? region, Input<String?>? repositoryPolicy, Input<Map<String, String>?>? resourceTags})
Creates a new RepositoryCreationTemplateArgs. appliedFors Which features this template applies to. Must contain one or more of CREATE_ON_PUSH, PULL_THROUGH_CACHE, or REPLICATION. customRoleArn A custom IAM role to use for repository creation. Required if using repository tags or KMS encryption. description The description for this template. encryptionConfigurations Encryption configuration for any created repositories. See below for schema. imageTagMutability The tag mutability setting for any created repositories. 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 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.getLifecyclePolicyDocument dataSource to generate/manage the JSON document used for the lifecyclePolicy argument. prefix The repository name prefix to match against. Use ROOT to match any prefix that doesn't explicitly match another template. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. repositoryPolicy 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. resourceTags A map of tags to assign to any created repositories.
const
RepositoryCreationTemplateArgs.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, or REPLICATION.
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, or MUTABLE_WITH_EXCLUSION. Defaults to MUTABLE.
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 imageTagMutability is set to IMMUTABLE_WITH_EXCLUSION or MUTABLE_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.getLifecyclePolicyDocument dataSource to generate/manage the JSON document used for the lifecyclePolicy argument.
final
prefix → Input<String>
The repository name prefix to match against. Use ROOT to 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
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