codepipeline

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipeline

type Pipeline struct {
	pulumi.CustomResourceState

	// The codepipeline ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// 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 PipelineArtifactStoreOutput `pulumi:"artifactStore"`
	// The name of the pipeline.
	Name pulumi.StringOutput `pulumi:"name"`
	// A service role Amazon Resource Name (ARN) that grants AWS CodePipeline permission to make calls to AWS services on your behalf.
	RoleArn pulumi.StringOutput      `pulumi:"roleArn"`
	Stages  PipelineStageArrayOutput `pulumi:"stages"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

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.IDInput, state *PipelineState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Pipeline, error)

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

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 PipelineArtifactStoreInput
	// The name of the pipeline.
	Name pulumi.StringPtrInput
	// A service role Amazon Resource Name (ARN) that grants AWS CodePipeline permission to make calls to AWS services on your behalf.
	RoleArn pulumi.StringInput
	Stages  PipelineStageArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a Pipeline resource.

func (PipelineArgs) ElementType added in v1.19.0

func (PipelineArgs) ElementType() reflect.Type

type PipelineArtifactStore added in v1.19.0

type PipelineArtifactStore struct {
	EncryptionKey *PipelineArtifactStoreEncryptionKey `pulumi:"encryptionKey"`
	Location      string                              `pulumi:"location"`
	Type          string                              `pulumi:"type"`
}

type PipelineArtifactStoreArgs added in v1.19.0

type PipelineArtifactStoreArgs struct {
	EncryptionKey PipelineArtifactStoreEncryptionKeyPtrInput `pulumi:"encryptionKey"`
	Location      pulumi.StringInput                         `pulumi:"location"`
	Type          pulumi.StringInput                         `pulumi:"type"`
}

func (PipelineArtifactStoreArgs) ElementType added in v1.19.0

func (PipelineArtifactStoreArgs) ElementType() reflect.Type

func (PipelineArtifactStoreArgs) ToPipelineArtifactStoreOutput added in v1.19.0

func (i PipelineArtifactStoreArgs) ToPipelineArtifactStoreOutput() PipelineArtifactStoreOutput

func (PipelineArtifactStoreArgs) ToPipelineArtifactStoreOutputWithContext added in v1.19.0

func (i PipelineArtifactStoreArgs) ToPipelineArtifactStoreOutputWithContext(ctx context.Context) PipelineArtifactStoreOutput

func (PipelineArtifactStoreArgs) ToPipelineArtifactStorePtrOutput added in v1.19.0

func (i PipelineArtifactStoreArgs) ToPipelineArtifactStorePtrOutput() PipelineArtifactStorePtrOutput

func (PipelineArtifactStoreArgs) ToPipelineArtifactStorePtrOutputWithContext added in v1.19.0

func (i PipelineArtifactStoreArgs) ToPipelineArtifactStorePtrOutputWithContext(ctx context.Context) PipelineArtifactStorePtrOutput

type PipelineArtifactStoreEncryptionKey added in v1.19.0

type PipelineArtifactStoreEncryptionKey struct {
	// The codepipeline ID.
	Id   string `pulumi:"id"`
	Type string `pulumi:"type"`
}

type PipelineArtifactStoreEncryptionKeyArgs added in v1.19.0

type PipelineArtifactStoreEncryptionKeyArgs struct {
	// The codepipeline ID.
	Id   pulumi.StringInput `pulumi:"id"`
	Type pulumi.StringInput `pulumi:"type"`
}

func (PipelineArtifactStoreEncryptionKeyArgs) ElementType added in v1.19.0

func (PipelineArtifactStoreEncryptionKeyArgs) ToPipelineArtifactStoreEncryptionKeyOutput added in v1.19.0

func (i PipelineArtifactStoreEncryptionKeyArgs) ToPipelineArtifactStoreEncryptionKeyOutput() PipelineArtifactStoreEncryptionKeyOutput

func (PipelineArtifactStoreEncryptionKeyArgs) ToPipelineArtifactStoreEncryptionKeyOutputWithContext added in v1.19.0

func (i PipelineArtifactStoreEncryptionKeyArgs) ToPipelineArtifactStoreEncryptionKeyOutputWithContext(ctx context.Context) PipelineArtifactStoreEncryptionKeyOutput

func (PipelineArtifactStoreEncryptionKeyArgs) ToPipelineArtifactStoreEncryptionKeyPtrOutput added in v1.19.0

func (i PipelineArtifactStoreEncryptionKeyArgs) ToPipelineArtifactStoreEncryptionKeyPtrOutput() PipelineArtifactStoreEncryptionKeyPtrOutput

func (PipelineArtifactStoreEncryptionKeyArgs) ToPipelineArtifactStoreEncryptionKeyPtrOutputWithContext added in v1.19.0

func (i PipelineArtifactStoreEncryptionKeyArgs) ToPipelineArtifactStoreEncryptionKeyPtrOutputWithContext(ctx context.Context) PipelineArtifactStoreEncryptionKeyPtrOutput

type PipelineArtifactStoreEncryptionKeyInput added in v1.19.0

type PipelineArtifactStoreEncryptionKeyInput interface {
	pulumi.Input

	ToPipelineArtifactStoreEncryptionKeyOutput() PipelineArtifactStoreEncryptionKeyOutput
	ToPipelineArtifactStoreEncryptionKeyOutputWithContext(context.Context) PipelineArtifactStoreEncryptionKeyOutput
}

type PipelineArtifactStoreEncryptionKeyOutput added in v1.19.0

type PipelineArtifactStoreEncryptionKeyOutput struct{ *pulumi.OutputState }

func (PipelineArtifactStoreEncryptionKeyOutput) ElementType added in v1.19.0

func (PipelineArtifactStoreEncryptionKeyOutput) Id added in v1.19.0

The codepipeline ID.

func (PipelineArtifactStoreEncryptionKeyOutput) ToPipelineArtifactStoreEncryptionKeyOutput added in v1.19.0

func (o PipelineArtifactStoreEncryptionKeyOutput) ToPipelineArtifactStoreEncryptionKeyOutput() PipelineArtifactStoreEncryptionKeyOutput

func (PipelineArtifactStoreEncryptionKeyOutput) ToPipelineArtifactStoreEncryptionKeyOutputWithContext added in v1.19.0

func (o PipelineArtifactStoreEncryptionKeyOutput) ToPipelineArtifactStoreEncryptionKeyOutputWithContext(ctx context.Context) PipelineArtifactStoreEncryptionKeyOutput

func (PipelineArtifactStoreEncryptionKeyOutput) ToPipelineArtifactStoreEncryptionKeyPtrOutput added in v1.19.0

func (o PipelineArtifactStoreEncryptionKeyOutput) ToPipelineArtifactStoreEncryptionKeyPtrOutput() PipelineArtifactStoreEncryptionKeyPtrOutput

func (PipelineArtifactStoreEncryptionKeyOutput) ToPipelineArtifactStoreEncryptionKeyPtrOutputWithContext added in v1.19.0

func (o PipelineArtifactStoreEncryptionKeyOutput) ToPipelineArtifactStoreEncryptionKeyPtrOutputWithContext(ctx context.Context) PipelineArtifactStoreEncryptionKeyPtrOutput

func (PipelineArtifactStoreEncryptionKeyOutput) Type added in v1.19.0

type PipelineArtifactStoreEncryptionKeyPtrInput added in v1.19.0

type PipelineArtifactStoreEncryptionKeyPtrInput interface {
	pulumi.Input

	ToPipelineArtifactStoreEncryptionKeyPtrOutput() PipelineArtifactStoreEncryptionKeyPtrOutput
	ToPipelineArtifactStoreEncryptionKeyPtrOutputWithContext(context.Context) PipelineArtifactStoreEncryptionKeyPtrOutput
}

type PipelineArtifactStoreEncryptionKeyPtrOutput added in v1.19.0

type PipelineArtifactStoreEncryptionKeyPtrOutput struct{ *pulumi.OutputState }

func (PipelineArtifactStoreEncryptionKeyPtrOutput) Elem added in v1.19.0

func (PipelineArtifactStoreEncryptionKeyPtrOutput) ElementType added in v1.19.0

func (PipelineArtifactStoreEncryptionKeyPtrOutput) Id added in v1.19.0

The codepipeline ID.

func (PipelineArtifactStoreEncryptionKeyPtrOutput) ToPipelineArtifactStoreEncryptionKeyPtrOutput added in v1.19.0

func (o PipelineArtifactStoreEncryptionKeyPtrOutput) ToPipelineArtifactStoreEncryptionKeyPtrOutput() PipelineArtifactStoreEncryptionKeyPtrOutput

func (PipelineArtifactStoreEncryptionKeyPtrOutput) ToPipelineArtifactStoreEncryptionKeyPtrOutputWithContext added in v1.19.0

func (o PipelineArtifactStoreEncryptionKeyPtrOutput) ToPipelineArtifactStoreEncryptionKeyPtrOutputWithContext(ctx context.Context) PipelineArtifactStoreEncryptionKeyPtrOutput

func (PipelineArtifactStoreEncryptionKeyPtrOutput) Type added in v1.19.0

type PipelineArtifactStoreInput added in v1.19.0

type PipelineArtifactStoreInput interface {
	pulumi.Input

	ToPipelineArtifactStoreOutput() PipelineArtifactStoreOutput
	ToPipelineArtifactStoreOutputWithContext(context.Context) PipelineArtifactStoreOutput
}

type PipelineArtifactStoreOutput added in v1.19.0

type PipelineArtifactStoreOutput struct{ *pulumi.OutputState }

func (PipelineArtifactStoreOutput) ElementType added in v1.19.0

func (PipelineArtifactStoreOutput) EncryptionKey added in v1.19.0

func (PipelineArtifactStoreOutput) Location added in v1.19.0

func (PipelineArtifactStoreOutput) ToPipelineArtifactStoreOutput added in v1.19.0

func (o PipelineArtifactStoreOutput) ToPipelineArtifactStoreOutput() PipelineArtifactStoreOutput

func (PipelineArtifactStoreOutput) ToPipelineArtifactStoreOutputWithContext added in v1.19.0

func (o PipelineArtifactStoreOutput) ToPipelineArtifactStoreOutputWithContext(ctx context.Context) PipelineArtifactStoreOutput

func (PipelineArtifactStoreOutput) ToPipelineArtifactStorePtrOutput added in v1.19.0

func (o PipelineArtifactStoreOutput) ToPipelineArtifactStorePtrOutput() PipelineArtifactStorePtrOutput

func (PipelineArtifactStoreOutput) ToPipelineArtifactStorePtrOutputWithContext added in v1.19.0

func (o PipelineArtifactStoreOutput) ToPipelineArtifactStorePtrOutputWithContext(ctx context.Context) PipelineArtifactStorePtrOutput

func (PipelineArtifactStoreOutput) Type added in v1.19.0

type PipelineArtifactStorePtrInput added in v1.19.0

type PipelineArtifactStorePtrInput interface {
	pulumi.Input

	ToPipelineArtifactStorePtrOutput() PipelineArtifactStorePtrOutput
	ToPipelineArtifactStorePtrOutputWithContext(context.Context) PipelineArtifactStorePtrOutput
}

func PipelineArtifactStorePtr added in v1.19.0

func PipelineArtifactStorePtr(v *PipelineArtifactStoreArgs) PipelineArtifactStorePtrInput

type PipelineArtifactStorePtrOutput added in v1.19.0

type PipelineArtifactStorePtrOutput struct{ *pulumi.OutputState }

func (PipelineArtifactStorePtrOutput) Elem added in v1.19.0

func (PipelineArtifactStorePtrOutput) ElementType added in v1.19.0

func (PipelineArtifactStorePtrOutput) EncryptionKey added in v1.19.0

func (PipelineArtifactStorePtrOutput) Location added in v1.19.0

func (PipelineArtifactStorePtrOutput) ToPipelineArtifactStorePtrOutput added in v1.19.0

func (o PipelineArtifactStorePtrOutput) ToPipelineArtifactStorePtrOutput() PipelineArtifactStorePtrOutput

func (PipelineArtifactStorePtrOutput) ToPipelineArtifactStorePtrOutputWithContext added in v1.19.0

func (o PipelineArtifactStorePtrOutput) ToPipelineArtifactStorePtrOutputWithContext(ctx context.Context) PipelineArtifactStorePtrOutput

func (PipelineArtifactStorePtrOutput) Type added in v1.19.0

type PipelineStage added in v1.19.0

type PipelineStage struct {
	Actions []PipelineStageAction `pulumi:"actions"`
	// The name of the pipeline.
	Name string `pulumi:"name"`
}

type PipelineStageAction added in v1.19.0

type PipelineStageAction struct {
	Category       string                 `pulumi:"category"`
	Configuration  map[string]interface{} `pulumi:"configuration"`
	InputArtifacts []string               `pulumi:"inputArtifacts"`
	// The name of the pipeline.
	Name            string   `pulumi:"name"`
	OutputArtifacts []string `pulumi:"outputArtifacts"`
	Owner           string   `pulumi:"owner"`
	Provider        string   `pulumi:"provider"`
	// A service role Amazon Resource Name (ARN) that grants AWS CodePipeline permission to make calls to AWS services on your behalf.
	RoleArn  *string `pulumi:"roleArn"`
	RunOrder *int    `pulumi:"runOrder"`
	Version  string  `pulumi:"version"`
}

type PipelineStageActionArgs added in v1.19.0

type PipelineStageActionArgs struct {
	Category       pulumi.StringInput      `pulumi:"category"`
	Configuration  pulumi.MapInput         `pulumi:"configuration"`
	InputArtifacts pulumi.StringArrayInput `pulumi:"inputArtifacts"`
	// The name of the pipeline.
	Name            pulumi.StringInput      `pulumi:"name"`
	OutputArtifacts pulumi.StringArrayInput `pulumi:"outputArtifacts"`
	Owner           pulumi.StringInput      `pulumi:"owner"`
	Provider        pulumi.StringInput      `pulumi:"provider"`
	// A service role Amazon Resource Name (ARN) that grants AWS CodePipeline permission to make calls to AWS services on your behalf.
	RoleArn  pulumi.StringPtrInput `pulumi:"roleArn"`
	RunOrder pulumi.IntPtrInput    `pulumi:"runOrder"`
	Version  pulumi.StringInput    `pulumi:"version"`
}

func (PipelineStageActionArgs) ElementType added in v1.19.0

func (PipelineStageActionArgs) ElementType() reflect.Type

func (PipelineStageActionArgs) ToPipelineStageActionOutput added in v1.19.0

func (i PipelineStageActionArgs) ToPipelineStageActionOutput() PipelineStageActionOutput

func (PipelineStageActionArgs) ToPipelineStageActionOutputWithContext added in v1.19.0

func (i PipelineStageActionArgs) ToPipelineStageActionOutputWithContext(ctx context.Context) PipelineStageActionOutput

type PipelineStageActionArray added in v1.19.0

type PipelineStageActionArray []PipelineStageActionInput

func (PipelineStageActionArray) ElementType added in v1.19.0

func (PipelineStageActionArray) ElementType() reflect.Type

func (PipelineStageActionArray) ToPipelineStageActionArrayOutput added in v1.19.0

func (i PipelineStageActionArray) ToPipelineStageActionArrayOutput() PipelineStageActionArrayOutput

func (PipelineStageActionArray) ToPipelineStageActionArrayOutputWithContext added in v1.19.0

func (i PipelineStageActionArray) ToPipelineStageActionArrayOutputWithContext(ctx context.Context) PipelineStageActionArrayOutput

type PipelineStageActionArrayInput added in v1.19.0

type PipelineStageActionArrayInput interface {
	pulumi.Input

	ToPipelineStageActionArrayOutput() PipelineStageActionArrayOutput
	ToPipelineStageActionArrayOutputWithContext(context.Context) PipelineStageActionArrayOutput
}

type PipelineStageActionArrayOutput added in v1.19.0

type PipelineStageActionArrayOutput struct{ *pulumi.OutputState }

func (PipelineStageActionArrayOutput) ElementType added in v1.19.0

func (PipelineStageActionArrayOutput) Index added in v1.19.0

func (PipelineStageActionArrayOutput) ToPipelineStageActionArrayOutput added in v1.19.0

func (o PipelineStageActionArrayOutput) ToPipelineStageActionArrayOutput() PipelineStageActionArrayOutput

func (PipelineStageActionArrayOutput) ToPipelineStageActionArrayOutputWithContext added in v1.19.0

func (o PipelineStageActionArrayOutput) ToPipelineStageActionArrayOutputWithContext(ctx context.Context) PipelineStageActionArrayOutput

type PipelineStageActionInput added in v1.19.0

type PipelineStageActionInput interface {
	pulumi.Input

	ToPipelineStageActionOutput() PipelineStageActionOutput
	ToPipelineStageActionOutputWithContext(context.Context) PipelineStageActionOutput
}

type PipelineStageActionOutput added in v1.19.0

type PipelineStageActionOutput struct{ *pulumi.OutputState }

func (PipelineStageActionOutput) Category added in v1.19.0

func (PipelineStageActionOutput) Configuration added in v1.19.0

func (o PipelineStageActionOutput) Configuration() pulumi.MapOutput

func (PipelineStageActionOutput) ElementType added in v1.19.0

func (PipelineStageActionOutput) ElementType() reflect.Type

func (PipelineStageActionOutput) InputArtifacts added in v1.19.0

func (PipelineStageActionOutput) Name added in v1.19.0

The name of the pipeline.

func (PipelineStageActionOutput) OutputArtifacts added in v1.19.0

func (PipelineStageActionOutput) Owner added in v1.19.0

func (PipelineStageActionOutput) Provider added in v1.19.0

func (PipelineStageActionOutput) RoleArn added in v1.19.0

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

func (PipelineStageActionOutput) RunOrder added in v1.19.0

func (PipelineStageActionOutput) ToPipelineStageActionOutput added in v1.19.0

func (o PipelineStageActionOutput) ToPipelineStageActionOutput() PipelineStageActionOutput

func (PipelineStageActionOutput) ToPipelineStageActionOutputWithContext added in v1.19.0

func (o PipelineStageActionOutput) ToPipelineStageActionOutputWithContext(ctx context.Context) PipelineStageActionOutput

func (PipelineStageActionOutput) Version added in v1.19.0

type PipelineStageArgs added in v1.19.0

type PipelineStageArgs struct {
	Actions PipelineStageActionArrayInput `pulumi:"actions"`
	// The name of the pipeline.
	Name pulumi.StringInput `pulumi:"name"`
}

func (PipelineStageArgs) ElementType added in v1.19.0

func (PipelineStageArgs) ElementType() reflect.Type

func (PipelineStageArgs) ToPipelineStageOutput added in v1.19.0

func (i PipelineStageArgs) ToPipelineStageOutput() PipelineStageOutput

func (PipelineStageArgs) ToPipelineStageOutputWithContext added in v1.19.0

func (i PipelineStageArgs) ToPipelineStageOutputWithContext(ctx context.Context) PipelineStageOutput

type PipelineStageArray added in v1.19.0

type PipelineStageArray []PipelineStageInput

func (PipelineStageArray) ElementType added in v1.19.0

func (PipelineStageArray) ElementType() reflect.Type

func (PipelineStageArray) ToPipelineStageArrayOutput added in v1.19.0

func (i PipelineStageArray) ToPipelineStageArrayOutput() PipelineStageArrayOutput

func (PipelineStageArray) ToPipelineStageArrayOutputWithContext added in v1.19.0

func (i PipelineStageArray) ToPipelineStageArrayOutputWithContext(ctx context.Context) PipelineStageArrayOutput

type PipelineStageArrayInput added in v1.19.0

type PipelineStageArrayInput interface {
	pulumi.Input

	ToPipelineStageArrayOutput() PipelineStageArrayOutput
	ToPipelineStageArrayOutputWithContext(context.Context) PipelineStageArrayOutput
}

type PipelineStageArrayOutput added in v1.19.0

type PipelineStageArrayOutput struct{ *pulumi.OutputState }

func (PipelineStageArrayOutput) ElementType added in v1.19.0

func (PipelineStageArrayOutput) ElementType() reflect.Type

func (PipelineStageArrayOutput) Index added in v1.19.0

func (PipelineStageArrayOutput) ToPipelineStageArrayOutput added in v1.19.0

func (o PipelineStageArrayOutput) ToPipelineStageArrayOutput() PipelineStageArrayOutput

func (PipelineStageArrayOutput) ToPipelineStageArrayOutputWithContext added in v1.19.0

func (o PipelineStageArrayOutput) ToPipelineStageArrayOutputWithContext(ctx context.Context) PipelineStageArrayOutput

type PipelineStageInput added in v1.19.0

type PipelineStageInput interface {
	pulumi.Input

	ToPipelineStageOutput() PipelineStageOutput
	ToPipelineStageOutputWithContext(context.Context) PipelineStageOutput
}

type PipelineStageOutput added in v1.19.0

type PipelineStageOutput struct{ *pulumi.OutputState }

func (PipelineStageOutput) Actions added in v1.19.0

func (PipelineStageOutput) ElementType added in v1.19.0

func (PipelineStageOutput) ElementType() reflect.Type

func (PipelineStageOutput) Name added in v1.19.0

The name of the pipeline.

func (PipelineStageOutput) ToPipelineStageOutput added in v1.19.0

func (o PipelineStageOutput) ToPipelineStageOutput() PipelineStageOutput

func (PipelineStageOutput) ToPipelineStageOutputWithContext added in v1.19.0

func (o PipelineStageOutput) ToPipelineStageOutputWithContext(ctx context.Context) PipelineStageOutput

type PipelineState

type PipelineState struct {
	// The codepipeline ARN.
	Arn pulumi.StringPtrInput
	// 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 PipelineArtifactStorePtrInput
	// The name of the pipeline.
	Name pulumi.StringPtrInput
	// A service role Amazon Resource Name (ARN) that grants AWS CodePipeline permission to make calls to AWS services on your behalf.
	RoleArn pulumi.StringPtrInput
	Stages  PipelineStageArrayInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

func (PipelineState) ElementType added in v1.19.0

func (PipelineState) ElementType() reflect.Type

type Webhook added in v0.16.1

type Webhook struct {
	pulumi.CustomResourceState

	// The type of authentication  to use. One of `IP`, `GITHUB_HMAC`, or `UNAUTHENTICATED`.
	Authentication pulumi.StringOutput `pulumi:"authentication"`
	// An `auth` block. Required for `IP` and `GITHUB_HMAC`. Auth blocks are documented below.
	AuthenticationConfiguration WebhookAuthenticationConfigurationPtrOutput `pulumi:"authenticationConfiguration"`
	// One or more `filter` blocks. Filter blocks are documented below.
	Filters WebhookFilterArrayOutput `pulumi:"filters"`
	// The name of the webhook.
	Name pulumi.StringOutput `pulumi:"name"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// 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 pulumi.StringOutput `pulumi:"targetAction"`
	// The name of the pipeline.
	TargetPipeline pulumi.StringOutput `pulumi:"targetPipeline"`
	// The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
	Url pulumi.StringOutput `pulumi:"url"`
}

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.IDInput, state *WebhookState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Webhook, error)

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

