Class RepositoryCreationTemplateState.Builder

    • Method Detail

      • appliedFors

        public RepositoryCreationTemplateState.Builder appliedFors​(@Nullable
                                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> appliedFors)
        Parameters:
        appliedFors - Which features this template applies to. Must contain one or more of `CREATE_ON_PUSH`, `PULL_THROUGH_CACHE`, or `REPLICATION`.
        Returns:
        builder
      • appliedFors

        public RepositoryCreationTemplateState.Builder appliedFors​(java.util.List<java.lang.String> appliedFors)
        Parameters:
        appliedFors - Which features this template applies to. Must contain one or more of `CREATE_ON_PUSH`, `PULL_THROUGH_CACHE`, or `REPLICATION`.
        Returns:
        builder
      • appliedFors

        public RepositoryCreationTemplateState.Builder appliedFors​(java.lang.String... appliedFors)
        Parameters:
        appliedFors - Which features this template applies to. Must contain one or more of `CREATE_ON_PUSH`, `PULL_THROUGH_CACHE`, or `REPLICATION`.
        Returns:
        builder
      • customRoleArn

        public RepositoryCreationTemplateState.Builder customRoleArn​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> customRoleArn)
        Parameters:
        customRoleArn - A custom IAM role to use for repository creation. Required if using repository tags or KMS encryption.
        Returns:
        builder
      • customRoleArn

        public RepositoryCreationTemplateState.Builder customRoleArn​(java.lang.String customRoleArn)
        Parameters:
        customRoleArn - A custom IAM role to use for repository creation. Required if using repository tags or KMS encryption.
        Returns:
        builder
      • description

        public RepositoryCreationTemplateState.Builder description​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The description for this template.
        Returns:
        builder
      • imageTagMutability

        public RepositoryCreationTemplateState.Builder imageTagMutability​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.String> imageTagMutability)
        Parameters:
        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`.
        Returns:
        builder
      • imageTagMutability

        public RepositoryCreationTemplateState.Builder imageTagMutability​(java.lang.String imageTagMutability)
        Parameters:
        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`.
        Returns:
        builder
      • imageTagMutabilityExclusionFilters

        public RepositoryCreationTemplateState.Builder imageTagMutabilityExclusionFilters​(@Nullable
                                                                                          com.pulumi.core.Output<java.util.List<RepositoryCreationTemplateImageTagMutabilityExclusionFilterArgs>> imageTagMutabilityExclusionFilters)
        Parameters:
        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.
        Returns:
        builder
      • imageTagMutabilityExclusionFilters

        public RepositoryCreationTemplateState.Builder imageTagMutabilityExclusionFilters​(java.util.List<RepositoryCreationTemplateImageTagMutabilityExclusionFilterArgs> imageTagMutabilityExclusionFilters)
        Parameters:
        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.
        Returns:
        builder
      • imageTagMutabilityExclusionFilters

        public RepositoryCreationTemplateState.Builder imageTagMutabilityExclusionFilters​(RepositoryCreationTemplateImageTagMutabilityExclusionFilterArgs... imageTagMutabilityExclusionFilters)
        Parameters:
        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.
        Returns:
        builder
      • lifecyclePolicy

        public RepositoryCreationTemplateState.Builder lifecyclePolicy​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.String> lifecyclePolicy)
        Parameters:
        lifecyclePolicy - The lifecycle policy document to apply to any created repositories. See more details about [Policy Parameters](http://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html#lifecycle_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.
        Returns:
        builder
      • lifecyclePolicy

        public RepositoryCreationTemplateState.Builder lifecyclePolicy​(java.lang.String lifecyclePolicy)
        Parameters:
        lifecyclePolicy - The lifecycle policy document to apply to any created repositories. See more details about [Policy Parameters](http://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html#lifecycle_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.
        Returns:
        builder
      • prefix

        public RepositoryCreationTemplateState.Builder prefix​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> prefix)
        Parameters:
        prefix - The repository name prefix to match against. Use `ROOT` to match any prefix that doesn't explicitly match another template.
        Returns:
        builder
      • prefix

        public RepositoryCreationTemplateState.Builder prefix​(java.lang.String prefix)
        Parameters:
        prefix - The repository name prefix to match against. Use `ROOT` to match any prefix that doesn't explicitly match another template.
        Returns:
        builder
      • region

        public RepositoryCreationTemplateState.Builder region​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public RepositoryCreationTemplateState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • registryId

        public RepositoryCreationTemplateState.Builder registryId​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> registryId)
        Parameters:
        registryId - The registry ID the repository creation template applies to.
        Returns:
        builder
      • registryId

        public RepositoryCreationTemplateState.Builder registryId​(java.lang.String registryId)
        Parameters:
        registryId - The registry ID the repository creation template applies to.
        Returns:
        builder
      • repositoryPolicy

        public RepositoryCreationTemplateState.Builder repositoryPolicy​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.String> repositoryPolicy)
        Parameters:
        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.
        Returns:
        builder
      • repositoryPolicy

        public RepositoryCreationTemplateState.Builder repositoryPolicy​(java.lang.String repositoryPolicy)
        Parameters:
        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.
        Returns:
        builder
      • resourceTags

        public RepositoryCreationTemplateState.Builder resourceTags​(@Nullable
                                                                    com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> resourceTags)
        Parameters:
        resourceTags - A map of tags to assign to any created repositories.
        Returns:
        builder
      • resourceTags

        public RepositoryCreationTemplateState.Builder resourceTags​(java.util.Map<java.lang.String,​java.lang.String> resourceTags)
        Parameters:
        resourceTags - A map of tags to assign to any created repositories.
        Returns:
        builder