codecommit

class pulumi_aws.codecommit.GetRepositoryResult(arn=None, clone_url_http=None, clone_url_ssh=None, repository_id=None, id=None)

A collection of values returned by getRepository.

arn = None

The ARN of the repository

clone_url_http = None

The URL to use for cloning the repository over HTTPS.

clone_url_ssh = None

The URL to use for cloning the repository over SSH.

repository_id = None

The ID of the repository

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_aws.codecommit.Repository(resource_name, opts=None, default_branch=None, description=None, repository_name=None, __name__=None, __opts__=None)

Provides a CodeCommit Repository Resource.

NOTE on CodeCommit Availability: The CodeCommit is not yet rolled out in all regions - available regions are listed the AWS Docs.
Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • default_branch (pulumi.Input[str]) – The default branch of the repository. The branch specified here needs to exist.
  • description (pulumi.Input[str]) – The description of the repository. This needs to be less than 1000 characters
  • repository_name (pulumi.Input[str]) – The name for the repository. This needs to be less than 100 characters.
arn = None

The ARN of the repository

clone_url_http = None

The URL to use for cloning the repository over HTTPS.

clone_url_ssh = None

The URL to use for cloning the repository over SSH.

default_branch = None

The default branch of the repository. The branch specified here needs to exist.

description = None

The description of the repository. This needs to be less than 1000 characters

repository_id = None

The ID of the repository

repository_name = None

The name for the repository. This needs to be less than 100 characters.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.codecommit.Trigger(resource_name, opts=None, repository_name=None, triggers=None, __name__=None, __opts__=None)

Provides a CodeCommit Trigger Resource.

NOTE on CodeCommit: The CodeCommit is not yet rolled out in all regions - available regions are listed the AWS Docs.
Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • repository_name (pulumi.Input[str]) – The name for the repository. This needs to be less than 100 characters.

:param pulumi.Input[list] triggers

repository_name = None

The name for the repository. This needs to be less than 100 characters.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
pulumi_aws.codecommit.get_repository(repository_name=None)

The CodeCommit Repository data source allows the ARN, Repository ID, Repository URL for HTTP and Repository URL for SSH to be retrieved for an CodeCommit repository.