type WebhookArgs added in v0.16.1

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

The set of arguments for constructing a Webhook resource.

func (WebhookArgs) ElementType added in v1.19.0

func (WebhookArgs) ElementType() reflect.Type

type WebhookAuthenticationConfiguration added in v1.19.0

type WebhookAuthenticationConfiguration struct {
	AllowedIpRange *string `pulumi:"allowedIpRange"`
	SecretToken    *string `pulumi:"secretToken"`
}

type WebhookAuthenticationConfigurationArgs added in v1.19.0

type WebhookAuthenticationConfigurationArgs struct {
	AllowedIpRange pulumi.StringPtrInput `pulumi:"allowedIpRange"`
	SecretToken    pulumi.StringPtrInput `pulumi:"secretToken"`
}

func (WebhookAuthenticationConfigurationArgs) ElementType added in v1.19.0

func (WebhookAuthenticationConfigurationArgs) ToWebhookAuthenticationConfigurationOutput added in v1.19.0

func (i WebhookAuthenticationConfigurationArgs) ToWebhookAuthenticationConfigurationOutput() WebhookAuthenticationConfigurationOutput

func (WebhookAuthenticationConfigurationArgs) ToWebhookAuthenticationConfigurationOutputWithContext added in v1.19.0

func (i WebhookAuthenticationConfigurationArgs) ToWebhookAuthenticationConfigurationOutputWithContext(ctx context.Context) WebhookAuthenticationConfigurationOutput

