Interface CfnRepositoryProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.233Z") @Stability(Stable) public interface CfnRepositoryProps extends
Properties for defining a CfnRepository.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnRepositoryProps cfnRepositoryProps = CfnRepositoryProps.builder()
         // the properties below are optional
                         // the properties below are optional
                 // the properties below are optional
                 // the properties below are optional
  • Method Details

    • getRepositoryName

      @Stability(Stable) @NotNull String getRepositoryName()
      The name of the new repository to be created.

      The repository name must be unique across the calling AWS account . Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For more information about the limits on repository names, see Quotas in the AWS CodeCommit User Guide . The suffix .git is prohibited.

    • getCode

      @Stability(Stable) @Nullable default Object getCode()
      Information about code to be committed to a repository after it is created in an AWS CloudFormation stack.

      Information about code is only used in resource creation. Updates to a stack will not reflect changes made to code properties after initial resource creation.

      You can only use this property to add code when creating a repository with a AWS CloudFormation template at creation time. This property cannot be used for updating code to an existing repository.

    • getRepositoryDescription

      @Stability(Stable) @Nullable default String getRepositoryDescription()
      A comment or description about the new repository.

      The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      One or more tag key-value pairs to use when tagging this repository.
    • getTriggers

      @Stability(Stable) @Nullable default Object getTriggers()
      The JSON block of configuration information for each trigger.
    • builder

      @Stability(Stable) static CfnRepositoryProps.Builder builder()
      a CfnRepositoryProps.Builder of CfnRepositoryProps