Module codepipeline

codepipeline

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.codepipeline.Pipeline(resource_name, opts=None, artifact_store=None, name=None, role_arn=None, stages=None, tags=None, __props__=None, __name__=None, __opts__=None)

Provides a CodePipeline.

NOTE on ``codepipeline.Pipeline``: - 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.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
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.

tags = None

A mapping of tags to assign to the resource.

static get(resource_name, id, opts=None, arn=None, artifact_store=None, name=None, role_arn=None, stages=None, tags=None)

Get an existing Pipeline resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] arn: The codepipeline ARN. :param pulumi.Input[dict] artifact_store: 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.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
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, tags=None, target_action=None, target_pipeline=None, __props__=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.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • 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.

tags = None

A mapping of tags to assign to the resource.

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.

static get(resource_name, id, opts=None, authentication=None, authentication_configuration=None, filters=None, name=None, tags=None, target_action=None, target_pipeline=None, url=None)

Get an existing Webhook resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] authentication: The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED. :param pulumi.Input[dict] authentication_configuration: An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below. :param pulumi.Input[list] filters: One or more filter blocks. Filter blocks are documented below. :param pulumi.Input[str] name: The name of the webhook. :param pulumi.Input[dict] tags: A mapping of tags to assign to the resource. :param pulumi.Input[str] target_action: 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. :param pulumi.Input[str] target_pipeline: The name of the pipeline. :param pulumi.Input[str] url: 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