import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * The details of the repository creation template associated with the request. */ export declare class RepositoryCreationTemplate extends pulumi.CustomResource { /** * Get an existing RepositoryCreationTemplate resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): RepositoryCreationTemplate; /** * Returns true if the given object is an instance of RepositoryCreationTemplate. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is RepositoryCreationTemplate; /** * A list of enumerable Strings representing the repository creation scenarios that this template will apply towards. The supported scenarios are PULL_THROUGH_CACHE, REPLICATION, and CREATE_ON_PUSH */ readonly appliedFor: pulumi.Output; /** * The date and time, in JavaScript date format, when the repository creation template was created. */ readonly createdAt: pulumi.Output; /** * The ARN of the role to be assumed by Amazon ECR. Amazon ECR will assume your supplied role when the customRoleArn is specified. When this field isn't specified, Amazon ECR will use the service-linked role for the repository creation template. */ readonly customRoleArn: pulumi.Output; /** * The description associated with the repository creation template. */ readonly description: pulumi.Output; /** * The encryption configuration associated with the repository creation template. */ readonly encryptionConfiguration: pulumi.Output; /** * The tag mutability setting for the repository. If this parameter is omitted, the default setting of ``MUTABLE`` will be used which will allow image tags to be overwritten. If ``IMMUTABLE`` is specified, all image tags within the repository will be immutable which will prevent them from being overwritten. */ readonly imageTagMutability: pulumi.Output; /** * A list of filters that specify which image tags are excluded from the repository creation template's image tag mutability setting. */ readonly imageTagMutabilityExclusionFilters: pulumi.Output; /** * The lifecycle policy to use for repositories created using the template. */ readonly lifecyclePolicy: pulumi.Output; /** * The repository namespace prefix associated with the repository creation template. */ readonly prefix: pulumi.Output; /** * The repository policy to apply to repositories created using the template. A repository policy is a permissions policy associated with a repository to control access permissions. */ readonly repositoryPolicy: pulumi.Output; /** * The metadata to apply to the repository to help you categorize and organize. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters. */ readonly resourceTags: pulumi.Output; /** * The date and time, in JavaScript date format, when the repository creation template was last updated. */ readonly updatedAt: pulumi.Output; /** * Create a RepositoryCreationTemplate resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RepositoryCreationTemplateArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a RepositoryCreationTemplate resource. */ export interface RepositoryCreationTemplateArgs { /** * A list of enumerable Strings representing the repository creation scenarios that this template will apply towards. The supported scenarios are PULL_THROUGH_CACHE, REPLICATION, and CREATE_ON_PUSH */ appliedFor: pulumi.Input[]>; /** * The ARN of the role to be assumed by Amazon ECR. Amazon ECR will assume your supplied role when the customRoleArn is specified. When this field isn't specified, Amazon ECR will use the service-linked role for the repository creation template. */ customRoleArn?: pulumi.Input; /** * The description associated with the repository creation template. */ description?: pulumi.Input; /** * The encryption configuration associated with the repository creation template. */ encryptionConfiguration?: pulumi.Input; /** * The tag mutability setting for the repository. If this parameter is omitted, the default setting of ``MUTABLE`` will be used which will allow image tags to be overwritten. If ``IMMUTABLE`` is specified, all image tags within the repository will be immutable which will prevent them from being overwritten. */ imageTagMutability?: pulumi.Input; /** * A list of filters that specify which image tags are excluded from the repository creation template's image tag mutability setting. */ imageTagMutabilityExclusionFilters?: pulumi.Input[]>; /** * The lifecycle policy to use for repositories created using the template. */ lifecyclePolicy?: pulumi.Input; /** * The repository namespace prefix associated with the repository creation template. */ prefix: pulumi.Input; /** * The repository policy to apply to repositories created using the template. A repository policy is a permissions policy associated with a repository to control access permissions. */ repositoryPolicy?: pulumi.Input; /** * The metadata to apply to the repository to help you categorize and organize. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters. */ resourceTags?: pulumi.Input[]>; }