codebuild

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	// contains filtered or unexported fields
}

Provides a CodeBuild Project resource.

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ProjectState, opts ...pulumi.ResourceOpt) (*Project, error)

GetProject gets an existing Project 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 NewProject

func NewProject(ctx *pulumi.Context,
	name string, args *ProjectArgs, opts ...pulumi.ResourceOpt) (*Project, error)

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

func (*Project) Artifacts

func (r *Project) Artifacts() *pulumi.Output

Information about the project's build output artifacts. Artifact blocks are documented below.

func (*Project) BadgeEnabled

func (r *Project) BadgeEnabled() *pulumi.BoolOutput

Generates a publicly-accessible URL for the projects build badge. Available as `badge_url` attribute when enabled.

func (*Project) BadgeUrl

func (r *Project) BadgeUrl() *pulumi.StringOutput

The URL of the build badge when `badge_enabled` is enabled.

func (*Project) BuildTimeout

func (r *Project) BuildTimeout() *pulumi.IntOutput

How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.

func (*Project) Cache

func (r *Project) Cache() *pulumi.Output

Information about the cache storage for the project. Cache blocks are documented below.

func (*Project) Description

func (r *Project) Description() *pulumi.StringOutput

A short description of the project.

func (*Project) EncryptionKey

func (r *Project) EncryptionKey() *pulumi.StringOutput

The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.

func (*Project) Environment

func (r *Project) Environment() *pulumi.Output

Information about the project's build environment. Environment blocks are documented below.

func (*Project) ID

func (r *Project) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Project) Name

func (r *Project) Name() *pulumi.StringOutput

The environment variable's name or key.

func (*Project) ServiceRole

func (r *Project) ServiceRole() *pulumi.StringOutput

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.

func (*Project) Source

func (r *Project) Source() *pulumi.Output

Information about the project's input source code. Source blocks are documented below.

func (*Project) Tags

func (r *Project) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Project) URN

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

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

func (*Project) VpcConfig

func (r *Project) VpcConfig() *pulumi.Output

Configuration for the builds to run inside a VPC. VPC config blocks are documented below.

type ProjectArgs

type ProjectArgs struct {
	// Information about the project's build output artifacts. Artifact blocks are documented below.
	Artifacts interface{}
	// Generates a publicly-accessible URL for the projects build badge. Available as `badge_url` attribute when enabled.
	BadgeEnabled interface{}
	// How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.
	BuildTimeout interface{}
	// Information about the cache storage for the project. Cache blocks are documented below.
	Cache interface{}
	// A short description of the project.
	Description interface{}
	// The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
	EncryptionKey interface{}
	// Information about the project's build environment. Environment blocks are documented below.
	Environment interface{}
	// The environment variable's name or key.
	Name interface{}
	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
	ServiceRole interface{}
	// Information about the project's input source code. Source blocks are documented below.
	Source interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// Configuration for the builds to run inside a VPC. VPC config blocks are documented below.
	VpcConfig interface{}
}

The set of arguments for constructing a Project resource.

type ProjectState

type ProjectState struct {
	// Information about the project's build output artifacts. Artifact blocks are documented below.
	Artifacts interface{}
	// Generates a publicly-accessible URL for the projects build badge. Available as `badge_url` attribute when enabled.
	BadgeEnabled interface{}
	// The URL of the build badge when `badge_enabled` is enabled.
	BadgeUrl interface{}
	// How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.
	BuildTimeout interface{}
	// Information about the cache storage for the project. Cache blocks are documented below.
	Cache interface{}
	// A short description of the project.
	Description interface{}
	// The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
	EncryptionKey interface{}
	// Information about the project's build environment. Environment blocks are documented below.
	Environment interface{}
	// The environment variable's name or key.
	Name interface{}
	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
	ServiceRole interface{}
	// Information about the project's input source code. Source blocks are documented below.
	Source interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// Configuration for the builds to run inside a VPC. VPC config blocks are documented below.
	VpcConfig interface{}
}

Input properties used for looking up and filtering Project resources.

type Webhook

type Webhook struct {
	// contains filtered or unexported fields
}

Manages a CodeBuild webhook, which is an endpoint accepted by the CodeBuild service to trigger builds from source code repositories. Depending on the source type of the CodeBuild project, the CodeBuild service may also automatically create and delete the actual repository webhook as well.

func GetWebhook

func GetWebhook(ctx *pulumi.Context,
	name string, id pulumi.ID, state *WebhookState, opts ...pulumi.ResourceOpt) (*Webhook, error)

GetWebhook gets an existing Webhook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewWebhook

func NewWebhook(ctx *pulumi.Context,
	name string, args *WebhookArgs, opts ...pulumi.ResourceOpt) (*Webhook, error)

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

func (*Webhook) BranchFilter

func (r *Webhook) BranchFilter() *pulumi.StringOutput

A regular expression used to determine which branches get built. Default is all branches are built.

func (*Webhook) ID

func (r *Webhook) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Webhook) PayloadUrl

func (r *Webhook) PayloadUrl() *pulumi.StringOutput

The CodeBuild endpoint where webhook events are sent.

func (*Webhook) ProjectName

func (r *Webhook) ProjectName() *pulumi.StringOutput

The name of the build project.

func (*Webhook) Secret

func (r *Webhook) Secret() *pulumi.StringOutput

The secret token of the associated repository. Not returned by the CodeBuild API for all source types.

func (*Webhook) URN

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

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

func (*Webhook) Url

func (r *Webhook) Url() *pulumi.StringOutput

The URL to the webhook.

type WebhookArgs

type WebhookArgs struct {
	// A regular expression used to determine which branches get built. Default is all branches are built.
	BranchFilter interface{}
	// The name of the build project.
	ProjectName interface{}
}

The set of arguments for constructing a Webhook resource.

type WebhookState

type WebhookState struct {
	// A regular expression used to determine which branches get built. Default is all branches are built.
	BranchFilter interface{}
	// The CodeBuild endpoint where webhook events are sent.
	PayloadUrl interface{}
	// The name of the build project.
	ProjectName interface{}
	// The secret token of the associated repository. Not returned by the CodeBuild API for all source types.
	Secret interface{}
	// The URL to the webhook.
	Url interface{}
}

Input properties used for looking up and filtering Webhook resources.

Jump to

Keyboard shortcuts

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