RepositoryCreationTemplateArgs constructor
- required Input<
List< appliedFors,String> > - Input<
String?> ? customRoleArn, - Input<
String?> ? description, - Input<
List< ? encryptionConfigurations,RepositoryCreationTemplateEncryptionConfiguration> ?> - Input<
String?> ? imageTagMutability, - Input<
List< ? imageTagMutabilityExclusionFilters,RepositoryCreationTemplateImageTagMutabilityExclusionFilter> ?> - Input<
String?> ? lifecyclePolicy, - required Input<
String> prefix, - Input<
String?> ? region, - Input<
String?> ? repositoryPolicy, - Input<
Map< ? resourceTags,String, String> ?>
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.
Implementation
const RepositoryCreationTemplateArgs({
required this.appliedFors,
this.customRoleArn,
this.description,
this.encryptionConfigurations,
this.imageTagMutability,
this.imageTagMutabilityExclusionFilters,
this.lifecyclePolicy,
required this.prefix,
this.region,
this.repositoryPolicy,
this.resourceTags,
});