func (WebhookAuthenticationConfigurationArgs) ToWebhookAuthenticationConfigurationPtrOutput added in v1.19.0

func (i WebhookAuthenticationConfigurationArgs) ToWebhookAuthenticationConfigurationPtrOutput() WebhookAuthenticationConfigurationPtrOutput

func (WebhookAuthenticationConfigurationArgs) ToWebhookAuthenticationConfigurationPtrOutputWithContext added in v1.19.0

func (i WebhookAuthenticationConfigurationArgs) ToWebhookAuthenticationConfigurationPtrOutputWithContext(ctx context.Context) WebhookAuthenticationConfigurationPtrOutput

type WebhookAuthenticationConfigurationInput added in v1.19.0

type WebhookAuthenticationConfigurationInput interface {
	pulumi.Input

	ToWebhookAuthenticationConfigurationOutput() WebhookAuthenticationConfigurationOutput
	ToWebhookAuthenticationConfigurationOutputWithContext(context.Context) WebhookAuthenticationConfigurationOutput
}

type WebhookAuthenticationConfigurationOutput added in v1.19.0

type WebhookAuthenticationConfigurationOutput struct{ *pulumi.OutputState }

func (WebhookAuthenticationConfigurationOutput) AllowedIpRange added in v1.19.0

func (WebhookAuthenticationConfigurationOutput) ElementType added in v1.19.0

