codecommit

package
v3.38.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 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 LookupRepositoryArgs

type LookupRepositoryArgs struct {
	// The name for the repository. This needs to be less than 100 characters.
	RepositoryName string `pulumi:"repositoryName"`
}

A collection of arguments for invoking getRepository.

type LookupRepositoryResult

type LookupRepositoryResult struct {
	// The ARN of the repository
	Arn string `pulumi:"arn"`
	// The URL to use for cloning the repository over HTTPS.
	CloneUrlHttp string `pulumi:"cloneUrlHttp"`
	// The URL to use for cloning the repository over SSH.
	CloneUrlSsh string `pulumi:"cloneUrlSsh"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the repository
	RepositoryId   string `pulumi:"repositoryId"`
	RepositoryName string `pulumi:"repositoryName"`
}

A collection of values returned by getRepository.

func LookupRepository

func LookupRepository(ctx *pulumi.Context, args *LookupRepositoryArgs, opts ...pulumi.InvokeOption) (*LookupRepositoryResult, error)

The CodeCommit Repository data source allows the ARN, Repository ID, Repository URL for HTTP and Repository URL for SSH to be retrieved for an CodeCommit repository.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/codecommit"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := codecommit.LookupRepository(ctx, &codecommit.LookupRepositoryArgs{
			RepositoryName: "MyTestRepository",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type Repository

type Repository struct {
	pulumi.CustomResourceState

	// The ARN of the repository
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The URL to use for cloning the repository over HTTPS.
	CloneUrlHttp pulumi.StringOutput `pulumi:"cloneUrlHttp"`
	// The URL to use for cloning the repository over SSH.
	CloneUrlSsh pulumi.StringOutput `pulumi:"cloneUrlSsh"`
	// The default branch of the repository. The branch specified here needs to exist.
	DefaultBranch pulumi.StringPtrOutput `pulumi:"defaultBranch"`
	// The description of the repository. This needs to be less than 1000 characters
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the repository
	RepositoryId pulumi.StringOutput `pulumi:"repositoryId"`
	// The name for the repository. This needs to be less than 100 characters.
	RepositoryName pulumi.StringOutput `pulumi:"repositoryName"`
	// Key-value map of resource tags
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides a CodeCommit Repository Resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/codecommit"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := codecommit.NewRepository(ctx, "test", &codecommit.RepositoryArgs{
			Description:    pulumi.String("This is the Sample App Repository"),
			RepositoryName: pulumi.String("MyTestRepository"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Codecommit repository can be imported using repository name, e.g.

```sh

$ pulumi import aws:codecommit/repository:Repository imported ExistingRepo

```

func GetRepository

func GetRepository(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryState, opts ...pulumi.ResourceOption) (*Repository, error)

GetRepository gets an existing Repository 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 NewRepository

func NewRepository(ctx *pulumi.Context,
	name string, args *RepositoryArgs, opts ...pulumi.ResourceOption) (*Repository, error)

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

func (*Repository) ElementType added in v3.13.0

func (*Repository) ElementType() reflect.Type

func (*Repository) ToRepositoryOutput added in v3.13.0

func (i *Repository) ToRepositoryOutput() RepositoryOutput

func (*Repository) ToRepositoryOutputWithContext added in v3.13.0

func (i *Repository) ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput

func (*Repository) ToRepositoryPtrOutput added in v3.25.0

func (i *Repository) ToRepositoryPtrOutput() RepositoryPtrOutput

func (*Repository) ToRepositoryPtrOutputWithContext added in v3.25.0

func (i *Repository) ToRepositoryPtrOutputWithContext(ctx context.Context) RepositoryPtrOutput

type RepositoryArgs

type RepositoryArgs struct {
	// The default branch of the repository. The branch specified here needs to exist.
	DefaultBranch pulumi.StringPtrInput
	// The description of the repository. This needs to be less than 1000 characters
	Description pulumi.StringPtrInput
	// The name for the repository. This needs to be less than 100 characters.
	RepositoryName pulumi.StringInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Repository resource.

func (RepositoryArgs) ElementType

func (RepositoryArgs) ElementType() reflect.Type

type RepositoryArray added in v3.25.0

type RepositoryArray []RepositoryInput

func (RepositoryArray) ElementType added in v3.25.0

func (RepositoryArray) ElementType() reflect.Type

func (RepositoryArray) ToRepositoryArrayOutput added in v3.25.0

func (i RepositoryArray) ToRepositoryArrayOutput() RepositoryArrayOutput

func (RepositoryArray) ToRepositoryArrayOutputWithContext added in v3.25.0

func (i RepositoryArray) ToRepositoryArrayOutputWithContext(ctx context.Context) RepositoryArrayOutput

type RepositoryArrayInput added in v3.25.0

type RepositoryArrayInput interface {
	pulumi.Input

	ToRepositoryArrayOutput() RepositoryArrayOutput
	ToRepositoryArrayOutputWithContext(context.Context) RepositoryArrayOutput
}

RepositoryArrayInput is an input type that accepts RepositoryArray and RepositoryArrayOutput values. You can construct a concrete instance of `RepositoryArrayInput` via:

RepositoryArray{ RepositoryArgs{...} }

type RepositoryArrayOutput added in v3.25.0

type RepositoryArrayOutput struct{ *pulumi.OutputState }

func (RepositoryArrayOutput) ElementType added in v3.25.0

func (RepositoryArrayOutput) ElementType() reflect.Type

func (RepositoryArrayOutput) Index added in v3.25.0

func (RepositoryArrayOutput) ToRepositoryArrayOutput added in v3.25.0

func (o RepositoryArrayOutput) ToRepositoryArrayOutput() RepositoryArrayOutput

func (RepositoryArrayOutput) ToRepositoryArrayOutputWithContext added in v3.25.0

func (o RepositoryArrayOutput) ToRepositoryArrayOutputWithContext(ctx context.Context) RepositoryArrayOutput

type RepositoryInput added in v3.13.0

type RepositoryInput interface {
	pulumi.Input

	ToRepositoryOutput() RepositoryOutput
	ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput
}

type RepositoryMap added in v3.25.0

type RepositoryMap map[string]RepositoryInput

func (RepositoryMap) ElementType added in v3.25.0

func (RepositoryMap) ElementType() reflect.Type

func (RepositoryMap) ToRepositoryMapOutput added in v3.25.0

func (i RepositoryMap) ToRepositoryMapOutput() RepositoryMapOutput

func (RepositoryMap) ToRepositoryMapOutputWithContext added in v3.25.0

func (i RepositoryMap) ToRepositoryMapOutputWithContext(ctx context.Context) RepositoryMapOutput

type RepositoryMapInput added in v3.25.0

type RepositoryMapInput interface {
	pulumi.Input

	ToRepositoryMapOutput() RepositoryMapOutput
	ToRepositoryMapOutputWithContext(context.Context) RepositoryMapOutput
}

RepositoryMapInput is an input type that accepts RepositoryMap and RepositoryMapOutput values. You can construct a concrete instance of `RepositoryMapInput` via:

RepositoryMap{ "key": RepositoryArgs{...} }

type RepositoryMapOutput added in v3.25.0

type RepositoryMapOutput struct{ *pulumi.OutputState }

func (RepositoryMapOutput) ElementType added in v3.25.0

func (RepositoryMapOutput) ElementType() reflect.Type

func (RepositoryMapOutput) MapIndex added in v3.25.0

func (RepositoryMapOutput) ToRepositoryMapOutput added in v3.25.0

func (o RepositoryMapOutput) ToRepositoryMapOutput() RepositoryMapOutput

func (RepositoryMapOutput) ToRepositoryMapOutputWithContext added in v3.25.0

func (o RepositoryMapOutput) ToRepositoryMapOutputWithContext(ctx context.Context) RepositoryMapOutput

type RepositoryOutput added in v3.13.0

type RepositoryOutput struct {
	*pulumi.OutputState
}

func (RepositoryOutput) ElementType added in v3.13.0

func (RepositoryOutput) ElementType() reflect.Type

func (RepositoryOutput) ToRepositoryOutput added in v3.13.0

func (o RepositoryOutput) ToRepositoryOutput() RepositoryOutput

func (RepositoryOutput) ToRepositoryOutputWithContext added in v3.13.0

func (o RepositoryOutput) ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput

func (RepositoryOutput) ToRepositoryPtrOutput added in v3.25.0

func (o RepositoryOutput) ToRepositoryPtrOutput() RepositoryPtrOutput

func (RepositoryOutput) ToRepositoryPtrOutputWithContext added in v3.25.0

func (o RepositoryOutput) ToRepositoryPtrOutputWithContext(ctx context.Context) RepositoryPtrOutput

type RepositoryPtrInput added in v3.25.0

type RepositoryPtrInput interface {
	pulumi.Input

	ToRepositoryPtrOutput() RepositoryPtrOutput
	ToRepositoryPtrOutputWithContext(ctx context.Context) RepositoryPtrOutput
}

type RepositoryPtrOutput added in v3.25.0

type RepositoryPtrOutput struct {
	*pulumi.OutputState
}

func (RepositoryPtrOutput) ElementType added in v3.25.0

func (RepositoryPtrOutput) ElementType() reflect.Type

func (RepositoryPtrOutput) ToRepositoryPtrOutput added in v3.25.0

func (o RepositoryPtrOutput) ToRepositoryPtrOutput() RepositoryPtrOutput

func (RepositoryPtrOutput) ToRepositoryPtrOutputWithContext added in v3.25.0

func (o RepositoryPtrOutput) ToRepositoryPtrOutputWithContext(ctx context.Context) RepositoryPtrOutput

type RepositoryState

type RepositoryState struct {
	// The ARN of the repository
	Arn pulumi.StringPtrInput
	// The URL to use for cloning the repository over HTTPS.
	CloneUrlHttp pulumi.StringPtrInput
	// The URL to use for cloning the repository over SSH.
	CloneUrlSsh pulumi.StringPtrInput
	// The default branch of the repository. The branch specified here needs to exist.
	DefaultBranch pulumi.StringPtrInput
	// The description of the repository. This needs to be less than 1000 characters
	Description pulumi.StringPtrInput
	// The ID of the repository
	RepositoryId pulumi.StringPtrInput
	// The name for the repository. This needs to be less than 100 characters.
	RepositoryName pulumi.StringPtrInput
	// Key-value map of resource tags
	Tags pulumi.StringMapInput
}

func (RepositoryState) ElementType

func (RepositoryState) ElementType() reflect.Type

type Trigger

type Trigger struct {
	pulumi.CustomResourceState

	// System-generated unique identifier.
	ConfigurationId pulumi.StringOutput `pulumi:"configurationId"`
	// The name for the repository. This needs to be less than 100 characters.
	RepositoryName pulumi.StringOutput       `pulumi:"repositoryName"`
	Triggers       TriggerTriggerArrayOutput `pulumi:"triggers"`
}

Provides a CodeCommit Trigger Resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/codecommit"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testRepository, err := codecommit.NewRepository(ctx, "testRepository", &codecommit.RepositoryArgs{
			RepositoryName: pulumi.String("test"),
		})
		if err != nil {
			return err
		}
		_, err = codecommit.NewTrigger(ctx, "testTrigger", &codecommit.TriggerArgs{
			RepositoryName: testRepository.RepositoryName,
			Triggers: codecommit.TriggerTriggerArray{
				&codecommit.TriggerTriggerArgs{
					Name: pulumi.String("all"),
					Events: pulumi.StringArray{
						pulumi.String("all"),
					},
					DestinationArn: pulumi.Any(aws_sns_topic.Test.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetTrigger

func GetTrigger(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TriggerState, opts ...pulumi.ResourceOption) (*Trigger, error)

GetTrigger gets an existing Trigger 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 NewTrigger

func NewTrigger(ctx *pulumi.Context,
	name string, args *TriggerArgs, opts ...pulumi.ResourceOption) (*Trigger, error)

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

func (*Trigger) ElementType added in v3.13.0

func (*Trigger) ElementType() reflect.Type

func (*Trigger) ToTriggerOutput added in v3.13.0

func (i *Trigger) ToTriggerOutput() TriggerOutput

func (*Trigger) ToTriggerOutputWithContext added in v3.13.0

func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput

func (*Trigger) ToTriggerPtrOutput added in v3.25.0

func (i *Trigger) ToTriggerPtrOutput() TriggerPtrOutput

func (*Trigger) ToTriggerPtrOutputWithContext added in v3.25.0

func (i *Trigger) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput

type TriggerArgs

type TriggerArgs struct {
	// The name for the repository. This needs to be less than 100 characters.
	RepositoryName pulumi.StringInput
	Triggers       TriggerTriggerArrayInput
}

The set of arguments for constructing a Trigger resource.

func (TriggerArgs) ElementType

func (TriggerArgs) ElementType() reflect.Type

type TriggerArray added in v3.25.0

type TriggerArray []TriggerInput

func (TriggerArray) ElementType added in v3.25.0

func (TriggerArray) ElementType() reflect.Type

func (TriggerArray) ToTriggerArrayOutput added in v3.25.0

func (i TriggerArray) ToTriggerArrayOutput() TriggerArrayOutput

func (TriggerArray) ToTriggerArrayOutputWithContext added in v3.25.0

func (i TriggerArray) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput

type TriggerArrayInput added in v3.25.0

type TriggerArrayInput interface {
	pulumi.Input

	ToTriggerArrayOutput() TriggerArrayOutput
	ToTriggerArrayOutputWithContext(context.Context) TriggerArrayOutput
}

TriggerArrayInput is an input type that accepts TriggerArray and TriggerArrayOutput values. You can construct a concrete instance of `TriggerArrayInput` via:

TriggerArray{ TriggerArgs{...} }

type TriggerArrayOutput added in v3.25.0

type TriggerArrayOutput struct{ *pulumi.OutputState }

func (TriggerArrayOutput) ElementType added in v3.25.0

func (TriggerArrayOutput) ElementType() reflect.Type

func (TriggerArrayOutput) Index added in v3.25.0

func (TriggerArrayOutput) ToTriggerArrayOutput added in v3.25.0

func (o TriggerArrayOutput) ToTriggerArrayOutput() TriggerArrayOutput

func (TriggerArrayOutput) ToTriggerArrayOutputWithContext added in v3.25.0

func (o TriggerArrayOutput) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput

type TriggerInput added in v3.13.0

type TriggerInput interface {
	pulumi.Input

	ToTriggerOutput() TriggerOutput
	ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
}

type TriggerMap added in v3.25.0

type TriggerMap map[string]TriggerInput

func (TriggerMap) ElementType added in v3.25.0

func (TriggerMap) ElementType() reflect.Type

func (TriggerMap) ToTriggerMapOutput added in v3.25.0

func (i TriggerMap) ToTriggerMapOutput() TriggerMapOutput

func (TriggerMap) ToTriggerMapOutputWithContext added in v3.25.0

func (i TriggerMap) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput

type TriggerMapInput added in v3.25.0

type TriggerMapInput interface {
	pulumi.Input

	ToTriggerMapOutput() TriggerMapOutput
	ToTriggerMapOutputWithContext(context.Context) TriggerMapOutput
}

TriggerMapInput is an input type that accepts TriggerMap and TriggerMapOutput values. You can construct a concrete instance of `TriggerMapInput` via:

TriggerMap{ "key": TriggerArgs{...} }

type TriggerMapOutput added in v3.25.0

type TriggerMapOutput struct{ *pulumi.OutputState }

func (TriggerMapOutput) ElementType added in v3.25.0

func (TriggerMapOutput) ElementType() reflect.Type

func (TriggerMapOutput) MapIndex added in v3.25.0

func (TriggerMapOutput) ToTriggerMapOutput added in v3.25.0

func (o TriggerMapOutput) ToTriggerMapOutput() TriggerMapOutput

func (TriggerMapOutput) ToTriggerMapOutputWithContext added in v3.25.0

func (o TriggerMapOutput) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput

type TriggerOutput added in v3.13.0

type TriggerOutput struct {
	*pulumi.OutputState
}

func (TriggerOutput) ElementType added in v3.13.0

func (TriggerOutput) ElementType() reflect.Type

func (TriggerOutput) ToTriggerOutput added in v3.13.0

func (o TriggerOutput) ToTriggerOutput() TriggerOutput

func (TriggerOutput) ToTriggerOutputWithContext added in v3.13.0

func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput

func (TriggerOutput) ToTriggerPtrOutput added in v3.25.0

func (o TriggerOutput) ToTriggerPtrOutput() TriggerPtrOutput

func (TriggerOutput) ToTriggerPtrOutputWithContext added in v3.25.0

func (o TriggerOutput) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput

type TriggerPtrInput added in v3.25.0

type TriggerPtrInput interface {
	pulumi.Input

	ToTriggerPtrOutput() TriggerPtrOutput
	ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
}

type TriggerPtrOutput added in v3.25.0

type TriggerPtrOutput struct {
	*pulumi.OutputState
}

func (TriggerPtrOutput) ElementType added in v3.25.0

func (TriggerPtrOutput) ElementType() reflect.Type

func (TriggerPtrOutput) ToTriggerPtrOutput added in v3.25.0

func (o TriggerPtrOutput) ToTriggerPtrOutput() TriggerPtrOutput

func (TriggerPtrOutput) ToTriggerPtrOutputWithContext added in v3.25.0

func (o TriggerPtrOutput) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput

type TriggerState

type TriggerState struct {
	// System-generated unique identifier.
	ConfigurationId pulumi.StringPtrInput
	// The name for the repository. This needs to be less than 100 characters.
	RepositoryName pulumi.StringPtrInput
	Triggers       TriggerTriggerArrayInput
}

func (TriggerState) ElementType

func (TriggerState) ElementType() reflect.Type

type TriggerTrigger

type TriggerTrigger struct {
	// The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.
	Branches []string `pulumi:"branches"`
	// Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
	CustomData *string `pulumi:"customData"`
	// The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).
	DestinationArn string `pulumi:"destinationArn"`
	// The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: `all`, `updateReference`, `createReference`, `deleteReference`.
	Events []string `pulumi:"events"`
	// The name of the trigger.
	Name string `pulumi:"name"`
}

type TriggerTriggerArgs

type TriggerTriggerArgs struct {
	// The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.
	Branches pulumi.StringArrayInput `pulumi:"branches"`
	// Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
	CustomData pulumi.StringPtrInput `pulumi:"customData"`
	// The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).
	DestinationArn pulumi.StringInput `pulumi:"destinationArn"`
	// The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: `all`, `updateReference`, `createReference`, `deleteReference`.
	Events pulumi.StringArrayInput `pulumi:"events"`
	// The name of the trigger.
	Name pulumi.StringInput `pulumi:"name"`
}

func (TriggerTriggerArgs) ElementType

func (TriggerTriggerArgs) ElementType() reflect.Type

func (TriggerTriggerArgs) ToTriggerTriggerOutput

func (i TriggerTriggerArgs) ToTriggerTriggerOutput() TriggerTriggerOutput

func (TriggerTriggerArgs) ToTriggerTriggerOutputWithContext

func (i TriggerTriggerArgs) ToTriggerTriggerOutputWithContext(ctx context.Context) TriggerTriggerOutput

type TriggerTriggerArray

type TriggerTriggerArray []TriggerTriggerInput

func (TriggerTriggerArray) ElementType

func (TriggerTriggerArray) ElementType() reflect.Type

func (TriggerTriggerArray) ToTriggerTriggerArrayOutput

func (i TriggerTriggerArray) ToTriggerTriggerArrayOutput() TriggerTriggerArrayOutput

func (TriggerTriggerArray) ToTriggerTriggerArrayOutputWithContext

func (i TriggerTriggerArray) ToTriggerTriggerArrayOutputWithContext(ctx context.Context) TriggerTriggerArrayOutput

type TriggerTriggerArrayInput

type TriggerTriggerArrayInput interface {
	pulumi.Input

	ToTriggerTriggerArrayOutput() TriggerTriggerArrayOutput
	ToTriggerTriggerArrayOutputWithContext(context.Context) TriggerTriggerArrayOutput
}

TriggerTriggerArrayInput is an input type that accepts TriggerTriggerArray and TriggerTriggerArrayOutput values. You can construct a concrete instance of `TriggerTriggerArrayInput` via:

TriggerTriggerArray{ TriggerTriggerArgs{...} }

type TriggerTriggerArrayOutput

type TriggerTriggerArrayOutput struct{ *pulumi.OutputState }

func (TriggerTriggerArrayOutput) ElementType

func (TriggerTriggerArrayOutput) ElementType() reflect.Type

func (TriggerTriggerArrayOutput) Index

func (TriggerTriggerArrayOutput) ToTriggerTriggerArrayOutput

func (o TriggerTriggerArrayOutput) ToTriggerTriggerArrayOutput() TriggerTriggerArrayOutput

func (TriggerTriggerArrayOutput) ToTriggerTriggerArrayOutputWithContext

func (o TriggerTriggerArrayOutput) ToTriggerTriggerArrayOutputWithContext(ctx context.Context) TriggerTriggerArrayOutput

type TriggerTriggerInput

type TriggerTriggerInput interface {
	pulumi.Input

	ToTriggerTriggerOutput() TriggerTriggerOutput
	ToTriggerTriggerOutputWithContext(context.Context) TriggerTriggerOutput
}

TriggerTriggerInput is an input type that accepts TriggerTriggerArgs and TriggerTriggerOutput values. You can construct a concrete instance of `TriggerTriggerInput` via:

TriggerTriggerArgs{...}

type TriggerTriggerOutput

type TriggerTriggerOutput struct{ *pulumi.OutputState }

func (TriggerTriggerOutput) Branches

The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.

func (TriggerTriggerOutput) CustomData

Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.

func (TriggerTriggerOutput) DestinationArn

func (o TriggerTriggerOutput) DestinationArn() pulumi.StringOutput

The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).

func (TriggerTriggerOutput) ElementType

func (TriggerTriggerOutput) ElementType() reflect.Type

func (TriggerTriggerOutput) Events

The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: `all`, `updateReference`, `createReference`, `deleteReference`.

func (TriggerTriggerOutput) Name

The name of the trigger.

func (TriggerTriggerOutput) ToTriggerTriggerOutput

func (o TriggerTriggerOutput) ToTriggerTriggerOutput() TriggerTriggerOutput

func (TriggerTriggerOutput) ToTriggerTriggerOutputWithContext

func (o TriggerTriggerOutput) ToTriggerTriggerOutputWithContext(ctx context.Context) TriggerTriggerOutput

Jump to

Keyboard shortcuts

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