You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeCommit::Types::CreateRepositoryInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateRepositoryInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  repository_name: "RepositoryName", # required
  repository_description: "RepositoryDescription",
  tags: {
    "TagKey" => "TagValue",
  },
}

Represents the input of a create repository operation.

Instance Attribute Summary collapse

Instance Attribute Details

#repository_descriptionString

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.

Returns:

  • (String)

    A comment or description about the new repository.

#repository_nameString

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 Limits in the AWS CodeCommit User Guide. The suffix .git is prohibited.

Returns:

  • (String)

    The name of the new repository to be created.

#tagsHash<String,String>

One or more tag key-value pairs to use when tagging this repository.

Returns:

  • (Hash<String,String>)

    One or more tag key-value pairs to use when tagging this repository.