func (WebhookAuthenticationConfigurationOutput) SecretToken added in v1.19.0

func (WebhookAuthenticationConfigurationOutput) ToWebhookAuthenticationConfigurationOutput added in v1.19.0

func (o WebhookAuthenticationConfigurationOutput) ToWebhookAuthenticationConfigurationOutput() WebhookAuthenticationConfigurationOutput

func (WebhookAuthenticationConfigurationOutput) ToWebhookAuthenticationConfigurationOutputWithContext added in v1.19.0

func (o WebhookAuthenticationConfigurationOutput) ToWebhookAuthenticationConfigurationOutputWithContext(ctx context.Context) WebhookAuthenticationConfigurationOutput

func (WebhookAuthenticationConfigurationOutput) ToWebhookAuthenticationConfigurationPtrOutput added in v1.19.0

func (o WebhookAuthenticationConfigurationOutput) ToWebhookAuthenticationConfigurationPtrOutput() WebhookAuthenticationConfigurationPtrOutput

func (WebhookAuthenticationConfigurationOutput) ToWebhookAuthenticationConfigurationPtrOutputWithContext added in v1.19.0

func (o WebhookAuthenticationConfigurationOutput) ToWebhookAuthenticationConfigurationPtrOutputWithContext(ctx context.Context) WebhookAuthenticationConfigurationPtrOutput

