codepipeline

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

nolint: lll Package codepipeline exports types, functions, subpackages for provisioning codepipeline resources.

> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-aws) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-aws` repo](https://github.com/pulumi/pulumi-aws/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-aws` repo](https://github.com/terraform-providers/terraform-provider-aws/issues).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipeline

type Pipeline struct {
	// contains filtered or unexported fields
}

Provides a CodePipeline.

> **NOTE on `codepipeline.Pipeline`:** - the `GITHUB_TOKEN` environment variable must be set if the GitHub provider is specified.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/codepipeline.html.markdown.

func GetPipeline

func GetPipeline(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PipelineState, opts ...pulumi.ResourceOpt) (*Pipeline, error)

GetPipeline gets an existing Pipeline resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPipeline

func NewPipeline(ctx *pulumi.Context,
	name string, args *PipelineArgs, opts ...pulumi.ResourceOpt) (*Pipeline, error)

NewPipeline registers a new resource with the given unique name, arguments, and options.

func (*Pipeline) Arn

func (r *Pipeline) Arn() *pulumi.StringOutput

The codepipeline ARN.

func (*Pipeline) ArtifactStore

func (r *Pipeline) ArtifactStore() *pulumi.Output

An artifactStore block. Artifact stores are documented below. * `stage` (Minimum of at least two `stage` blocks is required) A stage block. Stages are documented below.

func (*Pipeline) ID

func (r *Pipeline) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Pipeline) Name

func (r *Pipeline) Name() *pulumi.StringOutput

The name of the pipeline.

func (*Pipeline) RoleArn

func (r *Pipeline) RoleArn() *pulumi.StringOutput

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

func (*Pipeline) Stages

func (r *Pipeline) Stages() *pulumi.ArrayOutput

func (*Pipeline) Tags added in v0.18.13

func (r *Pipeline) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Pipeline) URN

func (r *Pipeline) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type PipelineArgs

type PipelineArgs struct {
	// An artifactStore block. Artifact stores are documented below.
	// * `stage` (Minimum of at least two `stage` blocks is required) A stage block. Stages are documented below.
	ArtifactStore interface{}
	// The name of the pipeline.
	Name interface{}
	// A service role Amazon Resource Name (ARN) that grants AWS CodePipeline permission to make calls to AWS services on your behalf.
	RoleArn interface{}
	Stages  interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a Pipeline resource.

type PipelineState

type PipelineState struct {
	// The codepipeline ARN.
	Arn interface{}
	// An artifactStore block. Artifact stores are documented below.
	// * `stage` (Minimum of at least two `stage` blocks is required) A stage block. Stages are documented below.
	ArtifactStore interface{}
	// The name of the pipeline.
	Name interface{}
	// A service role Amazon Resource Name (ARN) that grants AWS CodePipeline permission to make calls to AWS services on your behalf.
	RoleArn interface{}
	Stages  interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering Pipeline resources.

type Webhook added in v0.16.1

type Webhook struct {
	// contains filtered or unexported fields
}

Provides a CodePipeline Webhook.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/codepipeline_webhook.html.markdown.

func GetWebhook added in v0.16.1

func GetWebhook(ctx *pulumi.Context,
	name string, id pulumi.ID, state *WebhookState, opts ...pulumi.ResourceOpt) (*Webhook, error)

GetWebhook gets an existing Webhook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewWebhook added in v0.16.1

func NewWebhook(ctx *pulumi.Context,
	name string, args *WebhookArgs, opts ...pulumi.ResourceOpt) (*Webhook, error)

NewWebhook registers a new resource with the given unique name, arguments, and options.

func (*Webhook) Authentication added in v0.16.1

func (r *Webhook) Authentication() *pulumi.StringOutput

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

func (*Webhook) AuthenticationConfiguration added in v0.16.1

func (r *Webhook) AuthenticationConfiguration() *pulumi.Output

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

func (*Webhook) Filters added in v0.16.1

func (r *Webhook) Filters() *pulumi.ArrayOutput

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

func (*Webhook) ID added in v0.16.1

func (r *Webhook) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Webhook) Name added in v0.16.1

func (r *Webhook) Name() *pulumi.StringOutput

The name of the webhook.

func (*Webhook) Tags added in v0.18.13

func (r *Webhook) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Webhook) TargetAction added in v0.16.1

func (r *Webhook) TargetAction() *pulumi.StringOutput

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.

func (*Webhook) TargetPipeline added in v0.16.1

func (r *Webhook) TargetPipeline() *pulumi.StringOutput

The name of the pipeline.

func (*Webhook) URN added in v0.16.1

func (r *Webhook) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Webhook) Url added in v0.16.1

func (r *Webhook) Url() *pulumi.StringOutput

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

type WebhookArgs added in v0.16.1

type WebhookArgs struct {
	// The type of authentication  to use. One of `IP`, `GITHUB_HMAC`, or `UNAUTHENTICATED`.
	Authentication interface{}
	// An `auth` block. Required for `IP` and `GITHUB_HMAC`. Auth blocks are documented below.
	AuthenticationConfiguration interface{}
	// One or more `filter` blocks. Filter blocks are documented below.
	Filters interface{}
	// The name of the webhook.
	Name interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// 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.
	TargetAction interface{}
	// The name of the pipeline.
	TargetPipeline interface{}
}

The set of arguments for constructing a Webhook resource.

type WebhookState added in v0.16.1

type WebhookState struct {
	// The type of authentication  to use. One of `IP`, `GITHUB_HMAC`, or `UNAUTHENTICATED`.
	Authentication interface{}
	// An `auth` block. Required for `IP` and `GITHUB_HMAC`. Auth blocks are documented below.
	AuthenticationConfiguration interface{}
	// One or more `filter` blocks. Filter blocks are documented below.
	Filters interface{}
	// The name of the webhook.
	Name interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// 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.
	TargetAction interface{}
	// The name of the pipeline.
	TargetPipeline interface{}
	// The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
	Url interface{}
}

Input properties used for looking up and filtering Webhook resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL