codepipeline

class pulumi_aws.codepipeline.Pipeline(resource_name, opts=None, artifact_store=None, name=None, role_arn=None, stages=None, __name__=None, __opts__=None)

Provides a CodePipeline.

NOTE on ``aws_codepipeline``: - the GITHUB_TOKEN environment variable must be set if the GitHub provider is specified.
Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • artifact_store (pulumi.Input[dict]) – An artifact_store block. Artifact stores are documented below.
Parameters:
  • name (pulumi.Input[str]) – The name of the pipeline.
  • role_arn (pulumi.Input[str]) – A service role Amazon Resource Name (ARN) that grants AWS CodePipeline permission to make calls to AWS services on your behalf.

:param pulumi.Input[list] stages

arn = None

The codepipeline ARN.

artifact_store = None

An artifact_store block. Artifact stores are documented below.

  • stage (Minimum of at least two stage blocks is required) A stage block. Stages are documented below.
name = None

The name of the pipeline.

role_arn = None

A service role Amazon Resource Name (ARN) that grants AWS CodePipeline permission to make calls to AWS services on your behalf.

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.codepipeline.Webhook(resource_name, opts=None, authentication=None, authentication_configuration=None, filters=None, name=None, target_action=None, target_pipeline=None, __name__=None, __opts__=None)

Provides a CodePipeline Webhook.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • authentication (pulumi.Input[str]) – The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
  • authentication_configuration (pulumi.Input[dict]) – An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
  • filters (pulumi.Input[list]) – One or more filter blocks. Filter blocks are documented below.
  • name (pulumi.Input[str]) – The name of the webhook.
  • target_action (pulumi.Input[str]) – The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
  • target_pipeline (pulumi.Input[str]) – The name of the pipeline.
authentication = None

The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.

authentication_configuration = None

An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.

filters = None

One or more filter blocks. Filter blocks are documented below.

name = None

The name of the webhook.

target_action = None

The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.

target_pipeline = None

The name of the pipeline.

url = None

The CodePipeline webhook’s URL. POST events to this endpoint to trigger the target.

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