type WebhookAuthenticationConfigurationPtrInput added in v1.19.0

type WebhookAuthenticationConfigurationPtrInput interface {
	pulumi.Input

	ToWebhookAuthenticationConfigurationPtrOutput() WebhookAuthenticationConfigurationPtrOutput
	ToWebhookAuthenticationConfigurationPtrOutputWithContext(context.Context) WebhookAuthenticationConfigurationPtrOutput
}

type WebhookAuthenticationConfigurationPtrOutput added in v1.19.0

type WebhookAuthenticationConfigurationPtrOutput struct{ *pulumi.OutputState }

func (WebhookAuthenticationConfigurationPtrOutput) AllowedIpRange added in v1.19.0

func (WebhookAuthenticationConfigurationPtrOutput) Elem added in v1.19.0

func (WebhookAuthenticationConfigurationPtrOutput) ElementType added in v1.19.0

func (WebhookAuthenticationConfigurationPtrOutput) SecretToken added in v1.19.0

func (WebhookAuthenticationConfigurationPtrOutput) ToWebhookAuthenticationConfigurationPtrOutput added in v1.19.0

func (o WebhookAuthenticationConfigurationPtrOutput) ToWebhookAuthenticationConfigurationPtrOutput() WebhookAuthenticationConfigurationPtrOutput

