Class CfnRepositoryCreationTemplatePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRepositoryCreationTemplatePropsMixin>
- Enclosing class:
CfnRepositoryCreationTemplatePropsMixin
CfnRepositoryCreationTemplatePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionappliedFor(List<String> appliedFor) A list of enumerable Strings representing the repository creation scenarios that this template will apply towards.build()create()create(CfnPropertyMixinOptions options) customRoleArn(String customRoleArn) The ARN of the role to be assumed by Amazon ECR.description(String description) The description associated with the repository creation template.encryptionConfiguration(CfnRepositoryCreationTemplatePropsMixin.EncryptionConfigurationProperty encryptionConfiguration) The encryption configuration associated with the repository creation template.encryptionConfiguration(IResolvable encryptionConfiguration) The encryption configuration associated with the repository creation template.imageTagMutability(String imageTagMutability) The tag mutability setting for the repository.imageTagMutabilityExclusionFilters(List<? extends Object> imageTagMutabilityExclusionFilters) A list of filters that specify which image tags are excluded from the repository creation template's image tag mutability setting.imageTagMutabilityExclusionFilters(IResolvable imageTagMutabilityExclusionFilters) A list of filters that specify which image tags are excluded from the repository creation template's image tag mutability setting.lifecyclePolicy(String lifecyclePolicy) The lifecycle policy to use for repositories created using the template.The repository namespace prefix associated with the repository creation template.repositoryPolicy(String repositoryPolicy) The repository policy to apply to repositories created using the template.resourceTags(List<? extends Object> resourceTags) The metadata to apply to the repository to help you categorize and organize.resourceTags(IResolvable resourceTags) The metadata to apply to the repository to help you categorize and organize.
-
Method Details
-
create
@Stability(Stable) public static CfnRepositoryCreationTemplatePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnRepositoryCreationTemplatePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnRepositoryCreationTemplatePropsMixin.Builder.
-
appliedFor
@Stability(Stable) public CfnRepositoryCreationTemplatePropsMixin.Builder appliedFor(List<String> appliedFor) 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
- Parameters:
appliedFor- A list of enumerable Strings representing the repository creation scenarios that this template will apply towards. This parameter is required.- Returns:
this- See Also:
-
customRoleArn
@Stability(Stable) public CfnRepositoryCreationTemplatePropsMixin.Builder customRoleArn(String customRoleArn) 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.
- Parameters:
customRoleArn- The ARN of the role to be assumed by Amazon ECR. This parameter is required.- Returns:
this- See Also:
-
description
@Stability(Stable) public CfnRepositoryCreationTemplatePropsMixin.Builder description(String description) The description associated with the repository creation template.- Parameters:
description- The description associated with the repository creation template. This parameter is required.- Returns:
this- See Also:
-
encryptionConfiguration
@Stability(Stable) public CfnRepositoryCreationTemplatePropsMixin.Builder encryptionConfiguration(IResolvable encryptionConfiguration) The encryption configuration associated with the repository creation template.- Parameters:
encryptionConfiguration- The encryption configuration associated with the repository creation template. This parameter is required.- Returns:
this- See Also:
-
encryptionConfiguration
@Stability(Stable) public CfnRepositoryCreationTemplatePropsMixin.Builder encryptionConfiguration(CfnRepositoryCreationTemplatePropsMixin.EncryptionConfigurationProperty encryptionConfiguration) The encryption configuration associated with the repository creation template.- Parameters:
encryptionConfiguration- The encryption configuration associated with the repository creation template. This parameter is required.- Returns:
this- See Also:
-
imageTagMutability
@Stability(Stable) public CfnRepositoryCreationTemplatePropsMixin.Builder imageTagMutability(String imageTagMutability) The tag mutability setting for the repository.If this parameter is omitted, the default setting of
MUTABLEwill be used which will allow image tags to be overwritten. IfIMMUTABLEis specified, all image tags within the repository will be immutable which will prevent them from being overwritten.- Parameters:
imageTagMutability- The tag mutability setting for the repository. This parameter is required.- Returns:
this- See Also:
-
imageTagMutabilityExclusionFilters
@Stability(Stable) public CfnRepositoryCreationTemplatePropsMixin.Builder imageTagMutabilityExclusionFilters(IResolvable imageTagMutabilityExclusionFilters) A list of filters that specify which image tags are excluded from the repository creation template's image tag mutability setting.- Parameters:
imageTagMutabilityExclusionFilters- A list of filters that specify which image tags are excluded from the repository creation template's image tag mutability setting. This parameter is required.- Returns:
this- See Also:
-
imageTagMutabilityExclusionFilters
@Stability(Stable) public CfnRepositoryCreationTemplatePropsMixin.Builder imageTagMutabilityExclusionFilters(List<? extends Object> imageTagMutabilityExclusionFilters) A list of filters that specify which image tags are excluded from the repository creation template's image tag mutability setting.- Parameters:
imageTagMutabilityExclusionFilters- A list of filters that specify which image tags are excluded from the repository creation template's image tag mutability setting. This parameter is required.- Returns:
this- See Also:
-
lifecyclePolicy
@Stability(Stable) public CfnRepositoryCreationTemplatePropsMixin.Builder lifecyclePolicy(String lifecyclePolicy) The lifecycle policy to use for repositories created using the template.- Parameters:
lifecyclePolicy- The lifecycle policy to use for repositories created using the template. This parameter is required.- Returns:
this- See Also:
-
prefix
The repository namespace prefix associated with the repository creation template.- Parameters:
prefix- The repository namespace prefix associated with the repository creation template. This parameter is required.- Returns:
this- See Also:
-
repositoryPolicy
@Stability(Stable) public CfnRepositoryCreationTemplatePropsMixin.Builder repositoryPolicy(String repositoryPolicy) 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.
- Parameters:
repositoryPolicy- The repository policy to apply to repositories created using the template. This parameter is required.- Returns:
this- See Also:
-
resourceTags
@Stability(Stable) public CfnRepositoryCreationTemplatePropsMixin.Builder resourceTags(IResolvable resourceTags) 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.
- Parameters:
resourceTags- The metadata to apply to the repository to help you categorize and organize. This parameter is required.- Returns:
this- See Also:
-
resourceTags
@Stability(Stable) public CfnRepositoryCreationTemplatePropsMixin.Builder resourceTags(List<? extends Object> resourceTags) 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.
- Parameters:
resourceTags- The metadata to apply to the repository to help you categorize and organize. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRepositoryCreationTemplatePropsMixin>- Returns:
- a newly built instance of
CfnRepositoryCreationTemplatePropsMixin.
-