codepipeline

package
v6.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomActionType

type CustomActionType struct {
	pulumi.CustomResourceState

	// The action ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The category of the custom action. Valid values: `Source`, `Build`, `Deploy`, `Test`, `Invoke`, `Approval`
	Category pulumi.StringOutput `pulumi:"category"`
	// The configuration properties for the custom action. Max 10 items.
	ConfigurationProperties CustomActionTypeConfigurationPropertyArrayOutput `pulumi:"configurationProperties"`
	// The details of the input artifact for the action.
	InputArtifactDetails CustomActionTypeInputArtifactDetailsOutput `pulumi:"inputArtifactDetails"`
	// The details of the output artifact of the action.
	OutputArtifactDetails CustomActionTypeOutputArtifactDetailsOutput `pulumi:"outputArtifactDetails"`
	// The creator of the action being called.
	Owner pulumi.StringOutput `pulumi:"owner"`
	// The provider of the service used in the custom action
	ProviderName pulumi.StringOutput `pulumi:"providerName"`
	// The settings for an action type.
	Settings CustomActionTypeSettingsPtrOutput `pulumi:"settings"`
	// Map of tags to assign to this resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The version identifier of the custom action.
	Version pulumi.StringOutput `pulumi:"version"`
}

Provides a CodeDeploy CustomActionType

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codepipeline"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := codepipeline.NewCustomActionType(ctx, "example", &codepipeline.CustomActionTypeArgs{
			Category: pulumi.String("Build"),
			InputArtifactDetails: &codepipeline.CustomActionTypeInputArtifactDetailsArgs{
				MaximumCount: pulumi.Int(1),
				MinimumCount: pulumi.Int(0),
			},
			OutputArtifactDetails: &codepipeline.CustomActionTypeOutputArtifactDetailsArgs{
				MaximumCount: pulumi.Int(1),
				MinimumCount: pulumi.Int(0),
			},
			ProviderName: pulumi.String("example"),
			Version:      pulumi.String("1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CodeDeploy CustomActionType using the `id`. For example:

```sh

$ pulumi import aws:codepipeline/customActionType:CustomActionType example Build:pulumi:1

```

func GetCustomActionType

func GetCustomActionType(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomActionTypeState, opts ...pulumi.ResourceOption) (*CustomActionType, error)

GetCustomActionType gets an existing CustomActionType 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 NewCustomActionType

func NewCustomActionType(ctx *pulumi.Context,
	name string, args *CustomActionTypeArgs, opts ...pulumi.ResourceOption) (*CustomActionType, error)

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

func (*CustomActionType) ElementType

func (*CustomActionType) ElementType() reflect.Type

func (*CustomActionType) ToCustomActionTypeOutput

func (i *CustomActionType) ToCustomActionTypeOutput() CustomActionTypeOutput

func (*CustomActionType) ToCustomActionTypeOutputWithContext

func (i *CustomActionType) ToCustomActionTypeOutputWithContext(ctx context.Context) CustomActionTypeOutput

type CustomActionTypeArgs

type CustomActionTypeArgs struct {
	// The category of the custom action. Valid values: `Source`, `Build`, `Deploy`, `Test`, `Invoke`, `Approval`
	Category pulumi.StringInput
	// The configuration properties for the custom action. Max 10 items.
	ConfigurationProperties CustomActionTypeConfigurationPropertyArrayInput
	// The details of the input artifact for the action.
	InputArtifactDetails CustomActionTypeInputArtifactDetailsInput
	// The details of the output artifact of the action.
	OutputArtifactDetails CustomActionTypeOutputArtifactDetailsInput
	// The provider of the service used in the custom action
	ProviderName pulumi.StringInput
	// The settings for an action type.
	Settings CustomActionTypeSettingsPtrInput
	// Map of tags to assign to this resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The version identifier of the custom action.
	Version pulumi.StringInput
}

The set of arguments for constructing a CustomActionType resource.

func (CustomActionTypeArgs) ElementType

func (CustomActionTypeArgs) ElementType() reflect.Type

type CustomActionTypeArray

type CustomActionTypeArray []CustomActionTypeInput

func (CustomActionTypeArray) ElementType

func (CustomActionTypeArray) ElementType() reflect.Type

func (CustomActionTypeArray) ToCustomActionTypeArrayOutput

func (i CustomActionTypeArray) ToCustomActionTypeArrayOutput() CustomActionTypeArrayOutput

func (CustomActionTypeArray) ToCustomActionTypeArrayOutputWithContext

func (i CustomActionTypeArray) ToCustomActionTypeArrayOutputWithContext(ctx context.Context) CustomActionTypeArrayOutput

type CustomActionTypeArrayInput

type CustomActionTypeArrayInput interface {
	pulumi.Input

	ToCustomActionTypeArrayOutput() CustomActionTypeArrayOutput
	ToCustomActionTypeArrayOutputWithContext(context.Context) CustomActionTypeArrayOutput
}

CustomActionTypeArrayInput is an input type that accepts CustomActionTypeArray and CustomActionTypeArrayOutput values. You can construct a concrete instance of `CustomActionTypeArrayInput` via:

CustomActionTypeArray{ CustomActionTypeArgs{...} }

type CustomActionTypeArrayOutput

type CustomActionTypeArrayOutput struct{ *pulumi.OutputState }

func (CustomActionTypeArrayOutput) ElementType

func (CustomActionTypeArrayOutput) Index

func (CustomActionTypeArrayOutput) ToCustomActionTypeArrayOutput

func (o CustomActionTypeArrayOutput) ToCustomActionTypeArrayOutput() CustomActionTypeArrayOutput

func (CustomActionTypeArrayOutput) ToCustomActionTypeArrayOutputWithContext

func (o CustomActionTypeArrayOutput) ToCustomActionTypeArrayOutputWithContext(ctx context.Context) CustomActionTypeArrayOutput

type CustomActionTypeConfigurationProperty

type CustomActionTypeConfigurationProperty struct {
	// The description of the action configuration property.
	Description *string `pulumi:"description"`
	// Whether the configuration property is a key.
	Key bool `pulumi:"key"`
	// The name of the action configuration property.
	Name string `pulumi:"name"`
	// Indicates that the property will be used in conjunction with PollForJobs.
	Queryable *bool `pulumi:"queryable"`
	// Whether the configuration property is a required value.
	Required bool `pulumi:"required"`
	// Whether the configuration property is secret.
	Secret bool `pulumi:"secret"`
	// The type of the configuration property. Valid values: `String`, `Number`, `Boolean`
	Type *string `pulumi:"type"`
}

type CustomActionTypeConfigurationPropertyArgs

type CustomActionTypeConfigurationPropertyArgs struct {
	// The description of the action configuration property.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Whether the configuration property is a key.
	Key pulumi.BoolInput `pulumi:"key"`
	// The name of the action configuration property.
	Name pulumi.StringInput `pulumi:"name"`
	// Indicates that the property will be used in conjunction with PollForJobs.
	Queryable pulumi.BoolPtrInput `pulumi:"queryable"`
	// Whether the configuration property is a required value.
	Required pulumi.BoolInput `pulumi:"required"`
	// Whether the configuration property is secret.
	Secret pulumi.BoolInput `pulumi:"secret"`
	// The type of the configuration property. Valid values: `String`, `Number`, `Boolean`
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (CustomActionTypeConfigurationPropertyArgs) ElementType

func (CustomActionTypeConfigurationPropertyArgs) ToCustomActionTypeConfigurationPropertyOutput

func (i CustomActionTypeConfigurationPropertyArgs) ToCustomActionTypeConfigurationPropertyOutput() CustomActionTypeConfigurationPropertyOutput

func (CustomActionTypeConfigurationPropertyArgs) ToCustomActionTypeConfigurationPropertyOutputWithContext

func (i CustomActionTypeConfigurationPropertyArgs) ToCustomActionTypeConfigurationPropertyOutputWithContext(ctx context.Context) CustomActionTypeConfigurationPropertyOutput

type CustomActionTypeConfigurationPropertyArray

type CustomActionTypeConfigurationPropertyArray []CustomActionTypeConfigurationPropertyInput

func (CustomActionTypeConfigurationPropertyArray) ElementType

func (CustomActionTypeConfigurationPropertyArray) ToCustomActionTypeConfigurationPropertyArrayOutput

func (i CustomActionTypeConfigurationPropertyArray) ToCustomActionTypeConfigurationPropertyArrayOutput() CustomActionTypeConfigurationPropertyArrayOutput

func (CustomActionTypeConfigurationPropertyArray) ToCustomActionTypeConfigurationPropertyArrayOutputWithContext

func (i CustomActionTypeConfigurationPropertyArray) ToCustomActionTypeConfigurationPropertyArrayOutputWithContext(ctx context.Context) CustomActionTypeConfigurationPropertyArrayOutput

type CustomActionTypeConfigurationPropertyArrayInput

type CustomActionTypeConfigurationPropertyArrayInput interface {
	pulumi.Input

	ToCustomActionTypeConfigurationPropertyArrayOutput() CustomActionTypeConfigurationPropertyArrayOutput
	ToCustomActionTypeConfigurationPropertyArrayOutputWithContext(context.Context) CustomActionTypeConfigurationPropertyArrayOutput
}

CustomActionTypeConfigurationPropertyArrayInput is an input type that accepts CustomActionTypeConfigurationPropertyArray and CustomActionTypeConfigurationPropertyArrayOutput values. You can construct a concrete instance of `CustomActionTypeConfigurationPropertyArrayInput` via:

CustomActionTypeConfigurationPropertyArray{ CustomActionTypeConfigurationPropertyArgs{...} }

type CustomActionTypeConfigurationPropertyArrayOutput

type CustomActionTypeConfigurationPropertyArrayOutput struct{ *pulumi.OutputState }

func (CustomActionTypeConfigurationPropertyArrayOutput) ElementType

func (CustomActionTypeConfigurationPropertyArrayOutput) Index

func (CustomActionTypeConfigurationPropertyArrayOutput) ToCustomActionTypeConfigurationPropertyArrayOutput

func (o CustomActionTypeConfigurationPropertyArrayOutput) ToCustomActionTypeConfigurationPropertyArrayOutput() CustomActionTypeConfigurationPropertyArrayOutput

func (CustomActionTypeConfigurationPropertyArrayOutput) ToCustomActionTypeConfigurationPropertyArrayOutputWithContext

func (o CustomActionTypeConfigurationPropertyArrayOutput) ToCustomActionTypeConfigurationPropertyArrayOutputWithContext(ctx context.Context) CustomActionTypeConfigurationPropertyArrayOutput

type CustomActionTypeConfigurationPropertyInput

type CustomActionTypeConfigurationPropertyInput interface {
	pulumi.Input

	ToCustomActionTypeConfigurationPropertyOutput() CustomActionTypeConfigurationPropertyOutput
	ToCustomActionTypeConfigurationPropertyOutputWithContext(context.Context) CustomActionTypeConfigurationPropertyOutput
}

CustomActionTypeConfigurationPropertyInput is an input type that accepts CustomActionTypeConfigurationPropertyArgs and CustomActionTypeConfigurationPropertyOutput values. You can construct a concrete instance of `CustomActionTypeConfigurationPropertyInput` via:

CustomActionTypeConfigurationPropertyArgs{...}

type CustomActionTypeConfigurationPropertyOutput

type CustomActionTypeConfigurationPropertyOutput struct{ *pulumi.OutputState }

func (CustomActionTypeConfigurationPropertyOutput) Description

The description of the action configuration property.

func (CustomActionTypeConfigurationPropertyOutput) ElementType

func (CustomActionTypeConfigurationPropertyOutput) Key

Whether the configuration property is a key.

func (CustomActionTypeConfigurationPropertyOutput) Name

The name of the action configuration property.

func (CustomActionTypeConfigurationPropertyOutput) Queryable

Indicates that the property will be used in conjunction with PollForJobs.

func (CustomActionTypeConfigurationPropertyOutput) Required

Whether the configuration property is a required value.

func (CustomActionTypeConfigurationPropertyOutput) Secret

Whether the configuration property is secret.

func (CustomActionTypeConfigurationPropertyOutput) ToCustomActionTypeConfigurationPropertyOutput

func (o CustomActionTypeConfigurationPropertyOutput) ToCustomActionTypeConfigurationPropertyOutput() CustomActionTypeConfigurationPropertyOutput

func (CustomActionTypeConfigurationPropertyOutput) ToCustomActionTypeConfigurationPropertyOutputWithContext

func (o CustomActionTypeConfigurationPropertyOutput) ToCustomActionTypeConfigurationPropertyOutputWithContext(ctx context.Context) CustomActionTypeConfigurationPropertyOutput

func (CustomActionTypeConfigurationPropertyOutput) Type

The type of the configuration property. Valid values: `String`, `Number`, `Boolean`

type CustomActionTypeInput

type CustomActionTypeInput interface {
	pulumi.Input

	ToCustomActionTypeOutput() CustomActionTypeOutput
	ToCustomActionTypeOutputWithContext(ctx context.Context) CustomActionTypeOutput
}

type CustomActionTypeInputArtifactDetails

type CustomActionTypeInputArtifactDetails struct {
	// The maximum number of artifacts allowed for the action type. Min: 0, Max: 5
	MaximumCount int `pulumi:"maximumCount"`
	// The minimum number of artifacts allowed for the action type. Min: 0, Max: 5
	MinimumCount int `pulumi:"minimumCount"`
}

type CustomActionTypeInputArtifactDetailsArgs

type CustomActionTypeInputArtifactDetailsArgs struct {
	// The maximum number of artifacts allowed for the action type. Min: 0, Max: 5
	MaximumCount pulumi.IntInput `pulumi:"maximumCount"`
	// The minimum number of artifacts allowed for the action type. Min: 0, Max: 5
	MinimumCount pulumi.IntInput `pulumi:"minimumCount"`
}

func (CustomActionTypeInputArtifactDetailsArgs) ElementType

func (CustomActionTypeInputArtifactDetailsArgs) ToCustomActionTypeInputArtifactDetailsOutput

func (i CustomActionTypeInputArtifactDetailsArgs) ToCustomActionTypeInputArtifactDetailsOutput() CustomActionTypeInputArtifactDetailsOutput

func (CustomActionTypeInputArtifactDetailsArgs) ToCustomActionTypeInputArtifactDetailsOutputWithContext

func (i CustomActionTypeInputArtifactDetailsArgs) ToCustomActionTypeInputArtifactDetailsOutputWithContext(ctx context.Context) CustomActionTypeInputArtifactDetailsOutput

func (CustomActionTypeInputArtifactDetailsArgs) ToCustomActionTypeInputArtifactDetailsPtrOutput

func (i CustomActionTypeInputArtifactDetailsArgs) ToCustomActionTypeInputArtifactDetailsPtrOutput() CustomActionTypeInputArtifactDetailsPtrOutput

func (CustomActionTypeInputArtifactDetailsArgs) ToCustomActionTypeInputArtifactDetailsPtrOutputWithContext

func (i CustomActionTypeInputArtifactDetailsArgs) ToCustomActionTypeInputArtifactDetailsPtrOutputWithContext(ctx context.Context) CustomActionTypeInputArtifactDetailsPtrOutput

type CustomActionTypeInputArtifactDetailsInput

type CustomActionTypeInputArtifactDetailsInput interface {
	pulumi.Input

	ToCustomActionTypeInputArtifactDetailsOutput() CustomActionTypeInputArtifactDetailsOutput
	ToCustomActionTypeInputArtifactDetailsOutputWithContext(context.Context) CustomActionTypeInputArtifactDetailsOutput
}

CustomActionTypeInputArtifactDetailsInput is an input type that accepts CustomActionTypeInputArtifactDetailsArgs and CustomActionTypeInputArtifactDetailsOutput values. You can construct a concrete instance of `CustomActionTypeInputArtifactDetailsInput` via:

CustomActionTypeInputArtifactDetailsArgs{...}

type CustomActionTypeInputArtifactDetailsOutput

type CustomActionTypeInputArtifactDetailsOutput struct{ *pulumi.OutputState }

func (CustomActionTypeInputArtifactDetailsOutput) ElementType

func (CustomActionTypeInputArtifactDetailsOutput) MaximumCount

The maximum number of artifacts allowed for the action type. Min: 0, Max: 5

func (CustomActionTypeInputArtifactDetailsOutput) MinimumCount

The minimum number of artifacts allowed for the action type. Min: 0, Max: 5

func (CustomActionTypeInputArtifactDetailsOutput) ToCustomActionTypeInputArtifactDetailsOutput

func (o CustomActionTypeInputArtifactDetailsOutput) ToCustomActionTypeInputArtifactDetailsOutput() CustomActionTypeInputArtifactDetailsOutput

func (CustomActionTypeInputArtifactDetailsOutput) ToCustomActionTypeInputArtifactDetailsOutputWithContext

func (o CustomActionTypeInputArtifactDetailsOutput) ToCustomActionTypeInputArtifactDetailsOutputWithContext(ctx context.Context) CustomActionTypeInputArtifactDetailsOutput

func (CustomActionTypeInputArtifactDetailsOutput) ToCustomActionTypeInputArtifactDetailsPtrOutput

func (o CustomActionTypeInputArtifactDetailsOutput) ToCustomActionTypeInputArtifactDetailsPtrOutput() CustomActionTypeInputArtifactDetailsPtrOutput

func (CustomActionTypeInputArtifactDetailsOutput) ToCustomActionTypeInputArtifactDetailsPtrOutputWithContext

func (o CustomActionTypeInputArtifactDetailsOutput) ToCustomActionTypeInputArtifactDetailsPtrOutputWithContext(ctx context.Context) CustomActionTypeInputArtifactDetailsPtrOutput

type CustomActionTypeInputArtifactDetailsPtrInput

type CustomActionTypeInputArtifactDetailsPtrInput interface {
	pulumi.Input

	ToCustomActionTypeInputArtifactDetailsPtrOutput() CustomActionTypeInputArtifactDetailsPtrOutput
	ToCustomActionTypeInputArtifactDetailsPtrOutputWithContext(context.Context) CustomActionTypeInputArtifactDetailsPtrOutput
}

CustomActionTypeInputArtifactDetailsPtrInput is an input type that accepts CustomActionTypeInputArtifactDetailsArgs, CustomActionTypeInputArtifactDetailsPtr and CustomActionTypeInputArtifactDetailsPtrOutput values. You can construct a concrete instance of `CustomActionTypeInputArtifactDetailsPtrInput` via:

        CustomActionTypeInputArtifactDetailsArgs{...}

or:

        nil

type CustomActionTypeInputArtifactDetailsPtrOutput

type CustomActionTypeInputArtifactDetailsPtrOutput struct{ *pulumi.OutputState }

func (CustomActionTypeInputArtifactDetailsPtrOutput) Elem

func (CustomActionTypeInputArtifactDetailsPtrOutput) ElementType

func (CustomActionTypeInputArtifactDetailsPtrOutput) MaximumCount

The maximum number of artifacts allowed for the action type. Min: 0, Max: 5

func (CustomActionTypeInputArtifactDetailsPtrOutput) MinimumCount

The minimum number of artifacts allowed for the action type. Min: 0, Max: 5

func (CustomActionTypeInputArtifactDetailsPtrOutput) ToCustomActionTypeInputArtifactDetailsPtrOutput

func (o CustomActionTypeInputArtifactDetailsPtrOutput) ToCustomActionTypeInputArtifactDetailsPtrOutput() CustomActionTypeInputArtifactDetailsPtrOutput

func (CustomActionTypeInputArtifactDetailsPtrOutput) ToCustomActionTypeInputArtifactDetailsPtrOutputWithContext

func (o CustomActionTypeInputArtifactDetailsPtrOutput) ToCustomActionTypeInputArtifactDetailsPtrOutputWithContext(ctx context.Context) CustomActionTypeInputArtifactDetailsPtrOutput

type CustomActionTypeMap

type CustomActionTypeMap map[string]CustomActionTypeInput

func (CustomActionTypeMap) ElementType

func (CustomActionTypeMap) ElementType() reflect.Type

func (CustomActionTypeMap) ToCustomActionTypeMapOutput

func (i CustomActionTypeMap) ToCustomActionTypeMapOutput() CustomActionTypeMapOutput

func (CustomActionTypeMap) ToCustomActionTypeMapOutputWithContext

func (i CustomActionTypeMap) ToCustomActionTypeMapOutputWithContext(ctx context.Context) CustomActionTypeMapOutput

type CustomActionTypeMapInput

type CustomActionTypeMapInput interface {
	pulumi.Input

	ToCustomActionTypeMapOutput() CustomActionTypeMapOutput
	ToCustomActionTypeMapOutputWithContext(context.Context) CustomActionTypeMapOutput
}

CustomActionTypeMapInput is an input type that accepts CustomActionTypeMap and CustomActionTypeMapOutput values. You can construct a concrete instance of `CustomActionTypeMapInput` via:

CustomActionTypeMap{ "key": CustomActionTypeArgs{...} }

type CustomActionTypeMapOutput

type CustomActionTypeMapOutput struct{ *pulumi.OutputState }

func (CustomActionTypeMapOutput) ElementType

func (CustomActionTypeMapOutput) ElementType() reflect.Type

func (CustomActionTypeMapOutput) MapIndex

func (CustomActionTypeMapOutput) ToCustomActionTypeMapOutput

func (o CustomActionTypeMapOutput) ToCustomActionTypeMapOutput() CustomActionTypeMapOutput

func (CustomActionTypeMapOutput) ToCustomActionTypeMapOutputWithContext

func (o CustomActionTypeMapOutput) ToCustomActionTypeMapOutputWithContext(ctx context.Context) CustomActionTypeMapOutput

type CustomActionTypeOutput

type CustomActionTypeOutput struct{ *pulumi.OutputState }

func (CustomActionTypeOutput) Arn

The action ARN.

func (CustomActionTypeOutput) Category

The category of the custom action. Valid values: `Source`, `Build`, `Deploy`, `Test`, `Invoke`, `Approval`

func (CustomActionTypeOutput) ConfigurationProperties

The configuration properties for the custom action. Max 10 items.

func (CustomActionTypeOutput) ElementType

func (CustomActionTypeOutput) ElementType() reflect.Type

func (CustomActionTypeOutput) InputArtifactDetails

The details of the input artifact for the action.

func (CustomActionTypeOutput) OutputArtifactDetails

The details of the output artifact of the action.

func (CustomActionTypeOutput) Owner

The creator of the action being called.

func (CustomActionTypeOutput) ProviderName

func (o CustomActionTypeOutput) ProviderName() pulumi.StringOutput

The provider of the service used in the custom action

func (CustomActionTypeOutput) Settings

The settings for an action type.

func (CustomActionTypeOutput) Tags

Map of tags to assign to this resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (CustomActionTypeOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (CustomActionTypeOutput) ToCustomActionTypeOutput

func (o CustomActionTypeOutput) ToCustomActionTypeOutput() CustomActionTypeOutput

func (CustomActionTypeOutput) ToCustomActionTypeOutputWithContext

func (o CustomActionTypeOutput) ToCustomActionTypeOutputWithContext(ctx context.Context) CustomActionTypeOutput

func (CustomActionTypeOutput) Version

The version identifier of the custom action.

type CustomActionTypeOutputArtifactDetails

type CustomActionTypeOutputArtifactDetails struct {
	// The maximum number of artifacts allowed for the action type. Min: 0, Max: 5
	MaximumCount int `pulumi:"maximumCount"`
	// The minimum number of artifacts allowed for the action type. Min: 0, Max: 5
	MinimumCount int `pulumi:"minimumCount"`
}

type CustomActionTypeOutputArtifactDetailsArgs

type CustomActionTypeOutputArtifactDetailsArgs struct {
	// The maximum number of artifacts allowed for the action type. Min: 0, Max: 5
	MaximumCount pulumi.IntInput `pulumi:"maximumCount"`
	// The minimum number of artifacts allowed for the action type. Min: 0, Max: 5
	MinimumCount pulumi.IntInput `pulumi:"minimumCount"`
}

func (CustomActionTypeOutputArtifactDetailsArgs) ElementType

func (CustomActionTypeOutputArtifactDetailsArgs) ToCustomActionTypeOutputArtifactDetailsOutput

func (i CustomActionTypeOutputArtifactDetailsArgs) ToCustomActionTypeOutputArtifactDetailsOutput() CustomActionTypeOutputArtifactDetailsOutput

func (CustomActionTypeOutputArtifactDetailsArgs) ToCustomActionTypeOutputArtifactDetailsOutputWithContext

func (i CustomActionTypeOutputArtifactDetailsArgs) ToCustomActionTypeOutputArtifactDetailsOutputWithContext(ctx context.Context) CustomActionTypeOutputArtifactDetailsOutput

func (CustomActionTypeOutputArtifactDetailsArgs) ToCustomActionTypeOutputArtifactDetailsPtrOutput

func (i CustomActionTypeOutputArtifactDetailsArgs) ToCustomActionTypeOutputArtifactDetailsPtrOutput() CustomActionTypeOutputArtifactDetailsPtrOutput

func (CustomActionTypeOutputArtifactDetailsArgs) ToCustomActionTypeOutputArtifactDetailsPtrOutputWithContext

func (i CustomActionTypeOutputArtifactDetailsArgs) ToCustomActionTypeOutputArtifactDetailsPtrOutputWithContext(ctx context.Context) CustomActionTypeOutputArtifactDetailsPtrOutput

type CustomActionTypeOutputArtifactDetailsInput

type CustomActionTypeOutputArtifactDetailsInput interface {
	pulumi.Input

	ToCustomActionTypeOutputArtifactDetailsOutput() CustomActionTypeOutputArtifactDetailsOutput
	ToCustomActionTypeOutputArtifactDetailsOutputWithContext(context.Context) CustomActionTypeOutputArtifactDetailsOutput
}

CustomActionTypeOutputArtifactDetailsInput is an input type that accepts CustomActionTypeOutputArtifactDetailsArgs and CustomActionTypeOutputArtifactDetailsOutput values. You can construct a concrete instance of `CustomActionTypeOutputArtifactDetailsInput` via:

CustomActionTypeOutputArtifactDetailsArgs{...}

type CustomActionTypeOutputArtifactDetailsOutput

type CustomActionTypeOutputArtifactDetailsOutput struct{ *pulumi.OutputState }

func (CustomActionTypeOutputArtifactDetailsOutput) ElementType

func (CustomActionTypeOutputArtifactDetailsOutput) MaximumCount

The maximum number of artifacts allowed for the action type. Min: 0, Max: 5

func (CustomActionTypeOutputArtifactDetailsOutput) MinimumCount

The minimum number of artifacts allowed for the action type. Min: 0, Max: 5

func (CustomActionTypeOutputArtifactDetailsOutput) ToCustomActionTypeOutputArtifactDetailsOutput

func (o CustomActionTypeOutputArtifactDetailsOutput) ToCustomActionTypeOutputArtifactDetailsOutput() CustomActionTypeOutputArtifactDetailsOutput

func (CustomActionTypeOutputArtifactDetailsOutput) ToCustomActionTypeOutputArtifactDetailsOutputWithContext

func (o CustomActionTypeOutputArtifactDetailsOutput) ToCustomActionTypeOutputArtifactDetailsOutputWithContext(ctx context.Context) CustomActionTypeOutputArtifactDetailsOutput

func (CustomActionTypeOutputArtifactDetailsOutput) ToCustomActionTypeOutputArtifactDetailsPtrOutput

func (o CustomActionTypeOutputArtifactDetailsOutput) ToCustomActionTypeOutputArtifactDetailsPtrOutput() CustomActionTypeOutputArtifactDetailsPtrOutput

func (CustomActionTypeOutputArtifactDetailsOutput) ToCustomActionTypeOutputArtifactDetailsPtrOutputWithContext

func (o CustomActionTypeOutputArtifactDetailsOutput) ToCustomActionTypeOutputArtifactDetailsPtrOutputWithContext(ctx context.Context) CustomActionTypeOutputArtifactDetailsPtrOutput

type CustomActionTypeOutputArtifactDetailsPtrInput

type CustomActionTypeOutputArtifactDetailsPtrInput interface {
	pulumi.Input

	ToCustomActionTypeOutputArtifactDetailsPtrOutput() CustomActionTypeOutputArtifactDetailsPtrOutput
	ToCustomActionTypeOutputArtifactDetailsPtrOutputWithContext(context.Context) CustomActionTypeOutputArtifactDetailsPtrOutput
}

CustomActionTypeOutputArtifactDetailsPtrInput is an input type that accepts CustomActionTypeOutputArtifactDetailsArgs, CustomActionTypeOutputArtifactDetailsPtr and CustomActionTypeOutputArtifactDetailsPtrOutput values. You can construct a concrete instance of `CustomActionTypeOutputArtifactDetailsPtrInput` via:

        CustomActionTypeOutputArtifactDetailsArgs{...}

or:

        nil

type CustomActionTypeOutputArtifactDetailsPtrOutput

type CustomActionTypeOutputArtifactDetailsPtrOutput struct{ *pulumi.OutputState }

func (CustomActionTypeOutputArtifactDetailsPtrOutput) Elem

func (CustomActionTypeOutputArtifactDetailsPtrOutput) ElementType

func (CustomActionTypeOutputArtifactDetailsPtrOutput) MaximumCount

The maximum number of artifacts allowed for the action type. Min: 0, Max: 5

func (CustomActionTypeOutputArtifactDetailsPtrOutput) MinimumCount

The minimum number of artifacts allowed for the action type. Min: 0, Max: 5

func (CustomActionTypeOutputArtifactDetailsPtrOutput) ToCustomActionTypeOutputArtifactDetailsPtrOutput

func (o CustomActionTypeOutputArtifactDetailsPtrOutput) ToCustomActionTypeOutputArtifactDetailsPtrOutput() CustomActionTypeOutputArtifactDetailsPtrOutput

func (CustomActionTypeOutputArtifactDetailsPtrOutput) ToCustomActionTypeOutputArtifactDetailsPtrOutputWithContext

func (o CustomActionTypeOutputArtifactDetailsPtrOutput) ToCustomActionTypeOutputArtifactDetailsPtrOutputWithContext(ctx context.Context) CustomActionTypeOutputArtifactDetailsPtrOutput

type CustomActionTypeSettings

type CustomActionTypeSettings struct {
	// The URL returned to the AWS CodePipeline console that provides a deep link to the resources of the external system.
	EntityUrlTemplate *string `pulumi:"entityUrlTemplate"`
	// The URL returned to the AWS CodePipeline console that contains a link to the top-level landing page for the external system.
	ExecutionUrlTemplate *string `pulumi:"executionUrlTemplate"`
	// The URL returned to the AWS CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action.
	RevisionUrlTemplate *string `pulumi:"revisionUrlTemplate"`
	// The URL of a sign-up page where users can sign up for an external service and perform initial configuration of the action provided by that service.
	ThirdPartyConfigurationUrl *string `pulumi:"thirdPartyConfigurationUrl"`
}

type CustomActionTypeSettingsArgs

type CustomActionTypeSettingsArgs struct {
	// The URL returned to the AWS CodePipeline console that provides a deep link to the resources of the external system.
	EntityUrlTemplate pulumi.StringPtrInput `pulumi:"entityUrlTemplate"`
	// The URL returned to the AWS CodePipeline console that contains a link to the top-level landing page for the external system.
	ExecutionUrlTemplate pulumi.StringPtrInput `pulumi:"executionUrlTemplate"`
	// The URL returned to the AWS CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action.
	RevisionUrlTemplate pulumi.StringPtrInput `pulumi:"revisionUrlTemplate"`
	// The URL of a sign-up page where users can sign up for an external service and perform initial configuration of the action provided by that service.
	ThirdPartyConfigurationUrl pulumi.StringPtrInput `pulumi:"thirdPartyConfigurationUrl"`
}

func (CustomActionTypeSettingsArgs) ElementType

func (CustomActionTypeSettingsArgs) ToCustomActionTypeSettingsOutput

func (i CustomActionTypeSettingsArgs) ToCustomActionTypeSettingsOutput() CustomActionTypeSettingsOutput

func (CustomActionTypeSettingsArgs) ToCustomActionTypeSettingsOutputWithContext

func (i CustomActionTypeSettingsArgs) ToCustomActionTypeSettingsOutputWithContext(ctx context.Context) CustomActionTypeSettingsOutput

func (CustomActionTypeSettingsArgs) ToCustomActionTypeSettingsPtrOutput

func (i CustomActionTypeSettingsArgs) ToCustomActionTypeSettingsPtrOutput() CustomActionTypeSettingsPtrOutput

func (CustomActionTypeSettingsArgs) ToCustomActionTypeSettingsPtrOutputWithContext

func (i CustomActionTypeSettingsArgs) ToCustomActionTypeSettingsPtrOutputWithContext(ctx context.Context) CustomActionTypeSettingsPtrOutput

type CustomActionTypeSettingsInput

type CustomActionTypeSettingsInput interface {
	pulumi.Input

	ToCustomActionTypeSettingsOutput() CustomActionTypeSettingsOutput
	ToCustomActionTypeSettingsOutputWithContext(context.Context) CustomActionTypeSettingsOutput
}

CustomActionTypeSettingsInput is an input type that accepts CustomActionTypeSettingsArgs and CustomActionTypeSettingsOutput values. You can construct a concrete instance of `CustomActionTypeSettingsInput` via:

CustomActionTypeSettingsArgs{...}

type CustomActionTypeSettingsOutput

type CustomActionTypeSettingsOutput struct{ *pulumi.OutputState }

func (CustomActionTypeSettingsOutput) ElementType

func (CustomActionTypeSettingsOutput) EntityUrlTemplate

The URL returned to the AWS CodePipeline console that provides a deep link to the resources of the external system.

func (CustomActionTypeSettingsOutput) ExecutionUrlTemplate

func (o CustomActionTypeSettingsOutput) ExecutionUrlTemplate() pulumi.StringPtrOutput

The URL returned to the AWS CodePipeline console that contains a link to the top-level landing page for the external system.

func (CustomActionTypeSettingsOutput) RevisionUrlTemplate

func (o CustomActionTypeSettingsOutput) RevisionUrlTemplate() pulumi.StringPtrOutput

The URL returned to the AWS CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action.

func (CustomActionTypeSettingsOutput) ThirdPartyConfigurationUrl

func (o CustomActionTypeSettingsOutput) ThirdPartyConfigurationUrl() pulumi.StringPtrOutput

The URL of a sign-up page where users can sign up for an external service and perform initial configuration of the action provided by that service.

func (CustomActionTypeSettingsOutput) ToCustomActionTypeSettingsOutput

func (o CustomActionTypeSettingsOutput) ToCustomActionTypeSettingsOutput() CustomActionTypeSettingsOutput

func (CustomActionTypeSettingsOutput) ToCustomActionTypeSettingsOutputWithContext

func (o CustomActionTypeSettingsOutput) ToCustomActionTypeSettingsOutputWithContext(ctx context.Context) CustomActionTypeSettingsOutput

func (CustomActionTypeSettingsOutput) ToCustomActionTypeSettingsPtrOutput

func (o CustomActionTypeSettingsOutput) ToCustomActionTypeSettingsPtrOutput() CustomActionTypeSettingsPtrOutput

func (CustomActionTypeSettingsOutput) ToCustomActionTypeSettingsPtrOutputWithContext

func (o CustomActionTypeSettingsOutput) ToCustomActionTypeSettingsPtrOutputWithContext(ctx context.Context) CustomActionTypeSettingsPtrOutput

type CustomActionTypeSettingsPtrInput

type CustomActionTypeSettingsPtrInput interface {
	pulumi.Input

	ToCustomActionTypeSettingsPtrOutput() CustomActionTypeSettingsPtrOutput
	ToCustomActionTypeSettingsPtrOutputWithContext(context.Context) CustomActionTypeSettingsPtrOutput
}

CustomActionTypeSettingsPtrInput is an input type that accepts CustomActionTypeSettingsArgs, CustomActionTypeSettingsPtr and CustomActionTypeSettingsPtrOutput values. You can construct a concrete instance of `CustomActionTypeSettingsPtrInput` via:

        CustomActionTypeSettingsArgs{...}

or:

        nil

type CustomActionTypeSettingsPtrOutput

type CustomActionTypeSettingsPtrOutput struct{ *pulumi.OutputState }

func (CustomActionTypeSettingsPtrOutput) Elem

func (CustomActionTypeSettingsPtrOutput) ElementType

func (CustomActionTypeSettingsPtrOutput) EntityUrlTemplate

The URL returned to the AWS CodePipeline console that provides a deep link to the resources of the external system.

func (CustomActionTypeSettingsPtrOutput) ExecutionUrlTemplate

func (o CustomActionTypeSettingsPtrOutput) ExecutionUrlTemplate() pulumi.StringPtrOutput

The URL returned to the AWS CodePipeline console that contains a link to the top-level landing page for the external system.

func (CustomActionTypeSettingsPtrOutput) RevisionUrlTemplate

The URL returned to the AWS CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action.

func (CustomActionTypeSettingsPtrOutput) ThirdPartyConfigurationUrl

func (o CustomActionTypeSettingsPtrOutput) ThirdPartyConfigurationUrl() pulumi.StringPtrOutput

The URL of a sign-up page where users can sign up for an external service and perform initial configuration of the action provided by that service.

func (CustomActionTypeSettingsPtrOutput) ToCustomActionTypeSettingsPtrOutput

func (o CustomActionTypeSettingsPtrOutput) ToCustomActionTypeSettingsPtrOutput() CustomActionTypeSettingsPtrOutput

func (CustomActionTypeSettingsPtrOutput) ToCustomActionTypeSettingsPtrOutputWithContext

func (o CustomActionTypeSettingsPtrOutput) ToCustomActionTypeSettingsPtrOutputWithContext(ctx context.Context) CustomActionTypeSettingsPtrOutput

type CustomActionTypeState

type CustomActionTypeState struct {
	// The action ARN.
	Arn pulumi.StringPtrInput
	// The category of the custom action. Valid values: `Source`, `Build`, `Deploy`, `Test`, `Invoke`, `Approval`
	Category pulumi.StringPtrInput
	// The configuration properties for the custom action. Max 10 items.
	ConfigurationProperties CustomActionTypeConfigurationPropertyArrayInput
	// The details of the input artifact for the action.
	InputArtifactDetails CustomActionTypeInputArtifactDetailsPtrInput
	// The details of the output artifact of the action.
	OutputArtifactDetails CustomActionTypeOutputArtifactDetailsPtrInput
	// The creator of the action being called.
	Owner pulumi.StringPtrInput
	// The provider of the service used in the custom action
	ProviderName pulumi.StringPtrInput
	// The settings for an action type.
	Settings CustomActionTypeSettingsPtrInput
	// Map of tags to assign to this resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The version identifier of the custom action.
	Version pulumi.StringPtrInput
}

func (CustomActionTypeState) ElementType

func (CustomActionTypeState) ElementType() reflect.Type

type Pipeline

type Pipeline struct {
	pulumi.CustomResourceState

	// The codepipeline ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// One or more artifactStore blocks. Artifact stores are documented below.
	ArtifactStores PipelineArtifactStoreArrayOutput `pulumi:"artifactStores"`
	// 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"`
	// A stage block. Stages are documented below.
	Stages PipelineStageArrayOutput `pulumi:"stages"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a CodePipeline.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codepipeline"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codestarconnections"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kms"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := codestarconnections.NewConnection(ctx, "example", &codestarconnections.ConnectionArgs{
			ProviderType: pulumi.String("GitHub"),
		})
		if err != nil {
			return err
		}
		codepipelineBucket, err := s3.NewBucketV2(ctx, "codepipelineBucket", nil)
		if err != nil {
			return err
		}
		assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"codepipeline.amazonaws.com",
							},
						},
					},
					Actions: []string{
						"sts:AssumeRole",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		codepipelineRole, err := iam.NewRole(ctx, "codepipelineRole", &iam.RoleArgs{
			AssumeRolePolicy: *pulumi.String(assumeRole.Json),
		})
		if err != nil {
			return err
		}
		s3kmskey, err := kms.LookupAlias(ctx, &kms.LookupAliasArgs{
			Name: "alias/myKmsKey",
		}, nil)
		if err != nil {
			return err
		}
		_, err = codepipeline.NewPipeline(ctx, "codepipeline", &codepipeline.PipelineArgs{
			RoleArn: codepipelineRole.Arn,
			ArtifactStores: codepipeline.PipelineArtifactStoreArray{
				&codepipeline.PipelineArtifactStoreArgs{
					Location: codepipelineBucket.Bucket,
					Type:     pulumi.String("S3"),
					EncryptionKey: &codepipeline.PipelineArtifactStoreEncryptionKeyArgs{
						Id:   *pulumi.String(s3kmskey.Arn),
						Type: pulumi.String("KMS"),
					},
				},
			},
			Stages: codepipeline.PipelineStageArray{
				&codepipeline.PipelineStageArgs{
					Name: pulumi.String("Source"),
					Actions: codepipeline.PipelineStageActionArray{
						&codepipeline.PipelineStageActionArgs{
							Name:     pulumi.String("Source"),
							Category: pulumi.String("Source"),
							Owner:    pulumi.String("AWS"),
							Provider: pulumi.String("CodeStarSourceConnection"),
							Version:  pulumi.String("1"),
							OutputArtifacts: pulumi.StringArray{
								pulumi.String("source_output"),
							},
							Configuration: pulumi.StringMap{
								"ConnectionArn":    example.Arn,
								"FullRepositoryId": pulumi.String("my-organization/example"),
								"BranchName":       pulumi.String("main"),
							},
						},
					},
				},
				&codepipeline.PipelineStageArgs{
					Name: pulumi.String("Build"),
					Actions: codepipeline.PipelineStageActionArray{
						&codepipeline.PipelineStageActionArgs{
							Name:     pulumi.String("Build"),
							Category: pulumi.String("Build"),
							Owner:    pulumi.String("AWS"),
							Provider: pulumi.String("CodeBuild"),
							InputArtifacts: pulumi.StringArray{
								pulumi.String("source_output"),
							},
							OutputArtifacts: pulumi.StringArray{
								pulumi.String("build_output"),
							},
							Version: pulumi.String("1"),
							Configuration: pulumi.StringMap{
								"ProjectName": pulumi.String("test"),
							},
						},
					},
				},
				&codepipeline.PipelineStageArgs{
					Name: pulumi.String("Deploy"),
					Actions: codepipeline.PipelineStageActionArray{
						&codepipeline.PipelineStageActionArgs{
							Name:     pulumi.String("Deploy"),
							Category: pulumi.String("Deploy"),
							Owner:    pulumi.String("AWS"),
							Provider: pulumi.String("CloudFormation"),
							InputArtifacts: pulumi.StringArray{
								pulumi.String("build_output"),
							},
							Version: pulumi.String("1"),
							Configuration: pulumi.StringMap{
								"ActionMode":     pulumi.String("REPLACE_ON_FAILURE"),
								"Capabilities":   pulumi.String("CAPABILITY_AUTO_EXPAND,CAPABILITY_IAM"),
								"OutputFileName": pulumi.String("CreateStackOutput.json"),
								"StackName":      pulumi.String("MyStack"),
								"TemplatePath":   pulumi.String("build_output::sam-templated.yaml"),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = s3.NewBucketAclV2(ctx, "codepipelineBucketAcl", &s3.BucketAclV2Args{
			Bucket: codepipelineBucket.ID(),
			Acl:    pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		codepipelinePolicyPolicyDocument := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{
			Statements: iam.GetPolicyDocumentStatementArray{
				&iam.GetPolicyDocumentStatementArgs{
					Effect: pulumi.String("Allow"),
					Actions: pulumi.StringArray{
						pulumi.String("s3:GetObject"),
						pulumi.String("s3:GetObjectVersion"),
						pulumi.String("s3:GetBucketVersioning"),
						pulumi.String("s3:PutObjectAcl"),
						pulumi.String("s3:PutObject"),
					},
					Resources: pulumi.StringArray{
						codepipelineBucket.Arn,
						codepipelineBucket.Arn.ApplyT(func(arn string) (string, error) {
							return fmt.Sprintf("%v/*", arn), nil
						}).(pulumi.StringOutput),
					},
				},
				&iam.GetPolicyDocumentStatementArgs{
					Effect: pulumi.String("Allow"),
					Actions: pulumi.StringArray{
						pulumi.String("codestar-connections:UseConnection"),
					},
					Resources: pulumi.StringArray{
						example.Arn,
					},
				},
				&iam.GetPolicyDocumentStatementArgs{
					Effect: pulumi.String("Allow"),
					Actions: pulumi.StringArray{
						pulumi.String("codebuild:BatchGetBuilds"),
						pulumi.String("codebuild:StartBuild"),
					},
					Resources: pulumi.StringArray{
						pulumi.String("*"),
					},
				},
			},
		}, nil)
		_, err = iam.NewRolePolicy(ctx, "codepipelinePolicyRolePolicy", &iam.RolePolicyArgs{
			Role: codepipelineRole.ID(),
			Policy: codepipelinePolicyPolicyDocument.ApplyT(func(codepipelinePolicyPolicyDocument iam.GetPolicyDocumentResult) (*string, error) {
				return &codepipelinePolicyPolicyDocument.Json, nil
			}).(pulumi.StringPtrOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CodePipelines using the name. For example:

```sh

$ pulumi import aws:codepipeline/pipeline:Pipeline foo example

```

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.

func (*Pipeline) ElementType

func (*Pipeline) ElementType() reflect.Type

func (*Pipeline) ToPipelineOutput

func (i *Pipeline) ToPipelineOutput() PipelineOutput

func (*Pipeline) ToPipelineOutputWithContext

func (i *Pipeline) ToPipelineOutputWithContext(ctx context.Context) PipelineOutput

type PipelineArgs

type PipelineArgs struct {
	// One or more artifactStore blocks. Artifact stores are documented below.
	ArtifactStores PipelineArtifactStoreArrayInput
	// 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
	// A stage block. Stages are documented below.
	Stages PipelineStageArrayInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Pipeline resource.

func (PipelineArgs) ElementType

func (PipelineArgs) ElementType() reflect.Type

type PipelineArray

type PipelineArray []PipelineInput

func (PipelineArray) ElementType

func (PipelineArray) ElementType() reflect.Type

func (PipelineArray) ToPipelineArrayOutput

func (i PipelineArray) ToPipelineArrayOutput() PipelineArrayOutput

func (PipelineArray) ToPipelineArrayOutputWithContext

func (i PipelineArray) ToPipelineArrayOutputWithContext(ctx context.Context) PipelineArrayOutput

type PipelineArrayInput

type PipelineArrayInput interface {
	pulumi.Input

	ToPipelineArrayOutput() PipelineArrayOutput
	ToPipelineArrayOutputWithContext(context.Context) PipelineArrayOutput
}

PipelineArrayInput is an input type that accepts PipelineArray and PipelineArrayOutput values. You can construct a concrete instance of `PipelineArrayInput` via:

PipelineArray{ PipelineArgs{...} }

type PipelineArrayOutput

type PipelineArrayOutput struct{ *pulumi.OutputState }

func (PipelineArrayOutput) ElementType

func (PipelineArrayOutput) ElementType() reflect.Type

func (PipelineArrayOutput) Index

func (PipelineArrayOutput) ToPipelineArrayOutput

func (o PipelineArrayOutput) ToPipelineArrayOutput() PipelineArrayOutput

func (PipelineArrayOutput) ToPipelineArrayOutputWithContext

func (o PipelineArrayOutput) ToPipelineArrayOutputWithContext(ctx context.Context) PipelineArrayOutput

type PipelineArtifactStore

type PipelineArtifactStore struct {
	// The encryption key block AWS CodePipeline uses to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If you don't specify a key, AWS CodePipeline uses the default key for Amazon Simple Storage Service (Amazon S3). An `encryptionKey` block is documented below.
	EncryptionKey *PipelineArtifactStoreEncryptionKey `pulumi:"encryptionKey"`
	// The location where AWS CodePipeline stores artifacts for a pipeline; currently only `S3` is supported.
	Location string `pulumi:"location"`
	// The region where the artifact store is located. Required for a cross-region CodePipeline, do not provide for a single-region CodePipeline.
	Region *string `pulumi:"region"`
	// The type of the artifact store, such as Amazon S3
	Type string `pulumi:"type"`
}

type PipelineArtifactStoreArgs

type PipelineArtifactStoreArgs struct {
	// The encryption key block AWS CodePipeline uses to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If you don't specify a key, AWS CodePipeline uses the default key for Amazon Simple Storage Service (Amazon S3). An `encryptionKey` block is documented below.
	EncryptionKey PipelineArtifactStoreEncryptionKeyPtrInput `pulumi:"encryptionKey"`
	// The location where AWS CodePipeline stores artifacts for a pipeline; currently only `S3` is supported.
	Location pulumi.StringInput `pulumi:"location"`
	// The region where the artifact store is located. Required for a cross-region CodePipeline, do not provide for a single-region CodePipeline.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// The type of the artifact store, such as Amazon S3
	Type pulumi.StringInput `pulumi:"type"`
}

func (PipelineArtifactStoreArgs) ElementType

func (PipelineArtifactStoreArgs) ElementType() reflect.Type

func (PipelineArtifactStoreArgs) ToPipelineArtifactStoreOutput

func (i PipelineArtifactStoreArgs) ToPipelineArtifactStoreOutput() PipelineArtifactStoreOutput

func (PipelineArtifactStoreArgs) ToPipelineArtifactStoreOutputWithContext

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

type PipelineArtifactStoreArray

type PipelineArtifactStoreArray []PipelineArtifactStoreInput

func (PipelineArtifactStoreArray) ElementType

func (PipelineArtifactStoreArray) ElementType() reflect.Type

func (PipelineArtifactStoreArray) ToPipelineArtifactStoreArrayOutput

func (i PipelineArtifactStoreArray) ToPipelineArtifactStoreArrayOutput() PipelineArtifactStoreArrayOutput

func (PipelineArtifactStoreArray) ToPipelineArtifactStoreArrayOutputWithContext

func (i PipelineArtifactStoreArray) ToPipelineArtifactStoreArrayOutputWithContext(ctx context.Context) PipelineArtifactStoreArrayOutput

type PipelineArtifactStoreArrayInput

type PipelineArtifactStoreArrayInput interface {
	pulumi.Input

	ToPipelineArtifactStoreArrayOutput() PipelineArtifactStoreArrayOutput
	ToPipelineArtifactStoreArrayOutputWithContext(context.Context) PipelineArtifactStoreArrayOutput
}

PipelineArtifactStoreArrayInput is an input type that accepts PipelineArtifactStoreArray and PipelineArtifactStoreArrayOutput values. You can construct a concrete instance of `PipelineArtifactStoreArrayInput` via:

PipelineArtifactStoreArray{ PipelineArtifactStoreArgs{...} }

type PipelineArtifactStoreArrayOutput

type PipelineArtifactStoreArrayOutput struct{ *pulumi.OutputState }

func (PipelineArtifactStoreArrayOutput) ElementType

func (PipelineArtifactStoreArrayOutput) Index

func (PipelineArtifactStoreArrayOutput) ToPipelineArtifactStoreArrayOutput

func (o PipelineArtifactStoreArrayOutput) ToPipelineArtifactStoreArrayOutput() PipelineArtifactStoreArrayOutput

func (PipelineArtifactStoreArrayOutput) ToPipelineArtifactStoreArrayOutputWithContext

func (o PipelineArtifactStoreArrayOutput) ToPipelineArtifactStoreArrayOutputWithContext(ctx context.Context) PipelineArtifactStoreArrayOutput

type PipelineArtifactStoreEncryptionKey

type PipelineArtifactStoreEncryptionKey struct {
	// The KMS key ARN or ID
	Id string `pulumi:"id"`
	// The type of key; currently only `KMS` is supported
	Type string `pulumi:"type"`
}

type PipelineArtifactStoreEncryptionKeyArgs

type PipelineArtifactStoreEncryptionKeyArgs struct {
	// The KMS key ARN or ID
	Id pulumi.StringInput `pulumi:"id"`
	// The type of key; currently only `KMS` is supported
	Type pulumi.StringInput `pulumi:"type"`
}

func (PipelineArtifactStoreEncryptionKeyArgs) ElementType

func (PipelineArtifactStoreEncryptionKeyArgs) ToPipelineArtifactStoreEncryptionKeyOutput

func (i PipelineArtifactStoreEncryptionKeyArgs) ToPipelineArtifactStoreEncryptionKeyOutput() PipelineArtifactStoreEncryptionKeyOutput

func (PipelineArtifactStoreEncryptionKeyArgs) ToPipelineArtifactStoreEncryptionKeyOutputWithContext

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

func (PipelineArtifactStoreEncryptionKeyArgs) ToPipelineArtifactStoreEncryptionKeyPtrOutput

func (i PipelineArtifactStoreEncryptionKeyArgs) ToPipelineArtifactStoreEncryptionKeyPtrOutput() PipelineArtifactStoreEncryptionKeyPtrOutput

func (PipelineArtifactStoreEncryptionKeyArgs) ToPipelineArtifactStoreEncryptionKeyPtrOutputWithContext

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

type PipelineArtifactStoreEncryptionKeyInput

type PipelineArtifactStoreEncryptionKeyInput interface {
	pulumi.Input

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

PipelineArtifactStoreEncryptionKeyInput is an input type that accepts PipelineArtifactStoreEncryptionKeyArgs and PipelineArtifactStoreEncryptionKeyOutput values. You can construct a concrete instance of `PipelineArtifactStoreEncryptionKeyInput` via:

PipelineArtifactStoreEncryptionKeyArgs{...}

type PipelineArtifactStoreEncryptionKeyOutput

type PipelineArtifactStoreEncryptionKeyOutput struct{ *pulumi.OutputState }

func (PipelineArtifactStoreEncryptionKeyOutput) ElementType

func (PipelineArtifactStoreEncryptionKeyOutput) Id

The KMS key ARN or ID

func (PipelineArtifactStoreEncryptionKeyOutput) ToPipelineArtifactStoreEncryptionKeyOutput

func (o PipelineArtifactStoreEncryptionKeyOutput) ToPipelineArtifactStoreEncryptionKeyOutput() PipelineArtifactStoreEncryptionKeyOutput

func (PipelineArtifactStoreEncryptionKeyOutput) ToPipelineArtifactStoreEncryptionKeyOutputWithContext

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

func (PipelineArtifactStoreEncryptionKeyOutput) ToPipelineArtifactStoreEncryptionKeyPtrOutput

func (o PipelineArtifactStoreEncryptionKeyOutput) ToPipelineArtifactStoreEncryptionKeyPtrOutput() PipelineArtifactStoreEncryptionKeyPtrOutput

func (PipelineArtifactStoreEncryptionKeyOutput) ToPipelineArtifactStoreEncryptionKeyPtrOutputWithContext

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

func (PipelineArtifactStoreEncryptionKeyOutput) Type

The type of key; currently only `KMS` is supported

type PipelineArtifactStoreEncryptionKeyPtrInput

type PipelineArtifactStoreEncryptionKeyPtrInput interface {
	pulumi.Input

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

PipelineArtifactStoreEncryptionKeyPtrInput is an input type that accepts PipelineArtifactStoreEncryptionKeyArgs, PipelineArtifactStoreEncryptionKeyPtr and PipelineArtifactStoreEncryptionKeyPtrOutput values. You can construct a concrete instance of `PipelineArtifactStoreEncryptionKeyPtrInput` via:

        PipelineArtifactStoreEncryptionKeyArgs{...}

or:

        nil

type PipelineArtifactStoreEncryptionKeyPtrOutput

type PipelineArtifactStoreEncryptionKeyPtrOutput struct{ *pulumi.OutputState }

func (PipelineArtifactStoreEncryptionKeyPtrOutput) Elem

func (PipelineArtifactStoreEncryptionKeyPtrOutput) ElementType

func (PipelineArtifactStoreEncryptionKeyPtrOutput) Id

The KMS key ARN or ID

func (PipelineArtifactStoreEncryptionKeyPtrOutput) ToPipelineArtifactStoreEncryptionKeyPtrOutput

func (o PipelineArtifactStoreEncryptionKeyPtrOutput) ToPipelineArtifactStoreEncryptionKeyPtrOutput() PipelineArtifactStoreEncryptionKeyPtrOutput

func (PipelineArtifactStoreEncryptionKeyPtrOutput) ToPipelineArtifactStoreEncryptionKeyPtrOutputWithContext

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

func (PipelineArtifactStoreEncryptionKeyPtrOutput) Type

The type of key; currently only `KMS` is supported

type PipelineArtifactStoreInput

type PipelineArtifactStoreInput interface {
	pulumi.Input

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

PipelineArtifactStoreInput is an input type that accepts PipelineArtifactStoreArgs and PipelineArtifactStoreOutput values. You can construct a concrete instance of `PipelineArtifactStoreInput` via:

PipelineArtifactStoreArgs{...}

type PipelineArtifactStoreOutput

type PipelineArtifactStoreOutput struct{ *pulumi.OutputState }

func (PipelineArtifactStoreOutput) ElementType

func (PipelineArtifactStoreOutput) EncryptionKey

The encryption key block AWS CodePipeline uses to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If you don't specify a key, AWS CodePipeline uses the default key for Amazon Simple Storage Service (Amazon S3). An `encryptionKey` block is documented below.

func (PipelineArtifactStoreOutput) Location

The location where AWS CodePipeline stores artifacts for a pipeline; currently only `S3` is supported.

func (PipelineArtifactStoreOutput) Region

The region where the artifact store is located. Required for a cross-region CodePipeline, do not provide for a single-region CodePipeline.

func (PipelineArtifactStoreOutput) ToPipelineArtifactStoreOutput

func (o PipelineArtifactStoreOutput) ToPipelineArtifactStoreOutput() PipelineArtifactStoreOutput

func (PipelineArtifactStoreOutput) ToPipelineArtifactStoreOutputWithContext

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

func (PipelineArtifactStoreOutput) Type

The type of the artifact store, such as Amazon S3

type PipelineInput

type PipelineInput interface {
	pulumi.Input

	ToPipelineOutput() PipelineOutput
	ToPipelineOutputWithContext(ctx context.Context) PipelineOutput
}

type PipelineMap

type PipelineMap map[string]PipelineInput

func (PipelineMap) ElementType

func (PipelineMap) ElementType() reflect.Type

func (PipelineMap) ToPipelineMapOutput

func (i PipelineMap) ToPipelineMapOutput() PipelineMapOutput

func (PipelineMap) ToPipelineMapOutputWithContext

func (i PipelineMap) ToPipelineMapOutputWithContext(ctx context.Context) PipelineMapOutput

type PipelineMapInput

type PipelineMapInput interface {
	pulumi.Input

	ToPipelineMapOutput() PipelineMapOutput
	ToPipelineMapOutputWithContext(context.Context) PipelineMapOutput
}

PipelineMapInput is an input type that accepts PipelineMap and PipelineMapOutput values. You can construct a concrete instance of `PipelineMapInput` via:

PipelineMap{ "key": PipelineArgs{...} }

type PipelineMapOutput

type PipelineMapOutput struct{ *pulumi.OutputState }

func (PipelineMapOutput) ElementType

func (PipelineMapOutput) ElementType() reflect.Type

func (PipelineMapOutput) MapIndex

func (PipelineMapOutput) ToPipelineMapOutput

func (o PipelineMapOutput) ToPipelineMapOutput() PipelineMapOutput

func (PipelineMapOutput) ToPipelineMapOutputWithContext

func (o PipelineMapOutput) ToPipelineMapOutputWithContext(ctx context.Context) PipelineMapOutput

type PipelineOutput

type PipelineOutput struct{ *pulumi.OutputState }

func (PipelineOutput) Arn

The codepipeline ARN.

func (PipelineOutput) ArtifactStores

One or more artifactStore blocks. Artifact stores are documented below.

func (PipelineOutput) ElementType

func (PipelineOutput) ElementType() reflect.Type

func (PipelineOutput) Name

The name of the pipeline.

func (PipelineOutput) RoleArn

func (o PipelineOutput) 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 (PipelineOutput) Stages

A stage block. Stages are documented below.

func (PipelineOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (PipelineOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (PipelineOutput) ToPipelineOutput

func (o PipelineOutput) ToPipelineOutput() PipelineOutput

func (PipelineOutput) ToPipelineOutputWithContext

func (o PipelineOutput) ToPipelineOutputWithContext(ctx context.Context) PipelineOutput

type PipelineStage

type PipelineStage struct {
	// The action(s) to include in the stage. Defined as an `action` block below
	Actions []PipelineStageAction `pulumi:"actions"`
	// The name of the stage.
	Name string `pulumi:"name"`
}

type PipelineStageAction

type PipelineStageAction struct {
	// A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Possible values are `Approval`, `Build`, `Deploy`, `Invoke`, `Source` and `Test`.
	Category string `pulumi:"category"`
	// A map of the action declaration's configuration. Configurations options for action types and providers can be found in the [Pipeline Structure Reference](http://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements) and [Action Structure Reference](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html) documentation.
	Configuration map[string]string `pulumi:"configuration"`
	// A list of artifact names to be worked on.
	InputArtifacts []string `pulumi:"inputArtifacts"`
	// The action declaration's name.
	Name string `pulumi:"name"`
	// The namespace all output variables will be accessed from.
	//
	// > **Note:** The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.
	Namespace *string `pulumi:"namespace"`
	// A list of artifact names to output. Output artifact names must be unique within a pipeline.
	OutputArtifacts []string `pulumi:"outputArtifacts"`
	// The creator of the action being called. Possible values are `AWS`, `Custom` and `ThirdParty`.
	Owner string `pulumi:"owner"`
	// The provider of the service being called by the action. Valid providers are determined by the action category. Provider names are listed in the [Action Structure Reference](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html) documentation.
	Provider string `pulumi:"provider"`
	// The region in which to run the action.
	Region *string `pulumi:"region"`
	// The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.
	RoleArn *string `pulumi:"roleArn"`
	// The order in which actions are run.
	RunOrder *int `pulumi:"runOrder"`
	// A string that identifies the action type.
	Version string `pulumi:"version"`
}

type PipelineStageActionArgs

type PipelineStageActionArgs struct {
	// A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Possible values are `Approval`, `Build`, `Deploy`, `Invoke`, `Source` and `Test`.
	Category pulumi.StringInput `pulumi:"category"`
	// A map of the action declaration's configuration. Configurations options for action types and providers can be found in the [Pipeline Structure Reference](http://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements) and [Action Structure Reference](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html) documentation.
	Configuration pulumi.StringMapInput `pulumi:"configuration"`
	// A list of artifact names to be worked on.
	InputArtifacts pulumi.StringArrayInput `pulumi:"inputArtifacts"`
	// The action declaration's name.
	Name pulumi.StringInput `pulumi:"name"`
	// The namespace all output variables will be accessed from.
	//
	// > **Note:** The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// A list of artifact names to output. Output artifact names must be unique within a pipeline.
	OutputArtifacts pulumi.StringArrayInput `pulumi:"outputArtifacts"`
	// The creator of the action being called. Possible values are `AWS`, `Custom` and `ThirdParty`.
	Owner pulumi.StringInput `pulumi:"owner"`
	// The provider of the service being called by the action. Valid providers are determined by the action category. Provider names are listed in the [Action Structure Reference](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html) documentation.
	Provider pulumi.StringInput `pulumi:"provider"`
	// The region in which to run the action.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.
	RoleArn pulumi.StringPtrInput `pulumi:"roleArn"`
	// The order in which actions are run.
	RunOrder pulumi.IntPtrInput `pulumi:"runOrder"`
	// A string that identifies the action type.
	Version pulumi.StringInput `pulumi:"version"`
}

func (PipelineStageActionArgs) ElementType

func (PipelineStageActionArgs) ElementType() reflect.Type

func (PipelineStageActionArgs) ToPipelineStageActionOutput

func (i PipelineStageActionArgs) ToPipelineStageActionOutput() PipelineStageActionOutput

func (PipelineStageActionArgs) ToPipelineStageActionOutputWithContext

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

type PipelineStageActionArray

type PipelineStageActionArray []PipelineStageActionInput

func (PipelineStageActionArray) ElementType

func (PipelineStageActionArray) ElementType() reflect.Type

func (PipelineStageActionArray) ToPipelineStageActionArrayOutput

func (i PipelineStageActionArray) ToPipelineStageActionArrayOutput() PipelineStageActionArrayOutput

func (PipelineStageActionArray) ToPipelineStageActionArrayOutputWithContext

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

type PipelineStageActionArrayInput

type PipelineStageActionArrayInput interface {
	pulumi.Input

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

PipelineStageActionArrayInput is an input type that accepts PipelineStageActionArray and PipelineStageActionArrayOutput values. You can construct a concrete instance of `PipelineStageActionArrayInput` via:

PipelineStageActionArray{ PipelineStageActionArgs{...} }

type PipelineStageActionArrayOutput

type PipelineStageActionArrayOutput struct{ *pulumi.OutputState }

func (PipelineStageActionArrayOutput) ElementType

func (PipelineStageActionArrayOutput) Index

func (PipelineStageActionArrayOutput) ToPipelineStageActionArrayOutput

func (o PipelineStageActionArrayOutput) ToPipelineStageActionArrayOutput() PipelineStageActionArrayOutput

func (PipelineStageActionArrayOutput) ToPipelineStageActionArrayOutputWithContext

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

type PipelineStageActionInput

type PipelineStageActionInput interface {
	pulumi.Input

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

PipelineStageActionInput is an input type that accepts PipelineStageActionArgs and PipelineStageActionOutput values. You can construct a concrete instance of `PipelineStageActionInput` via:

PipelineStageActionArgs{...}

type PipelineStageActionOutput

type PipelineStageActionOutput struct{ *pulumi.OutputState }

func (PipelineStageActionOutput) Category

A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Possible values are `Approval`, `Build`, `Deploy`, `Invoke`, `Source` and `Test`.

func (PipelineStageActionOutput) Configuration

A map of the action declaration's configuration. Configurations options for action types and providers can be found in the [Pipeline Structure Reference](http://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements) and [Action Structure Reference](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html) documentation.

func (PipelineStageActionOutput) ElementType

func (PipelineStageActionOutput) ElementType() reflect.Type

func (PipelineStageActionOutput) InputArtifacts

A list of artifact names to be worked on.

func (PipelineStageActionOutput) Name

The action declaration's name.

func (PipelineStageActionOutput) Namespace

The namespace all output variables will be accessed from.

> **Note:** The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.

func (PipelineStageActionOutput) OutputArtifacts

A list of artifact names to output. Output artifact names must be unique within a pipeline.

func (PipelineStageActionOutput) Owner

The creator of the action being called. Possible values are `AWS`, `Custom` and `ThirdParty`.

func (PipelineStageActionOutput) Provider

The provider of the service being called by the action. Valid providers are determined by the action category. Provider names are listed in the [Action Structure Reference](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html) documentation.

func (PipelineStageActionOutput) Region

The region in which to run the action.

func (PipelineStageActionOutput) RoleArn

The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.

func (PipelineStageActionOutput) RunOrder

The order in which actions are run.

func (PipelineStageActionOutput) ToPipelineStageActionOutput

func (o PipelineStageActionOutput) ToPipelineStageActionOutput() PipelineStageActionOutput

func (PipelineStageActionOutput) ToPipelineStageActionOutputWithContext

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

func (PipelineStageActionOutput) Version

A string that identifies the action type.

type PipelineStageArgs

type PipelineStageArgs struct {
	// The action(s) to include in the stage. Defined as an `action` block below
	Actions PipelineStageActionArrayInput `pulumi:"actions"`
	// The name of the stage.
	Name pulumi.StringInput `pulumi:"name"`
}

func (PipelineStageArgs) ElementType

func (PipelineStageArgs) ElementType() reflect.Type

func (PipelineStageArgs) ToPipelineStageOutput

func (i PipelineStageArgs) ToPipelineStageOutput() PipelineStageOutput

func (PipelineStageArgs) ToPipelineStageOutputWithContext

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

type PipelineStageArray

type PipelineStageArray []PipelineStageInput

func (PipelineStageArray) ElementType

func (PipelineStageArray) ElementType() reflect.Type

func (PipelineStageArray) ToPipelineStageArrayOutput

func (i PipelineStageArray) ToPipelineStageArrayOutput() PipelineStageArrayOutput

func (PipelineStageArray) ToPipelineStageArrayOutputWithContext

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

type PipelineStageArrayInput

type PipelineStageArrayInput interface {
	pulumi.Input

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

PipelineStageArrayInput is an input type that accepts PipelineStageArray and PipelineStageArrayOutput values. You can construct a concrete instance of `PipelineStageArrayInput` via:

PipelineStageArray{ PipelineStageArgs{...} }

type PipelineStageArrayOutput

type PipelineStageArrayOutput struct{ *pulumi.OutputState }

func (PipelineStageArrayOutput) ElementType

func (PipelineStageArrayOutput) ElementType() reflect.Type

func (PipelineStageArrayOutput) Index

func (PipelineStageArrayOutput) ToPipelineStageArrayOutput

func (o PipelineStageArrayOutput) ToPipelineStageArrayOutput() PipelineStageArrayOutput

func (PipelineStageArrayOutput) ToPipelineStageArrayOutputWithContext

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

type PipelineStageInput

type PipelineStageInput interface {
	pulumi.Input

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

PipelineStageInput is an input type that accepts PipelineStageArgs and PipelineStageOutput values. You can construct a concrete instance of `PipelineStageInput` via:

PipelineStageArgs{...}

type PipelineStageOutput

type PipelineStageOutput struct{ *pulumi.OutputState }

func (PipelineStageOutput) Actions

The action(s) to include in the stage. Defined as an `action` block below

func (PipelineStageOutput) ElementType

func (PipelineStageOutput) ElementType() reflect.Type

func (PipelineStageOutput) Name

The name of the stage.

func (PipelineStageOutput) ToPipelineStageOutput

func (o PipelineStageOutput) ToPipelineStageOutput() PipelineStageOutput

func (PipelineStageOutput) ToPipelineStageOutputWithContext

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

type PipelineState

type PipelineState struct {
	// The codepipeline ARN.
	Arn pulumi.StringPtrInput
	// One or more artifactStore blocks. Artifact stores are documented below.
	ArtifactStores PipelineArtifactStoreArrayInput
	// 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
	// A stage block. Stages are documented below.
	Stages PipelineStageArrayInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (PipelineState) ElementType

func (PipelineState) ElementType() reflect.Type

type Webhook

type Webhook struct {
	pulumi.CustomResourceState

	// The CodePipeline webhook's ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// 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 map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// 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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codepipeline"
"github.com/pulumi/pulumi-github/sdk/v5/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		barPipeline, err := codepipeline.NewPipeline(ctx, "barPipeline", &codepipeline.PipelineArgs{
			RoleArn: pulumi.Any(aws_iam_role.Bar.Arn),
			ArtifactStores: codepipeline.PipelineArtifactStoreArray{
				&codepipeline.PipelineArtifactStoreArgs{
					Location: pulumi.Any(aws_s3_bucket.Bar.Bucket),
					Type:     pulumi.String("S3"),
					EncryptionKey: &codepipeline.PipelineArtifactStoreEncryptionKeyArgs{
						Id:   pulumi.Any(data.Aws_kms_alias.S3kmskey.Arn),
						Type: pulumi.String("KMS"),
					},
				},
			},
			Stages: codepipeline.PipelineStageArray{
				&codepipeline.PipelineStageArgs{
					Name: pulumi.String("Source"),
					Actions: codepipeline.PipelineStageActionArray{
						&codepipeline.PipelineStageActionArgs{
							Name:     pulumi.String("Source"),
							Category: pulumi.String("Source"),
							Owner:    pulumi.String("ThirdParty"),
							Provider: pulumi.String("GitHub"),
							Version:  pulumi.String("1"),
							OutputArtifacts: pulumi.StringArray{
								pulumi.String("test"),
							},
							Configuration: pulumi.StringMap{
								"Owner":  pulumi.String("my-organization"),
								"Repo":   pulumi.String("test"),
								"Branch": pulumi.String("master"),
							},
						},
					},
				},
				&codepipeline.PipelineStageArgs{
					Name: pulumi.String("Build"),
					Actions: codepipeline.PipelineStageActionArray{
						&codepipeline.PipelineStageActionArgs{
							Name:     pulumi.String("Build"),
							Category: pulumi.String("Build"),
							Owner:    pulumi.String("AWS"),
							Provider: pulumi.String("CodeBuild"),
							InputArtifacts: pulumi.StringArray{
								pulumi.String("test"),
							},
							Version: pulumi.String("1"),
							Configuration: pulumi.StringMap{
								"ProjectName": pulumi.String("test"),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		webhookSecret := "super-secret"
		barWebhook, err := codepipeline.NewWebhook(ctx, "barWebhook", &codepipeline.WebhookArgs{
			Authentication: pulumi.String("GITHUB_HMAC"),
			TargetAction:   pulumi.String("Source"),
			TargetPipeline: barPipeline.Name,
			AuthenticationConfiguration: &codepipeline.WebhookAuthenticationConfigurationArgs{
				SecretToken: pulumi.String(webhookSecret),
			},
			Filters: codepipeline.WebhookFilterArray{
				&codepipeline.WebhookFilterArgs{
					JsonPath:    pulumi.String("$.ref"),
					MatchEquals: pulumi.String("refs/heads/{Branch}"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = github.NewRepositoryWebhook(ctx, "barRepositoryWebhook", &github.RepositoryWebhookArgs{
			Repository: pulumi.Any(github_repository.Repo.Name),
			Configuration: &github.RepositoryWebhookConfigurationArgs{
				Url:         barWebhook.Url,
				ContentType: pulumi.String("json"),
				InsecureSsl: pulumi.Bool(true),
				Secret:      pulumi.String(webhookSecret),
			},
			Events: pulumi.StringArray{
				pulumi.String("push"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CodePipeline Webhooks using their ARN. For example:

```sh

$ pulumi import aws:codepipeline/webhook:Webhook example arn:aws:codepipeline:us-west-2:123456789012:webhook:example

```

func GetWebhook

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

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.

func (*Webhook) ElementType

func (*Webhook) ElementType() reflect.Type

func (*Webhook) ToWebhookOutput

func (i *Webhook) ToWebhookOutput() WebhookOutput

func (*Webhook) ToWebhookOutputWithContext

func (i *Webhook) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput

type WebhookArgs

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 map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// 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

func (WebhookArgs) ElementType() reflect.Type

type WebhookArray

type WebhookArray []WebhookInput

func (WebhookArray) ElementType

func (WebhookArray) ElementType() reflect.Type

func (WebhookArray) ToWebhookArrayOutput

func (i WebhookArray) ToWebhookArrayOutput() WebhookArrayOutput

func (WebhookArray) ToWebhookArrayOutputWithContext

func (i WebhookArray) ToWebhookArrayOutputWithContext(ctx context.Context) WebhookArrayOutput

type WebhookArrayInput

type WebhookArrayInput interface {
	pulumi.Input

	ToWebhookArrayOutput() WebhookArrayOutput
	ToWebhookArrayOutputWithContext(context.Context) WebhookArrayOutput
}

WebhookArrayInput is an input type that accepts WebhookArray and WebhookArrayOutput values. You can construct a concrete instance of `WebhookArrayInput` via:

WebhookArray{ WebhookArgs{...} }

type WebhookArrayOutput

type WebhookArrayOutput struct{ *pulumi.OutputState }

func (WebhookArrayOutput) ElementType

func (WebhookArrayOutput) ElementType() reflect.Type

func (WebhookArrayOutput) Index

func (WebhookArrayOutput) ToWebhookArrayOutput

func (o WebhookArrayOutput) ToWebhookArrayOutput() WebhookArrayOutput

func (WebhookArrayOutput) ToWebhookArrayOutputWithContext

func (o WebhookArrayOutput) ToWebhookArrayOutputWithContext(ctx context.Context) WebhookArrayOutput

type WebhookAuthenticationConfiguration

type WebhookAuthenticationConfiguration struct {
	// A valid CIDR block for `IP` filtering. Required for `IP`.
	AllowedIpRange *string `pulumi:"allowedIpRange"`
	// The shared secret for the GitHub repository webhook. Set this as `secret` in your `githubRepositoryWebhook`'s `configuration` block. Required for `GITHUB_HMAC`.
	SecretToken *string `pulumi:"secretToken"`
}

type WebhookAuthenticationConfigurationArgs

type WebhookAuthenticationConfigurationArgs struct {
	// A valid CIDR block for `IP` filtering. Required for `IP`.
	AllowedIpRange pulumi.StringPtrInput `pulumi:"allowedIpRange"`
	// The shared secret for the GitHub repository webhook. Set this as `secret` in your `githubRepositoryWebhook`'s `configuration` block. Required for `GITHUB_HMAC`.
	SecretToken pulumi.StringPtrInput `pulumi:"secretToken"`
}

func (WebhookAuthenticationConfigurationArgs) ElementType

func (WebhookAuthenticationConfigurationArgs) ToWebhookAuthenticationConfigurationOutput

func (i WebhookAuthenticationConfigurationArgs) ToWebhookAuthenticationConfigurationOutput() WebhookAuthenticationConfigurationOutput

func (WebhookAuthenticationConfigurationArgs) ToWebhookAuthenticationConfigurationOutputWithContext

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

func (WebhookAuthenticationConfigurationArgs) ToWebhookAuthenticationConfigurationPtrOutput

func (i WebhookAuthenticationConfigurationArgs) ToWebhookAuthenticationConfigurationPtrOutput() WebhookAuthenticationConfigurationPtrOutput

func (WebhookAuthenticationConfigurationArgs) ToWebhookAuthenticationConfigurationPtrOutputWithContext

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

type WebhookAuthenticationConfigurationInput

type WebhookAuthenticationConfigurationInput interface {
	pulumi.Input

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

WebhookAuthenticationConfigurationInput is an input type that accepts WebhookAuthenticationConfigurationArgs and WebhookAuthenticationConfigurationOutput values. You can construct a concrete instance of `WebhookAuthenticationConfigurationInput` via:

WebhookAuthenticationConfigurationArgs{...}

type WebhookAuthenticationConfigurationOutput

type WebhookAuthenticationConfigurationOutput struct{ *pulumi.OutputState }

func (WebhookAuthenticationConfigurationOutput) AllowedIpRange

A valid CIDR block for `IP` filtering. Required for `IP`.

func (WebhookAuthenticationConfigurationOutput) ElementType

func (WebhookAuthenticationConfigurationOutput) SecretToken

The shared secret for the GitHub repository webhook. Set this as `secret` in your `githubRepositoryWebhook`'s `configuration` block. Required for `GITHUB_HMAC`.

func (WebhookAuthenticationConfigurationOutput) ToWebhookAuthenticationConfigurationOutput

func (o WebhookAuthenticationConfigurationOutput) ToWebhookAuthenticationConfigurationOutput() WebhookAuthenticationConfigurationOutput

func (WebhookAuthenticationConfigurationOutput) ToWebhookAuthenticationConfigurationOutputWithContext

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

func (WebhookAuthenticationConfigurationOutput) ToWebhookAuthenticationConfigurationPtrOutput

func (o WebhookAuthenticationConfigurationOutput) ToWebhookAuthenticationConfigurationPtrOutput() WebhookAuthenticationConfigurationPtrOutput

func (WebhookAuthenticationConfigurationOutput) ToWebhookAuthenticationConfigurationPtrOutputWithContext

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

type WebhookAuthenticationConfigurationPtrInput

type WebhookAuthenticationConfigurationPtrInput interface {
	pulumi.Input

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

WebhookAuthenticationConfigurationPtrInput is an input type that accepts WebhookAuthenticationConfigurationArgs, WebhookAuthenticationConfigurationPtr and WebhookAuthenticationConfigurationPtrOutput values. You can construct a concrete instance of `WebhookAuthenticationConfigurationPtrInput` via:

        WebhookAuthenticationConfigurationArgs{...}

or:

        nil

type WebhookAuthenticationConfigurationPtrOutput

type WebhookAuthenticationConfigurationPtrOutput struct{ *pulumi.OutputState }

func (WebhookAuthenticationConfigurationPtrOutput) AllowedIpRange

A valid CIDR block for `IP` filtering. Required for `IP`.

func (WebhookAuthenticationConfigurationPtrOutput) Elem

func (WebhookAuthenticationConfigurationPtrOutput) ElementType

func (WebhookAuthenticationConfigurationPtrOutput) SecretToken

The shared secret for the GitHub repository webhook. Set this as `secret` in your `githubRepositoryWebhook`'s `configuration` block. Required for `GITHUB_HMAC`.

func (WebhookAuthenticationConfigurationPtrOutput) ToWebhookAuthenticationConfigurationPtrOutput

func (o WebhookAuthenticationConfigurationPtrOutput) ToWebhookAuthenticationConfigurationPtrOutput() WebhookAuthenticationConfigurationPtrOutput

func (WebhookAuthenticationConfigurationPtrOutput) ToWebhookAuthenticationConfigurationPtrOutputWithContext

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

type WebhookFilter

type WebhookFilter struct {
	// The [JSON path](https://github.com/json-path/JsonPath) to filter on.
	JsonPath string `pulumi:"jsonPath"`
	// The value to match on (e.g., `refs/heads/{Branch}`). See [AWS docs](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_WebhookFilterRule.html) for details.
	MatchEquals string `pulumi:"matchEquals"`
}

type WebhookFilterArgs

type WebhookFilterArgs struct {
	// The [JSON path](https://github.com/json-path/JsonPath) to filter on.
	JsonPath pulumi.StringInput `pulumi:"jsonPath"`
	// The value to match on (e.g., `refs/heads/{Branch}`). See [AWS docs](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_WebhookFilterRule.html) for details.
	MatchEquals pulumi.StringInput `pulumi:"matchEquals"`
}

func (WebhookFilterArgs) ElementType

func (WebhookFilterArgs) ElementType() reflect.Type

func (WebhookFilterArgs) ToWebhookFilterOutput

func (i WebhookFilterArgs) ToWebhookFilterOutput() WebhookFilterOutput

func (WebhookFilterArgs) ToWebhookFilterOutputWithContext

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

type WebhookFilterArray

type WebhookFilterArray []WebhookFilterInput

func (WebhookFilterArray) ElementType

func (WebhookFilterArray) ElementType() reflect.Type

func (WebhookFilterArray) ToWebhookFilterArrayOutput

func (i WebhookFilterArray) ToWebhookFilterArrayOutput() WebhookFilterArrayOutput

func (WebhookFilterArray) ToWebhookFilterArrayOutputWithContext

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

type WebhookFilterArrayInput

type WebhookFilterArrayInput interface {
	pulumi.Input

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

WebhookFilterArrayInput is an input type that accepts WebhookFilterArray and WebhookFilterArrayOutput values. You can construct a concrete instance of `WebhookFilterArrayInput` via:

WebhookFilterArray{ WebhookFilterArgs{...} }

type WebhookFilterArrayOutput

type WebhookFilterArrayOutput struct{ *pulumi.OutputState }

func (WebhookFilterArrayOutput) ElementType

func (WebhookFilterArrayOutput) ElementType() reflect.Type

func (WebhookFilterArrayOutput) Index

func (WebhookFilterArrayOutput) ToWebhookFilterArrayOutput

func (o WebhookFilterArrayOutput) ToWebhookFilterArrayOutput() WebhookFilterArrayOutput

func (WebhookFilterArrayOutput) ToWebhookFilterArrayOutputWithContext

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

type WebhookFilterInput

type WebhookFilterInput interface {
	pulumi.Input

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

WebhookFilterInput is an input type that accepts WebhookFilterArgs and WebhookFilterOutput values. You can construct a concrete instance of `WebhookFilterInput` via:

WebhookFilterArgs{...}

type WebhookFilterOutput

type WebhookFilterOutput struct{ *pulumi.OutputState }

func (WebhookFilterOutput) ElementType

func (WebhookFilterOutput) ElementType() reflect.Type

func (WebhookFilterOutput) JsonPath

The [JSON path](https://github.com/json-path/JsonPath) to filter on.

func (WebhookFilterOutput) MatchEquals

func (o WebhookFilterOutput) MatchEquals() pulumi.StringOutput

The value to match on (e.g., `refs/heads/{Branch}`). See [AWS docs](https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_WebhookFilterRule.html) for details.

func (WebhookFilterOutput) ToWebhookFilterOutput

func (o WebhookFilterOutput) ToWebhookFilterOutput() WebhookFilterOutput

func (WebhookFilterOutput) ToWebhookFilterOutputWithContext

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

type WebhookInput

type WebhookInput interface {
	pulumi.Input

	ToWebhookOutput() WebhookOutput
	ToWebhookOutputWithContext(ctx context.Context) WebhookOutput
}

type WebhookMap

type WebhookMap map[string]WebhookInput

func (WebhookMap) ElementType

func (WebhookMap) ElementType() reflect.Type

func (WebhookMap) ToWebhookMapOutput

func (i WebhookMap) ToWebhookMapOutput() WebhookMapOutput

func (WebhookMap) ToWebhookMapOutputWithContext

func (i WebhookMap) ToWebhookMapOutputWithContext(ctx context.Context) WebhookMapOutput

type WebhookMapInput

type WebhookMapInput interface {
	pulumi.Input

	ToWebhookMapOutput() WebhookMapOutput
	ToWebhookMapOutputWithContext(context.Context) WebhookMapOutput
}

WebhookMapInput is an input type that accepts WebhookMap and WebhookMapOutput values. You can construct a concrete instance of `WebhookMapInput` via:

WebhookMap{ "key": WebhookArgs{...} }

type WebhookMapOutput

type WebhookMapOutput struct{ *pulumi.OutputState }

func (WebhookMapOutput) ElementType

func (WebhookMapOutput) ElementType() reflect.Type

func (WebhookMapOutput) MapIndex

func (WebhookMapOutput) ToWebhookMapOutput

func (o WebhookMapOutput) ToWebhookMapOutput() WebhookMapOutput

func (WebhookMapOutput) ToWebhookMapOutputWithContext

func (o WebhookMapOutput) ToWebhookMapOutputWithContext(ctx context.Context) WebhookMapOutput

type WebhookOutput

type WebhookOutput struct{ *pulumi.OutputState }

func (WebhookOutput) Arn

The CodePipeline webhook's ARN.

func (WebhookOutput) Authentication

func (o WebhookOutput) Authentication() pulumi.StringOutput

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

func (WebhookOutput) AuthenticationConfiguration

func (o WebhookOutput) AuthenticationConfiguration() WebhookAuthenticationConfigurationPtrOutput

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

func (WebhookOutput) ElementType

func (WebhookOutput) ElementType() reflect.Type

func (WebhookOutput) Filters

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

func (WebhookOutput) Name

The name of the webhook.

func (WebhookOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (WebhookOutput) TagsAll deprecated

func (o WebhookOutput) TagsAll() pulumi.StringMapOutput

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (WebhookOutput) TargetAction

func (o WebhookOutput) 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 (WebhookOutput) TargetPipeline

func (o WebhookOutput) TargetPipeline() pulumi.StringOutput

The name of the pipeline.

func (WebhookOutput) ToWebhookOutput

func (o WebhookOutput) ToWebhookOutput() WebhookOutput

func (WebhookOutput) ToWebhookOutputWithContext

func (o WebhookOutput) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput

func (WebhookOutput) Url

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

type WebhookState

type WebhookState struct {
	// The CodePipeline webhook's ARN.
	Arn pulumi.StringPtrInput
	// 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 map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// 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

func (WebhookState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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