codecommit

package
v1.20.0 Latest Latest
Warning

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

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

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupRepositoryArgs added in v1.19.0

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 added in v1.19.0

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"`
	// id is 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 added in v0.14.2

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.

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

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 mapping of resource tags
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a CodeCommit Repository Resource.

> **NOTE on CodeCommit Availability**: The CodeCommit is not yet rolled out in all regions - available regions are listed [the AWS Docs](https://docs.aws.amazon.com/general/latest/gr/rande.html#codecommit_region).

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

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.

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 mapping of resource tags
	Tags pulumi.MapInput
}

The set of arguments for constructing a Repository resource.

func (RepositoryArgs) ElementType added in v1.19.0

func (RepositoryArgs) ElementType() reflect.Type

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 mapping of resource tags
	Tags pulumi.MapInput
}

func (RepositoryState) ElementType added in v1.19.0

func (RepositoryState) ElementType() reflect.Type

type Trigger

type Trigger struct {
	pulumi.CustomResourceState

	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.

> **NOTE on CodeCommit**: The CodeCommit is not yet rolled out in all regions - available regions are listed [the AWS Docs](https://docs.aws.amazon.com/general/latest/gr/rande.html#codecommit_region).

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

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.

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 added in v1.19.0

func (TriggerArgs) ElementType() reflect.Type

type TriggerState

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

func (TriggerState) ElementType added in v1.19.0

func (TriggerState) ElementType() reflect.Type

type TriggerTrigger added in v1.19.0

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 added in v1.19.0

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 added in v1.19.0

func (TriggerTriggerArgs) ElementType() reflect.Type

func (TriggerTriggerArgs) ToTriggerTriggerOutput added in v1.19.0

func (i TriggerTriggerArgs) ToTriggerTriggerOutput() TriggerTriggerOutput

func (TriggerTriggerArgs) ToTriggerTriggerOutputWithContext added in v1.19.0

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

type TriggerTriggerArray added in v1.19.0

type TriggerTriggerArray []TriggerTriggerInput

func (TriggerTriggerArray) ElementType added in v1.19.0

func (TriggerTriggerArray) ElementType() reflect.Type

func (TriggerTriggerArray) ToTriggerTriggerArrayOutput added in v1.19.0

func (i TriggerTriggerArray) ToTriggerTriggerArrayOutput() TriggerTriggerArrayOutput

func (TriggerTriggerArray) ToTriggerTriggerArrayOutputWithContext added in v1.19.0

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

type TriggerTriggerArrayInput added in v1.19.0

type TriggerTriggerArrayInput interface {
	pulumi.Input

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

type TriggerTriggerArrayOutput added in v1.19.0

type TriggerTriggerArrayOutput struct{ *pulumi.OutputState }

func (TriggerTriggerArrayOutput) ElementType added in v1.19.0

func (TriggerTriggerArrayOutput) ElementType() reflect.Type

func (TriggerTriggerArrayOutput) Index added in v1.19.0

func (TriggerTriggerArrayOutput) ToTriggerTriggerArrayOutput added in v1.19.0

func (o TriggerTriggerArrayOutput) ToTriggerTriggerArrayOutput() TriggerTriggerArrayOutput

func (TriggerTriggerArrayOutput) ToTriggerTriggerArrayOutputWithContext added in v1.19.0

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

type TriggerTriggerInput added in v1.19.0

type TriggerTriggerInput interface {
	pulumi.Input

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

type TriggerTriggerOutput added in v1.19.0

type TriggerTriggerOutput struct{ *pulumi.OutputState }

func (TriggerTriggerOutput) Branches added in v1.19.0

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 added in v1.19.0

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

func (TriggerTriggerOutput) DestinationArn added in v1.19.0

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 added in v1.19.0

func (TriggerTriggerOutput) ElementType() reflect.Type

func (TriggerTriggerOutput) Events added in v1.19.0

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 added in v1.19.0

The name of the trigger.

func (TriggerTriggerOutput) ToTriggerTriggerOutput added in v1.19.0

func (o TriggerTriggerOutput) ToTriggerTriggerOutput() TriggerTriggerOutput

func (TriggerTriggerOutput) ToTriggerTriggerOutputWithContext added in v1.19.0

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