func (WebhookAuthenticationConfigurationPtrOutput) ToWebhookAuthenticationConfigurationPtrOutputWithContext added in v1.19.0

func (o WebhookAuthenticationConfigurationPtrOutput) ToWebhookAuthenticationConfigurationPtrOutputWithContext(ctx context.Context) WebhookAuthenticationConfigurationPtrOutput

type WebhookFilter added in v1.19.0

type WebhookFilter struct {
	JsonPath    string `pulumi:"jsonPath"`
	MatchEquals string `pulumi:"matchEquals"`
}

type WebhookFilterArgs added in v1.19.0

type WebhookFilterArgs struct {
	JsonPath    pulumi.StringInput `pulumi:"jsonPath"`
	MatchEquals pulumi.StringInput `pulumi:"matchEquals"`
}

func (WebhookFilterArgs) ElementType added in v1.19.0

func (WebhookFilterArgs) ElementType() reflect.Type

func (WebhookFilterArgs) ToWebhookFilterOutput added in v1.19.0

func (i WebhookFilterArgs) ToWebhookFilterOutput() WebhookFilterOutput

func (WebhookFilterArgs) ToWebhookFilterOutputWithContext added in v1.19.0

func (i WebhookFilterArgs) ToWebhookFilterOutputWithContext(ctx context.Context) WebhookFilterOutput

