codecommit

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-aws repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-aws repo.

class pulumi_aws.codecommit.AwaitableGetRepositoryResult(arn=None, clone_url_http=None, clone_url_ssh=None, repository_id=None, repository_name=None, id=None)
class pulumi_aws.codecommit.GetRepositoryResult(arn=None, clone_url_http=None, clone_url_ssh=None, repository_id=None, repository_name=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, tags=None, __props__=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.

  • tags (pulumi.Input[dict]) – Key-value mapping of resource tags

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.

tags = None

Key-value mapping of resource tags

static get(resource_name, id, opts=None, arn=None, clone_url_http=None, clone_url_ssh=None, default_branch=None, description=None, repository_id=None, repository_name=None, tags=None)

Get an existing Repository resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • arn (pulumi.Input[str]) – The ARN of the repository

  • clone_url_http (pulumi.Input[str]) – The URL to use for cloning the repository over HTTPS.

  • clone_url_ssh (pulumi.Input[str]) – The URL to use for cloning the repository over SSH.

  • 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_id (pulumi.Input[str]) – The ID of the repository

  • repository_name (pulumi.Input[str]) – The name for the repository. This needs to be less than 100 characters.

  • tags (pulumi.Input[dict]) – Key-value mapping of resource tags

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, __props__=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.

The triggers object supports the following:

  • branches (pulumi.Input[list]) - The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.

  • customData (pulumi.Input[str]) - Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.

  • destination_arn (pulumi.Input[str]) - The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).

  • events (pulumi.Input[list]) - The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: all, updateReference, createReference, deleteReference.

  • name (pulumi.Input[str]) - The name of the trigger.

repository_name = None

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

static get(resource_name, id, opts=None, configuration_id=None, repository_name=None, triggers=None)

Get an existing Trigger resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • 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.

The triggers object supports the following:

  • branches (pulumi.Input[list]) - The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.

  • customData (pulumi.Input[str]) - Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.

  • destination_arn (pulumi.Input[str]) - The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).

  • events (pulumi.Input[list]) - The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: all, updateReference, createReference, deleteReference.

  • name (pulumi.Input[str]) - The name of the trigger.

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, opts=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.

Parameters

repository_name (str) – The name for the repository. This needs to be less than 100 characters.