Documentation ¶
Index ¶
- type Project
- func (r *Project) Artifacts() *pulumi.Output
- func (r *Project) BadgeEnabled() *pulumi.BoolOutput
- func (r *Project) BadgeUrl() *pulumi.StringOutput
- func (r *Project) BuildTimeout() *pulumi.IntOutput
- func (r *Project) Cache() *pulumi.Output
- func (r *Project) Description() *pulumi.StringOutput
- func (r *Project) EncryptionKey() *pulumi.StringOutput
- func (r *Project) Environment() *pulumi.Output
- func (r *Project) ID() *pulumi.IDOutput
- func (r *Project) Name() *pulumi.StringOutput
- func (r *Project) ServiceRole() *pulumi.StringOutput
- func (r *Project) Source() *pulumi.Output
- func (r *Project) Tags() *pulumi.MapOutput
- func (r *Project) URN() *pulumi.URNOutput
- func (r *Project) VpcConfig() *pulumi.Output
- type ProjectArgs
- type ProjectState
- type Webhook
- func (r *Webhook) BranchFilter() *pulumi.StringOutput
- func (r *Webhook) ID() *pulumi.IDOutput
- func (r *Webhook) PayloadUrl() *pulumi.StringOutput
- func (r *Webhook) ProjectName() *pulumi.StringOutput
- func (r *Webhook) Secret() *pulumi.StringOutput
- func (r *Webhook) URN() *pulumi.URNOutput
- func (r *Webhook) Url() *pulumi.StringOutput
- type WebhookArgs
- type WebhookState
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 ¶
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 ¶
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 ¶
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 ¶
Information about the project's build environment. Environment blocks are documented below.
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 ¶
Information about the project's input source code. Source 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) 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.
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.