Class: Aws::CodeCommit::Types::CreateRepositoryInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeCommit::Types::CreateRepositoryInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codecommit/types.rb
Overview
When making an API call, you may pass CreateRepositoryInput data as a hash:
{
repository_name: "RepositoryName", # required
repository_description: "RepositoryDescription",
}
Represents the input of a create repository operation.
Instance Attribute Summary collapse
-
#repository_description ⇒ String
A comment or description about the new repository.
-
#repository_name ⇒ String
The name of the new repository to be created.
Instance Attribute Details
#repository_description ⇒ String
A comment or description about the new repository.
<note markdown=“1”> 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 web page could 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 web page.
</note>
228 229 230 231 232 |
# File 'lib/aws-sdk-codecommit/types.rb', line 228 class CreateRepositoryInput < Struct.new( :repository_name, :repository_description) include Aws::Structure end |
#repository_name ⇒ String
The name of the new repository to be created.
<note markdown=“1”> The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For a full description of the limits on repository names, see
- Limits][1
-
in the AWS CodeCommit User Guide. The suffix “.git” is
prohibited.
</note>
[1]: docs.aws.amazon.com/codecommit/latest/userguide/limits.html
228 229 230 231 232 |
# File 'lib/aws-sdk-codecommit/types.rb', line 228 class CreateRepositoryInput < Struct.new( :repository_name, :repository_description) include Aws::Structure end |