codepipeline

package
v0.18.1 Latest Latest
Warning

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

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

Documentation

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 `aws_codepipeline`:** - the `GITHUB_TOKEN` environment variable must be set if the GitHub provider is specified.

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

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) URN

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

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

type PipelineArgs

type PipelineArgs struct {
	// 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.
	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{}
}

The set of arguments for constructing a Pipeline resource.

type PipelineState

type PipelineState struct {
	// The codepipeline ARN.
	Arn interface{}
	// 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.
	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{}
}

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.

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) 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{}
	// 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{}
	// 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