Module codecommit

@pulumi/aws > codecommit

Index

codecommit/getRepository.ts codecommit/repository.ts codecommit/trigger.ts

class Repository

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.

constructor

new Repository(name: string, args: RepositoryArgs, opts?: pulumi.CustomResourceOptions)

Create a Repository resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RepositoryState): Repository

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property arn

public arn: pulumi.Output<string>;

The ARN of the repository

property cloneUrlHttp

public cloneUrlHttp: pulumi.Output<string>;

The URL to use for cloning the repository over HTTPS.

property cloneUrlSsh

public cloneUrlSsh: pulumi.Output<string>;

The URL to use for cloning the repository over SSH.

property defaultBranch

public defaultBranch: pulumi.Output<string | undefined>;

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

property description

public description: pulumi.Output<string | undefined>;

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

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property repositoryId

public repositoryId: pulumi.Output<string>;

The ID of the repository

property repositoryName

public repositoryName: pulumi.Output<string>;

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

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Trigger

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.

constructor

new Trigger(name: string, args: TriggerArgs, opts?: pulumi.CustomResourceOptions)

Create a Trigger resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TriggerState): Trigger

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property configurationId

public configurationId: pulumi.Output<string>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property repositoryName

public repositoryName: pulumi.Output<string>;

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

property triggers

public triggers: pulumi.Output<{ ... }[]>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

function getRepository

getRepository(args: GetRepositoryArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryResult>

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.

interface GetRepositoryArgs

A collection of arguments for invoking getRepository.

property repositoryName

repositoryName: string;

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

interface GetRepositoryResult

A collection of values returned by getRepository.

property arn

arn: string;

The ARN of the repository

property cloneUrlHttp

cloneUrlHttp: string;

The URL to use for cloning the repository over HTTPS.

property cloneUrlSsh

cloneUrlSsh: string;

The URL to use for cloning the repository over SSH.

property id

id: string;

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

property repositoryId

repositoryId: string;

The ID of the repository

interface RepositoryArgs

The set of arguments for constructing a Repository resource.

property defaultBranch

defaultBranch?: pulumi.Input<string>;

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

property description

description?: pulumi.Input<string>;

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

property repositoryName

repositoryName: pulumi.Input<string>;

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

interface RepositoryState

Input properties used for looking up and filtering Repository resources.

property arn

arn?: pulumi.Input<string>;

The ARN of the repository

property cloneUrlHttp

cloneUrlHttp?: pulumi.Input<string>;

The URL to use for cloning the repository over HTTPS.

property cloneUrlSsh

cloneUrlSsh?: pulumi.Input<string>;

The URL to use for cloning the repository over SSH.

property defaultBranch

defaultBranch?: pulumi.Input<string>;

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

property description

description?: pulumi.Input<string>;

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

property repositoryId

repositoryId?: pulumi.Input<string>;

The ID of the repository

property repositoryName

repositoryName?: pulumi.Input<string>;

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

interface TriggerArgs

The set of arguments for constructing a Trigger resource.

property repositoryName

repositoryName: pulumi.Input<string>;

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

property triggers

triggers: pulumi.Input<pulumi.Input<{ ... }>[]>;

interface TriggerState

Input properties used for looking up and filtering Trigger resources.

property configurationId

configurationId?: pulumi.Input<string>;

property repositoryName

repositoryName?: pulumi.Input<string>;

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

property triggers

triggers?: pulumi.Input<pulumi.Input<{ ... }>[]>;