type WebhookFilterArray added in v1.19.0

type WebhookFilterArray []WebhookFilterInput

func (WebhookFilterArray) ElementType added in v1.19.0

func (WebhookFilterArray) ElementType() reflect.Type

func (WebhookFilterArray) ToWebhookFilterArrayOutput added in v1.19.0

func (i WebhookFilterArray) ToWebhookFilterArrayOutput() WebhookFilterArrayOutput

func (WebhookFilterArray) ToWebhookFilterArrayOutputWithContext added in v1.19.0

func (i WebhookFilterArray) ToWebhookFilterArrayOutputWithContext(ctx context.Context) WebhookFilterArrayOutput

type WebhookFilterArrayInput added in v1.19.0

type WebhookFilterArrayInput interface {
	pulumi.Input

	ToWebhookFilterArrayOutput() WebhookFilterArrayOutput
	ToWebhookFilterArrayOutputWithContext(context.Context) WebhookFilterArrayOutput
}

type WebhookFilterArrayOutput added in v1.19.0

type WebhookFilterArrayOutput struct{ *pulumi.OutputState }

func (WebhookFilterArrayOutput) ElementType added in v1.19.0

func (WebhookFilterArrayOutput) ElementType() reflect.Type

func (WebhookFilterArrayOutput) Index added in v1.19.0

func (WebhookFilterArrayOutput) ToWebhookFilterArrayOutput added in v1.19.0

func (o WebhookFilterArrayOutput) ToWebhookFilterArrayOutput() WebhookFilterArrayOutput

func (WebhookFilterArrayOutput) ToWebhookFilterArrayOutputWithContext added in v1.19.0

func (o WebhookFilterArrayOutput) ToWebhookFilterArrayOutputWithContext(ctx context.Context) WebhookFilterArrayOutput

type WebhookFilterInput added in v1.19.0

type WebhookFilterInput interface {
	pulumi.Input

	ToWebhookFilterOutput() WebhookFilterOutput
	ToWebhookFilterOutputWithContext(context.Context) WebhookFilterOutput
}

type WebhookFilterOutput added in v1.19.0

type WebhookFilterOutput struct{ *pulumi.OutputState }

func (WebhookFilterOutput) ElementType added in v1.19.0

func (WebhookFilterOutput) ElementType() reflect.Type

func (WebhookFilterOutput) JsonPath added in v1.19.0

func (WebhookFilterOutput) MatchEquals added in v1.19.0

func (o WebhookFilterOutput) MatchEquals() pulumi.StringOutput

func (WebhookFilterOutput) ToWebhookFilterOutput added in v1.19.0

func (o WebhookFilterOutput) ToWebhookFilterOutput() WebhookFilterOutput

func (WebhookFilterOutput) ToWebhookFilterOutputWithContext added in v1.19.0

func (o WebhookFilterOutput) ToWebhookFilterOutputWithContext(ctx context.Context) WebhookFilterOutput

type WebhookState added in v0.16.1

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

func (WebhookState) ElementType added in v1.19.0

func (WebhookState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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