codebuild

package
v6.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	pulumi.CustomResourceState

	// ARN of the CodeBuild project.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Configuration block. Detailed below.
	Artifacts ProjectArtifactsOutput `pulumi:"artifacts"`
	// Generates a publicly-accessible URL for the projects build badge. Available as `badgeUrl` attribute when enabled.
	BadgeEnabled pulumi.BoolPtrOutput `pulumi:"badgeEnabled"`
	// URL of the build badge when `badgeEnabled` is enabled.
	BadgeUrl pulumi.StringOutput `pulumi:"badgeUrl"`
	// Defines the batch build options for the project.
	BuildBatchConfig ProjectBuildBatchConfigPtrOutput `pulumi:"buildBatchConfig"`
	// Number of 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 pulumi.IntPtrOutput `pulumi:"buildTimeout"`
	// Configuration block. Detailed below.
	Cache ProjectCachePtrOutput `pulumi:"cache"`
	// Specify a maximum number of concurrent builds for the project. The value specified must be greater than 0 and less than the account concurrent running builds limit.
	ConcurrentBuildLimit pulumi.IntPtrOutput `pulumi:"concurrentBuildLimit"`
	// Short description of the project.
	Description pulumi.StringOutput `pulumi:"description"`
	// AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
	EncryptionKey pulumi.StringOutput `pulumi:"encryptionKey"`
	// Configuration block. Detailed below.
	Environment ProjectEnvironmentOutput `pulumi:"environment"`
	// A set of file system locations to mount inside the build. File system locations are documented below.
	FileSystemLocations ProjectFileSystemLocationArrayOutput `pulumi:"fileSystemLocations"`
	// Configuration block. Detailed below.
	LogsConfig ProjectLogsConfigPtrOutput `pulumi:"logsConfig"`
	// Project's name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ` and `PRIVATE`. Default value is `PRIVATE`.
	ProjectVisibility pulumi.StringPtrOutput `pulumi:"projectVisibility"`
	// The project identifier used with the public build APIs.
	PublicProjectAlias pulumi.StringOutput `pulumi:"publicProjectAlias"`
	// Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours.
	QueuedTimeout pulumi.IntPtrOutput `pulumi:"queuedTimeout"`
	// The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
	ResourceAccessRole pulumi.StringPtrOutput `pulumi:"resourceAccessRole"`
	// Configuration block. Detailed below.
	SecondaryArtifacts ProjectSecondaryArtifactArrayOutput `pulumi:"secondaryArtifacts"`
	// Configuration block. Detailed below.
	SecondarySourceVersions ProjectSecondarySourceVersionArrayOutput `pulumi:"secondarySourceVersions"`
	// Configuration block. Detailed below.
	SecondarySources ProjectSecondarySourceArrayOutput `pulumi:"secondarySources"`
	// 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 pulumi.StringOutput `pulumi:"serviceRole"`
	// Configuration block. Detailed below.
	//
	// The following arguments are optional:
	Source ProjectSourceOutput `pulumi:"source"`
	// Version of the build input to be built for this project. If not specified, the latest version is used.
	SourceVersion pulumi.StringPtrOutput `pulumi:"sourceVersion"`
	// 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.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Configuration block. Detailed below.
	VpcConfig ProjectVpcConfigPtrOutput `pulumi:"vpcConfig"`
}

Provides a CodeBuild Project resource. See also the `codebuild.Webhook` resource, which manages the webhook to the source (e.g., the "rebuild every time a code change is pushed" option in the CodeBuild web console).

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codebuild"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"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 { exampleBucketV2, err := s3.NewBucketV2(ctx, "exampleBucketV2", nil) if err != nil { return err } _, err = s3.NewBucketAclV2(ctx, "exampleBucketAclV2", &s3.BucketAclV2Args{ Bucket: exampleBucketV2.ID(), Acl: pulumi.String("private"), }) 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{ "codebuild.amazonaws.com", }, }, }, Actions: []string{ "sts:AssumeRole", }, }, }, }, nil); if err != nil { return err } exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{ AssumeRolePolicy: *pulumi.String(assumeRole.Json), }) if err != nil { return err } examplePolicyDocument := pulumi.All(exampleBucketV2.Arn,exampleBucketV2.Arn).ApplyT(func(_args []interface{}) (iam.GetPolicyDocumentResult, error) { exampleBucketV2Arn := _args[0].(string) exampleBucketV2Arn1 := _args[1].(string) return iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: "Allow", Actions: []string{ "logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents", }, Resources: []string{ "*", }, }, { Effect: "Allow", Actions: []string{ "ec2:CreateNetworkInterface", "ec2:DescribeDhcpOptions", "ec2:DescribeNetworkInterfaces", "ec2:DeleteNetworkInterface", "ec2:DescribeSubnets", "ec2:DescribeSecurityGroups", "ec2:DescribeVpcs", }, Resources: []string{ "*", }, }, { Effect: "Allow", Actions: []string{ "ec2:CreateNetworkInterfacePermission", }, Resources: []string{ "arn:aws:ec2:us-east-1:123456789012:network-interface/*", }, Conditions: []iam.GetPolicyDocumentStatementCondition{ { Test: "StringEquals", Variable: "ec2:Subnet", Values: interface{}{ aws_subnet.Example1.Arn, aws_subnet.Example2.Arn, }, }, { Test: "StringEquals", Variable: "ec2:AuthorizedService", Values: []string{ "codebuild.amazonaws.com", }, }, }, }, { Effect: "Allow", Actions: []string{ "s3:*", }, Resources: []string{ exampleBucketV2Arn, fmt.Sprintf("%v/*", exampleBucketV2Arn1), }, }, }, }, nil), nil }).(iam.GetPolicyDocumentResultOutput) _, err = iam.NewRolePolicy(ctx, "exampleRolePolicy", &iam.RolePolicyArgs{ Role: exampleRole.Name, Policy: examplePolicyDocument.ApplyT(func(examplePolicyDocument iam.GetPolicyDocumentResult) (*string, error) { return &examplePolicyDocument.Json, nil }).(pulumi.StringPtrOutput), }) if err != nil { return err } _, err = codebuild.NewProject(ctx, "exampleProject", &codebuild.ProjectArgs{ Description: pulumi.String("test_codebuild_project"), BuildTimeout: pulumi.Int(5), ServiceRole: exampleRole.Arn, Artifacts: &codebuild.ProjectArtifactsArgs{ Type: pulumi.String("NO_ARTIFACTS"), }, Cache: &codebuild.ProjectCacheArgs{ Type: pulumi.String("S3"), Location: exampleBucketV2.Bucket, }, Environment: &codebuild.ProjectEnvironmentArgs{ ComputeType: pulumi.String("BUILD_GENERAL1_SMALL"), Image: pulumi.String("aws/codebuild/amazonlinux2-x86_64-standard:4.0"), Type: pulumi.String("LINUX_CONTAINER"), ImagePullCredentialsType: pulumi.String("CODEBUILD"), EnvironmentVariables: codebuild.ProjectEnvironmentEnvironmentVariableArray{ &codebuild.ProjectEnvironmentEnvironmentVariableArgs{ Name: pulumi.String("SOME_KEY1"), Value: pulumi.String("SOME_VALUE1"), }, &codebuild.ProjectEnvironmentEnvironmentVariableArgs{ Name: pulumi.String("SOME_KEY2"), Value: pulumi.String("SOME_VALUE2"), Type: pulumi.String("PARAMETER_STORE"), }, }, }, LogsConfig: &codebuild.ProjectLogsConfigArgs{ CloudwatchLogs: &codebuild.ProjectLogsConfigCloudwatchLogsArgs{ GroupName: pulumi.String("log-group"), StreamName: pulumi.String("log-stream"), }, S3Logs: &codebuild.ProjectLogsConfigS3LogsArgs{ Status: pulumi.String("ENABLED"), Location: exampleBucketV2.ID().ApplyT(func(id string) (string, error) { return fmt.Sprintf("%v/build-log", id), nil }).(pulumi.StringOutput), }, }, Source: &codebuild.ProjectSourceArgs{ Type: pulumi.String("GITHUB"), Location: pulumi.String("https://github.com/mitchellh/packer.git"), GitCloneDepth: pulumi.Int(1), GitSubmodulesConfig: &codebuild.ProjectSourceGitSubmodulesConfigArgs{ FetchSubmodules: pulumi.Bool(true), }, }, SourceVersion: pulumi.String("master"), VpcConfig: &codebuild.ProjectVpcConfigArgs{ VpcId: pulumi.Any(aws_vpc.Example.Id), Subnets: pulumi.StringArray{ aws_subnet.Example1.Id, aws_subnet.Example2.Id, }, SecurityGroupIds: pulumi.StringArray{ aws_security_group.Example1.Id, aws_security_group.Example2.Id, }, }, Tags: pulumi.StringMap{ "Environment": pulumi.String("Test"), }, }) if err != nil { return err } _, err = codebuild.NewProject(ctx, "project-with-cache", &codebuild.ProjectArgs{ Description: pulumi.String("test_codebuild_project_cache"), BuildTimeout: pulumi.Int(5), QueuedTimeout: pulumi.Int(5), ServiceRole: exampleRole.Arn, Artifacts: &codebuild.ProjectArtifactsArgs{ Type: pulumi.String("NO_ARTIFACTS"), }, Cache: &codebuild.ProjectCacheArgs{ Type: pulumi.String("LOCAL"), Modes: pulumi.StringArray{ pulumi.String("LOCAL_DOCKER_LAYER_CACHE"), pulumi.String("LOCAL_SOURCE_CACHE"), }, }, Environment: &codebuild.ProjectEnvironmentArgs{ ComputeType: pulumi.String("BUILD_GENERAL1_SMALL"), Image: pulumi.String("aws/codebuild/amazonlinux2-x86_64-standard:4.0"), Type: pulumi.String("LINUX_CONTAINER"), ImagePullCredentialsType: pulumi.String("CODEBUILD"), EnvironmentVariables: codebuild.ProjectEnvironmentEnvironmentVariableArray{ &codebuild.ProjectEnvironmentEnvironmentVariableArgs{ Name: pulumi.String("SOME_KEY1"), Value: pulumi.String("SOME_VALUE1"), }, }, }, Source: &codebuild.ProjectSourceArgs{ Type: pulumi.String("GITHUB"), Location: pulumi.String("https://github.com/mitchellh/packer.git"), GitCloneDepth: pulumi.Int(1), }, Tags: pulumi.StringMap{ "Environment": pulumi.String("Test"), }, }) if err != nil { return err } return nil }) } ```

## Import

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

```sh

$ pulumi import aws:codebuild/project:Project name project-name

```

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Project, error)

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

func (*Project) ElementType

func (*Project) ElementType() reflect.Type

func (*Project) ToOutput added in v6.1.0

func (i *Project) ToOutput(ctx context.Context) pulumix.Output[*Project]

func (*Project) ToProjectOutput

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectArgs

type ProjectArgs struct {
	// Configuration block. Detailed below.
	Artifacts ProjectArtifactsInput
	// Generates a publicly-accessible URL for the projects build badge. Available as `badgeUrl` attribute when enabled.
	BadgeEnabled pulumi.BoolPtrInput
	// Defines the batch build options for the project.
	BuildBatchConfig ProjectBuildBatchConfigPtrInput
	// Number of 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 pulumi.IntPtrInput
	// Configuration block. Detailed below.
	Cache ProjectCachePtrInput
	// Specify a maximum number of concurrent builds for the project. The value specified must be greater than 0 and less than the account concurrent running builds limit.
	ConcurrentBuildLimit pulumi.IntPtrInput
	// Short description of the project.
	Description pulumi.StringPtrInput
	// AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
	EncryptionKey pulumi.StringPtrInput
	// Configuration block. Detailed below.
	Environment ProjectEnvironmentInput
	// A set of file system locations to mount inside the build. File system locations are documented below.
	FileSystemLocations ProjectFileSystemLocationArrayInput
	// Configuration block. Detailed below.
	LogsConfig ProjectLogsConfigPtrInput
	// Project's name.
	Name pulumi.StringPtrInput
	// Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ` and `PRIVATE`. Default value is `PRIVATE`.
	ProjectVisibility pulumi.StringPtrInput
	// Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours.
	QueuedTimeout pulumi.IntPtrInput
	// The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
	ResourceAccessRole pulumi.StringPtrInput
	// Configuration block. Detailed below.
	SecondaryArtifacts ProjectSecondaryArtifactArrayInput
	// Configuration block. Detailed below.
	SecondarySourceVersions ProjectSecondarySourceVersionArrayInput
	// Configuration block. Detailed below.
	SecondarySources ProjectSecondarySourceArrayInput
	// 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 pulumi.StringInput
	// Configuration block. Detailed below.
	//
	// The following arguments are optional:
	Source ProjectSourceInput
	// Version of the build input to be built for this project. If not specified, the latest version is used.
	SourceVersion pulumi.StringPtrInput
	// 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
	// Configuration block. Detailed below.
	VpcConfig ProjectVpcConfigPtrInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToOutput added in v6.1.0

func (i ProjectArray) ToOutput(ctx context.Context) pulumix.Output[[]*Project]

func (ProjectArray) ToProjectArrayOutput

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput

type ProjectArrayInput interface {
	pulumi.Input

	ToProjectArrayOutput() ProjectArrayOutput
	ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput
}

ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:

ProjectArray{ ProjectArgs{...} }

type ProjectArrayOutput

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index

func (ProjectArrayOutput) ToOutput added in v6.1.0

func (ProjectArrayOutput) ToProjectArrayOutput

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArtifacts

type ProjectArtifacts struct {
	// Artifact identifier. Must be the same specified inside the AWS CodeBuild build specification.
	ArtifactIdentifier *string `pulumi:"artifactIdentifier"`
	// Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects. Valid values are `NONE`, `READ_ONLY`, and `FULL`. your CodeBuild service role must have the `s3:PutBucketAcl` permission. This permission allows CodeBuild to modify the access control list for the bucket.
	BucketOwnerAccess *string `pulumi:"bucketOwnerAccess"`
	// Whether to disable encrypting output artifacts. If `type` is set to `NO_ARTIFACTS`, this value is ignored. Defaults to `false`.
	EncryptionDisabled *bool `pulumi:"encryptionDisabled"`
	// Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored. If `type` is set to `S3`, this is the name of the output bucket.
	Location *string `pulumi:"location"`
	// Name of the project. If `type` is set to `S3`, this is the name of the output artifact object
	Name *string `pulumi:"name"`
	// Namespace to use in storing build artifacts. If `type` is set to `S3`, then valid values are `BUILD_ID`, `NONE`.
	NamespaceType *string `pulumi:"namespaceType"`
	// Whether a name specified in the build specification overrides the artifact name.
	OverrideArtifactName *bool `pulumi:"overrideArtifactName"`
	// Type of build output artifact to create. If `type` is set to `S3`, valid values are `NONE`, `ZIP`
	Packaging *string `pulumi:"packaging"`
	// If `type` is set to `S3`, this is the path to the output artifact.
	Path *string `pulumi:"path"`
	// Build output artifact's type. Valid values: `CODEPIPELINE`, `NO_ARTIFACTS`, `S3`.
	Type string `pulumi:"type"`
}

type ProjectArtifactsArgs

type ProjectArtifactsArgs struct {
	// Artifact identifier. Must be the same specified inside the AWS CodeBuild build specification.
	ArtifactIdentifier pulumi.StringPtrInput `pulumi:"artifactIdentifier"`
	// Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects. Valid values are `NONE`, `READ_ONLY`, and `FULL`. your CodeBuild service role must have the `s3:PutBucketAcl` permission. This permission allows CodeBuild to modify the access control list for the bucket.
	BucketOwnerAccess pulumi.StringPtrInput `pulumi:"bucketOwnerAccess"`
	// Whether to disable encrypting output artifacts. If `type` is set to `NO_ARTIFACTS`, this value is ignored. Defaults to `false`.
	EncryptionDisabled pulumi.BoolPtrInput `pulumi:"encryptionDisabled"`
	// Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored. If `type` is set to `S3`, this is the name of the output bucket.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Name of the project. If `type` is set to `S3`, this is the name of the output artifact object
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Namespace to use in storing build artifacts. If `type` is set to `S3`, then valid values are `BUILD_ID`, `NONE`.
	NamespaceType pulumi.StringPtrInput `pulumi:"namespaceType"`
	// Whether a name specified in the build specification overrides the artifact name.
	OverrideArtifactName pulumi.BoolPtrInput `pulumi:"overrideArtifactName"`
	// Type of build output artifact to create. If `type` is set to `S3`, valid values are `NONE`, `ZIP`
	Packaging pulumi.StringPtrInput `pulumi:"packaging"`
	// If `type` is set to `S3`, this is the path to the output artifact.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// Build output artifact's type. Valid values: `CODEPIPELINE`, `NO_ARTIFACTS`, `S3`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ProjectArtifactsArgs) ElementType

func (ProjectArtifactsArgs) ElementType() reflect.Type

func (ProjectArtifactsArgs) ToOutput added in v6.1.0

func (ProjectArtifactsArgs) ToProjectArtifactsOutput

func (i ProjectArtifactsArgs) ToProjectArtifactsOutput() ProjectArtifactsOutput

func (ProjectArtifactsArgs) ToProjectArtifactsOutputWithContext

func (i ProjectArtifactsArgs) ToProjectArtifactsOutputWithContext(ctx context.Context) ProjectArtifactsOutput

func (ProjectArtifactsArgs) ToProjectArtifactsPtrOutput

func (i ProjectArtifactsArgs) ToProjectArtifactsPtrOutput() ProjectArtifactsPtrOutput

func (ProjectArtifactsArgs) ToProjectArtifactsPtrOutputWithContext

func (i ProjectArtifactsArgs) ToProjectArtifactsPtrOutputWithContext(ctx context.Context) ProjectArtifactsPtrOutput

type ProjectArtifactsInput

type ProjectArtifactsInput interface {
	pulumi.Input

	ToProjectArtifactsOutput() ProjectArtifactsOutput
	ToProjectArtifactsOutputWithContext(context.Context) ProjectArtifactsOutput
}

ProjectArtifactsInput is an input type that accepts ProjectArtifactsArgs and ProjectArtifactsOutput values. You can construct a concrete instance of `ProjectArtifactsInput` via:

ProjectArtifactsArgs{...}

type ProjectArtifactsOutput

type ProjectArtifactsOutput struct{ *pulumi.OutputState }

func (ProjectArtifactsOutput) ArtifactIdentifier

func (o ProjectArtifactsOutput) ArtifactIdentifier() pulumi.StringPtrOutput

Artifact identifier. Must be the same specified inside the AWS CodeBuild build specification.

func (ProjectArtifactsOutput) BucketOwnerAccess

func (o ProjectArtifactsOutput) BucketOwnerAccess() pulumi.StringPtrOutput

Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects. Valid values are `NONE`, `READ_ONLY`, and `FULL`. your CodeBuild service role must have the `s3:PutBucketAcl` permission. This permission allows CodeBuild to modify the access control list for the bucket.

func (ProjectArtifactsOutput) ElementType

func (ProjectArtifactsOutput) ElementType() reflect.Type

func (ProjectArtifactsOutput) EncryptionDisabled

func (o ProjectArtifactsOutput) EncryptionDisabled() pulumi.BoolPtrOutput

Whether to disable encrypting output artifacts. If `type` is set to `NO_ARTIFACTS`, this value is ignored. Defaults to `false`.

func (ProjectArtifactsOutput) Location

Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored. If `type` is set to `S3`, this is the name of the output bucket.

func (ProjectArtifactsOutput) Name

Name of the project. If `type` is set to `S3`, this is the name of the output artifact object

func (ProjectArtifactsOutput) NamespaceType

func (o ProjectArtifactsOutput) NamespaceType() pulumi.StringPtrOutput

Namespace to use in storing build artifacts. If `type` is set to `S3`, then valid values are `BUILD_ID`, `NONE`.

func (ProjectArtifactsOutput) OverrideArtifactName

func (o ProjectArtifactsOutput) OverrideArtifactName() pulumi.BoolPtrOutput

Whether a name specified in the build specification overrides the artifact name.

func (ProjectArtifactsOutput) Packaging

Type of build output artifact to create. If `type` is set to `S3`, valid values are `NONE`, `ZIP`

func (ProjectArtifactsOutput) Path

If `type` is set to `S3`, this is the path to the output artifact.

func (ProjectArtifactsOutput) ToOutput added in v6.1.0

func (ProjectArtifactsOutput) ToProjectArtifactsOutput

func (o ProjectArtifactsOutput) ToProjectArtifactsOutput() ProjectArtifactsOutput

func (ProjectArtifactsOutput) ToProjectArtifactsOutputWithContext

func (o ProjectArtifactsOutput) ToProjectArtifactsOutputWithContext(ctx context.Context) ProjectArtifactsOutput

func (ProjectArtifactsOutput) ToProjectArtifactsPtrOutput

func (o ProjectArtifactsOutput) ToProjectArtifactsPtrOutput() ProjectArtifactsPtrOutput

func (ProjectArtifactsOutput) ToProjectArtifactsPtrOutputWithContext

func (o ProjectArtifactsOutput) ToProjectArtifactsPtrOutputWithContext(ctx context.Context) ProjectArtifactsPtrOutput

func (ProjectArtifactsOutput) Type

Build output artifact's type. Valid values: `CODEPIPELINE`, `NO_ARTIFACTS`, `S3`.

type ProjectArtifactsPtrInput

type ProjectArtifactsPtrInput interface {
	pulumi.Input

	ToProjectArtifactsPtrOutput() ProjectArtifactsPtrOutput
	ToProjectArtifactsPtrOutputWithContext(context.Context) ProjectArtifactsPtrOutput
}

ProjectArtifactsPtrInput is an input type that accepts ProjectArtifactsArgs, ProjectArtifactsPtr and ProjectArtifactsPtrOutput values. You can construct a concrete instance of `ProjectArtifactsPtrInput` via:

        ProjectArtifactsArgs{...}

or:

        nil

type ProjectArtifactsPtrOutput

type ProjectArtifactsPtrOutput struct{ *pulumi.OutputState }

func (ProjectArtifactsPtrOutput) ArtifactIdentifier

func (o ProjectArtifactsPtrOutput) ArtifactIdentifier() pulumi.StringPtrOutput

Artifact identifier. Must be the same specified inside the AWS CodeBuild build specification.

func (ProjectArtifactsPtrOutput) BucketOwnerAccess

func (o ProjectArtifactsPtrOutput) BucketOwnerAccess() pulumi.StringPtrOutput

Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects. Valid values are `NONE`, `READ_ONLY`, and `FULL`. your CodeBuild service role must have the `s3:PutBucketAcl` permission. This permission allows CodeBuild to modify the access control list for the bucket.

func (ProjectArtifactsPtrOutput) Elem

func (ProjectArtifactsPtrOutput) ElementType

func (ProjectArtifactsPtrOutput) ElementType() reflect.Type

func (ProjectArtifactsPtrOutput) EncryptionDisabled

func (o ProjectArtifactsPtrOutput) EncryptionDisabled() pulumi.BoolPtrOutput

Whether to disable encrypting output artifacts. If `type` is set to `NO_ARTIFACTS`, this value is ignored. Defaults to `false`.

func (ProjectArtifactsPtrOutput) Location

Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored. If `type` is set to `S3`, this is the name of the output bucket.

func (ProjectArtifactsPtrOutput) Name

Name of the project. If `type` is set to `S3`, this is the name of the output artifact object

func (ProjectArtifactsPtrOutput) NamespaceType

Namespace to use in storing build artifacts. If `type` is set to `S3`, then valid values are `BUILD_ID`, `NONE`.

func (ProjectArtifactsPtrOutput) OverrideArtifactName

func (o ProjectArtifactsPtrOutput) OverrideArtifactName() pulumi.BoolPtrOutput

Whether a name specified in the build specification overrides the artifact name.

func (ProjectArtifactsPtrOutput) Packaging

Type of build output artifact to create. If `type` is set to `S3`, valid values are `NONE`, `ZIP`

func (ProjectArtifactsPtrOutput) Path

If `type` is set to `S3`, this is the path to the output artifact.

func (ProjectArtifactsPtrOutput) ToOutput added in v6.1.0

func (ProjectArtifactsPtrOutput) ToProjectArtifactsPtrOutput

func (o ProjectArtifactsPtrOutput) ToProjectArtifactsPtrOutput() ProjectArtifactsPtrOutput

func (ProjectArtifactsPtrOutput) ToProjectArtifactsPtrOutputWithContext

func (o ProjectArtifactsPtrOutput) ToProjectArtifactsPtrOutputWithContext(ctx context.Context) ProjectArtifactsPtrOutput

func (ProjectArtifactsPtrOutput) Type

Build output artifact's type. Valid values: `CODEPIPELINE`, `NO_ARTIFACTS`, `S3`.

type ProjectBuildBatchConfig

type ProjectBuildBatchConfig struct {
	// Specifies if the build artifacts for the batch build should be combined into a single artifact location.
	CombineArtifacts *bool `pulumi:"combineArtifacts"`
	// Configuration block specifying the restrictions for the batch build. Detailed below.
	Restrictions *ProjectBuildBatchConfigRestrictions `pulumi:"restrictions"`
	// Specifies the service role ARN for the batch build project.
	ServiceRole string `pulumi:"serviceRole"`
	// Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
	TimeoutInMins *int `pulumi:"timeoutInMins"`
}

type ProjectBuildBatchConfigArgs

type ProjectBuildBatchConfigArgs struct {
	// Specifies if the build artifacts for the batch build should be combined into a single artifact location.
	CombineArtifacts pulumi.BoolPtrInput `pulumi:"combineArtifacts"`
	// Configuration block specifying the restrictions for the batch build. Detailed below.
	Restrictions ProjectBuildBatchConfigRestrictionsPtrInput `pulumi:"restrictions"`
	// Specifies the service role ARN for the batch build project.
	ServiceRole pulumi.StringInput `pulumi:"serviceRole"`
	// Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
	TimeoutInMins pulumi.IntPtrInput `pulumi:"timeoutInMins"`
}

func (ProjectBuildBatchConfigArgs) ElementType

func (ProjectBuildBatchConfigArgs) ToOutput added in v6.1.0

func (ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigOutput

func (i ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigOutput() ProjectBuildBatchConfigOutput

func (ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigOutputWithContext

func (i ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigOutputWithContext(ctx context.Context) ProjectBuildBatchConfigOutput

func (ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigPtrOutput

func (i ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigPtrOutput() ProjectBuildBatchConfigPtrOutput

func (ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigPtrOutputWithContext

func (i ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigPtrOutputWithContext(ctx context.Context) ProjectBuildBatchConfigPtrOutput

type ProjectBuildBatchConfigInput

type ProjectBuildBatchConfigInput interface {
	pulumi.Input

	ToProjectBuildBatchConfigOutput() ProjectBuildBatchConfigOutput
	ToProjectBuildBatchConfigOutputWithContext(context.Context) ProjectBuildBatchConfigOutput
}

ProjectBuildBatchConfigInput is an input type that accepts ProjectBuildBatchConfigArgs and ProjectBuildBatchConfigOutput values. You can construct a concrete instance of `ProjectBuildBatchConfigInput` via:

ProjectBuildBatchConfigArgs{...}

type ProjectBuildBatchConfigOutput

type ProjectBuildBatchConfigOutput struct{ *pulumi.OutputState }

func (ProjectBuildBatchConfigOutput) CombineArtifacts

func (o ProjectBuildBatchConfigOutput) CombineArtifacts() pulumi.BoolPtrOutput

Specifies if the build artifacts for the batch build should be combined into a single artifact location.

func (ProjectBuildBatchConfigOutput) ElementType

func (ProjectBuildBatchConfigOutput) Restrictions

Configuration block specifying the restrictions for the batch build. Detailed below.

func (ProjectBuildBatchConfigOutput) ServiceRole

Specifies the service role ARN for the batch build project.

func (ProjectBuildBatchConfigOutput) TimeoutInMins

Specifies the maximum amount of time, in minutes, that the batch build must be completed in.

func (ProjectBuildBatchConfigOutput) ToOutput added in v6.1.0

func (ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigOutput

func (o ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigOutput() ProjectBuildBatchConfigOutput

func (ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigOutputWithContext

func (o ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigOutputWithContext(ctx context.Context) ProjectBuildBatchConfigOutput

func (ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigPtrOutput

func (o ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigPtrOutput() ProjectBuildBatchConfigPtrOutput

func (ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigPtrOutputWithContext

func (o ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigPtrOutputWithContext(ctx context.Context) ProjectBuildBatchConfigPtrOutput

type ProjectBuildBatchConfigPtrInput

type ProjectBuildBatchConfigPtrInput interface {
	pulumi.Input

	ToProjectBuildBatchConfigPtrOutput() ProjectBuildBatchConfigPtrOutput
	ToProjectBuildBatchConfigPtrOutputWithContext(context.Context) ProjectBuildBatchConfigPtrOutput
}

ProjectBuildBatchConfigPtrInput is an input type that accepts ProjectBuildBatchConfigArgs, ProjectBuildBatchConfigPtr and ProjectBuildBatchConfigPtrOutput values. You can construct a concrete instance of `ProjectBuildBatchConfigPtrInput` via:

        ProjectBuildBatchConfigArgs{...}

or:

        nil

type ProjectBuildBatchConfigPtrOutput

type ProjectBuildBatchConfigPtrOutput struct{ *pulumi.OutputState }

func (ProjectBuildBatchConfigPtrOutput) CombineArtifacts

Specifies if the build artifacts for the batch build should be combined into a single artifact location.

func (ProjectBuildBatchConfigPtrOutput) Elem

func (ProjectBuildBatchConfigPtrOutput) ElementType

func (ProjectBuildBatchConfigPtrOutput) Restrictions

Configuration block specifying the restrictions for the batch build. Detailed below.

func (ProjectBuildBatchConfigPtrOutput) ServiceRole

Specifies the service role ARN for the batch build project.

func (ProjectBuildBatchConfigPtrOutput) TimeoutInMins

Specifies the maximum amount of time, in minutes, that the batch build must be completed in.

func (ProjectBuildBatchConfigPtrOutput) ToOutput added in v6.1.0

func (ProjectBuildBatchConfigPtrOutput) ToProjectBuildBatchConfigPtrOutput

func (o ProjectBuildBatchConfigPtrOutput) ToProjectBuildBatchConfigPtrOutput() ProjectBuildBatchConfigPtrOutput

func (ProjectBuildBatchConfigPtrOutput) ToProjectBuildBatchConfigPtrOutputWithContext

func (o ProjectBuildBatchConfigPtrOutput) ToProjectBuildBatchConfigPtrOutputWithContext(ctx context.Context) ProjectBuildBatchConfigPtrOutput

type ProjectBuildBatchConfigRestrictions

type ProjectBuildBatchConfigRestrictions struct {
	// An array of strings that specify the compute types that are allowed for the batch build. See [Build environment compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html) in the AWS CodeBuild User Guide for these values.
	ComputeTypesAlloweds []string `pulumi:"computeTypesAlloweds"`
	// Specifies the maximum number of builds allowed.
	MaximumBuildsAllowed *int `pulumi:"maximumBuildsAllowed"`
}

type ProjectBuildBatchConfigRestrictionsArgs

type ProjectBuildBatchConfigRestrictionsArgs struct {
	// An array of strings that specify the compute types that are allowed for the batch build. See [Build environment compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html) in the AWS CodeBuild User Guide for these values.
	ComputeTypesAlloweds pulumi.StringArrayInput `pulumi:"computeTypesAlloweds"`
	// Specifies the maximum number of builds allowed.
	MaximumBuildsAllowed pulumi.IntPtrInput `pulumi:"maximumBuildsAllowed"`
}

func (ProjectBuildBatchConfigRestrictionsArgs) ElementType

func (ProjectBuildBatchConfigRestrictionsArgs) ToOutput added in v6.1.0

func (ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsOutput

func (i ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsOutput() ProjectBuildBatchConfigRestrictionsOutput

func (ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsOutputWithContext

func (i ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsOutputWithContext(ctx context.Context) ProjectBuildBatchConfigRestrictionsOutput

func (ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsPtrOutput

func (i ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsPtrOutput() ProjectBuildBatchConfigRestrictionsPtrOutput

func (ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsPtrOutputWithContext

func (i ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsPtrOutputWithContext(ctx context.Context) ProjectBuildBatchConfigRestrictionsPtrOutput

type ProjectBuildBatchConfigRestrictionsInput

type ProjectBuildBatchConfigRestrictionsInput interface {
	pulumi.Input

	ToProjectBuildBatchConfigRestrictionsOutput() ProjectBuildBatchConfigRestrictionsOutput
	ToProjectBuildBatchConfigRestrictionsOutputWithContext(context.Context) ProjectBuildBatchConfigRestrictionsOutput
}

ProjectBuildBatchConfigRestrictionsInput is an input type that accepts ProjectBuildBatchConfigRestrictionsArgs and ProjectBuildBatchConfigRestrictionsOutput values. You can construct a concrete instance of `ProjectBuildBatchConfigRestrictionsInput` via:

ProjectBuildBatchConfigRestrictionsArgs{...}

type ProjectBuildBatchConfigRestrictionsOutput

type ProjectBuildBatchConfigRestrictionsOutput struct{ *pulumi.OutputState }

func (ProjectBuildBatchConfigRestrictionsOutput) ComputeTypesAlloweds

An array of strings that specify the compute types that are allowed for the batch build. See [Build environment compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html) in the AWS CodeBuild User Guide for these values.

func (ProjectBuildBatchConfigRestrictionsOutput) ElementType

func (ProjectBuildBatchConfigRestrictionsOutput) MaximumBuildsAllowed

Specifies the maximum number of builds allowed.

func (ProjectBuildBatchConfigRestrictionsOutput) ToOutput added in v6.1.0

func (ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsOutput

func (o ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsOutput() ProjectBuildBatchConfigRestrictionsOutput

func (ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsOutputWithContext

func (o ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsOutputWithContext(ctx context.Context) ProjectBuildBatchConfigRestrictionsOutput

func (ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsPtrOutput

func (o ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsPtrOutput() ProjectBuildBatchConfigRestrictionsPtrOutput

func (ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsPtrOutputWithContext

func (o ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsPtrOutputWithContext(ctx context.Context) ProjectBuildBatchConfigRestrictionsPtrOutput

type ProjectBuildBatchConfigRestrictionsPtrInput

type ProjectBuildBatchConfigRestrictionsPtrInput interface {
	pulumi.Input

	ToProjectBuildBatchConfigRestrictionsPtrOutput() ProjectBuildBatchConfigRestrictionsPtrOutput
	ToProjectBuildBatchConfigRestrictionsPtrOutputWithContext(context.Context) ProjectBuildBatchConfigRestrictionsPtrOutput
}

ProjectBuildBatchConfigRestrictionsPtrInput is an input type that accepts ProjectBuildBatchConfigRestrictionsArgs, ProjectBuildBatchConfigRestrictionsPtr and ProjectBuildBatchConfigRestrictionsPtrOutput values. You can construct a concrete instance of `ProjectBuildBatchConfigRestrictionsPtrInput` via:

        ProjectBuildBatchConfigRestrictionsArgs{...}

or:

        nil

type ProjectBuildBatchConfigRestrictionsPtrOutput

type ProjectBuildBatchConfigRestrictionsPtrOutput struct{ *pulumi.OutputState }

func (ProjectBuildBatchConfigRestrictionsPtrOutput) ComputeTypesAlloweds

An array of strings that specify the compute types that are allowed for the batch build. See [Build environment compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html) in the AWS CodeBuild User Guide for these values.

func (ProjectBuildBatchConfigRestrictionsPtrOutput) Elem

func (ProjectBuildBatchConfigRestrictionsPtrOutput) ElementType

func (ProjectBuildBatchConfigRestrictionsPtrOutput) MaximumBuildsAllowed

Specifies the maximum number of builds allowed.

func (ProjectBuildBatchConfigRestrictionsPtrOutput) ToOutput added in v6.1.0

func (ProjectBuildBatchConfigRestrictionsPtrOutput) ToProjectBuildBatchConfigRestrictionsPtrOutput

func (o ProjectBuildBatchConfigRestrictionsPtrOutput) ToProjectBuildBatchConfigRestrictionsPtrOutput() ProjectBuildBatchConfigRestrictionsPtrOutput

func (ProjectBuildBatchConfigRestrictionsPtrOutput) ToProjectBuildBatchConfigRestrictionsPtrOutputWithContext

func (o ProjectBuildBatchConfigRestrictionsPtrOutput) ToProjectBuildBatchConfigRestrictionsPtrOutputWithContext(ctx context.Context) ProjectBuildBatchConfigRestrictionsPtrOutput

type ProjectCache

type ProjectCache struct {
	// Location where the AWS CodeBuild project stores cached resources. For type `S3`, the value must be a valid S3 bucket name/prefix.
	Location *string `pulumi:"location"`
	// Specifies settings that AWS CodeBuild uses to store and reuse build dependencies. Valid values:  `LOCAL_SOURCE_CACHE`, `LOCAL_DOCKER_LAYER_CACHE`, `LOCAL_CUSTOM_CACHE`.
	Modes []string `pulumi:"modes"`
	// Type of storage that will be used for the AWS CodeBuild project cache. Valid values: `NO_CACHE`, `LOCAL`, `S3`. Defaults to `NO_CACHE`.
	Type *string `pulumi:"type"`
}

type ProjectCacheArgs

type ProjectCacheArgs struct {
	// Location where the AWS CodeBuild project stores cached resources. For type `S3`, the value must be a valid S3 bucket name/prefix.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Specifies settings that AWS CodeBuild uses to store and reuse build dependencies. Valid values:  `LOCAL_SOURCE_CACHE`, `LOCAL_DOCKER_LAYER_CACHE`, `LOCAL_CUSTOM_CACHE`.
	Modes pulumi.StringArrayInput `pulumi:"modes"`
	// Type of storage that will be used for the AWS CodeBuild project cache. Valid values: `NO_CACHE`, `LOCAL`, `S3`. Defaults to `NO_CACHE`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ProjectCacheArgs) ElementType

func (ProjectCacheArgs) ElementType() reflect.Type

func (ProjectCacheArgs) ToOutput added in v6.1.0

func (ProjectCacheArgs) ToProjectCacheOutput

func (i ProjectCacheArgs) ToProjectCacheOutput() ProjectCacheOutput

func (ProjectCacheArgs) ToProjectCacheOutputWithContext

func (i ProjectCacheArgs) ToProjectCacheOutputWithContext(ctx context.Context) ProjectCacheOutput

func (ProjectCacheArgs) ToProjectCachePtrOutput

func (i ProjectCacheArgs) ToProjectCachePtrOutput() ProjectCachePtrOutput

func (ProjectCacheArgs) ToProjectCachePtrOutputWithContext

func (i ProjectCacheArgs) ToProjectCachePtrOutputWithContext(ctx context.Context) ProjectCachePtrOutput

type ProjectCacheInput

type ProjectCacheInput interface {
	pulumi.Input

	ToProjectCacheOutput() ProjectCacheOutput
	ToProjectCacheOutputWithContext(context.Context) ProjectCacheOutput
}

ProjectCacheInput is an input type that accepts ProjectCacheArgs and ProjectCacheOutput values. You can construct a concrete instance of `ProjectCacheInput` via:

ProjectCacheArgs{...}

type ProjectCacheOutput

type ProjectCacheOutput struct{ *pulumi.OutputState }

func (ProjectCacheOutput) ElementType

func (ProjectCacheOutput) ElementType() reflect.Type

func (ProjectCacheOutput) Location

Location where the AWS CodeBuild project stores cached resources. For type `S3`, the value must be a valid S3 bucket name/prefix.

func (ProjectCacheOutput) Modes

Specifies settings that AWS CodeBuild uses to store and reuse build dependencies. Valid values: `LOCAL_SOURCE_CACHE`, `LOCAL_DOCKER_LAYER_CACHE`, `LOCAL_CUSTOM_CACHE`.

func (ProjectCacheOutput) ToOutput added in v6.1.0

func (ProjectCacheOutput) ToProjectCacheOutput

func (o ProjectCacheOutput) ToProjectCacheOutput() ProjectCacheOutput

func (ProjectCacheOutput) ToProjectCacheOutputWithContext

func (o ProjectCacheOutput) ToProjectCacheOutputWithContext(ctx context.Context) ProjectCacheOutput

func (ProjectCacheOutput) ToProjectCachePtrOutput

func (o ProjectCacheOutput) ToProjectCachePtrOutput() ProjectCachePtrOutput

func (ProjectCacheOutput) ToProjectCachePtrOutputWithContext

func (o ProjectCacheOutput) ToProjectCachePtrOutputWithContext(ctx context.Context) ProjectCachePtrOutput

func (ProjectCacheOutput) Type

Type of storage that will be used for the AWS CodeBuild project cache. Valid values: `NO_CACHE`, `LOCAL`, `S3`. Defaults to `NO_CACHE`.

type ProjectCachePtrInput

type ProjectCachePtrInput interface {
	pulumi.Input

	ToProjectCachePtrOutput() ProjectCachePtrOutput
	ToProjectCachePtrOutputWithContext(context.Context) ProjectCachePtrOutput
}

ProjectCachePtrInput is an input type that accepts ProjectCacheArgs, ProjectCachePtr and ProjectCachePtrOutput values. You can construct a concrete instance of `ProjectCachePtrInput` via:

        ProjectCacheArgs{...}

or:

        nil

type ProjectCachePtrOutput

type ProjectCachePtrOutput struct{ *pulumi.OutputState }

func (ProjectCachePtrOutput) Elem

func (ProjectCachePtrOutput) ElementType

func (ProjectCachePtrOutput) ElementType() reflect.Type

func (ProjectCachePtrOutput) Location

Location where the AWS CodeBuild project stores cached resources. For type `S3`, the value must be a valid S3 bucket name/prefix.

func (ProjectCachePtrOutput) Modes

Specifies settings that AWS CodeBuild uses to store and reuse build dependencies. Valid values: `LOCAL_SOURCE_CACHE`, `LOCAL_DOCKER_LAYER_CACHE`, `LOCAL_CUSTOM_CACHE`.

func (ProjectCachePtrOutput) ToOutput added in v6.1.0

func (ProjectCachePtrOutput) ToProjectCachePtrOutput

func (o ProjectCachePtrOutput) ToProjectCachePtrOutput() ProjectCachePtrOutput

func (ProjectCachePtrOutput) ToProjectCachePtrOutputWithContext

func (o ProjectCachePtrOutput) ToProjectCachePtrOutputWithContext(ctx context.Context) ProjectCachePtrOutput

func (ProjectCachePtrOutput) Type

Type of storage that will be used for the AWS CodeBuild project cache. Valid values: `NO_CACHE`, `LOCAL`, `S3`. Defaults to `NO_CACHE`.

type ProjectEnvironment

type ProjectEnvironment struct {
	// ARN of the S3 bucket, path prefix and object key that contains the PEM-encoded certificate.
	Certificate *string `pulumi:"certificate"`
	// Information about the compute resources the build project will use. Valid values: `BUILD_GENERAL1_SMALL`, `BUILD_GENERAL1_MEDIUM`, `BUILD_GENERAL1_LARGE`, `BUILD_GENERAL1_2XLARGE`. `BUILD_GENERAL1_SMALL` is only valid if `type` is set to `LINUX_CONTAINER`. When `type` is set to `LINUX_GPU_CONTAINER`, `computeType` must be `BUILD_GENERAL1_LARGE`.
	ComputeType string `pulumi:"computeType"`
	// Configuration block. Detailed below.
	EnvironmentVariables []ProjectEnvironmentEnvironmentVariable `pulumi:"environmentVariables"`
	// Docker image to use for this build project. Valid values include [Docker images provided by CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html) (e.g `aws/codebuild/amazonlinux2-x86_64-standard:4.0`), [Docker Hub images](https://hub.docker.com/) (e.g., `pulumi/pulumi:latest`), and full Docker repository URIs such as those for ECR (e.g., `137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest`).
	Image string `pulumi:"image"`
	// Type of credentials AWS CodeBuild uses to pull images in your build. Valid values: `CODEBUILD`, `SERVICE_ROLE`. When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CodeBuild credentials. Defaults to `CODEBUILD`.
	ImagePullCredentialsType *string `pulumi:"imagePullCredentialsType"`
	// Whether to enable running the Docker daemon inside a Docker container. Defaults to `false`.
	PrivilegedMode *bool `pulumi:"privilegedMode"`
	// Configuration block. Detailed below.
	RegistryCredential *ProjectEnvironmentRegistryCredential `pulumi:"registryCredential"`
	// Type of environment variable. Valid values: `PARAMETER_STORE`, `PLAINTEXT`, `SECRETS_MANAGER`.
	Type string `pulumi:"type"`
}

type ProjectEnvironmentArgs

type ProjectEnvironmentArgs struct {
	// ARN of the S3 bucket, path prefix and object key that contains the PEM-encoded certificate.
	Certificate pulumi.StringPtrInput `pulumi:"certificate"`
	// Information about the compute resources the build project will use. Valid values: `BUILD_GENERAL1_SMALL`, `BUILD_GENERAL1_MEDIUM`, `BUILD_GENERAL1_LARGE`, `BUILD_GENERAL1_2XLARGE`. `BUILD_GENERAL1_SMALL` is only valid if `type` is set to `LINUX_CONTAINER`. When `type` is set to `LINUX_GPU_CONTAINER`, `computeType` must be `BUILD_GENERAL1_LARGE`.
	ComputeType pulumi.StringInput `pulumi:"computeType"`
	// Configuration block. Detailed below.
	EnvironmentVariables ProjectEnvironmentEnvironmentVariableArrayInput `pulumi:"environmentVariables"`
	// Docker image to use for this build project. Valid values include [Docker images provided by CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html) (e.g `aws/codebuild/amazonlinux2-x86_64-standard:4.0`), [Docker Hub images](https://hub.docker.com/) (e.g., `pulumi/pulumi:latest`), and full Docker repository URIs such as those for ECR (e.g., `137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest`).
	Image pulumi.StringInput `pulumi:"image"`
	// Type of credentials AWS CodeBuild uses to pull images in your build. Valid values: `CODEBUILD`, `SERVICE_ROLE`. When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CodeBuild credentials. Defaults to `CODEBUILD`.
	ImagePullCredentialsType pulumi.StringPtrInput `pulumi:"imagePullCredentialsType"`
	// Whether to enable running the Docker daemon inside a Docker container. Defaults to `false`.
	PrivilegedMode pulumi.BoolPtrInput `pulumi:"privilegedMode"`
	// Configuration block. Detailed below.
	RegistryCredential ProjectEnvironmentRegistryCredentialPtrInput `pulumi:"registryCredential"`
	// Type of environment variable. Valid values: `PARAMETER_STORE`, `PLAINTEXT`, `SECRETS_MANAGER`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ProjectEnvironmentArgs) ElementType

func (ProjectEnvironmentArgs) ElementType() reflect.Type

func (ProjectEnvironmentArgs) ToOutput added in v6.1.0

func (ProjectEnvironmentArgs) ToProjectEnvironmentOutput

func (i ProjectEnvironmentArgs) ToProjectEnvironmentOutput() ProjectEnvironmentOutput

func (ProjectEnvironmentArgs) ToProjectEnvironmentOutputWithContext

func (i ProjectEnvironmentArgs) ToProjectEnvironmentOutputWithContext(ctx context.Context) ProjectEnvironmentOutput

func (ProjectEnvironmentArgs) ToProjectEnvironmentPtrOutput

func (i ProjectEnvironmentArgs) ToProjectEnvironmentPtrOutput() ProjectEnvironmentPtrOutput

func (ProjectEnvironmentArgs) ToProjectEnvironmentPtrOutputWithContext

func (i ProjectEnvironmentArgs) ToProjectEnvironmentPtrOutputWithContext(ctx context.Context) ProjectEnvironmentPtrOutput

type ProjectEnvironmentEnvironmentVariable

type ProjectEnvironmentEnvironmentVariable struct {
	// Project's name.
	Name string `pulumi:"name"`
	// Build output artifact's type. Valid values: `CODEPIPELINE`, `NO_ARTIFACTS`, `S3`.
	Type *string `pulumi:"type"`
	// Environment variable's value.
	Value string `pulumi:"value"`
}

type ProjectEnvironmentEnvironmentVariableArgs

type ProjectEnvironmentEnvironmentVariableArgs struct {
	// Project's name.
	Name pulumi.StringInput `pulumi:"name"`
	// Build output artifact's type. Valid values: `CODEPIPELINE`, `NO_ARTIFACTS`, `S3`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// Environment variable's value.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ProjectEnvironmentEnvironmentVariableArgs) ElementType

func (ProjectEnvironmentEnvironmentVariableArgs) ToOutput added in v6.1.0

func (ProjectEnvironmentEnvironmentVariableArgs) ToProjectEnvironmentEnvironmentVariableOutput

func (i ProjectEnvironmentEnvironmentVariableArgs) ToProjectEnvironmentEnvironmentVariableOutput() ProjectEnvironmentEnvironmentVariableOutput

func (ProjectEnvironmentEnvironmentVariableArgs) ToProjectEnvironmentEnvironmentVariableOutputWithContext

func (i ProjectEnvironmentEnvironmentVariableArgs) ToProjectEnvironmentEnvironmentVariableOutputWithContext(ctx context.Context) ProjectEnvironmentEnvironmentVariableOutput

type ProjectEnvironmentEnvironmentVariableArray

type ProjectEnvironmentEnvironmentVariableArray []ProjectEnvironmentEnvironmentVariableInput

func (ProjectEnvironmentEnvironmentVariableArray) ElementType

func (ProjectEnvironmentEnvironmentVariableArray) ToOutput added in v6.1.0

func (ProjectEnvironmentEnvironmentVariableArray) ToProjectEnvironmentEnvironmentVariableArrayOutput

func (i ProjectEnvironmentEnvironmentVariableArray) ToProjectEnvironmentEnvironmentVariableArrayOutput() ProjectEnvironmentEnvironmentVariableArrayOutput

func (ProjectEnvironmentEnvironmentVariableArray) ToProjectEnvironmentEnvironmentVariableArrayOutputWithContext

func (i ProjectEnvironmentEnvironmentVariableArray) ToProjectEnvironmentEnvironmentVariableArrayOutputWithContext(ctx context.Context) ProjectEnvironmentEnvironmentVariableArrayOutput

type ProjectEnvironmentEnvironmentVariableArrayInput

type ProjectEnvironmentEnvironmentVariableArrayInput interface {
	pulumi.Input

	ToProjectEnvironmentEnvironmentVariableArrayOutput() ProjectEnvironmentEnvironmentVariableArrayOutput
	ToProjectEnvironmentEnvironmentVariableArrayOutputWithContext(context.Context) ProjectEnvironmentEnvironmentVariableArrayOutput
}

ProjectEnvironmentEnvironmentVariableArrayInput is an input type that accepts ProjectEnvironmentEnvironmentVariableArray and ProjectEnvironmentEnvironmentVariableArrayOutput values. You can construct a concrete instance of `ProjectEnvironmentEnvironmentVariableArrayInput` via:

ProjectEnvironmentEnvironmentVariableArray{ ProjectEnvironmentEnvironmentVariableArgs{...} }

type ProjectEnvironmentEnvironmentVariableArrayOutput

type ProjectEnvironmentEnvironmentVariableArrayOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentEnvironmentVariableArrayOutput) ElementType

func (ProjectEnvironmentEnvironmentVariableArrayOutput) Index

func (ProjectEnvironmentEnvironmentVariableArrayOutput) ToOutput added in v6.1.0

func (ProjectEnvironmentEnvironmentVariableArrayOutput) ToProjectEnvironmentEnvironmentVariableArrayOutput

func (o ProjectEnvironmentEnvironmentVariableArrayOutput) ToProjectEnvironmentEnvironmentVariableArrayOutput() ProjectEnvironmentEnvironmentVariableArrayOutput

func (ProjectEnvironmentEnvironmentVariableArrayOutput) ToProjectEnvironmentEnvironmentVariableArrayOutputWithContext

func (o ProjectEnvironmentEnvironmentVariableArrayOutput) ToProjectEnvironmentEnvironmentVariableArrayOutputWithContext(ctx context.Context) ProjectEnvironmentEnvironmentVariableArrayOutput

type ProjectEnvironmentEnvironmentVariableInput

type ProjectEnvironmentEnvironmentVariableInput interface {
	pulumi.Input

	ToProjectEnvironmentEnvironmentVariableOutput() ProjectEnvironmentEnvironmentVariableOutput
	ToProjectEnvironmentEnvironmentVariableOutputWithContext(context.Context) ProjectEnvironmentEnvironmentVariableOutput
}

ProjectEnvironmentEnvironmentVariableInput is an input type that accepts ProjectEnvironmentEnvironmentVariableArgs and ProjectEnvironmentEnvironmentVariableOutput values. You can construct a concrete instance of `ProjectEnvironmentEnvironmentVariableInput` via:

ProjectEnvironmentEnvironmentVariableArgs{...}

type ProjectEnvironmentEnvironmentVariableOutput

type ProjectEnvironmentEnvironmentVariableOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentEnvironmentVariableOutput) ElementType

func (ProjectEnvironmentEnvironmentVariableOutput) Name

Project's name.

func (ProjectEnvironmentEnvironmentVariableOutput) ToOutput added in v6.1.0

func (ProjectEnvironmentEnvironmentVariableOutput) ToProjectEnvironmentEnvironmentVariableOutput

func (o ProjectEnvironmentEnvironmentVariableOutput) ToProjectEnvironmentEnvironmentVariableOutput() ProjectEnvironmentEnvironmentVariableOutput

func (ProjectEnvironmentEnvironmentVariableOutput) ToProjectEnvironmentEnvironmentVariableOutputWithContext

func (o ProjectEnvironmentEnvironmentVariableOutput) ToProjectEnvironmentEnvironmentVariableOutputWithContext(ctx context.Context) ProjectEnvironmentEnvironmentVariableOutput

func (ProjectEnvironmentEnvironmentVariableOutput) Type

Build output artifact's type. Valid values: `CODEPIPELINE`, `NO_ARTIFACTS`, `S3`.

func (ProjectEnvironmentEnvironmentVariableOutput) Value

Environment variable's value.

type ProjectEnvironmentInput

type ProjectEnvironmentInput interface {
	pulumi.Input

	ToProjectEnvironmentOutput() ProjectEnvironmentOutput
	ToProjectEnvironmentOutputWithContext(context.Context) ProjectEnvironmentOutput
}

ProjectEnvironmentInput is an input type that accepts ProjectEnvironmentArgs and ProjectEnvironmentOutput values. You can construct a concrete instance of `ProjectEnvironmentInput` via:

ProjectEnvironmentArgs{...}

type ProjectEnvironmentOutput

type ProjectEnvironmentOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentOutput) Certificate

ARN of the S3 bucket, path prefix and object key that contains the PEM-encoded certificate.

func (ProjectEnvironmentOutput) ComputeType

Information about the compute resources the build project will use. Valid values: `BUILD_GENERAL1_SMALL`, `BUILD_GENERAL1_MEDIUM`, `BUILD_GENERAL1_LARGE`, `BUILD_GENERAL1_2XLARGE`. `BUILD_GENERAL1_SMALL` is only valid if `type` is set to `LINUX_CONTAINER`. When `type` is set to `LINUX_GPU_CONTAINER`, `computeType` must be `BUILD_GENERAL1_LARGE`.

func (ProjectEnvironmentOutput) ElementType

func (ProjectEnvironmentOutput) ElementType() reflect.Type

func (ProjectEnvironmentOutput) EnvironmentVariables

Configuration block. Detailed below.

func (ProjectEnvironmentOutput) Image

Docker image to use for this build project. Valid values include [Docker images provided by CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html) (e.g `aws/codebuild/amazonlinux2-x86_64-standard:4.0`), [Docker Hub images](https://hub.docker.com/) (e.g., `pulumi/pulumi:latest`), and full Docker repository URIs such as those for ECR (e.g., `137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest`).

func (ProjectEnvironmentOutput) ImagePullCredentialsType

func (o ProjectEnvironmentOutput) ImagePullCredentialsType() pulumi.StringPtrOutput

Type of credentials AWS CodeBuild uses to pull images in your build. Valid values: `CODEBUILD`, `SERVICE_ROLE`. When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CodeBuild credentials. Defaults to `CODEBUILD`.

func (ProjectEnvironmentOutput) PrivilegedMode

func (o ProjectEnvironmentOutput) PrivilegedMode() pulumi.BoolPtrOutput

Whether to enable running the Docker daemon inside a Docker container. Defaults to `false`.

func (ProjectEnvironmentOutput) RegistryCredential

Configuration block. Detailed below.

func (ProjectEnvironmentOutput) ToOutput added in v6.1.0

func (ProjectEnvironmentOutput) ToProjectEnvironmentOutput

func (o ProjectEnvironmentOutput) ToProjectEnvironmentOutput() ProjectEnvironmentOutput

func (ProjectEnvironmentOutput) ToProjectEnvironmentOutputWithContext

func (o ProjectEnvironmentOutput) ToProjectEnvironmentOutputWithContext(ctx context.Context) ProjectEnvironmentOutput

func (ProjectEnvironmentOutput) ToProjectEnvironmentPtrOutput

func (o ProjectEnvironmentOutput) ToProjectEnvironmentPtrOutput() ProjectEnvironmentPtrOutput

func (ProjectEnvironmentOutput) ToProjectEnvironmentPtrOutputWithContext

func (o ProjectEnvironmentOutput) ToProjectEnvironmentPtrOutputWithContext(ctx context.Context) ProjectEnvironmentPtrOutput

func (ProjectEnvironmentOutput) Type

Type of environment variable. Valid values: `PARAMETER_STORE`, `PLAINTEXT`, `SECRETS_MANAGER`.

type ProjectEnvironmentPtrInput

type ProjectEnvironmentPtrInput interface {
	pulumi.Input

	ToProjectEnvironmentPtrOutput() ProjectEnvironmentPtrOutput
	ToProjectEnvironmentPtrOutputWithContext(context.Context) ProjectEnvironmentPtrOutput
}

ProjectEnvironmentPtrInput is an input type that accepts ProjectEnvironmentArgs, ProjectEnvironmentPtr and ProjectEnvironmentPtrOutput values. You can construct a concrete instance of `ProjectEnvironmentPtrInput` via:

        ProjectEnvironmentArgs{...}

or:

        nil

type ProjectEnvironmentPtrOutput

type ProjectEnvironmentPtrOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentPtrOutput) Certificate

ARN of the S3 bucket, path prefix and object key that contains the PEM-encoded certificate.

func (ProjectEnvironmentPtrOutput) ComputeType

Information about the compute resources the build project will use. Valid values: `BUILD_GENERAL1_SMALL`, `BUILD_GENERAL1_MEDIUM`, `BUILD_GENERAL1_LARGE`, `BUILD_GENERAL1_2XLARGE`. `BUILD_GENERAL1_SMALL` is only valid if `type` is set to `LINUX_CONTAINER`. When `type` is set to `LINUX_GPU_CONTAINER`, `computeType` must be `BUILD_GENERAL1_LARGE`.

func (ProjectEnvironmentPtrOutput) Elem

func (ProjectEnvironmentPtrOutput) ElementType

func (ProjectEnvironmentPtrOutput) EnvironmentVariables

Configuration block. Detailed below.

func (ProjectEnvironmentPtrOutput) Image

Docker image to use for this build project. Valid values include [Docker images provided by CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html) (e.g `aws/codebuild/amazonlinux2-x86_64-standard:4.0`), [Docker Hub images](https://hub.docker.com/) (e.g., `pulumi/pulumi:latest`), and full Docker repository URIs such as those for ECR (e.g., `137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest`).

func (ProjectEnvironmentPtrOutput) ImagePullCredentialsType

func (o ProjectEnvironmentPtrOutput) ImagePullCredentialsType() pulumi.StringPtrOutput

Type of credentials AWS CodeBuild uses to pull images in your build. Valid values: `CODEBUILD`, `SERVICE_ROLE`. When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CodeBuild credentials. Defaults to `CODEBUILD`.

func (ProjectEnvironmentPtrOutput) PrivilegedMode

Whether to enable running the Docker daemon inside a Docker container. Defaults to `false`.

func (ProjectEnvironmentPtrOutput) RegistryCredential

Configuration block. Detailed below.

func (ProjectEnvironmentPtrOutput) ToOutput added in v6.1.0

func (ProjectEnvironmentPtrOutput) ToProjectEnvironmentPtrOutput

func (o ProjectEnvironmentPtrOutput) ToProjectEnvironmentPtrOutput() ProjectEnvironmentPtrOutput

func (ProjectEnvironmentPtrOutput) ToProjectEnvironmentPtrOutputWithContext

func (o ProjectEnvironmentPtrOutput) ToProjectEnvironmentPtrOutputWithContext(ctx context.Context) ProjectEnvironmentPtrOutput

func (ProjectEnvironmentPtrOutput) Type

Type of environment variable. Valid values: `PARAMETER_STORE`, `PLAINTEXT`, `SECRETS_MANAGER`.

type ProjectEnvironmentRegistryCredential

type ProjectEnvironmentRegistryCredential struct {
	// ARN or name of credentials created using AWS Secrets Manager.
	Credential string `pulumi:"credential"`
	// Service that created the credentials to access a private Docker registry. Valid value: `SECRETS_MANAGER` (AWS Secrets Manager).
	CredentialProvider string `pulumi:"credentialProvider"`
}

type ProjectEnvironmentRegistryCredentialArgs

type ProjectEnvironmentRegistryCredentialArgs struct {
	// ARN or name of credentials created using AWS Secrets Manager.
	Credential pulumi.StringInput `pulumi:"credential"`
	// Service that created the credentials to access a private Docker registry. Valid value: `SECRETS_MANAGER` (AWS Secrets Manager).
	CredentialProvider pulumi.StringInput `pulumi:"credentialProvider"`
}

func (ProjectEnvironmentRegistryCredentialArgs) ElementType

func (ProjectEnvironmentRegistryCredentialArgs) ToOutput added in v6.1.0

func (ProjectEnvironmentRegistryCredentialArgs) ToProjectEnvironmentRegistryCredentialOutput

func (i ProjectEnvironmentRegistryCredentialArgs) ToProjectEnvironmentRegistryCredentialOutput() ProjectEnvironmentRegistryCredentialOutput

func (ProjectEnvironmentRegistryCredentialArgs) ToProjectEnvironmentRegistryCredentialOutputWithContext

func (i ProjectEnvironmentRegistryCredentialArgs) ToProjectEnvironmentRegistryCredentialOutputWithContext(ctx context.Context) ProjectEnvironmentRegistryCredentialOutput

func (ProjectEnvironmentRegistryCredentialArgs) ToProjectEnvironmentRegistryCredentialPtrOutput

func (i ProjectEnvironmentRegistryCredentialArgs) ToProjectEnvironmentRegistryCredentialPtrOutput() ProjectEnvironmentRegistryCredentialPtrOutput

func (ProjectEnvironmentRegistryCredentialArgs) ToProjectEnvironmentRegistryCredentialPtrOutputWithContext

func (i ProjectEnvironmentRegistryCredentialArgs) ToProjectEnvironmentRegistryCredentialPtrOutputWithContext(ctx context.Context) ProjectEnvironmentRegistryCredentialPtrOutput

type ProjectEnvironmentRegistryCredentialInput

type ProjectEnvironmentRegistryCredentialInput interface {
	pulumi.Input

	ToProjectEnvironmentRegistryCredentialOutput() ProjectEnvironmentRegistryCredentialOutput
	ToProjectEnvironmentRegistryCredentialOutputWithContext(context.Context) ProjectEnvironmentRegistryCredentialOutput
}

ProjectEnvironmentRegistryCredentialInput is an input type that accepts ProjectEnvironmentRegistryCredentialArgs and ProjectEnvironmentRegistryCredentialOutput values. You can construct a concrete instance of `ProjectEnvironmentRegistryCredentialInput` via:

ProjectEnvironmentRegistryCredentialArgs{...}

type ProjectEnvironmentRegistryCredentialOutput

type ProjectEnvironmentRegistryCredentialOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentRegistryCredentialOutput) Credential

ARN or name of credentials created using AWS Secrets Manager.

func (ProjectEnvironmentRegistryCredentialOutput) CredentialProvider

Service that created the credentials to access a private Docker registry. Valid value: `SECRETS_MANAGER` (AWS Secrets Manager).

func (ProjectEnvironmentRegistryCredentialOutput) ElementType

func (ProjectEnvironmentRegistryCredentialOutput) ToOutput added in v6.1.0

func (ProjectEnvironmentRegistryCredentialOutput) ToProjectEnvironmentRegistryCredentialOutput

func (o ProjectEnvironmentRegistryCredentialOutput) ToProjectEnvironmentRegistryCredentialOutput() ProjectEnvironmentRegistryCredentialOutput

func (ProjectEnvironmentRegistryCredentialOutput) ToProjectEnvironmentRegistryCredentialOutputWithContext

func (o ProjectEnvironmentRegistryCredentialOutput) ToProjectEnvironmentRegistryCredentialOutputWithContext(ctx context.Context) ProjectEnvironmentRegistryCredentialOutput

func (ProjectEnvironmentRegistryCredentialOutput) ToProjectEnvironmentRegistryCredentialPtrOutput

func (o ProjectEnvironmentRegistryCredentialOutput) ToProjectEnvironmentRegistryCredentialPtrOutput() ProjectEnvironmentRegistryCredentialPtrOutput

func (ProjectEnvironmentRegistryCredentialOutput) ToProjectEnvironmentRegistryCredentialPtrOutputWithContext

func (o ProjectEnvironmentRegistryCredentialOutput) ToProjectEnvironmentRegistryCredentialPtrOutputWithContext(ctx context.Context) ProjectEnvironmentRegistryCredentialPtrOutput

type ProjectEnvironmentRegistryCredentialPtrInput

type ProjectEnvironmentRegistryCredentialPtrInput interface {
	pulumi.Input

	ToProjectEnvironmentRegistryCredentialPtrOutput() ProjectEnvironmentRegistryCredentialPtrOutput
	ToProjectEnvironmentRegistryCredentialPtrOutputWithContext(context.Context) ProjectEnvironmentRegistryCredentialPtrOutput
}

ProjectEnvironmentRegistryCredentialPtrInput is an input type that accepts ProjectEnvironmentRegistryCredentialArgs, ProjectEnvironmentRegistryCredentialPtr and ProjectEnvironmentRegistryCredentialPtrOutput values. You can construct a concrete instance of `ProjectEnvironmentRegistryCredentialPtrInput` via:

        ProjectEnvironmentRegistryCredentialArgs{...}

or:

        nil

type ProjectEnvironmentRegistryCredentialPtrOutput

type ProjectEnvironmentRegistryCredentialPtrOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentRegistryCredentialPtrOutput) Credential

ARN or name of credentials created using AWS Secrets Manager.

func (ProjectEnvironmentRegistryCredentialPtrOutput) CredentialProvider

Service that created the credentials to access a private Docker registry. Valid value: `SECRETS_MANAGER` (AWS Secrets Manager).

func (ProjectEnvironmentRegistryCredentialPtrOutput) Elem

func (ProjectEnvironmentRegistryCredentialPtrOutput) ElementType

func (ProjectEnvironmentRegistryCredentialPtrOutput) ToOutput added in v6.1.0

func (ProjectEnvironmentRegistryCredentialPtrOutput) ToProjectEnvironmentRegistryCredentialPtrOutput

func (o ProjectEnvironmentRegistryCredentialPtrOutput) ToProjectEnvironmentRegistryCredentialPtrOutput() ProjectEnvironmentRegistryCredentialPtrOutput

func (ProjectEnvironmentRegistryCredentialPtrOutput) ToProjectEnvironmentRegistryCredentialPtrOutputWithContext

func (o ProjectEnvironmentRegistryCredentialPtrOutput) ToProjectEnvironmentRegistryCredentialPtrOutputWithContext(ctx context.Context) ProjectEnvironmentRegistryCredentialPtrOutput

type ProjectFileSystemLocation

type ProjectFileSystemLocation struct {
	// The name used to access a file system created by Amazon EFS. CodeBuild creates an environment variable by appending the identifier in all capital letters to CODEBUILD\_. For example, if you specify my-efs for identifier, a new environment variable is create named CODEBUILD_MY-EFS.
	Identifier *string `pulumi:"identifier"`
	// A string that specifies the location of the file system created by Amazon EFS. Its format is `efs-dns-name:/directory-path`.
	Location *string `pulumi:"location"`
	// The mount options for a file system created by AWS EFS.
	MountOptions *string `pulumi:"mountOptions"`
	// The location in the container where you mount the file system.
	MountPoint *string `pulumi:"mountPoint"`
	// The type of the file system. The one supported type is `EFS`.
	Type *string `pulumi:"type"`
}

type ProjectFileSystemLocationArgs

type ProjectFileSystemLocationArgs struct {
	// The name used to access a file system created by Amazon EFS. CodeBuild creates an environment variable by appending the identifier in all capital letters to CODEBUILD\_. For example, if you specify my-efs for identifier, a new environment variable is create named CODEBUILD_MY-EFS.
	Identifier pulumi.StringPtrInput `pulumi:"identifier"`
	// A string that specifies the location of the file system created by Amazon EFS. Its format is `efs-dns-name:/directory-path`.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// The mount options for a file system created by AWS EFS.
	MountOptions pulumi.StringPtrInput `pulumi:"mountOptions"`
	// The location in the container where you mount the file system.
	MountPoint pulumi.StringPtrInput `pulumi:"mountPoint"`
	// The type of the file system. The one supported type is `EFS`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ProjectFileSystemLocationArgs) ElementType

func (ProjectFileSystemLocationArgs) ToOutput added in v6.1.0

func (ProjectFileSystemLocationArgs) ToProjectFileSystemLocationOutput

func (i ProjectFileSystemLocationArgs) ToProjectFileSystemLocationOutput() ProjectFileSystemLocationOutput

func (ProjectFileSystemLocationArgs) ToProjectFileSystemLocationOutputWithContext

func (i ProjectFileSystemLocationArgs) ToProjectFileSystemLocationOutputWithContext(ctx context.Context) ProjectFileSystemLocationOutput

type ProjectFileSystemLocationArray

type ProjectFileSystemLocationArray []ProjectFileSystemLocationInput

func (ProjectFileSystemLocationArray) ElementType

func (ProjectFileSystemLocationArray) ToOutput added in v6.1.0

func (ProjectFileSystemLocationArray) ToProjectFileSystemLocationArrayOutput

func (i ProjectFileSystemLocationArray) ToProjectFileSystemLocationArrayOutput() ProjectFileSystemLocationArrayOutput

func (ProjectFileSystemLocationArray) ToProjectFileSystemLocationArrayOutputWithContext

func (i ProjectFileSystemLocationArray) ToProjectFileSystemLocationArrayOutputWithContext(ctx context.Context) ProjectFileSystemLocationArrayOutput

type ProjectFileSystemLocationArrayInput

type ProjectFileSystemLocationArrayInput interface {
	pulumi.Input

	ToProjectFileSystemLocationArrayOutput() ProjectFileSystemLocationArrayOutput
	ToProjectFileSystemLocationArrayOutputWithContext(context.Context) ProjectFileSystemLocationArrayOutput
}

ProjectFileSystemLocationArrayInput is an input type that accepts ProjectFileSystemLocationArray and ProjectFileSystemLocationArrayOutput values. You can construct a concrete instance of `ProjectFileSystemLocationArrayInput` via:

ProjectFileSystemLocationArray{ ProjectFileSystemLocationArgs{...} }

type ProjectFileSystemLocationArrayOutput

type ProjectFileSystemLocationArrayOutput struct{ *pulumi.OutputState }

func (ProjectFileSystemLocationArrayOutput) ElementType

func (ProjectFileSystemLocationArrayOutput) Index

func (ProjectFileSystemLocationArrayOutput) ToOutput added in v6.1.0

func (ProjectFileSystemLocationArrayOutput) ToProjectFileSystemLocationArrayOutput

func (o ProjectFileSystemLocationArrayOutput) ToProjectFileSystemLocationArrayOutput() ProjectFileSystemLocationArrayOutput

func (ProjectFileSystemLocationArrayOutput) ToProjectFileSystemLocationArrayOutputWithContext

func (o ProjectFileSystemLocationArrayOutput) ToProjectFileSystemLocationArrayOutputWithContext(ctx context.Context) ProjectFileSystemLocationArrayOutput

type ProjectFileSystemLocationInput

type ProjectFileSystemLocationInput interface {
	pulumi.Input

	ToProjectFileSystemLocationOutput() ProjectFileSystemLocationOutput
	ToProjectFileSystemLocationOutputWithContext(context.Context) ProjectFileSystemLocationOutput
}

ProjectFileSystemLocationInput is an input type that accepts ProjectFileSystemLocationArgs and ProjectFileSystemLocationOutput values. You can construct a concrete instance of `ProjectFileSystemLocationInput` via:

ProjectFileSystemLocationArgs{...}

type ProjectFileSystemLocationOutput

type ProjectFileSystemLocationOutput struct{ *pulumi.OutputState }

func (ProjectFileSystemLocationOutput) ElementType

func (ProjectFileSystemLocationOutput) Identifier

The name used to access a file system created by Amazon EFS. CodeBuild creates an environment variable by appending the identifier in all capital letters to CODEBUILD\_. For example, if you specify my-efs for identifier, a new environment variable is create named CODEBUILD_MY-EFS.

func (ProjectFileSystemLocationOutput) Location

A string that specifies the location of the file system created by Amazon EFS. Its format is `efs-dns-name:/directory-path`.

func (ProjectFileSystemLocationOutput) MountOptions

The mount options for a file system created by AWS EFS.

func (ProjectFileSystemLocationOutput) MountPoint

The location in the container where you mount the file system.

func (ProjectFileSystemLocationOutput) ToOutput added in v6.1.0

func (ProjectFileSystemLocationOutput) ToProjectFileSystemLocationOutput

func (o ProjectFileSystemLocationOutput) ToProjectFileSystemLocationOutput() ProjectFileSystemLocationOutput

func (ProjectFileSystemLocationOutput) ToProjectFileSystemLocationOutputWithContext

func (o ProjectFileSystemLocationOutput) ToProjectFileSystemLocationOutputWithContext(ctx context.Context) ProjectFileSystemLocationOutput

func (ProjectFileSystemLocationOutput) Type

The type of the file system. The one supported type is `EFS`.

type ProjectInput

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectLogsConfig

type ProjectLogsConfig struct {
	// Configuration block. Detailed below.
	CloudwatchLogs *ProjectLogsConfigCloudwatchLogs `pulumi:"cloudwatchLogs"`
	// Configuration block. Detailed below.
	S3Logs *ProjectLogsConfigS3Logs `pulumi:"s3Logs"`
}

type ProjectLogsConfigArgs

type ProjectLogsConfigArgs struct {
	// Configuration block. Detailed below.
	CloudwatchLogs ProjectLogsConfigCloudwatchLogsPtrInput `pulumi:"cloudwatchLogs"`
	// Configuration block. Detailed below.
	S3Logs ProjectLogsConfigS3LogsPtrInput `pulumi:"s3Logs"`
}

func (ProjectLogsConfigArgs) ElementType

func (ProjectLogsConfigArgs) ElementType() reflect.Type

func (ProjectLogsConfigArgs) ToOutput added in v6.1.0

func (ProjectLogsConfigArgs) ToProjectLogsConfigOutput

func (i ProjectLogsConfigArgs) ToProjectLogsConfigOutput() ProjectLogsConfigOutput

func (ProjectLogsConfigArgs) ToProjectLogsConfigOutputWithContext

func (i ProjectLogsConfigArgs) ToProjectLogsConfigOutputWithContext(ctx context.Context) ProjectLogsConfigOutput

func (ProjectLogsConfigArgs) ToProjectLogsConfigPtrOutput

func (i ProjectLogsConfigArgs) ToProjectLogsConfigPtrOutput() ProjectLogsConfigPtrOutput

func (ProjectLogsConfigArgs) ToProjectLogsConfigPtrOutputWithContext

func (i ProjectLogsConfigArgs) ToProjectLogsConfigPtrOutputWithContext(ctx context.Context) ProjectLogsConfigPtrOutput

type ProjectLogsConfigCloudwatchLogs

type ProjectLogsConfigCloudwatchLogs struct {
	// Group name of the logs in CloudWatch Logs.
	GroupName *string `pulumi:"groupName"`
	// Current status of logs in CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.
	Status *string `pulumi:"status"`
	// Stream name of the logs in CloudWatch Logs.
	StreamName *string `pulumi:"streamName"`
}

type ProjectLogsConfigCloudwatchLogsArgs

type ProjectLogsConfigCloudwatchLogsArgs struct {
	// Group name of the logs in CloudWatch Logs.
	GroupName pulumi.StringPtrInput `pulumi:"groupName"`
	// Current status of logs in CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Stream name of the logs in CloudWatch Logs.
	StreamName pulumi.StringPtrInput `pulumi:"streamName"`
}

func (ProjectLogsConfigCloudwatchLogsArgs) ElementType

func (ProjectLogsConfigCloudwatchLogsArgs) ToOutput added in v6.1.0

func (ProjectLogsConfigCloudwatchLogsArgs) ToProjectLogsConfigCloudwatchLogsOutput

func (i ProjectLogsConfigCloudwatchLogsArgs) ToProjectLogsConfigCloudwatchLogsOutput() ProjectLogsConfigCloudwatchLogsOutput

func (ProjectLogsConfigCloudwatchLogsArgs) ToProjectLogsConfigCloudwatchLogsOutputWithContext

func (i ProjectLogsConfigCloudwatchLogsArgs) ToProjectLogsConfigCloudwatchLogsOutputWithContext(ctx context.Context) ProjectLogsConfigCloudwatchLogsOutput

func (ProjectLogsConfigCloudwatchLogsArgs) ToProjectLogsConfigCloudwatchLogsPtrOutput

func (i ProjectLogsConfigCloudwatchLogsArgs) ToProjectLogsConfigCloudwatchLogsPtrOutput() ProjectLogsConfigCloudwatchLogsPtrOutput

func (ProjectLogsConfigCloudwatchLogsArgs) ToProjectLogsConfigCloudwatchLogsPtrOutputWithContext

func (i ProjectLogsConfigCloudwatchLogsArgs) ToProjectLogsConfigCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectLogsConfigCloudwatchLogsPtrOutput

type ProjectLogsConfigCloudwatchLogsInput

type ProjectLogsConfigCloudwatchLogsInput interface {
	pulumi.Input

	ToProjectLogsConfigCloudwatchLogsOutput() ProjectLogsConfigCloudwatchLogsOutput
	ToProjectLogsConfigCloudwatchLogsOutputWithContext(context.Context) ProjectLogsConfigCloudwatchLogsOutput
}

ProjectLogsConfigCloudwatchLogsInput is an input type that accepts ProjectLogsConfigCloudwatchLogsArgs and ProjectLogsConfigCloudwatchLogsOutput values. You can construct a concrete instance of `ProjectLogsConfigCloudwatchLogsInput` via:

ProjectLogsConfigCloudwatchLogsArgs{...}

type ProjectLogsConfigCloudwatchLogsOutput

type ProjectLogsConfigCloudwatchLogsOutput struct{ *pulumi.OutputState }

func (ProjectLogsConfigCloudwatchLogsOutput) ElementType

func (ProjectLogsConfigCloudwatchLogsOutput) GroupName

Group name of the logs in CloudWatch Logs.

func (ProjectLogsConfigCloudwatchLogsOutput) Status

Current status of logs in CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.

func (ProjectLogsConfigCloudwatchLogsOutput) StreamName

Stream name of the logs in CloudWatch Logs.

func (ProjectLogsConfigCloudwatchLogsOutput) ToOutput added in v6.1.0

func (ProjectLogsConfigCloudwatchLogsOutput) ToProjectLogsConfigCloudwatchLogsOutput

func (o ProjectLogsConfigCloudwatchLogsOutput) ToProjectLogsConfigCloudwatchLogsOutput() ProjectLogsConfigCloudwatchLogsOutput

func (ProjectLogsConfigCloudwatchLogsOutput) ToProjectLogsConfigCloudwatchLogsOutputWithContext

func (o ProjectLogsConfigCloudwatchLogsOutput) ToProjectLogsConfigCloudwatchLogsOutputWithContext(ctx context.Context) ProjectLogsConfigCloudwatchLogsOutput

func (ProjectLogsConfigCloudwatchLogsOutput) ToProjectLogsConfigCloudwatchLogsPtrOutput

func (o ProjectLogsConfigCloudwatchLogsOutput) ToProjectLogsConfigCloudwatchLogsPtrOutput() ProjectLogsConfigCloudwatchLogsPtrOutput

func (ProjectLogsConfigCloudwatchLogsOutput) ToProjectLogsConfigCloudwatchLogsPtrOutputWithContext

func (o ProjectLogsConfigCloudwatchLogsOutput) ToProjectLogsConfigCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectLogsConfigCloudwatchLogsPtrOutput

type ProjectLogsConfigCloudwatchLogsPtrInput

type ProjectLogsConfigCloudwatchLogsPtrInput interface {
	pulumi.Input

	ToProjectLogsConfigCloudwatchLogsPtrOutput() ProjectLogsConfigCloudwatchLogsPtrOutput
	ToProjectLogsConfigCloudwatchLogsPtrOutputWithContext(context.Context) ProjectLogsConfigCloudwatchLogsPtrOutput
}

ProjectLogsConfigCloudwatchLogsPtrInput is an input type that accepts ProjectLogsConfigCloudwatchLogsArgs, ProjectLogsConfigCloudwatchLogsPtr and ProjectLogsConfigCloudwatchLogsPtrOutput values. You can construct a concrete instance of `ProjectLogsConfigCloudwatchLogsPtrInput` via:

        ProjectLogsConfigCloudwatchLogsArgs{...}

or:

        nil

type ProjectLogsConfigCloudwatchLogsPtrOutput

type ProjectLogsConfigCloudwatchLogsPtrOutput struct{ *pulumi.OutputState }

func (ProjectLogsConfigCloudwatchLogsPtrOutput) Elem

func (ProjectLogsConfigCloudwatchLogsPtrOutput) ElementType

func (ProjectLogsConfigCloudwatchLogsPtrOutput) GroupName

Group name of the logs in CloudWatch Logs.

func (ProjectLogsConfigCloudwatchLogsPtrOutput) Status

Current status of logs in CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.

func (ProjectLogsConfigCloudwatchLogsPtrOutput) StreamName

Stream name of the logs in CloudWatch Logs.

func (ProjectLogsConfigCloudwatchLogsPtrOutput) ToOutput added in v6.1.0

func (ProjectLogsConfigCloudwatchLogsPtrOutput) ToProjectLogsConfigCloudwatchLogsPtrOutput

func (o ProjectLogsConfigCloudwatchLogsPtrOutput) ToProjectLogsConfigCloudwatchLogsPtrOutput() ProjectLogsConfigCloudwatchLogsPtrOutput

func (ProjectLogsConfigCloudwatchLogsPtrOutput) ToProjectLogsConfigCloudwatchLogsPtrOutputWithContext

func (o ProjectLogsConfigCloudwatchLogsPtrOutput) ToProjectLogsConfigCloudwatchLogsPtrOutputWithContext(ctx context.Context) ProjectLogsConfigCloudwatchLogsPtrOutput

type ProjectLogsConfigInput

type ProjectLogsConfigInput interface {
	pulumi.Input

	ToProjectLogsConfigOutput() ProjectLogsConfigOutput
	ToProjectLogsConfigOutputWithContext(context.Context) ProjectLogsConfigOutput
}

ProjectLogsConfigInput is an input type that accepts ProjectLogsConfigArgs and ProjectLogsConfigOutput values. You can construct a concrete instance of `ProjectLogsConfigInput` via:

ProjectLogsConfigArgs{...}

type ProjectLogsConfigOutput

type ProjectLogsConfigOutput struct{ *pulumi.OutputState }

func (ProjectLogsConfigOutput) CloudwatchLogs

Configuration block. Detailed below.

func (ProjectLogsConfigOutput) ElementType

func (ProjectLogsConfigOutput) ElementType() reflect.Type

func (ProjectLogsConfigOutput) S3Logs

Configuration block. Detailed below.

func (ProjectLogsConfigOutput) ToOutput added in v6.1.0

func (ProjectLogsConfigOutput) ToProjectLogsConfigOutput

func (o ProjectLogsConfigOutput) ToProjectLogsConfigOutput() ProjectLogsConfigOutput

func (ProjectLogsConfigOutput) ToProjectLogsConfigOutputWithContext

func (o ProjectLogsConfigOutput) ToProjectLogsConfigOutputWithContext(ctx context.Context) ProjectLogsConfigOutput

func (ProjectLogsConfigOutput) ToProjectLogsConfigPtrOutput

func (o ProjectLogsConfigOutput) ToProjectLogsConfigPtrOutput() ProjectLogsConfigPtrOutput

func (ProjectLogsConfigOutput) ToProjectLogsConfigPtrOutputWithContext

func (o ProjectLogsConfigOutput) ToProjectLogsConfigPtrOutputWithContext(ctx context.Context) ProjectLogsConfigPtrOutput

type ProjectLogsConfigPtrInput

type ProjectLogsConfigPtrInput interface {
	pulumi.Input

	ToProjectLogsConfigPtrOutput() ProjectLogsConfigPtrOutput
	ToProjectLogsConfigPtrOutputWithContext(context.Context) ProjectLogsConfigPtrOutput
}

ProjectLogsConfigPtrInput is an input type that accepts ProjectLogsConfigArgs, ProjectLogsConfigPtr and ProjectLogsConfigPtrOutput values. You can construct a concrete instance of `ProjectLogsConfigPtrInput` via:

        ProjectLogsConfigArgs{...}

or:

        nil

type ProjectLogsConfigPtrOutput

type ProjectLogsConfigPtrOutput struct{ *pulumi.OutputState }

func (ProjectLogsConfigPtrOutput) CloudwatchLogs

Configuration block. Detailed below.

func (ProjectLogsConfigPtrOutput) Elem

func (ProjectLogsConfigPtrOutput) ElementType

func (ProjectLogsConfigPtrOutput) ElementType() reflect.Type

func (ProjectLogsConfigPtrOutput) S3Logs

Configuration block. Detailed below.

func (ProjectLogsConfigPtrOutput) ToOutput added in v6.1.0

func (ProjectLogsConfigPtrOutput) ToProjectLogsConfigPtrOutput

func (o ProjectLogsConfigPtrOutput) ToProjectLogsConfigPtrOutput() ProjectLogsConfigPtrOutput

func (ProjectLogsConfigPtrOutput) ToProjectLogsConfigPtrOutputWithContext

func (o ProjectLogsConfigPtrOutput) ToProjectLogsConfigPtrOutputWithContext(ctx context.Context) ProjectLogsConfigPtrOutput

type ProjectLogsConfigS3Logs

type ProjectLogsConfigS3Logs struct {
	// Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects. Valid values are `NONE`, `READ_ONLY`, and `FULL`. your CodeBuild service role must have the `s3:PutBucketAcl` permission. This permission allows CodeBuild to modify the access control list for the bucket.
	BucketOwnerAccess *string `pulumi:"bucketOwnerAccess"`
	// Whether to disable encrypting output artifacts. If `type` is set to `NO_ARTIFACTS`, this value is ignored. Defaults to `false`.
	EncryptionDisabled *bool `pulumi:"encryptionDisabled"`
	// Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored. If `type` is set to `S3`, this is the name of the output bucket.
	Location *string `pulumi:"location"`
	// Current status of logs in CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.
	Status *string `pulumi:"status"`
}

type ProjectLogsConfigS3LogsArgs

type ProjectLogsConfigS3LogsArgs struct {
	// Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects. Valid values are `NONE`, `READ_ONLY`, and `FULL`. your CodeBuild service role must have the `s3:PutBucketAcl` permission. This permission allows CodeBuild to modify the access control list for the bucket.
	BucketOwnerAccess pulumi.StringPtrInput `pulumi:"bucketOwnerAccess"`
	// Whether to disable encrypting output artifacts. If `type` is set to `NO_ARTIFACTS`, this value is ignored. Defaults to `false`.
	EncryptionDisabled pulumi.BoolPtrInput `pulumi:"encryptionDisabled"`
	// Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored. If `type` is set to `S3`, this is the name of the output bucket.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Current status of logs in CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

func (ProjectLogsConfigS3LogsArgs) ElementType

func (ProjectLogsConfigS3LogsArgs) ToOutput added in v6.1.0

func (ProjectLogsConfigS3LogsArgs) ToProjectLogsConfigS3LogsOutput

func (i ProjectLogsConfigS3LogsArgs) ToProjectLogsConfigS3LogsOutput() ProjectLogsConfigS3LogsOutput

func (ProjectLogsConfigS3LogsArgs) ToProjectLogsConfigS3LogsOutputWithContext

func (i ProjectLogsConfigS3LogsArgs) ToProjectLogsConfigS3LogsOutputWithContext(ctx context.Context) ProjectLogsConfigS3LogsOutput

func (ProjectLogsConfigS3LogsArgs) ToProjectLogsConfigS3LogsPtrOutput

func (i ProjectLogsConfigS3LogsArgs) ToProjectLogsConfigS3LogsPtrOutput() ProjectLogsConfigS3LogsPtrOutput

func (ProjectLogsConfigS3LogsArgs) ToProjectLogsConfigS3LogsPtrOutputWithContext

func (i ProjectLogsConfigS3LogsArgs) ToProjectLogsConfigS3LogsPtrOutputWithContext(ctx context.Context) ProjectLogsConfigS3LogsPtrOutput

type ProjectLogsConfigS3LogsInput

type ProjectLogsConfigS3LogsInput interface {
	pulumi.Input

	ToProjectLogsConfigS3LogsOutput() ProjectLogsConfigS3LogsOutput
	ToProjectLogsConfigS3LogsOutputWithContext(context.Context) ProjectLogsConfigS3LogsOutput
}

ProjectLogsConfigS3LogsInput is an input type that accepts ProjectLogsConfigS3LogsArgs and ProjectLogsConfigS3LogsOutput values. You can construct a concrete instance of `ProjectLogsConfigS3LogsInput` via:

ProjectLogsConfigS3LogsArgs{...}

type ProjectLogsConfigS3LogsOutput

type ProjectLogsConfigS3LogsOutput struct{ *pulumi.OutputState }

func (ProjectLogsConfigS3LogsOutput) BucketOwnerAccess

Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects. Valid values are `NONE`, `READ_ONLY`, and `FULL`. your CodeBuild service role must have the `s3:PutBucketAcl` permission. This permission allows CodeBuild to modify the access control list for the bucket.

func (ProjectLogsConfigS3LogsOutput) ElementType

func (ProjectLogsConfigS3LogsOutput) EncryptionDisabled

func (o ProjectLogsConfigS3LogsOutput) EncryptionDisabled() pulumi.BoolPtrOutput

Whether to disable encrypting output artifacts. If `type` is set to `NO_ARTIFACTS`, this value is ignored. Defaults to `false`.

func (ProjectLogsConfigS3LogsOutput) Location

Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored. If `type` is set to `S3`, this is the name of the output bucket.

func (ProjectLogsConfigS3LogsOutput) Status

Current status of logs in CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.

func (ProjectLogsConfigS3LogsOutput) ToOutput added in v6.1.0

func (ProjectLogsConfigS3LogsOutput) ToProjectLogsConfigS3LogsOutput

func (o ProjectLogsConfigS3LogsOutput) ToProjectLogsConfigS3LogsOutput() ProjectLogsConfigS3LogsOutput

func (ProjectLogsConfigS3LogsOutput) ToProjectLogsConfigS3LogsOutputWithContext

func (o ProjectLogsConfigS3LogsOutput) ToProjectLogsConfigS3LogsOutputWithContext(ctx context.Context) ProjectLogsConfigS3LogsOutput

func (ProjectLogsConfigS3LogsOutput) ToProjectLogsConfigS3LogsPtrOutput

func (o ProjectLogsConfigS3LogsOutput) ToProjectLogsConfigS3LogsPtrOutput() ProjectLogsConfigS3LogsPtrOutput

func (ProjectLogsConfigS3LogsOutput) ToProjectLogsConfigS3LogsPtrOutputWithContext

func (o ProjectLogsConfigS3LogsOutput) ToProjectLogsConfigS3LogsPtrOutputWithContext(ctx context.Context) ProjectLogsConfigS3LogsPtrOutput

type ProjectLogsConfigS3LogsPtrInput

type ProjectLogsConfigS3LogsPtrInput interface {
	pulumi.Input

	ToProjectLogsConfigS3LogsPtrOutput() ProjectLogsConfigS3LogsPtrOutput
	ToProjectLogsConfigS3LogsPtrOutputWithContext(context.Context) ProjectLogsConfigS3LogsPtrOutput
}

ProjectLogsConfigS3LogsPtrInput is an input type that accepts ProjectLogsConfigS3LogsArgs, ProjectLogsConfigS3LogsPtr and ProjectLogsConfigS3LogsPtrOutput values. You can construct a concrete instance of `ProjectLogsConfigS3LogsPtrInput` via:

        ProjectLogsConfigS3LogsArgs{...}

or:

        nil

type ProjectLogsConfigS3LogsPtrOutput

type ProjectLogsConfigS3LogsPtrOutput struct{ *pulumi.OutputState }

func (ProjectLogsConfigS3LogsPtrOutput) BucketOwnerAccess

Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects. Valid values are `NONE`, `READ_ONLY`, and `FULL`. your CodeBuild service role must have the `s3:PutBucketAcl` permission. This permission allows CodeBuild to modify the access control list for the bucket.

func (ProjectLogsConfigS3LogsPtrOutput) Elem

func (ProjectLogsConfigS3LogsPtrOutput) ElementType

func (ProjectLogsConfigS3LogsPtrOutput) EncryptionDisabled

func (o ProjectLogsConfigS3LogsPtrOutput) EncryptionDisabled() pulumi.BoolPtrOutput

Whether to disable encrypting output artifacts. If `type` is set to `NO_ARTIFACTS`, this value is ignored. Defaults to `false`.

func (ProjectLogsConfigS3LogsPtrOutput) Location

Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored. If `type` is set to `S3`, this is the name of the output bucket.

func (ProjectLogsConfigS3LogsPtrOutput) Status

Current status of logs in CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.

func (ProjectLogsConfigS3LogsPtrOutput) ToOutput added in v6.1.0

func (ProjectLogsConfigS3LogsPtrOutput) ToProjectLogsConfigS3LogsPtrOutput

func (o ProjectLogsConfigS3LogsPtrOutput) ToProjectLogsConfigS3LogsPtrOutput() ProjectLogsConfigS3LogsPtrOutput

func (ProjectLogsConfigS3LogsPtrOutput) ToProjectLogsConfigS3LogsPtrOutputWithContext

func (o ProjectLogsConfigS3LogsPtrOutput) ToProjectLogsConfigS3LogsPtrOutputWithContext(ctx context.Context) ProjectLogsConfigS3LogsPtrOutput

type ProjectMap

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToOutput added in v6.1.0

func (i ProjectMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Project]

func (ProjectMap) ToProjectMapOutput

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput

type ProjectMapInput interface {
	pulumi.Input

	ToProjectMapOutput() ProjectMapOutput
	ToProjectMapOutputWithContext(context.Context) ProjectMapOutput
}

ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:

ProjectMap{ "key": ProjectArgs{...} }

type ProjectMapOutput

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex

func (ProjectMapOutput) ToOutput added in v6.1.0

func (ProjectMapOutput) ToProjectMapOutput

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectOutput

type ProjectOutput struct{ *pulumi.OutputState }

func (ProjectOutput) Arn

ARN of the CodeBuild project.

func (ProjectOutput) Artifacts

func (o ProjectOutput) Artifacts() ProjectArtifactsOutput

Configuration block. Detailed below.

func (ProjectOutput) BadgeEnabled

func (o ProjectOutput) BadgeEnabled() pulumi.BoolPtrOutput

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

func (ProjectOutput) BadgeUrl

func (o ProjectOutput) BadgeUrl() pulumi.StringOutput

URL of the build badge when `badgeEnabled` is enabled.

func (ProjectOutput) BuildBatchConfig

func (o ProjectOutput) BuildBatchConfig() ProjectBuildBatchConfigPtrOutput

Defines the batch build options for the project.

func (ProjectOutput) BuildTimeout

func (o ProjectOutput) BuildTimeout() pulumi.IntPtrOutput

Number of 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 (ProjectOutput) Cache

Configuration block. Detailed below.

func (ProjectOutput) ConcurrentBuildLimit

func (o ProjectOutput) ConcurrentBuildLimit() pulumi.IntPtrOutput

Specify a maximum number of concurrent builds for the project. The value specified must be greater than 0 and less than the account concurrent running builds limit.

func (ProjectOutput) Description

func (o ProjectOutput) Description() pulumi.StringOutput

Short description of the project.

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) EncryptionKey

func (o ProjectOutput) EncryptionKey() pulumi.StringOutput

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

func (ProjectOutput) Environment

func (o ProjectOutput) Environment() ProjectEnvironmentOutput

Configuration block. Detailed below.

func (ProjectOutput) FileSystemLocations

func (o ProjectOutput) FileSystemLocations() ProjectFileSystemLocationArrayOutput

A set of file system locations to mount inside the build. File system locations are documented below.

func (ProjectOutput) LogsConfig

Configuration block. Detailed below.

func (ProjectOutput) Name

Project's name.

func (ProjectOutput) ProjectVisibility

func (o ProjectOutput) ProjectVisibility() pulumi.StringPtrOutput

Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ` and `PRIVATE`. Default value is `PRIVATE`.

func (ProjectOutput) PublicProjectAlias

func (o ProjectOutput) PublicProjectAlias() pulumi.StringOutput

The project identifier used with the public build APIs.

func (ProjectOutput) QueuedTimeout

func (o ProjectOutput) QueuedTimeout() pulumi.IntPtrOutput

Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours.

func (ProjectOutput) ResourceAccessRole

func (o ProjectOutput) ResourceAccessRole() pulumi.StringPtrOutput

The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.

func (ProjectOutput) SecondaryArtifacts

func (o ProjectOutput) SecondaryArtifacts() ProjectSecondaryArtifactArrayOutput

Configuration block. Detailed below.

func (ProjectOutput) SecondarySourceVersions

func (o ProjectOutput) SecondarySourceVersions() ProjectSecondarySourceVersionArrayOutput

Configuration block. Detailed below.

func (ProjectOutput) SecondarySources

func (o ProjectOutput) SecondarySources() ProjectSecondarySourceArrayOutput

Configuration block. Detailed below.

func (ProjectOutput) ServiceRole

func (o ProjectOutput) ServiceRole() pulumi.StringOutput

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 (ProjectOutput) Source

Configuration block. Detailed below.

The following arguments are optional:

func (ProjectOutput) SourceVersion

func (o ProjectOutput) SourceVersion() pulumi.StringPtrOutput

Version of the build input to be built for this project. If not specified, the latest version is used.

func (ProjectOutput) Tags

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 (ProjectOutput) TagsAll

func (o ProjectOutput) TagsAll() pulumi.StringMapOutput

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

func (ProjectOutput) ToOutput added in v6.1.0

func (o ProjectOutput) ToOutput(ctx context.Context) pulumix.Output[*Project]

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (ProjectOutput) VpcConfig

Configuration block. Detailed below.

type ProjectSecondaryArtifact

type ProjectSecondaryArtifact struct {
	// Artifact identifier. Must be the same specified inside the AWS CodeBuild build specification.
	ArtifactIdentifier string `pulumi:"artifactIdentifier"`
	// Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects. Valid values are `NONE`, `READ_ONLY`, and `FULL`. The CodeBuild service role must have the `s3:PutBucketAcl` permission. This permission allows CodeBuild to modify the access control list for the bucket.
	BucketOwnerAccess *string `pulumi:"bucketOwnerAccess"`
	// Whether to disable encrypting output artifacts. If `type` is set to `NO_ARTIFACTS`, this value is ignored. Defaults to `false`.
	EncryptionDisabled *bool `pulumi:"encryptionDisabled"`
	// Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the name of the output bucket. If `path` is not specified, `location` can specify the path of the output artifact in the output bucket.
	Location *string `pulumi:"location"`
	// Name of the project. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the name of the output artifact object.
	Name *string `pulumi:"name"`
	// Namespace to use in storing build artifacts. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, valid values are `BUILD_ID` or `NONE`.
	NamespaceType *string `pulumi:"namespaceType"`
	// Whether a name specified in the build specification overrides the artifact name.
	OverrideArtifactName *bool `pulumi:"overrideArtifactName"`
	// Type of build output artifact to create. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, valid values are `NONE` or `ZIP`.
	Packaging *string `pulumi:"packaging"`
	// Along with `namespaceType` and `name`, the pattern that AWS CodeBuild uses to name and store the output artifact. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the path to the output artifact.
	Path *string `pulumi:"path"`
	// Build output artifact's type. Valid values `CODEPIPELINE`, `NO_ARTIFACTS`, and `S3`.
	Type string `pulumi:"type"`
}

type ProjectSecondaryArtifactArgs

type ProjectSecondaryArtifactArgs struct {
	// Artifact identifier. Must be the same specified inside the AWS CodeBuild build specification.
	ArtifactIdentifier pulumi.StringInput `pulumi:"artifactIdentifier"`
	// Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects. Valid values are `NONE`, `READ_ONLY`, and `FULL`. The CodeBuild service role must have the `s3:PutBucketAcl` permission. This permission allows CodeBuild to modify the access control list for the bucket.
	BucketOwnerAccess pulumi.StringPtrInput `pulumi:"bucketOwnerAccess"`
	// Whether to disable encrypting output artifacts. If `type` is set to `NO_ARTIFACTS`, this value is ignored. Defaults to `false`.
	EncryptionDisabled pulumi.BoolPtrInput `pulumi:"encryptionDisabled"`
	// Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the name of the output bucket. If `path` is not specified, `location` can specify the path of the output artifact in the output bucket.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Name of the project. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the name of the output artifact object.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Namespace to use in storing build artifacts. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, valid values are `BUILD_ID` or `NONE`.
	NamespaceType pulumi.StringPtrInput `pulumi:"namespaceType"`
	// Whether a name specified in the build specification overrides the artifact name.
	OverrideArtifactName pulumi.BoolPtrInput `pulumi:"overrideArtifactName"`
	// Type of build output artifact to create. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, valid values are `NONE` or `ZIP`.
	Packaging pulumi.StringPtrInput `pulumi:"packaging"`
	// Along with `namespaceType` and `name`, the pattern that AWS CodeBuild uses to name and store the output artifact. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the path to the output artifact.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// Build output artifact's type. Valid values `CODEPIPELINE`, `NO_ARTIFACTS`, and `S3`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ProjectSecondaryArtifactArgs) ElementType

func (ProjectSecondaryArtifactArgs) ToOutput added in v6.1.0

func (ProjectSecondaryArtifactArgs) ToProjectSecondaryArtifactOutput

func (i ProjectSecondaryArtifactArgs) ToProjectSecondaryArtifactOutput() ProjectSecondaryArtifactOutput

func (ProjectSecondaryArtifactArgs) ToProjectSecondaryArtifactOutputWithContext

func (i ProjectSecondaryArtifactArgs) ToProjectSecondaryArtifactOutputWithContext(ctx context.Context) ProjectSecondaryArtifactOutput

type ProjectSecondaryArtifactArray

type ProjectSecondaryArtifactArray []ProjectSecondaryArtifactInput

func (ProjectSecondaryArtifactArray) ElementType

func (ProjectSecondaryArtifactArray) ToOutput added in v6.1.0

func (ProjectSecondaryArtifactArray) ToProjectSecondaryArtifactArrayOutput

func (i ProjectSecondaryArtifactArray) ToProjectSecondaryArtifactArrayOutput() ProjectSecondaryArtifactArrayOutput

func (ProjectSecondaryArtifactArray) ToProjectSecondaryArtifactArrayOutputWithContext

func (i ProjectSecondaryArtifactArray) ToProjectSecondaryArtifactArrayOutputWithContext(ctx context.Context) ProjectSecondaryArtifactArrayOutput

type ProjectSecondaryArtifactArrayInput

type ProjectSecondaryArtifactArrayInput interface {
	pulumi.Input

	ToProjectSecondaryArtifactArrayOutput() ProjectSecondaryArtifactArrayOutput
	ToProjectSecondaryArtifactArrayOutputWithContext(context.Context) ProjectSecondaryArtifactArrayOutput
}

ProjectSecondaryArtifactArrayInput is an input type that accepts ProjectSecondaryArtifactArray and ProjectSecondaryArtifactArrayOutput values. You can construct a concrete instance of `ProjectSecondaryArtifactArrayInput` via:

ProjectSecondaryArtifactArray{ ProjectSecondaryArtifactArgs{...} }

type ProjectSecondaryArtifactArrayOutput

type ProjectSecondaryArtifactArrayOutput struct{ *pulumi.OutputState }

func (ProjectSecondaryArtifactArrayOutput) ElementType

func (ProjectSecondaryArtifactArrayOutput) Index

func (ProjectSecondaryArtifactArrayOutput) ToOutput added in v6.1.0

func (ProjectSecondaryArtifactArrayOutput) ToProjectSecondaryArtifactArrayOutput

func (o ProjectSecondaryArtifactArrayOutput) ToProjectSecondaryArtifactArrayOutput() ProjectSecondaryArtifactArrayOutput

func (ProjectSecondaryArtifactArrayOutput) ToProjectSecondaryArtifactArrayOutputWithContext

func (o ProjectSecondaryArtifactArrayOutput) ToProjectSecondaryArtifactArrayOutputWithContext(ctx context.Context) ProjectSecondaryArtifactArrayOutput

type ProjectSecondaryArtifactInput

type ProjectSecondaryArtifactInput interface {
	pulumi.Input

	ToProjectSecondaryArtifactOutput() ProjectSecondaryArtifactOutput
	ToProjectSecondaryArtifactOutputWithContext(context.Context) ProjectSecondaryArtifactOutput
}

ProjectSecondaryArtifactInput is an input type that accepts ProjectSecondaryArtifactArgs and ProjectSecondaryArtifactOutput values. You can construct a concrete instance of `ProjectSecondaryArtifactInput` via:

ProjectSecondaryArtifactArgs{...}

type ProjectSecondaryArtifactOutput

type ProjectSecondaryArtifactOutput struct{ *pulumi.OutputState }

func (ProjectSecondaryArtifactOutput) ArtifactIdentifier

func (o ProjectSecondaryArtifactOutput) ArtifactIdentifier() pulumi.StringOutput

Artifact identifier. Must be the same specified inside the AWS CodeBuild build specification.

func (ProjectSecondaryArtifactOutput) BucketOwnerAccess

Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects. Valid values are `NONE`, `READ_ONLY`, and `FULL`. The CodeBuild service role must have the `s3:PutBucketAcl` permission. This permission allows CodeBuild to modify the access control list for the bucket.

func (ProjectSecondaryArtifactOutput) ElementType

func (ProjectSecondaryArtifactOutput) EncryptionDisabled

func (o ProjectSecondaryArtifactOutput) EncryptionDisabled() pulumi.BoolPtrOutput

Whether to disable encrypting output artifacts. If `type` is set to `NO_ARTIFACTS`, this value is ignored. Defaults to `false`.

func (ProjectSecondaryArtifactOutput) Location

Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the name of the output bucket. If `path` is not specified, `location` can specify the path of the output artifact in the output bucket.

func (ProjectSecondaryArtifactOutput) Name

Name of the project. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the name of the output artifact object.

func (ProjectSecondaryArtifactOutput) NamespaceType

Namespace to use in storing build artifacts. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, valid values are `BUILD_ID` or `NONE`.

func (ProjectSecondaryArtifactOutput) OverrideArtifactName

func (o ProjectSecondaryArtifactOutput) OverrideArtifactName() pulumi.BoolPtrOutput

Whether a name specified in the build specification overrides the artifact name.

func (ProjectSecondaryArtifactOutput) Packaging

Type of build output artifact to create. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, valid values are `NONE` or `ZIP`.

func (ProjectSecondaryArtifactOutput) Path

Along with `namespaceType` and `name`, the pattern that AWS CodeBuild uses to name and store the output artifact. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the path to the output artifact.

func (ProjectSecondaryArtifactOutput) ToOutput added in v6.1.0

func (ProjectSecondaryArtifactOutput) ToProjectSecondaryArtifactOutput

func (o ProjectSecondaryArtifactOutput) ToProjectSecondaryArtifactOutput() ProjectSecondaryArtifactOutput

func (ProjectSecondaryArtifactOutput) ToProjectSecondaryArtifactOutputWithContext

func (o ProjectSecondaryArtifactOutput) ToProjectSecondaryArtifactOutputWithContext(ctx context.Context) ProjectSecondaryArtifactOutput

func (ProjectSecondaryArtifactOutput) Type

Build output artifact's type. Valid values `CODEPIPELINE`, `NO_ARTIFACTS`, and `S3`.

type ProjectSecondarySource

type ProjectSecondarySource struct {
	// Configuration block that contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or `BITBUCKET`. `buildStatusConfig` blocks are documented below.
	BuildStatusConfig *ProjectSecondarySourceBuildStatusConfig `pulumi:"buildStatusConfig"`
	// The build spec declaration to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`. It can either be a path to a file residing in the repository to be built or a local file path leveraging the `file()` built-in.
	Buildspec *string `pulumi:"buildspec"`
	// Truncate git history to this many commits. Use `0` for a `Full` checkout which you need to run commands like `git branch --show-current`. See [AWS CodePipeline User Guide: Tutorial: Use full clone with a GitHub pipeline source](https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-github-gitclone.html) for details.
	GitCloneDepth *int `pulumi:"gitCloneDepth"`
	// Configuration block. Detailed below.
	GitSubmodulesConfig *ProjectSecondarySourceGitSubmodulesConfig `pulumi:"gitSubmodulesConfig"`
	// Ignore SSL warnings when connecting to source control.
	InsecureSsl *bool `pulumi:"insecureSsl"`
	// Location of the source code from git or s3.
	Location *string `pulumi:"location"`
	// Whether to report the status of a build's start and finish to your source provider. This option is only valid when your source provider is `GITHUB`, `BITBUCKET`, or `GITHUB_ENTERPRISE`.
	ReportBuildStatus *bool `pulumi:"reportBuildStatus"`
	// An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
	SourceIdentifier string `pulumi:"sourceIdentifier"`
	// Type of repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET` or `S3`.
	Type string `pulumi:"type"`
}

type ProjectSecondarySourceArgs

type ProjectSecondarySourceArgs struct {
	// Configuration block that contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or `BITBUCKET`. `buildStatusConfig` blocks are documented below.
	BuildStatusConfig ProjectSecondarySourceBuildStatusConfigPtrInput `pulumi:"buildStatusConfig"`
	// The build spec declaration to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`. It can either be a path to a file residing in the repository to be built or a local file path leveraging the `file()` built-in.
	Buildspec pulumi.StringPtrInput `pulumi:"buildspec"`
	// Truncate git history to this many commits. Use `0` for a `Full` checkout which you need to run commands like `git branch --show-current`. See [AWS CodePipeline User Guide: Tutorial: Use full clone with a GitHub pipeline source](https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-github-gitclone.html) for details.
	GitCloneDepth pulumi.IntPtrInput `pulumi:"gitCloneDepth"`
	// Configuration block. Detailed below.
	GitSubmodulesConfig ProjectSecondarySourceGitSubmodulesConfigPtrInput `pulumi:"gitSubmodulesConfig"`
	// Ignore SSL warnings when connecting to source control.
	InsecureSsl pulumi.BoolPtrInput `pulumi:"insecureSsl"`
	// Location of the source code from git or s3.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Whether to report the status of a build's start and finish to your source provider. This option is only valid when your source provider is `GITHUB`, `BITBUCKET`, or `GITHUB_ENTERPRISE`.
	ReportBuildStatus pulumi.BoolPtrInput `pulumi:"reportBuildStatus"`
	// An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
	SourceIdentifier pulumi.StringInput `pulumi:"sourceIdentifier"`
	// Type of repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET` or `S3`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ProjectSecondarySourceArgs) ElementType

func (ProjectSecondarySourceArgs) ElementType() reflect.Type

func (ProjectSecondarySourceArgs) ToOutput added in v6.1.0

func (ProjectSecondarySourceArgs) ToProjectSecondarySourceOutput

func (i ProjectSecondarySourceArgs) ToProjectSecondarySourceOutput() ProjectSecondarySourceOutput

func (ProjectSecondarySourceArgs) ToProjectSecondarySourceOutputWithContext

func (i ProjectSecondarySourceArgs) ToProjectSecondarySourceOutputWithContext(ctx context.Context) ProjectSecondarySourceOutput

type ProjectSecondarySourceArray

type ProjectSecondarySourceArray []ProjectSecondarySourceInput

func (ProjectSecondarySourceArray) ElementType

func (ProjectSecondarySourceArray) ToOutput added in v6.1.0

func (ProjectSecondarySourceArray) ToProjectSecondarySourceArrayOutput

func (i ProjectSecondarySourceArray) ToProjectSecondarySourceArrayOutput() ProjectSecondarySourceArrayOutput

func (ProjectSecondarySourceArray) ToProjectSecondarySourceArrayOutputWithContext

func (i ProjectSecondarySourceArray) ToProjectSecondarySourceArrayOutputWithContext(ctx context.Context) ProjectSecondarySourceArrayOutput

type ProjectSecondarySourceArrayInput

type ProjectSecondarySourceArrayInput interface {
	pulumi.Input

	ToProjectSecondarySourceArrayOutput() ProjectSecondarySourceArrayOutput
	ToProjectSecondarySourceArrayOutputWithContext(context.Context) ProjectSecondarySourceArrayOutput
}

ProjectSecondarySourceArrayInput is an input type that accepts ProjectSecondarySourceArray and ProjectSecondarySourceArrayOutput values. You can construct a concrete instance of `ProjectSecondarySourceArrayInput` via:

ProjectSecondarySourceArray{ ProjectSecondarySourceArgs{...} }

type ProjectSecondarySourceArrayOutput

type ProjectSecondarySourceArrayOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceArrayOutput) ElementType

func (ProjectSecondarySourceArrayOutput) Index

func (ProjectSecondarySourceArrayOutput) ToOutput added in v6.1.0

func (ProjectSecondarySourceArrayOutput) ToProjectSecondarySourceArrayOutput

func (o ProjectSecondarySourceArrayOutput) ToProjectSecondarySourceArrayOutput() ProjectSecondarySourceArrayOutput

func (ProjectSecondarySourceArrayOutput) ToProjectSecondarySourceArrayOutputWithContext

func (o ProjectSecondarySourceArrayOutput) ToProjectSecondarySourceArrayOutputWithContext(ctx context.Context) ProjectSecondarySourceArrayOutput

type ProjectSecondarySourceBuildStatusConfig

type ProjectSecondarySourceBuildStatusConfig struct {
	// Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
	Context *string `pulumi:"context"`
	// Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
	TargetUrl *string `pulumi:"targetUrl"`
}

type ProjectSecondarySourceBuildStatusConfigArgs

type ProjectSecondarySourceBuildStatusConfigArgs struct {
	// Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
	Context pulumi.StringPtrInput `pulumi:"context"`
	// Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
	TargetUrl pulumi.StringPtrInput `pulumi:"targetUrl"`
}

func (ProjectSecondarySourceBuildStatusConfigArgs) ElementType

func (ProjectSecondarySourceBuildStatusConfigArgs) ToOutput added in v6.1.0

func (ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigOutput

func (i ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigOutput() ProjectSecondarySourceBuildStatusConfigOutput

func (ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigOutputWithContext

func (i ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigOutputWithContext(ctx context.Context) ProjectSecondarySourceBuildStatusConfigOutput

func (ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigPtrOutput

func (i ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigPtrOutput() ProjectSecondarySourceBuildStatusConfigPtrOutput

func (ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigPtrOutputWithContext

func (i ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigPtrOutputWithContext(ctx context.Context) ProjectSecondarySourceBuildStatusConfigPtrOutput

type ProjectSecondarySourceBuildStatusConfigInput

type ProjectSecondarySourceBuildStatusConfigInput interface {
	pulumi.Input

	ToProjectSecondarySourceBuildStatusConfigOutput() ProjectSecondarySourceBuildStatusConfigOutput
	ToProjectSecondarySourceBuildStatusConfigOutputWithContext(context.Context) ProjectSecondarySourceBuildStatusConfigOutput
}

ProjectSecondarySourceBuildStatusConfigInput is an input type that accepts ProjectSecondarySourceBuildStatusConfigArgs and ProjectSecondarySourceBuildStatusConfigOutput values. You can construct a concrete instance of `ProjectSecondarySourceBuildStatusConfigInput` via:

ProjectSecondarySourceBuildStatusConfigArgs{...}

type ProjectSecondarySourceBuildStatusConfigOutput

type ProjectSecondarySourceBuildStatusConfigOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceBuildStatusConfigOutput) Context

Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

func (ProjectSecondarySourceBuildStatusConfigOutput) ElementType

func (ProjectSecondarySourceBuildStatusConfigOutput) TargetUrl

Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

func (ProjectSecondarySourceBuildStatusConfigOutput) ToOutput added in v6.1.0

func (ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigOutput

func (o ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigOutput() ProjectSecondarySourceBuildStatusConfigOutput

func (ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigOutputWithContext

func (o ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigOutputWithContext(ctx context.Context) ProjectSecondarySourceBuildStatusConfigOutput

func (ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutput

func (o ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutput() ProjectSecondarySourceBuildStatusConfigPtrOutput

func (ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutputWithContext

func (o ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutputWithContext(ctx context.Context) ProjectSecondarySourceBuildStatusConfigPtrOutput

type ProjectSecondarySourceBuildStatusConfigPtrInput

type ProjectSecondarySourceBuildStatusConfigPtrInput interface {
	pulumi.Input

	ToProjectSecondarySourceBuildStatusConfigPtrOutput() ProjectSecondarySourceBuildStatusConfigPtrOutput
	ToProjectSecondarySourceBuildStatusConfigPtrOutputWithContext(context.Context) ProjectSecondarySourceBuildStatusConfigPtrOutput
}

ProjectSecondarySourceBuildStatusConfigPtrInput is an input type that accepts ProjectSecondarySourceBuildStatusConfigArgs, ProjectSecondarySourceBuildStatusConfigPtr and ProjectSecondarySourceBuildStatusConfigPtrOutput values. You can construct a concrete instance of `ProjectSecondarySourceBuildStatusConfigPtrInput` via:

        ProjectSecondarySourceBuildStatusConfigArgs{...}

or:

        nil

type ProjectSecondarySourceBuildStatusConfigPtrOutput

type ProjectSecondarySourceBuildStatusConfigPtrOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) Context

Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) Elem

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) ElementType

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) TargetUrl

Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) ToOutput added in v6.1.0

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutput

func (o ProjectSecondarySourceBuildStatusConfigPtrOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutput() ProjectSecondarySourceBuildStatusConfigPtrOutput

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutputWithContext

func (o ProjectSecondarySourceBuildStatusConfigPtrOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutputWithContext(ctx context.Context) ProjectSecondarySourceBuildStatusConfigPtrOutput

type ProjectSecondarySourceGitSubmodulesConfig

type ProjectSecondarySourceGitSubmodulesConfig struct {
	// Whether to fetch Git submodules for the AWS CodeBuild build project.
	FetchSubmodules bool `pulumi:"fetchSubmodules"`
}

type ProjectSecondarySourceGitSubmodulesConfigArgs

type ProjectSecondarySourceGitSubmodulesConfigArgs struct {
	// Whether to fetch Git submodules for the AWS CodeBuild build project.
	FetchSubmodules pulumi.BoolInput `pulumi:"fetchSubmodules"`
}

func (ProjectSecondarySourceGitSubmodulesConfigArgs) ElementType

func (ProjectSecondarySourceGitSubmodulesConfigArgs) ToOutput added in v6.1.0

func (ProjectSecondarySourceGitSubmodulesConfigArgs) ToProjectSecondarySourceGitSubmodulesConfigOutput

func (i ProjectSecondarySourceGitSubmodulesConfigArgs) ToProjectSecondarySourceGitSubmodulesConfigOutput() ProjectSecondarySourceGitSubmodulesConfigOutput

func (ProjectSecondarySourceGitSubmodulesConfigArgs) ToProjectSecondarySourceGitSubmodulesConfigOutputWithContext

func (i ProjectSecondarySourceGitSubmodulesConfigArgs) ToProjectSecondarySourceGitSubmodulesConfigOutputWithContext(ctx context.Context) ProjectSecondarySourceGitSubmodulesConfigOutput

func (ProjectSecondarySourceGitSubmodulesConfigArgs) ToProjectSecondarySourceGitSubmodulesConfigPtrOutput

func (i ProjectSecondarySourceGitSubmodulesConfigArgs) ToProjectSecondarySourceGitSubmodulesConfigPtrOutput() ProjectSecondarySourceGitSubmodulesConfigPtrOutput

func (ProjectSecondarySourceGitSubmodulesConfigArgs) ToProjectSecondarySourceGitSubmodulesConfigPtrOutputWithContext

func (i ProjectSecondarySourceGitSubmodulesConfigArgs) ToProjectSecondarySourceGitSubmodulesConfigPtrOutputWithContext(ctx context.Context) ProjectSecondarySourceGitSubmodulesConfigPtrOutput

type ProjectSecondarySourceGitSubmodulesConfigInput

type ProjectSecondarySourceGitSubmodulesConfigInput interface {
	pulumi.Input

	ToProjectSecondarySourceGitSubmodulesConfigOutput() ProjectSecondarySourceGitSubmodulesConfigOutput
	ToProjectSecondarySourceGitSubmodulesConfigOutputWithContext(context.Context) ProjectSecondarySourceGitSubmodulesConfigOutput
}

ProjectSecondarySourceGitSubmodulesConfigInput is an input type that accepts ProjectSecondarySourceGitSubmodulesConfigArgs and ProjectSecondarySourceGitSubmodulesConfigOutput values. You can construct a concrete instance of `ProjectSecondarySourceGitSubmodulesConfigInput` via:

ProjectSecondarySourceGitSubmodulesConfigArgs{...}

type ProjectSecondarySourceGitSubmodulesConfigOutput

type ProjectSecondarySourceGitSubmodulesConfigOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceGitSubmodulesConfigOutput) ElementType

func (ProjectSecondarySourceGitSubmodulesConfigOutput) FetchSubmodules

Whether to fetch Git submodules for the AWS CodeBuild build project.

func (ProjectSecondarySourceGitSubmodulesConfigOutput) ToOutput added in v6.1.0

func (ProjectSecondarySourceGitSubmodulesConfigOutput) ToProjectSecondarySourceGitSubmodulesConfigOutput

func (o ProjectSecondarySourceGitSubmodulesConfigOutput) ToProjectSecondarySourceGitSubmodulesConfigOutput() ProjectSecondarySourceGitSubmodulesConfigOutput

func (ProjectSecondarySourceGitSubmodulesConfigOutput) ToProjectSecondarySourceGitSubmodulesConfigOutputWithContext

func (o ProjectSecondarySourceGitSubmodulesConfigOutput) ToProjectSecondarySourceGitSubmodulesConfigOutputWithContext(ctx context.Context) ProjectSecondarySourceGitSubmodulesConfigOutput

func (ProjectSecondarySourceGitSubmodulesConfigOutput) ToProjectSecondarySourceGitSubmodulesConfigPtrOutput

func (o ProjectSecondarySourceGitSubmodulesConfigOutput) ToProjectSecondarySourceGitSubmodulesConfigPtrOutput() ProjectSecondarySourceGitSubmodulesConfigPtrOutput

func (ProjectSecondarySourceGitSubmodulesConfigOutput) ToProjectSecondarySourceGitSubmodulesConfigPtrOutputWithContext

func (o ProjectSecondarySourceGitSubmodulesConfigOutput) ToProjectSecondarySourceGitSubmodulesConfigPtrOutputWithContext(ctx context.Context) ProjectSecondarySourceGitSubmodulesConfigPtrOutput

type ProjectSecondarySourceGitSubmodulesConfigPtrInput

type ProjectSecondarySourceGitSubmodulesConfigPtrInput interface {
	pulumi.Input

	ToProjectSecondarySourceGitSubmodulesConfigPtrOutput() ProjectSecondarySourceGitSubmodulesConfigPtrOutput
	ToProjectSecondarySourceGitSubmodulesConfigPtrOutputWithContext(context.Context) ProjectSecondarySourceGitSubmodulesConfigPtrOutput
}

ProjectSecondarySourceGitSubmodulesConfigPtrInput is an input type that accepts ProjectSecondarySourceGitSubmodulesConfigArgs, ProjectSecondarySourceGitSubmodulesConfigPtr and ProjectSecondarySourceGitSubmodulesConfigPtrOutput values. You can construct a concrete instance of `ProjectSecondarySourceGitSubmodulesConfigPtrInput` via:

        ProjectSecondarySourceGitSubmodulesConfigArgs{...}

or:

        nil

type ProjectSecondarySourceGitSubmodulesConfigPtrOutput

type ProjectSecondarySourceGitSubmodulesConfigPtrOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceGitSubmodulesConfigPtrOutput) Elem

func (ProjectSecondarySourceGitSubmodulesConfigPtrOutput) ElementType

func (ProjectSecondarySourceGitSubmodulesConfigPtrOutput) FetchSubmodules

Whether to fetch Git submodules for the AWS CodeBuild build project.

func (ProjectSecondarySourceGitSubmodulesConfigPtrOutput) ToOutput added in v6.1.0

func (ProjectSecondarySourceGitSubmodulesConfigPtrOutput) ToProjectSecondarySourceGitSubmodulesConfigPtrOutput

func (o ProjectSecondarySourceGitSubmodulesConfigPtrOutput) ToProjectSecondarySourceGitSubmodulesConfigPtrOutput() ProjectSecondarySourceGitSubmodulesConfigPtrOutput

func (ProjectSecondarySourceGitSubmodulesConfigPtrOutput) ToProjectSecondarySourceGitSubmodulesConfigPtrOutputWithContext

func (o ProjectSecondarySourceGitSubmodulesConfigPtrOutput) ToProjectSecondarySourceGitSubmodulesConfigPtrOutputWithContext(ctx context.Context) ProjectSecondarySourceGitSubmodulesConfigPtrOutput

type ProjectSecondarySourceInput

type ProjectSecondarySourceInput interface {
	pulumi.Input

	ToProjectSecondarySourceOutput() ProjectSecondarySourceOutput
	ToProjectSecondarySourceOutputWithContext(context.Context) ProjectSecondarySourceOutput
}

ProjectSecondarySourceInput is an input type that accepts ProjectSecondarySourceArgs and ProjectSecondarySourceOutput values. You can construct a concrete instance of `ProjectSecondarySourceInput` via:

ProjectSecondarySourceArgs{...}

type ProjectSecondarySourceOutput

type ProjectSecondarySourceOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceOutput) BuildStatusConfig

Configuration block that contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or `BITBUCKET`. `buildStatusConfig` blocks are documented below.

func (ProjectSecondarySourceOutput) Buildspec

The build spec declaration to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`. It can either be a path to a file residing in the repository to be built or a local file path leveraging the `file()` built-in.

func (ProjectSecondarySourceOutput) ElementType

func (ProjectSecondarySourceOutput) GitCloneDepth

Truncate git history to this many commits. Use `0` for a `Full` checkout which you need to run commands like `git branch --show-current`. See [AWS CodePipeline User Guide: Tutorial: Use full clone with a GitHub pipeline source](https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-github-gitclone.html) for details.

func (ProjectSecondarySourceOutput) GitSubmodulesConfig

Configuration block. Detailed below.

func (ProjectSecondarySourceOutput) InsecureSsl

Ignore SSL warnings when connecting to source control.

func (ProjectSecondarySourceOutput) Location

Location of the source code from git or s3.

func (ProjectSecondarySourceOutput) ReportBuildStatus

func (o ProjectSecondarySourceOutput) ReportBuildStatus() pulumi.BoolPtrOutput

Whether to report the status of a build's start and finish to your source provider. This option is only valid when your source provider is `GITHUB`, `BITBUCKET`, or `GITHUB_ENTERPRISE`.

func (ProjectSecondarySourceOutput) SourceIdentifier

func (o ProjectSecondarySourceOutput) SourceIdentifier() pulumi.StringOutput

An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.

func (ProjectSecondarySourceOutput) ToOutput added in v6.1.0

func (ProjectSecondarySourceOutput) ToProjectSecondarySourceOutput

func (o ProjectSecondarySourceOutput) ToProjectSecondarySourceOutput() ProjectSecondarySourceOutput

func (ProjectSecondarySourceOutput) ToProjectSecondarySourceOutputWithContext

func (o ProjectSecondarySourceOutput) ToProjectSecondarySourceOutputWithContext(ctx context.Context) ProjectSecondarySourceOutput

func (ProjectSecondarySourceOutput) Type

Type of repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET` or `S3`.

type ProjectSecondarySourceVersion

type ProjectSecondarySourceVersion struct {
	// An identifier for a source in the build project.
	SourceIdentifier string `pulumi:"sourceIdentifier"`
	// The source version for the corresponding source identifier. See [AWS docs](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProjectSourceVersion.html#CodeBuild-Type-ProjectSourceVersion-sourceVersion) for more details.
	SourceVersion string `pulumi:"sourceVersion"`
}

type ProjectSecondarySourceVersionArgs

type ProjectSecondarySourceVersionArgs struct {
	// An identifier for a source in the build project.
	SourceIdentifier pulumi.StringInput `pulumi:"sourceIdentifier"`
	// The source version for the corresponding source identifier. See [AWS docs](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProjectSourceVersion.html#CodeBuild-Type-ProjectSourceVersion-sourceVersion) for more details.
	SourceVersion pulumi.StringInput `pulumi:"sourceVersion"`
}

func (ProjectSecondarySourceVersionArgs) ElementType

func (ProjectSecondarySourceVersionArgs) ToOutput added in v6.1.0

func (ProjectSecondarySourceVersionArgs) ToProjectSecondarySourceVersionOutput

func (i ProjectSecondarySourceVersionArgs) ToProjectSecondarySourceVersionOutput() ProjectSecondarySourceVersionOutput

func (ProjectSecondarySourceVersionArgs) ToProjectSecondarySourceVersionOutputWithContext

func (i ProjectSecondarySourceVersionArgs) ToProjectSecondarySourceVersionOutputWithContext(ctx context.Context) ProjectSecondarySourceVersionOutput

type ProjectSecondarySourceVersionArray

type ProjectSecondarySourceVersionArray []ProjectSecondarySourceVersionInput

func (ProjectSecondarySourceVersionArray) ElementType

func (ProjectSecondarySourceVersionArray) ToOutput added in v6.1.0

func (ProjectSecondarySourceVersionArray) ToProjectSecondarySourceVersionArrayOutput

func (i ProjectSecondarySourceVersionArray) ToProjectSecondarySourceVersionArrayOutput() ProjectSecondarySourceVersionArrayOutput

func (ProjectSecondarySourceVersionArray) ToProjectSecondarySourceVersionArrayOutputWithContext

func (i ProjectSecondarySourceVersionArray) ToProjectSecondarySourceVersionArrayOutputWithContext(ctx context.Context) ProjectSecondarySourceVersionArrayOutput

type ProjectSecondarySourceVersionArrayInput

type ProjectSecondarySourceVersionArrayInput interface {
	pulumi.Input

	ToProjectSecondarySourceVersionArrayOutput() ProjectSecondarySourceVersionArrayOutput
	ToProjectSecondarySourceVersionArrayOutputWithContext(context.Context) ProjectSecondarySourceVersionArrayOutput
}

ProjectSecondarySourceVersionArrayInput is an input type that accepts ProjectSecondarySourceVersionArray and ProjectSecondarySourceVersionArrayOutput values. You can construct a concrete instance of `ProjectSecondarySourceVersionArrayInput` via:

ProjectSecondarySourceVersionArray{ ProjectSecondarySourceVersionArgs{...} }

type ProjectSecondarySourceVersionArrayOutput

type ProjectSecondarySourceVersionArrayOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceVersionArrayOutput) ElementType

func (ProjectSecondarySourceVersionArrayOutput) Index

func (ProjectSecondarySourceVersionArrayOutput) ToOutput added in v6.1.0

func (ProjectSecondarySourceVersionArrayOutput) ToProjectSecondarySourceVersionArrayOutput

func (o ProjectSecondarySourceVersionArrayOutput) ToProjectSecondarySourceVersionArrayOutput() ProjectSecondarySourceVersionArrayOutput

func (ProjectSecondarySourceVersionArrayOutput) ToProjectSecondarySourceVersionArrayOutputWithContext

func (o ProjectSecondarySourceVersionArrayOutput) ToProjectSecondarySourceVersionArrayOutputWithContext(ctx context.Context) ProjectSecondarySourceVersionArrayOutput

type ProjectSecondarySourceVersionInput

type ProjectSecondarySourceVersionInput interface {
	pulumi.Input

	ToProjectSecondarySourceVersionOutput() ProjectSecondarySourceVersionOutput
	ToProjectSecondarySourceVersionOutputWithContext(context.Context) ProjectSecondarySourceVersionOutput
}

ProjectSecondarySourceVersionInput is an input type that accepts ProjectSecondarySourceVersionArgs and ProjectSecondarySourceVersionOutput values. You can construct a concrete instance of `ProjectSecondarySourceVersionInput` via:

ProjectSecondarySourceVersionArgs{...}

type ProjectSecondarySourceVersionOutput

type ProjectSecondarySourceVersionOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceVersionOutput) ElementType

func (ProjectSecondarySourceVersionOutput) SourceIdentifier

An identifier for a source in the build project.

func (ProjectSecondarySourceVersionOutput) SourceVersion

The source version for the corresponding source identifier. See [AWS docs](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProjectSourceVersion.html#CodeBuild-Type-ProjectSourceVersion-sourceVersion) for more details.

func (ProjectSecondarySourceVersionOutput) ToOutput added in v6.1.0

func (ProjectSecondarySourceVersionOutput) ToProjectSecondarySourceVersionOutput

func (o ProjectSecondarySourceVersionOutput) ToProjectSecondarySourceVersionOutput() ProjectSecondarySourceVersionOutput

func (ProjectSecondarySourceVersionOutput) ToProjectSecondarySourceVersionOutputWithContext

func (o ProjectSecondarySourceVersionOutput) ToProjectSecondarySourceVersionOutputWithContext(ctx context.Context) ProjectSecondarySourceVersionOutput

type ProjectSource

type ProjectSource struct {
	// Configuration block that contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or `BITBUCKET`. `buildStatusConfig` blocks are documented below.
	BuildStatusConfig *ProjectSourceBuildStatusConfig `pulumi:"buildStatusConfig"`
	// Build specification to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`.
	Buildspec *string `pulumi:"buildspec"`
	// Truncate git history to this many commits. Use `0` for a `Full` checkout which you need to run commands like `git branch --show-current`. See [AWS CodePipeline User Guide: Tutorial: Use full clone with a GitHub pipeline source](https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-github-gitclone.html) for details.
	GitCloneDepth *int `pulumi:"gitCloneDepth"`
	// Configuration block. Detailed below.
	GitSubmodulesConfig *ProjectSourceGitSubmodulesConfig `pulumi:"gitSubmodulesConfig"`
	// Ignore SSL warnings when connecting to source control.
	InsecureSsl *bool `pulumi:"insecureSsl"`
	// Location of the source code from git or s3.
	Location *string `pulumi:"location"`
	// Whether to report the status of a build's start and finish to your source provider. This option is only valid when the `type` is `BITBUCKET` or `GITHUB`.
	ReportBuildStatus *bool `pulumi:"reportBuildStatus"`
	// Type of repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.
	Type string `pulumi:"type"`
}

type ProjectSourceArgs

type ProjectSourceArgs struct {
	// Configuration block that contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or `BITBUCKET`. `buildStatusConfig` blocks are documented below.
	BuildStatusConfig ProjectSourceBuildStatusConfigPtrInput `pulumi:"buildStatusConfig"`
	// Build specification to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`.
	Buildspec pulumi.StringPtrInput `pulumi:"buildspec"`
	// Truncate git history to this many commits. Use `0` for a `Full` checkout which you need to run commands like `git branch --show-current`. See [AWS CodePipeline User Guide: Tutorial: Use full clone with a GitHub pipeline source](https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-github-gitclone.html) for details.
	GitCloneDepth pulumi.IntPtrInput `pulumi:"gitCloneDepth"`
	// Configuration block. Detailed below.
	GitSubmodulesConfig ProjectSourceGitSubmodulesConfigPtrInput `pulumi:"gitSubmodulesConfig"`
	// Ignore SSL warnings when connecting to source control.
	InsecureSsl pulumi.BoolPtrInput `pulumi:"insecureSsl"`
	// Location of the source code from git or s3.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Whether to report the status of a build's start and finish to your source provider. This option is only valid when the `type` is `BITBUCKET` or `GITHUB`.
	ReportBuildStatus pulumi.BoolPtrInput `pulumi:"reportBuildStatus"`
	// Type of repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ProjectSourceArgs) ElementType

func (ProjectSourceArgs) ElementType() reflect.Type

func (ProjectSourceArgs) ToOutput added in v6.1.0

func (ProjectSourceArgs) ToProjectSourceOutput

func (i ProjectSourceArgs) ToProjectSourceOutput() ProjectSourceOutput

func (ProjectSourceArgs) ToProjectSourceOutputWithContext

func (i ProjectSourceArgs) ToProjectSourceOutputWithContext(ctx context.Context) ProjectSourceOutput

func (ProjectSourceArgs) ToProjectSourcePtrOutput

func (i ProjectSourceArgs) ToProjectSourcePtrOutput() ProjectSourcePtrOutput

func (ProjectSourceArgs) ToProjectSourcePtrOutputWithContext

func (i ProjectSourceArgs) ToProjectSourcePtrOutputWithContext(ctx context.Context) ProjectSourcePtrOutput

type ProjectSourceBuildStatusConfig

type ProjectSourceBuildStatusConfig struct {
	// Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
	Context *string `pulumi:"context"`
	// Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
	TargetUrl *string `pulumi:"targetUrl"`
}

type ProjectSourceBuildStatusConfigArgs

type ProjectSourceBuildStatusConfigArgs struct {
	// Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
	Context pulumi.StringPtrInput `pulumi:"context"`
	// Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
	TargetUrl pulumi.StringPtrInput `pulumi:"targetUrl"`
}

func (ProjectSourceBuildStatusConfigArgs) ElementType

func (ProjectSourceBuildStatusConfigArgs) ToOutput added in v6.1.0

func (ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigOutput

func (i ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigOutput() ProjectSourceBuildStatusConfigOutput

func (ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigOutputWithContext

func (i ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigOutputWithContext(ctx context.Context) ProjectSourceBuildStatusConfigOutput

func (ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigPtrOutput

func (i ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigPtrOutput() ProjectSourceBuildStatusConfigPtrOutput

func (ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigPtrOutputWithContext

func (i ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigPtrOutputWithContext(ctx context.Context) ProjectSourceBuildStatusConfigPtrOutput

type ProjectSourceBuildStatusConfigInput

type ProjectSourceBuildStatusConfigInput interface {
	pulumi.Input

	ToProjectSourceBuildStatusConfigOutput() ProjectSourceBuildStatusConfigOutput
	ToProjectSourceBuildStatusConfigOutputWithContext(context.Context) ProjectSourceBuildStatusConfigOutput
}

ProjectSourceBuildStatusConfigInput is an input type that accepts ProjectSourceBuildStatusConfigArgs and ProjectSourceBuildStatusConfigOutput values. You can construct a concrete instance of `ProjectSourceBuildStatusConfigInput` via:

ProjectSourceBuildStatusConfigArgs{...}

type ProjectSourceBuildStatusConfigOutput

type ProjectSourceBuildStatusConfigOutput struct{ *pulumi.OutputState }

func (ProjectSourceBuildStatusConfigOutput) Context

Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

func (ProjectSourceBuildStatusConfigOutput) ElementType

func (ProjectSourceBuildStatusConfigOutput) TargetUrl

Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

func (ProjectSourceBuildStatusConfigOutput) ToOutput added in v6.1.0

func (ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigOutput

func (o ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigOutput() ProjectSourceBuildStatusConfigOutput

func (ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigOutputWithContext

func (o ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigOutputWithContext(ctx context.Context) ProjectSourceBuildStatusConfigOutput

func (ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigPtrOutput

func (o ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigPtrOutput() ProjectSourceBuildStatusConfigPtrOutput

func (ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigPtrOutputWithContext

func (o ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigPtrOutputWithContext(ctx context.Context) ProjectSourceBuildStatusConfigPtrOutput

type ProjectSourceBuildStatusConfigPtrInput

type ProjectSourceBuildStatusConfigPtrInput interface {
	pulumi.Input

	ToProjectSourceBuildStatusConfigPtrOutput() ProjectSourceBuildStatusConfigPtrOutput
	ToProjectSourceBuildStatusConfigPtrOutputWithContext(context.Context) ProjectSourceBuildStatusConfigPtrOutput
}

ProjectSourceBuildStatusConfigPtrInput is an input type that accepts ProjectSourceBuildStatusConfigArgs, ProjectSourceBuildStatusConfigPtr and ProjectSourceBuildStatusConfigPtrOutput values. You can construct a concrete instance of `ProjectSourceBuildStatusConfigPtrInput` via:

        ProjectSourceBuildStatusConfigArgs{...}

or:

        nil

type ProjectSourceBuildStatusConfigPtrOutput

type ProjectSourceBuildStatusConfigPtrOutput struct{ *pulumi.OutputState }

func (ProjectSourceBuildStatusConfigPtrOutput) Context

Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

func (ProjectSourceBuildStatusConfigPtrOutput) Elem

func (ProjectSourceBuildStatusConfigPtrOutput) ElementType

func (ProjectSourceBuildStatusConfigPtrOutput) TargetUrl

Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

func (ProjectSourceBuildStatusConfigPtrOutput) ToOutput added in v6.1.0

func (ProjectSourceBuildStatusConfigPtrOutput) ToProjectSourceBuildStatusConfigPtrOutput

func (o ProjectSourceBuildStatusConfigPtrOutput) ToProjectSourceBuildStatusConfigPtrOutput() ProjectSourceBuildStatusConfigPtrOutput

func (ProjectSourceBuildStatusConfigPtrOutput) ToProjectSourceBuildStatusConfigPtrOutputWithContext

func (o ProjectSourceBuildStatusConfigPtrOutput) ToProjectSourceBuildStatusConfigPtrOutputWithContext(ctx context.Context) ProjectSourceBuildStatusConfigPtrOutput

type ProjectSourceGitSubmodulesConfig

type ProjectSourceGitSubmodulesConfig struct {
	// Whether to fetch Git submodules for the AWS CodeBuild build project.
	FetchSubmodules bool `pulumi:"fetchSubmodules"`
}

type ProjectSourceGitSubmodulesConfigArgs

type ProjectSourceGitSubmodulesConfigArgs struct {
	// Whether to fetch Git submodules for the AWS CodeBuild build project.
	FetchSubmodules pulumi.BoolInput `pulumi:"fetchSubmodules"`
}

func (ProjectSourceGitSubmodulesConfigArgs) ElementType

func (ProjectSourceGitSubmodulesConfigArgs) ToOutput added in v6.1.0

func (ProjectSourceGitSubmodulesConfigArgs) ToProjectSourceGitSubmodulesConfigOutput

func (i ProjectSourceGitSubmodulesConfigArgs) ToProjectSourceGitSubmodulesConfigOutput() ProjectSourceGitSubmodulesConfigOutput

func (ProjectSourceGitSubmodulesConfigArgs) ToProjectSourceGitSubmodulesConfigOutputWithContext

func (i ProjectSourceGitSubmodulesConfigArgs) ToProjectSourceGitSubmodulesConfigOutputWithContext(ctx context.Context) ProjectSourceGitSubmodulesConfigOutput

func (ProjectSourceGitSubmodulesConfigArgs) ToProjectSourceGitSubmodulesConfigPtrOutput

func (i ProjectSourceGitSubmodulesConfigArgs) ToProjectSourceGitSubmodulesConfigPtrOutput() ProjectSourceGitSubmodulesConfigPtrOutput

func (ProjectSourceGitSubmodulesConfigArgs) ToProjectSourceGitSubmodulesConfigPtrOutputWithContext

func (i ProjectSourceGitSubmodulesConfigArgs) ToProjectSourceGitSubmodulesConfigPtrOutputWithContext(ctx context.Context) ProjectSourceGitSubmodulesConfigPtrOutput

type ProjectSourceGitSubmodulesConfigInput

type ProjectSourceGitSubmodulesConfigInput interface {
	pulumi.Input

	ToProjectSourceGitSubmodulesConfigOutput() ProjectSourceGitSubmodulesConfigOutput
	ToProjectSourceGitSubmodulesConfigOutputWithContext(context.Context) ProjectSourceGitSubmodulesConfigOutput
}

ProjectSourceGitSubmodulesConfigInput is an input type that accepts ProjectSourceGitSubmodulesConfigArgs and ProjectSourceGitSubmodulesConfigOutput values. You can construct a concrete instance of `ProjectSourceGitSubmodulesConfigInput` via:

ProjectSourceGitSubmodulesConfigArgs{...}

type ProjectSourceGitSubmodulesConfigOutput

type ProjectSourceGitSubmodulesConfigOutput struct{ *pulumi.OutputState }

func (ProjectSourceGitSubmodulesConfigOutput) ElementType

func (ProjectSourceGitSubmodulesConfigOutput) FetchSubmodules

Whether to fetch Git submodules for the AWS CodeBuild build project.

func (ProjectSourceGitSubmodulesConfigOutput) ToOutput added in v6.1.0

func (ProjectSourceGitSubmodulesConfigOutput) ToProjectSourceGitSubmodulesConfigOutput

func (o ProjectSourceGitSubmodulesConfigOutput) ToProjectSourceGitSubmodulesConfigOutput() ProjectSourceGitSubmodulesConfigOutput

func (ProjectSourceGitSubmodulesConfigOutput) ToProjectSourceGitSubmodulesConfigOutputWithContext

func (o ProjectSourceGitSubmodulesConfigOutput) ToProjectSourceGitSubmodulesConfigOutputWithContext(ctx context.Context) ProjectSourceGitSubmodulesConfigOutput

func (ProjectSourceGitSubmodulesConfigOutput) ToProjectSourceGitSubmodulesConfigPtrOutput

func (o ProjectSourceGitSubmodulesConfigOutput) ToProjectSourceGitSubmodulesConfigPtrOutput() ProjectSourceGitSubmodulesConfigPtrOutput

func (ProjectSourceGitSubmodulesConfigOutput) ToProjectSourceGitSubmodulesConfigPtrOutputWithContext

func (o ProjectSourceGitSubmodulesConfigOutput) ToProjectSourceGitSubmodulesConfigPtrOutputWithContext(ctx context.Context) ProjectSourceGitSubmodulesConfigPtrOutput

type ProjectSourceGitSubmodulesConfigPtrInput

type ProjectSourceGitSubmodulesConfigPtrInput interface {
	pulumi.Input

	ToProjectSourceGitSubmodulesConfigPtrOutput() ProjectSourceGitSubmodulesConfigPtrOutput
	ToProjectSourceGitSubmodulesConfigPtrOutputWithContext(context.Context) ProjectSourceGitSubmodulesConfigPtrOutput
}

ProjectSourceGitSubmodulesConfigPtrInput is an input type that accepts ProjectSourceGitSubmodulesConfigArgs, ProjectSourceGitSubmodulesConfigPtr and ProjectSourceGitSubmodulesConfigPtrOutput values. You can construct a concrete instance of `ProjectSourceGitSubmodulesConfigPtrInput` via:

        ProjectSourceGitSubmodulesConfigArgs{...}

or:

        nil

type ProjectSourceGitSubmodulesConfigPtrOutput

type ProjectSourceGitSubmodulesConfigPtrOutput struct{ *pulumi.OutputState }

func (ProjectSourceGitSubmodulesConfigPtrOutput) Elem

func (ProjectSourceGitSubmodulesConfigPtrOutput) ElementType

func (ProjectSourceGitSubmodulesConfigPtrOutput) FetchSubmodules

Whether to fetch Git submodules for the AWS CodeBuild build project.

func (ProjectSourceGitSubmodulesConfigPtrOutput) ToOutput added in v6.1.0

func (ProjectSourceGitSubmodulesConfigPtrOutput) ToProjectSourceGitSubmodulesConfigPtrOutput

func (o ProjectSourceGitSubmodulesConfigPtrOutput) ToProjectSourceGitSubmodulesConfigPtrOutput() ProjectSourceGitSubmodulesConfigPtrOutput

func (ProjectSourceGitSubmodulesConfigPtrOutput) ToProjectSourceGitSubmodulesConfigPtrOutputWithContext

func (o ProjectSourceGitSubmodulesConfigPtrOutput) ToProjectSourceGitSubmodulesConfigPtrOutputWithContext(ctx context.Context) ProjectSourceGitSubmodulesConfigPtrOutput

type ProjectSourceInput

type ProjectSourceInput interface {
	pulumi.Input

	ToProjectSourceOutput() ProjectSourceOutput
	ToProjectSourceOutputWithContext(context.Context) ProjectSourceOutput
}

ProjectSourceInput is an input type that accepts ProjectSourceArgs and ProjectSourceOutput values. You can construct a concrete instance of `ProjectSourceInput` via:

ProjectSourceArgs{...}

type ProjectSourceOutput

type ProjectSourceOutput struct{ *pulumi.OutputState }

func (ProjectSourceOutput) BuildStatusConfig

Configuration block that contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or `BITBUCKET`. `buildStatusConfig` blocks are documented below.

func (ProjectSourceOutput) Buildspec

Build specification to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`.

func (ProjectSourceOutput) ElementType

func (ProjectSourceOutput) ElementType() reflect.Type

func (ProjectSourceOutput) GitCloneDepth

func (o ProjectSourceOutput) GitCloneDepth() pulumi.IntPtrOutput

Truncate git history to this many commits. Use `0` for a `Full` checkout which you need to run commands like `git branch --show-current`. See [AWS CodePipeline User Guide: Tutorial: Use full clone with a GitHub pipeline source](https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-github-gitclone.html) for details.

func (ProjectSourceOutput) GitSubmodulesConfig

Configuration block. Detailed below.

func (ProjectSourceOutput) InsecureSsl

func (o ProjectSourceOutput) InsecureSsl() pulumi.BoolPtrOutput

Ignore SSL warnings when connecting to source control.

func (ProjectSourceOutput) Location

Location of the source code from git or s3.

func (ProjectSourceOutput) ReportBuildStatus

func (o ProjectSourceOutput) ReportBuildStatus() pulumi.BoolPtrOutput

Whether to report the status of a build's start and finish to your source provider. This option is only valid when the `type` is `BITBUCKET` or `GITHUB`.

func (ProjectSourceOutput) ToOutput added in v6.1.0

func (ProjectSourceOutput) ToProjectSourceOutput

func (o ProjectSourceOutput) ToProjectSourceOutput() ProjectSourceOutput

func (ProjectSourceOutput) ToProjectSourceOutputWithContext

func (o ProjectSourceOutput) ToProjectSourceOutputWithContext(ctx context.Context) ProjectSourceOutput

func (ProjectSourceOutput) ToProjectSourcePtrOutput

func (o ProjectSourceOutput) ToProjectSourcePtrOutput() ProjectSourcePtrOutput

func (ProjectSourceOutput) ToProjectSourcePtrOutputWithContext

func (o ProjectSourceOutput) ToProjectSourcePtrOutputWithContext(ctx context.Context) ProjectSourcePtrOutput

func (ProjectSourceOutput) Type

Type of repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.

type ProjectSourcePtrInput

type ProjectSourcePtrInput interface {
	pulumi.Input

	ToProjectSourcePtrOutput() ProjectSourcePtrOutput
	ToProjectSourcePtrOutputWithContext(context.Context) ProjectSourcePtrOutput
}

ProjectSourcePtrInput is an input type that accepts ProjectSourceArgs, ProjectSourcePtr and ProjectSourcePtrOutput values. You can construct a concrete instance of `ProjectSourcePtrInput` via:

        ProjectSourceArgs{...}

or:

        nil

type ProjectSourcePtrOutput

type ProjectSourcePtrOutput struct{ *pulumi.OutputState }

func (ProjectSourcePtrOutput) BuildStatusConfig

Configuration block that contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or `BITBUCKET`. `buildStatusConfig` blocks are documented below.

func (ProjectSourcePtrOutput) Buildspec

Build specification to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`.

func (ProjectSourcePtrOutput) Elem

func (ProjectSourcePtrOutput) ElementType

func (ProjectSourcePtrOutput) ElementType() reflect.Type

func (ProjectSourcePtrOutput) GitCloneDepth

func (o ProjectSourcePtrOutput) GitCloneDepth() pulumi.IntPtrOutput

Truncate git history to this many commits. Use `0` for a `Full` checkout which you need to run commands like `git branch --show-current`. See [AWS CodePipeline User Guide: Tutorial: Use full clone with a GitHub pipeline source](https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-github-gitclone.html) for details.

func (ProjectSourcePtrOutput) GitSubmodulesConfig

Configuration block. Detailed below.

func (ProjectSourcePtrOutput) InsecureSsl

Ignore SSL warnings when connecting to source control.

func (ProjectSourcePtrOutput) Location

Location of the source code from git or s3.

func (ProjectSourcePtrOutput) ReportBuildStatus

func (o ProjectSourcePtrOutput) ReportBuildStatus() pulumi.BoolPtrOutput

Whether to report the status of a build's start and finish to your source provider. This option is only valid when the `type` is `BITBUCKET` or `GITHUB`.

func (ProjectSourcePtrOutput) ToOutput added in v6.1.0

func (ProjectSourcePtrOutput) ToProjectSourcePtrOutput

func (o ProjectSourcePtrOutput) ToProjectSourcePtrOutput() ProjectSourcePtrOutput

func (ProjectSourcePtrOutput) ToProjectSourcePtrOutputWithContext

func (o ProjectSourcePtrOutput) ToProjectSourcePtrOutputWithContext(ctx context.Context) ProjectSourcePtrOutput

func (ProjectSourcePtrOutput) Type

Type of repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.

type ProjectState

type ProjectState struct {
	// ARN of the CodeBuild project.
	Arn pulumi.StringPtrInput
	// Configuration block. Detailed below.
	Artifacts ProjectArtifactsPtrInput
	// Generates a publicly-accessible URL for the projects build badge. Available as `badgeUrl` attribute when enabled.
	BadgeEnabled pulumi.BoolPtrInput
	// URL of the build badge when `badgeEnabled` is enabled.
	BadgeUrl pulumi.StringPtrInput
	// Defines the batch build options for the project.
	BuildBatchConfig ProjectBuildBatchConfigPtrInput
	// Number of 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 pulumi.IntPtrInput
	// Configuration block. Detailed below.
	Cache ProjectCachePtrInput
	// Specify a maximum number of concurrent builds for the project. The value specified must be greater than 0 and less than the account concurrent running builds limit.
	ConcurrentBuildLimit pulumi.IntPtrInput
	// Short description of the project.
	Description pulumi.StringPtrInput
	// AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
	EncryptionKey pulumi.StringPtrInput
	// Configuration block. Detailed below.
	Environment ProjectEnvironmentPtrInput
	// A set of file system locations to mount inside the build. File system locations are documented below.
	FileSystemLocations ProjectFileSystemLocationArrayInput
	// Configuration block. Detailed below.
	LogsConfig ProjectLogsConfigPtrInput
	// Project's name.
	Name pulumi.StringPtrInput
	// Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ` and `PRIVATE`. Default value is `PRIVATE`.
	ProjectVisibility pulumi.StringPtrInput
	// The project identifier used with the public build APIs.
	PublicProjectAlias pulumi.StringPtrInput
	// Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours.
	QueuedTimeout pulumi.IntPtrInput
	// The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
	ResourceAccessRole pulumi.StringPtrInput
	// Configuration block. Detailed below.
	SecondaryArtifacts ProjectSecondaryArtifactArrayInput
	// Configuration block. Detailed below.
	SecondarySourceVersions ProjectSecondarySourceVersionArrayInput
	// Configuration block. Detailed below.
	SecondarySources ProjectSecondarySourceArrayInput
	// 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 pulumi.StringPtrInput
	// Configuration block. Detailed below.
	//
	// The following arguments are optional:
	Source ProjectSourcePtrInput
	// Version of the build input to be built for this project. If not specified, the latest version is used.
	SourceVersion pulumi.StringPtrInput
	// 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.
	TagsAll pulumi.StringMapInput
	// Configuration block. Detailed below.
	VpcConfig ProjectVpcConfigPtrInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type ProjectVpcConfig

type ProjectVpcConfig struct {
	// Security group IDs to assign to running builds.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// Subnet IDs within which to run builds.
	Subnets []string `pulumi:"subnets"`
	// ID of the VPC within which to run builds.
	VpcId string `pulumi:"vpcId"`
}

type ProjectVpcConfigArgs

type ProjectVpcConfigArgs struct {
	// Security group IDs to assign to running builds.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// Subnet IDs within which to run builds.
	Subnets pulumi.StringArrayInput `pulumi:"subnets"`
	// ID of the VPC within which to run builds.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (ProjectVpcConfigArgs) ElementType

func (ProjectVpcConfigArgs) ElementType() reflect.Type

func (ProjectVpcConfigArgs) ToOutput added in v6.1.0

func (ProjectVpcConfigArgs) ToProjectVpcConfigOutput

func (i ProjectVpcConfigArgs) ToProjectVpcConfigOutput() ProjectVpcConfigOutput

func (ProjectVpcConfigArgs) ToProjectVpcConfigOutputWithContext

func (i ProjectVpcConfigArgs) ToProjectVpcConfigOutputWithContext(ctx context.Context) ProjectVpcConfigOutput

func (ProjectVpcConfigArgs) ToProjectVpcConfigPtrOutput

func (i ProjectVpcConfigArgs) ToProjectVpcConfigPtrOutput() ProjectVpcConfigPtrOutput

func (ProjectVpcConfigArgs) ToProjectVpcConfigPtrOutputWithContext

func (i ProjectVpcConfigArgs) ToProjectVpcConfigPtrOutputWithContext(ctx context.Context) ProjectVpcConfigPtrOutput

type ProjectVpcConfigInput

type ProjectVpcConfigInput interface {
	pulumi.Input

	ToProjectVpcConfigOutput() ProjectVpcConfigOutput
	ToProjectVpcConfigOutputWithContext(context.Context) ProjectVpcConfigOutput
}

ProjectVpcConfigInput is an input type that accepts ProjectVpcConfigArgs and ProjectVpcConfigOutput values. You can construct a concrete instance of `ProjectVpcConfigInput` via:

ProjectVpcConfigArgs{...}

type ProjectVpcConfigOutput

type ProjectVpcConfigOutput struct{ *pulumi.OutputState }

func (ProjectVpcConfigOutput) ElementType

func (ProjectVpcConfigOutput) ElementType() reflect.Type

func (ProjectVpcConfigOutput) SecurityGroupIds

func (o ProjectVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput

Security group IDs to assign to running builds.

func (ProjectVpcConfigOutput) Subnets

Subnet IDs within which to run builds.

func (ProjectVpcConfigOutput) ToOutput added in v6.1.0

func (ProjectVpcConfigOutput) ToProjectVpcConfigOutput

func (o ProjectVpcConfigOutput) ToProjectVpcConfigOutput() ProjectVpcConfigOutput

func (ProjectVpcConfigOutput) ToProjectVpcConfigOutputWithContext

func (o ProjectVpcConfigOutput) ToProjectVpcConfigOutputWithContext(ctx context.Context) ProjectVpcConfigOutput

func (ProjectVpcConfigOutput) ToProjectVpcConfigPtrOutput

func (o ProjectVpcConfigOutput) ToProjectVpcConfigPtrOutput() ProjectVpcConfigPtrOutput

func (ProjectVpcConfigOutput) ToProjectVpcConfigPtrOutputWithContext

func (o ProjectVpcConfigOutput) ToProjectVpcConfigPtrOutputWithContext(ctx context.Context) ProjectVpcConfigPtrOutput

func (ProjectVpcConfigOutput) VpcId

ID of the VPC within which to run builds.

type ProjectVpcConfigPtrInput

type ProjectVpcConfigPtrInput interface {
	pulumi.Input

	ToProjectVpcConfigPtrOutput() ProjectVpcConfigPtrOutput
	ToProjectVpcConfigPtrOutputWithContext(context.Context) ProjectVpcConfigPtrOutput
}

ProjectVpcConfigPtrInput is an input type that accepts ProjectVpcConfigArgs, ProjectVpcConfigPtr and ProjectVpcConfigPtrOutput values. You can construct a concrete instance of `ProjectVpcConfigPtrInput` via:

        ProjectVpcConfigArgs{...}

or:

        nil

type ProjectVpcConfigPtrOutput

type ProjectVpcConfigPtrOutput struct{ *pulumi.OutputState }

func (ProjectVpcConfigPtrOutput) Elem

func (ProjectVpcConfigPtrOutput) ElementType

func (ProjectVpcConfigPtrOutput) ElementType() reflect.Type

func (ProjectVpcConfigPtrOutput) SecurityGroupIds

func (o ProjectVpcConfigPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput

Security group IDs to assign to running builds.

func (ProjectVpcConfigPtrOutput) Subnets

Subnet IDs within which to run builds.

func (ProjectVpcConfigPtrOutput) ToOutput added in v6.1.0

func (ProjectVpcConfigPtrOutput) ToProjectVpcConfigPtrOutput

func (o ProjectVpcConfigPtrOutput) ToProjectVpcConfigPtrOutput() ProjectVpcConfigPtrOutput

func (ProjectVpcConfigPtrOutput) ToProjectVpcConfigPtrOutputWithContext

func (o ProjectVpcConfigPtrOutput) ToProjectVpcConfigPtrOutputWithContext(ctx context.Context) ProjectVpcConfigPtrOutput

func (ProjectVpcConfigPtrOutput) VpcId

ID of the VPC within which to run builds.

type ReportGroup

type ReportGroup struct {
	pulumi.CustomResourceState

	// The ARN of Report Group.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The date and time this Report Group was created.
	Created pulumi.StringOutput `pulumi:"created"`
	// If `true`, deletes any reports that belong to a report group before deleting the report group. If `false`, you must delete any reports in the report group before deleting it. Default value is `false`.
	DeleteReports pulumi.BoolPtrOutput `pulumi:"deleteReports"`
	// Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
	ExportConfig ReportGroupExportConfigOutput `pulumi:"exportConfig"`
	// The name of a Report Group.
	Name pulumi.StringOutput `pulumi:"name"`
	// Key-value mapping of resource tags. .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.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The type of the Report Group. Valid value are `TEST` and `CODE_COVERAGE`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides a CodeBuild Report Groups Resource.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codebuild"
"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 {
		current, err := aws.GetCallerIdentity(ctx, nil, nil)
		if err != nil {
			return err
		}
		examplePolicyDocument, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Sid:    pulumi.StringRef("Enable IAM User Permissions"),
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "AWS",
							Identifiers: []string{
								fmt.Sprintf("arn:aws:iam::%v:root", current.AccountId),
							},
						},
					},
					Actions: []string{
						"kms:*",
					},
					Resources: []string{
						"*",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		exampleKey, err := kms.NewKey(ctx, "exampleKey", &kms.KeyArgs{
			Description:          pulumi.String("my test kms key"),
			DeletionWindowInDays: pulumi.Int(7),
			Policy:               *pulumi.String(examplePolicyDocument.Json),
		})
		if err != nil {
			return err
		}
		exampleBucketV2, err := s3.NewBucketV2(ctx, "exampleBucketV2", nil)
		if err != nil {
			return err
		}
		_, err = codebuild.NewReportGroup(ctx, "exampleReportGroup", &codebuild.ReportGroupArgs{
			Type: pulumi.String("TEST"),
			ExportConfig: &codebuild.ReportGroupExportConfigArgs{
				Type: pulumi.String("S3"),
				S3Destination: &codebuild.ReportGroupExportConfigS3DestinationArgs{
					Bucket:             exampleBucketV2.ID(),
					EncryptionDisabled: pulumi.Bool(false),
					EncryptionKey:      exampleKey.Arn,
					Packaging:          pulumi.String("NONE"),
					Path:               pulumi.String("/some"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CodeBuild Report Group using the CodeBuild Report Group arn. For example:

```sh

$ pulumi import aws:codebuild/reportGroup:ReportGroup example arn:aws:codebuild:us-west-2:123456789:report-group/report-group-name

```

func GetReportGroup

func GetReportGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReportGroupState, opts ...pulumi.ResourceOption) (*ReportGroup, error)

GetReportGroup gets an existing ReportGroup 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 NewReportGroup

func NewReportGroup(ctx *pulumi.Context,
	name string, args *ReportGroupArgs, opts ...pulumi.ResourceOption) (*ReportGroup, error)

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

func (*ReportGroup) ElementType

func (*ReportGroup) ElementType() reflect.Type

func (*ReportGroup) ToOutput added in v6.1.0

func (i *ReportGroup) ToOutput(ctx context.Context) pulumix.Output[*ReportGroup]

func (*ReportGroup) ToReportGroupOutput

func (i *ReportGroup) ToReportGroupOutput() ReportGroupOutput

func (*ReportGroup) ToReportGroupOutputWithContext

func (i *ReportGroup) ToReportGroupOutputWithContext(ctx context.Context) ReportGroupOutput

type ReportGroupArgs

type ReportGroupArgs struct {
	// If `true`, deletes any reports that belong to a report group before deleting the report group. If `false`, you must delete any reports in the report group before deleting it. Default value is `false`.
	DeleteReports pulumi.BoolPtrInput
	// Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
	ExportConfig ReportGroupExportConfigInput
	// The name of a Report Group.
	Name pulumi.StringPtrInput
	// Key-value mapping of resource tags. .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 type of the Report Group. Valid value are `TEST` and `CODE_COVERAGE`.
	Type pulumi.StringInput
}

The set of arguments for constructing a ReportGroup resource.

func (ReportGroupArgs) ElementType

func (ReportGroupArgs) ElementType() reflect.Type

type ReportGroupArray

type ReportGroupArray []ReportGroupInput

func (ReportGroupArray) ElementType

func (ReportGroupArray) ElementType() reflect.Type

func (ReportGroupArray) ToOutput added in v6.1.0

func (ReportGroupArray) ToReportGroupArrayOutput

func (i ReportGroupArray) ToReportGroupArrayOutput() ReportGroupArrayOutput

func (ReportGroupArray) ToReportGroupArrayOutputWithContext

func (i ReportGroupArray) ToReportGroupArrayOutputWithContext(ctx context.Context) ReportGroupArrayOutput

type ReportGroupArrayInput

type ReportGroupArrayInput interface {
	pulumi.Input

	ToReportGroupArrayOutput() ReportGroupArrayOutput
	ToReportGroupArrayOutputWithContext(context.Context) ReportGroupArrayOutput
}

ReportGroupArrayInput is an input type that accepts ReportGroupArray and ReportGroupArrayOutput values. You can construct a concrete instance of `ReportGroupArrayInput` via:

ReportGroupArray{ ReportGroupArgs{...} }

type ReportGroupArrayOutput

type ReportGroupArrayOutput struct{ *pulumi.OutputState }

func (ReportGroupArrayOutput) ElementType

func (ReportGroupArrayOutput) ElementType() reflect.Type

func (ReportGroupArrayOutput) Index

func (ReportGroupArrayOutput) ToOutput added in v6.1.0

func (ReportGroupArrayOutput) ToReportGroupArrayOutput

func (o ReportGroupArrayOutput) ToReportGroupArrayOutput() ReportGroupArrayOutput

func (ReportGroupArrayOutput) ToReportGroupArrayOutputWithContext

func (o ReportGroupArrayOutput) ToReportGroupArrayOutputWithContext(ctx context.Context) ReportGroupArrayOutput

type ReportGroupExportConfig

type ReportGroupExportConfig struct {
	// contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.
	S3Destination *ReportGroupExportConfigS3Destination `pulumi:"s3Destination"`
	// The export configuration type. Valid values are `S3` and `NO_EXPORT`.
	Type string `pulumi:"type"`
}

type ReportGroupExportConfigArgs

type ReportGroupExportConfigArgs struct {
	// contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.
	S3Destination ReportGroupExportConfigS3DestinationPtrInput `pulumi:"s3Destination"`
	// The export configuration type. Valid values are `S3` and `NO_EXPORT`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ReportGroupExportConfigArgs) ElementType

func (ReportGroupExportConfigArgs) ToOutput added in v6.1.0

func (ReportGroupExportConfigArgs) ToReportGroupExportConfigOutput

func (i ReportGroupExportConfigArgs) ToReportGroupExportConfigOutput() ReportGroupExportConfigOutput

func (ReportGroupExportConfigArgs) ToReportGroupExportConfigOutputWithContext

func (i ReportGroupExportConfigArgs) ToReportGroupExportConfigOutputWithContext(ctx context.Context) ReportGroupExportConfigOutput

func (ReportGroupExportConfigArgs) ToReportGroupExportConfigPtrOutput

func (i ReportGroupExportConfigArgs) ToReportGroupExportConfigPtrOutput() ReportGroupExportConfigPtrOutput

func (ReportGroupExportConfigArgs) ToReportGroupExportConfigPtrOutputWithContext

func (i ReportGroupExportConfigArgs) ToReportGroupExportConfigPtrOutputWithContext(ctx context.Context) ReportGroupExportConfigPtrOutput

type ReportGroupExportConfigInput

type ReportGroupExportConfigInput interface {
	pulumi.Input

	ToReportGroupExportConfigOutput() ReportGroupExportConfigOutput
	ToReportGroupExportConfigOutputWithContext(context.Context) ReportGroupExportConfigOutput
}

ReportGroupExportConfigInput is an input type that accepts ReportGroupExportConfigArgs and ReportGroupExportConfigOutput values. You can construct a concrete instance of `ReportGroupExportConfigInput` via:

ReportGroupExportConfigArgs{...}

type ReportGroupExportConfigOutput

type ReportGroupExportConfigOutput struct{ *pulumi.OutputState }

func (ReportGroupExportConfigOutput) ElementType

func (ReportGroupExportConfigOutput) S3Destination

contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.

func (ReportGroupExportConfigOutput) ToOutput added in v6.1.0

func (ReportGroupExportConfigOutput) ToReportGroupExportConfigOutput

func (o ReportGroupExportConfigOutput) ToReportGroupExportConfigOutput() ReportGroupExportConfigOutput

func (ReportGroupExportConfigOutput) ToReportGroupExportConfigOutputWithContext

func (o ReportGroupExportConfigOutput) ToReportGroupExportConfigOutputWithContext(ctx context.Context) ReportGroupExportConfigOutput

func (ReportGroupExportConfigOutput) ToReportGroupExportConfigPtrOutput

func (o ReportGroupExportConfigOutput) ToReportGroupExportConfigPtrOutput() ReportGroupExportConfigPtrOutput

func (ReportGroupExportConfigOutput) ToReportGroupExportConfigPtrOutputWithContext

func (o ReportGroupExportConfigOutput) ToReportGroupExportConfigPtrOutputWithContext(ctx context.Context) ReportGroupExportConfigPtrOutput

func (ReportGroupExportConfigOutput) Type

The export configuration type. Valid values are `S3` and `NO_EXPORT`.

type ReportGroupExportConfigPtrInput

type ReportGroupExportConfigPtrInput interface {
	pulumi.Input

	ToReportGroupExportConfigPtrOutput() ReportGroupExportConfigPtrOutput
	ToReportGroupExportConfigPtrOutputWithContext(context.Context) ReportGroupExportConfigPtrOutput
}

ReportGroupExportConfigPtrInput is an input type that accepts ReportGroupExportConfigArgs, ReportGroupExportConfigPtr and ReportGroupExportConfigPtrOutput values. You can construct a concrete instance of `ReportGroupExportConfigPtrInput` via:

        ReportGroupExportConfigArgs{...}

or:

        nil

type ReportGroupExportConfigPtrOutput

type ReportGroupExportConfigPtrOutput struct{ *pulumi.OutputState }

func (ReportGroupExportConfigPtrOutput) Elem

func (ReportGroupExportConfigPtrOutput) ElementType

func (ReportGroupExportConfigPtrOutput) S3Destination

contains information about the S3 bucket where the run of a report is exported. see S3 Destination documented below.

func (ReportGroupExportConfigPtrOutput) ToOutput added in v6.1.0

func (ReportGroupExportConfigPtrOutput) ToReportGroupExportConfigPtrOutput

func (o ReportGroupExportConfigPtrOutput) ToReportGroupExportConfigPtrOutput() ReportGroupExportConfigPtrOutput

func (ReportGroupExportConfigPtrOutput) ToReportGroupExportConfigPtrOutputWithContext

func (o ReportGroupExportConfigPtrOutput) ToReportGroupExportConfigPtrOutputWithContext(ctx context.Context) ReportGroupExportConfigPtrOutput

func (ReportGroupExportConfigPtrOutput) Type

The export configuration type. Valid values are `S3` and `NO_EXPORT`.

type ReportGroupExportConfigS3Destination

type ReportGroupExportConfigS3Destination struct {
	// The name of the S3 bucket where the raw data of a report are exported.
	Bucket string `pulumi:"bucket"`
	// A boolean value that specifies if the results of a report are encrypted.
	// **Note: the API does not currently allow setting encryption as disabled**
	EncryptionDisabled *bool `pulumi:"encryptionDisabled"`
	// The encryption key for the report's encrypted raw data. The KMS key ARN.
	EncryptionKey string `pulumi:"encryptionKey"`
	// The type of build output artifact to create. Valid values are: `NONE` (default) and `ZIP`.
	Packaging *string `pulumi:"packaging"`
	// The path to the exported report's raw data results.
	Path *string `pulumi:"path"`
}

type ReportGroupExportConfigS3DestinationArgs

type ReportGroupExportConfigS3DestinationArgs struct {
	// The name of the S3 bucket where the raw data of a report are exported.
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// A boolean value that specifies if the results of a report are encrypted.
	// **Note: the API does not currently allow setting encryption as disabled**
	EncryptionDisabled pulumi.BoolPtrInput `pulumi:"encryptionDisabled"`
	// The encryption key for the report's encrypted raw data. The KMS key ARN.
	EncryptionKey pulumi.StringInput `pulumi:"encryptionKey"`
	// The type of build output artifact to create. Valid values are: `NONE` (default) and `ZIP`.
	Packaging pulumi.StringPtrInput `pulumi:"packaging"`
	// The path to the exported report's raw data results.
	Path pulumi.StringPtrInput `pulumi:"path"`
}

func (ReportGroupExportConfigS3DestinationArgs) ElementType

func (ReportGroupExportConfigS3DestinationArgs) ToOutput added in v6.1.0

func (ReportGroupExportConfigS3DestinationArgs) ToReportGroupExportConfigS3DestinationOutput

func (i ReportGroupExportConfigS3DestinationArgs) ToReportGroupExportConfigS3DestinationOutput() ReportGroupExportConfigS3DestinationOutput

func (ReportGroupExportConfigS3DestinationArgs) ToReportGroupExportConfigS3DestinationOutputWithContext

func (i ReportGroupExportConfigS3DestinationArgs) ToReportGroupExportConfigS3DestinationOutputWithContext(ctx context.Context) ReportGroupExportConfigS3DestinationOutput

func (ReportGroupExportConfigS3DestinationArgs) ToReportGroupExportConfigS3DestinationPtrOutput

func (i ReportGroupExportConfigS3DestinationArgs) ToReportGroupExportConfigS3DestinationPtrOutput() ReportGroupExportConfigS3DestinationPtrOutput

func (ReportGroupExportConfigS3DestinationArgs) ToReportGroupExportConfigS3DestinationPtrOutputWithContext

func (i ReportGroupExportConfigS3DestinationArgs) ToReportGroupExportConfigS3DestinationPtrOutputWithContext(ctx context.Context) ReportGroupExportConfigS3DestinationPtrOutput

type ReportGroupExportConfigS3DestinationInput

type ReportGroupExportConfigS3DestinationInput interface {
	pulumi.Input

	ToReportGroupExportConfigS3DestinationOutput() ReportGroupExportConfigS3DestinationOutput
	ToReportGroupExportConfigS3DestinationOutputWithContext(context.Context) ReportGroupExportConfigS3DestinationOutput
}

ReportGroupExportConfigS3DestinationInput is an input type that accepts ReportGroupExportConfigS3DestinationArgs and ReportGroupExportConfigS3DestinationOutput values. You can construct a concrete instance of `ReportGroupExportConfigS3DestinationInput` via:

ReportGroupExportConfigS3DestinationArgs{...}

type ReportGroupExportConfigS3DestinationOutput

type ReportGroupExportConfigS3DestinationOutput struct{ *pulumi.OutputState }

func (ReportGroupExportConfigS3DestinationOutput) Bucket

The name of the S3 bucket where the raw data of a report are exported.

func (ReportGroupExportConfigS3DestinationOutput) ElementType

func (ReportGroupExportConfigS3DestinationOutput) EncryptionDisabled

A boolean value that specifies if the results of a report are encrypted. **Note: the API does not currently allow setting encryption as disabled**

func (ReportGroupExportConfigS3DestinationOutput) EncryptionKey

The encryption key for the report's encrypted raw data. The KMS key ARN.

func (ReportGroupExportConfigS3DestinationOutput) Packaging

The type of build output artifact to create. Valid values are: `NONE` (default) and `ZIP`.

func (ReportGroupExportConfigS3DestinationOutput) Path

The path to the exported report's raw data results.

func (ReportGroupExportConfigS3DestinationOutput) ToOutput added in v6.1.0

func (ReportGroupExportConfigS3DestinationOutput) ToReportGroupExportConfigS3DestinationOutput

func (o ReportGroupExportConfigS3DestinationOutput) ToReportGroupExportConfigS3DestinationOutput() ReportGroupExportConfigS3DestinationOutput

func (ReportGroupExportConfigS3DestinationOutput) ToReportGroupExportConfigS3DestinationOutputWithContext

func (o ReportGroupExportConfigS3DestinationOutput) ToReportGroupExportConfigS3DestinationOutputWithContext(ctx context.Context) ReportGroupExportConfigS3DestinationOutput

func (ReportGroupExportConfigS3DestinationOutput) ToReportGroupExportConfigS3DestinationPtrOutput

func (o ReportGroupExportConfigS3DestinationOutput) ToReportGroupExportConfigS3DestinationPtrOutput() ReportGroupExportConfigS3DestinationPtrOutput

func (ReportGroupExportConfigS3DestinationOutput) ToReportGroupExportConfigS3DestinationPtrOutputWithContext

func (o ReportGroupExportConfigS3DestinationOutput) ToReportGroupExportConfigS3DestinationPtrOutputWithContext(ctx context.Context) ReportGroupExportConfigS3DestinationPtrOutput

type ReportGroupExportConfigS3DestinationPtrInput

type ReportGroupExportConfigS3DestinationPtrInput interface {
	pulumi.Input

	ToReportGroupExportConfigS3DestinationPtrOutput() ReportGroupExportConfigS3DestinationPtrOutput
	ToReportGroupExportConfigS3DestinationPtrOutputWithContext(context.Context) ReportGroupExportConfigS3DestinationPtrOutput
}

ReportGroupExportConfigS3DestinationPtrInput is an input type that accepts ReportGroupExportConfigS3DestinationArgs, ReportGroupExportConfigS3DestinationPtr and ReportGroupExportConfigS3DestinationPtrOutput values. You can construct a concrete instance of `ReportGroupExportConfigS3DestinationPtrInput` via:

        ReportGroupExportConfigS3DestinationArgs{...}

or:

        nil

type ReportGroupExportConfigS3DestinationPtrOutput

type ReportGroupExportConfigS3DestinationPtrOutput struct{ *pulumi.OutputState }

func (ReportGroupExportConfigS3DestinationPtrOutput) Bucket

The name of the S3 bucket where the raw data of a report are exported.

func (ReportGroupExportConfigS3DestinationPtrOutput) Elem

func (ReportGroupExportConfigS3DestinationPtrOutput) ElementType

func (ReportGroupExportConfigS3DestinationPtrOutput) EncryptionDisabled

A boolean value that specifies if the results of a report are encrypted. **Note: the API does not currently allow setting encryption as disabled**

func (ReportGroupExportConfigS3DestinationPtrOutput) EncryptionKey

The encryption key for the report's encrypted raw data. The KMS key ARN.

func (ReportGroupExportConfigS3DestinationPtrOutput) Packaging

The type of build output artifact to create. Valid values are: `NONE` (default) and `ZIP`.

func (ReportGroupExportConfigS3DestinationPtrOutput) Path

The path to the exported report's raw data results.

func (ReportGroupExportConfigS3DestinationPtrOutput) ToOutput added in v6.1.0

func (ReportGroupExportConfigS3DestinationPtrOutput) ToReportGroupExportConfigS3DestinationPtrOutput

func (o ReportGroupExportConfigS3DestinationPtrOutput) ToReportGroupExportConfigS3DestinationPtrOutput() ReportGroupExportConfigS3DestinationPtrOutput

func (ReportGroupExportConfigS3DestinationPtrOutput) ToReportGroupExportConfigS3DestinationPtrOutputWithContext

func (o ReportGroupExportConfigS3DestinationPtrOutput) ToReportGroupExportConfigS3DestinationPtrOutputWithContext(ctx context.Context) ReportGroupExportConfigS3DestinationPtrOutput

type ReportGroupInput

type ReportGroupInput interface {
	pulumi.Input

	ToReportGroupOutput() ReportGroupOutput
	ToReportGroupOutputWithContext(ctx context.Context) ReportGroupOutput
}

type ReportGroupMap

type ReportGroupMap map[string]ReportGroupInput

func (ReportGroupMap) ElementType

func (ReportGroupMap) ElementType() reflect.Type

func (ReportGroupMap) ToOutput added in v6.1.0

func (ReportGroupMap) ToReportGroupMapOutput

func (i ReportGroupMap) ToReportGroupMapOutput() ReportGroupMapOutput

func (ReportGroupMap) ToReportGroupMapOutputWithContext

func (i ReportGroupMap) ToReportGroupMapOutputWithContext(ctx context.Context) ReportGroupMapOutput

type ReportGroupMapInput

type ReportGroupMapInput interface {
	pulumi.Input

	ToReportGroupMapOutput() ReportGroupMapOutput
	ToReportGroupMapOutputWithContext(context.Context) ReportGroupMapOutput
}

ReportGroupMapInput is an input type that accepts ReportGroupMap and ReportGroupMapOutput values. You can construct a concrete instance of `ReportGroupMapInput` via:

ReportGroupMap{ "key": ReportGroupArgs{...} }

type ReportGroupMapOutput

type ReportGroupMapOutput struct{ *pulumi.OutputState }

func (ReportGroupMapOutput) ElementType

func (ReportGroupMapOutput) ElementType() reflect.Type

func (ReportGroupMapOutput) MapIndex

func (ReportGroupMapOutput) ToOutput added in v6.1.0

func (ReportGroupMapOutput) ToReportGroupMapOutput

func (o ReportGroupMapOutput) ToReportGroupMapOutput() ReportGroupMapOutput

func (ReportGroupMapOutput) ToReportGroupMapOutputWithContext

func (o ReportGroupMapOutput) ToReportGroupMapOutputWithContext(ctx context.Context) ReportGroupMapOutput

type ReportGroupOutput

type ReportGroupOutput struct{ *pulumi.OutputState }

func (ReportGroupOutput) Arn

The ARN of Report Group.

func (ReportGroupOutput) Created

The date and time this Report Group was created.

func (ReportGroupOutput) DeleteReports

func (o ReportGroupOutput) DeleteReports() pulumi.BoolPtrOutput

If `true`, deletes any reports that belong to a report group before deleting the report group. If `false`, you must delete any reports in the report group before deleting it. Default value is `false`.

func (ReportGroupOutput) ElementType

func (ReportGroupOutput) ElementType() reflect.Type

func (ReportGroupOutput) ExportConfig

Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.

func (ReportGroupOutput) Name

The name of a Report Group.

func (ReportGroupOutput) Tags

Key-value mapping of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ReportGroupOutput) TagsAll

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

func (ReportGroupOutput) ToOutput added in v6.1.0

func (ReportGroupOutput) ToReportGroupOutput

func (o ReportGroupOutput) ToReportGroupOutput() ReportGroupOutput

func (ReportGroupOutput) ToReportGroupOutputWithContext

func (o ReportGroupOutput) ToReportGroupOutputWithContext(ctx context.Context) ReportGroupOutput

func (ReportGroupOutput) Type

The type of the Report Group. Valid value are `TEST` and `CODE_COVERAGE`.

type ReportGroupState

type ReportGroupState struct {
	// The ARN of Report Group.
	Arn pulumi.StringPtrInput
	// The date and time this Report Group was created.
	Created pulumi.StringPtrInput
	// If `true`, deletes any reports that belong to a report group before deleting the report group. If `false`, you must delete any reports in the report group before deleting it. Default value is `false`.
	DeleteReports pulumi.BoolPtrInput
	// Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
	ExportConfig ReportGroupExportConfigPtrInput
	// The name of a Report Group.
	Name pulumi.StringPtrInput
	// Key-value mapping of resource tags. .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.
	TagsAll pulumi.StringMapInput
	// The type of the Report Group. Valid value are `TEST` and `CODE_COVERAGE`.
	Type pulumi.StringPtrInput
}

func (ReportGroupState) ElementType

func (ReportGroupState) ElementType() reflect.Type

type ResourcePolicy

type ResourcePolicy struct {
	pulumi.CustomResourceState

	// A JSON-formatted resource policy. For more information, see [Sharing a Projec](https://docs.aws.amazon.com/codebuild/latest/userguide/project-sharing.html#project-sharing-share) and [Sharing a Report Group](https://docs.aws.amazon.com/codebuild/latest/userguide/report-groups-sharing.html#report-groups-sharing-share).
	Policy pulumi.StringOutput `pulumi:"policy"`
	// The ARN of the Project or ReportGroup resource you want to associate with a resource policy.
	ResourceArn pulumi.StringOutput `pulumi:"resourceArn"`
}

Provides a CodeBuild Resource Policy Resource.

## Example Usage

```go package main

import (

"encoding/json"
"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleReportGroup, err := codebuild.NewReportGroup(ctx, "exampleReportGroup", &codebuild.ReportGroupArgs{
			Type: pulumi.String("TEST"),
			ExportConfig: &codebuild.ReportGroupExportConfigArgs{
				Type: pulumi.String("NO_EXPORT"),
			},
		})
		if err != nil {
			return err
		}
		currentPartition, err := aws.GetPartition(ctx, nil, nil)
		if err != nil {
			return err
		}
		currentCallerIdentity, err := aws.GetCallerIdentity(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = codebuild.NewResourcePolicy(ctx, "exampleResourcePolicy", &codebuild.ResourcePolicyArgs{
			ResourceArn: exampleReportGroup.Arn,
			Policy: exampleReportGroup.Arn.ApplyT(func(arn string) (pulumi.String, error) {
				var _zero pulumi.String
				tmpJSON0, err := json.Marshal(map[string]interface{}{
					"Version": "2012-10-17",
					"Id":      "default",
					"Statement": []map[string]interface{}{
						map[string]interface{}{
							"Sid":    "default",
							"Effect": "Allow",
							"Principal": map[string]interface{}{
								"AWS": fmt.Sprintf("arn:%v:iam::%v:root", currentPartition.Partition, currentCallerIdentity.AccountId),
							},
							"Action": []string{
								"codebuild:BatchGetReportGroups",
								"codebuild:BatchGetReports",
								"codebuild:ListReportsForReportGroup",
								"codebuild:DescribeTestCases",
							},
							"Resource": arn,
						},
					},
				})
				if err != nil {
					return _zero, err
				}
				json0 := string(tmpJSON0)
				return pulumi.String(json0), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CodeBuild Resource Policy using the CodeBuild Resource Policy arn. For example:

```sh

$ pulumi import aws:codebuild/resourcePolicy:ResourcePolicy example arn:aws:codebuild:us-west-2:123456789:report-group/report-group-name

```

func GetResourcePolicy

func GetResourcePolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourcePolicyState, opts ...pulumi.ResourceOption) (*ResourcePolicy, error)

GetResourcePolicy gets an existing ResourcePolicy 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 NewResourcePolicy

func NewResourcePolicy(ctx *pulumi.Context,
	name string, args *ResourcePolicyArgs, opts ...pulumi.ResourceOption) (*ResourcePolicy, error)

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

func (*ResourcePolicy) ElementType

func (*ResourcePolicy) ElementType() reflect.Type

func (*ResourcePolicy) ToOutput added in v6.1.0

func (*ResourcePolicy) ToResourcePolicyOutput

func (i *ResourcePolicy) ToResourcePolicyOutput() ResourcePolicyOutput

func (*ResourcePolicy) ToResourcePolicyOutputWithContext

func (i *ResourcePolicy) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput

type ResourcePolicyArgs

type ResourcePolicyArgs struct {
	// A JSON-formatted resource policy. For more information, see [Sharing a Projec](https://docs.aws.amazon.com/codebuild/latest/userguide/project-sharing.html#project-sharing-share) and [Sharing a Report Group](https://docs.aws.amazon.com/codebuild/latest/userguide/report-groups-sharing.html#report-groups-sharing-share).
	Policy pulumi.StringInput
	// The ARN of the Project or ReportGroup resource you want to associate with a resource policy.
	ResourceArn pulumi.StringInput
}

The set of arguments for constructing a ResourcePolicy resource.

func (ResourcePolicyArgs) ElementType

func (ResourcePolicyArgs) ElementType() reflect.Type

type ResourcePolicyArray

type ResourcePolicyArray []ResourcePolicyInput

func (ResourcePolicyArray) ElementType

func (ResourcePolicyArray) ElementType() reflect.Type

func (ResourcePolicyArray) ToOutput added in v6.1.0

func (ResourcePolicyArray) ToResourcePolicyArrayOutput

func (i ResourcePolicyArray) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput

func (ResourcePolicyArray) ToResourcePolicyArrayOutputWithContext

func (i ResourcePolicyArray) ToResourcePolicyArrayOutputWithContext(ctx context.Context) ResourcePolicyArrayOutput

type ResourcePolicyArrayInput

type ResourcePolicyArrayInput interface {
	pulumi.Input

	ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput
	ToResourcePolicyArrayOutputWithContext(context.Context) ResourcePolicyArrayOutput
}

ResourcePolicyArrayInput is an input type that accepts ResourcePolicyArray and ResourcePolicyArrayOutput values. You can construct a concrete instance of `ResourcePolicyArrayInput` via:

ResourcePolicyArray{ ResourcePolicyArgs{...} }

type ResourcePolicyArrayOutput

type ResourcePolicyArrayOutput struct{ *pulumi.OutputState }

func (ResourcePolicyArrayOutput) ElementType

func (ResourcePolicyArrayOutput) ElementType() reflect.Type

func (ResourcePolicyArrayOutput) Index

func (ResourcePolicyArrayOutput) ToOutput added in v6.1.0

func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput

func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput

func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext

func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext(ctx context.Context) ResourcePolicyArrayOutput

type ResourcePolicyInput

type ResourcePolicyInput interface {
	pulumi.Input

	ToResourcePolicyOutput() ResourcePolicyOutput
	ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput
}

type ResourcePolicyMap

type ResourcePolicyMap map[string]ResourcePolicyInput

func (ResourcePolicyMap) ElementType

func (ResourcePolicyMap) ElementType() reflect.Type

func (ResourcePolicyMap) ToOutput added in v6.1.0

func (ResourcePolicyMap) ToResourcePolicyMapOutput

func (i ResourcePolicyMap) ToResourcePolicyMapOutput() ResourcePolicyMapOutput

func (ResourcePolicyMap) ToResourcePolicyMapOutputWithContext

func (i ResourcePolicyMap) ToResourcePolicyMapOutputWithContext(ctx context.Context) ResourcePolicyMapOutput

type ResourcePolicyMapInput

type ResourcePolicyMapInput interface {
	pulumi.Input

	ToResourcePolicyMapOutput() ResourcePolicyMapOutput
	ToResourcePolicyMapOutputWithContext(context.Context) ResourcePolicyMapOutput
}

ResourcePolicyMapInput is an input type that accepts ResourcePolicyMap and ResourcePolicyMapOutput values. You can construct a concrete instance of `ResourcePolicyMapInput` via:

ResourcePolicyMap{ "key": ResourcePolicyArgs{...} }

type ResourcePolicyMapOutput

type ResourcePolicyMapOutput struct{ *pulumi.OutputState }

func (ResourcePolicyMapOutput) ElementType

func (ResourcePolicyMapOutput) ElementType() reflect.Type

func (ResourcePolicyMapOutput) MapIndex

func (ResourcePolicyMapOutput) ToOutput added in v6.1.0

func (ResourcePolicyMapOutput) ToResourcePolicyMapOutput

func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutput() ResourcePolicyMapOutput

func (ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext

func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext(ctx context.Context) ResourcePolicyMapOutput

type ResourcePolicyOutput

type ResourcePolicyOutput struct{ *pulumi.OutputState }

func (ResourcePolicyOutput) ElementType

func (ResourcePolicyOutput) ElementType() reflect.Type

func (ResourcePolicyOutput) ResourceArn

func (o ResourcePolicyOutput) ResourceArn() pulumi.StringOutput

The ARN of the Project or ReportGroup resource you want to associate with a resource policy.

func (ResourcePolicyOutput) ToOutput added in v6.1.0

func (ResourcePolicyOutput) ToResourcePolicyOutput

func (o ResourcePolicyOutput) ToResourcePolicyOutput() ResourcePolicyOutput

func (ResourcePolicyOutput) ToResourcePolicyOutputWithContext

func (o ResourcePolicyOutput) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput

type ResourcePolicyState

type ResourcePolicyState struct {
	// A JSON-formatted resource policy. For more information, see [Sharing a Projec](https://docs.aws.amazon.com/codebuild/latest/userguide/project-sharing.html#project-sharing-share) and [Sharing a Report Group](https://docs.aws.amazon.com/codebuild/latest/userguide/report-groups-sharing.html#report-groups-sharing-share).
	Policy pulumi.StringPtrInput
	// The ARN of the Project or ReportGroup resource you want to associate with a resource policy.
	ResourceArn pulumi.StringPtrInput
}

func (ResourcePolicyState) ElementType

func (ResourcePolicyState) ElementType() reflect.Type

type SourceCredential

type SourceCredential struct {
	pulumi.CustomResourceState

	// The ARN of Source Credential.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API.
	AuthType pulumi.StringOutput `pulumi:"authType"`
	// The source provider used for this project.
	ServerType pulumi.StringOutput `pulumi:"serverType"`
	// For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, this is the app password.
	Token pulumi.StringOutput `pulumi:"token"`
	// The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for other types of source providers or connections.
	UserName pulumi.StringPtrOutput `pulumi:"userName"`
}

Provides a CodeBuild Source Credentials Resource.

> **NOTE:** [Codebuild only allows a single credential per given server type in a given region](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.GitHubSourceCredentials.html). Therefore, when you define `codebuild.SourceCredential`, `codebuild.Project` resource defined in the same module will use it.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := codebuild.NewSourceCredential(ctx, "example", &codebuild.SourceCredentialArgs{
			AuthType:   pulumi.String("PERSONAL_ACCESS_TOKEN"),
			ServerType: pulumi.String("GITHUB"),
			Token:      pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bitbucket Server Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := codebuild.NewSourceCredential(ctx, "example", &codebuild.SourceCredentialArgs{
			AuthType:   pulumi.String("BASIC_AUTH"),
			ServerType: pulumi.String("BITBUCKET"),
			Token:      pulumi.String("example"),
			UserName:   pulumi.String("test-user"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CodeBuild Source Credential using the CodeBuild Source Credential arn. For example:

```sh

$ pulumi import aws:codebuild/sourceCredential:SourceCredential example arn:aws:codebuild:us-west-2:123456789:token:github

```

func GetSourceCredential

func GetSourceCredential(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SourceCredentialState, opts ...pulumi.ResourceOption) (*SourceCredential, error)

GetSourceCredential gets an existing SourceCredential 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 NewSourceCredential

func NewSourceCredential(ctx *pulumi.Context,
	name string, args *SourceCredentialArgs, opts ...pulumi.ResourceOption) (*SourceCredential, error)

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

func (*SourceCredential) ElementType

func (*SourceCredential) ElementType() reflect.Type

func (*SourceCredential) ToOutput added in v6.1.0

func (*SourceCredential) ToSourceCredentialOutput

func (i *SourceCredential) ToSourceCredentialOutput() SourceCredentialOutput

func (*SourceCredential) ToSourceCredentialOutputWithContext

func (i *SourceCredential) ToSourceCredentialOutputWithContext(ctx context.Context) SourceCredentialOutput

type SourceCredentialArgs

type SourceCredentialArgs struct {
	// The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API.
	AuthType pulumi.StringInput
	// The source provider used for this project.
	ServerType pulumi.StringInput
	// For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, this is the app password.
	Token pulumi.StringInput
	// The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for other types of source providers or connections.
	UserName pulumi.StringPtrInput
}

The set of arguments for constructing a SourceCredential resource.

func (SourceCredentialArgs) ElementType

func (SourceCredentialArgs) ElementType() reflect.Type

type SourceCredentialArray

type SourceCredentialArray []SourceCredentialInput

func (SourceCredentialArray) ElementType

func (SourceCredentialArray) ElementType() reflect.Type

func (SourceCredentialArray) ToOutput added in v6.1.0

func (SourceCredentialArray) ToSourceCredentialArrayOutput

func (i SourceCredentialArray) ToSourceCredentialArrayOutput() SourceCredentialArrayOutput

func (SourceCredentialArray) ToSourceCredentialArrayOutputWithContext

func (i SourceCredentialArray) ToSourceCredentialArrayOutputWithContext(ctx context.Context) SourceCredentialArrayOutput

type SourceCredentialArrayInput

type SourceCredentialArrayInput interface {
	pulumi.Input

	ToSourceCredentialArrayOutput() SourceCredentialArrayOutput
	ToSourceCredentialArrayOutputWithContext(context.Context) SourceCredentialArrayOutput
}

SourceCredentialArrayInput is an input type that accepts SourceCredentialArray and SourceCredentialArrayOutput values. You can construct a concrete instance of `SourceCredentialArrayInput` via:

SourceCredentialArray{ SourceCredentialArgs{...} }

type SourceCredentialArrayOutput

type SourceCredentialArrayOutput struct{ *pulumi.OutputState }

func (SourceCredentialArrayOutput) ElementType

func (SourceCredentialArrayOutput) Index

func (SourceCredentialArrayOutput) ToOutput added in v6.1.0

func (SourceCredentialArrayOutput) ToSourceCredentialArrayOutput

func (o SourceCredentialArrayOutput) ToSourceCredentialArrayOutput() SourceCredentialArrayOutput

func (SourceCredentialArrayOutput) ToSourceCredentialArrayOutputWithContext

func (o SourceCredentialArrayOutput) ToSourceCredentialArrayOutputWithContext(ctx context.Context) SourceCredentialArrayOutput

type SourceCredentialInput

type SourceCredentialInput interface {
	pulumi.Input

	ToSourceCredentialOutput() SourceCredentialOutput
	ToSourceCredentialOutputWithContext(ctx context.Context) SourceCredentialOutput
}

type SourceCredentialMap

type SourceCredentialMap map[string]SourceCredentialInput

func (SourceCredentialMap) ElementType

func (SourceCredentialMap) ElementType() reflect.Type

func (SourceCredentialMap) ToOutput added in v6.1.0

func (SourceCredentialMap) ToSourceCredentialMapOutput

func (i SourceCredentialMap) ToSourceCredentialMapOutput() SourceCredentialMapOutput

func (SourceCredentialMap) ToSourceCredentialMapOutputWithContext

func (i SourceCredentialMap) ToSourceCredentialMapOutputWithContext(ctx context.Context) SourceCredentialMapOutput

type SourceCredentialMapInput

type SourceCredentialMapInput interface {
	pulumi.Input

	ToSourceCredentialMapOutput() SourceCredentialMapOutput
	ToSourceCredentialMapOutputWithContext(context.Context) SourceCredentialMapOutput
}

SourceCredentialMapInput is an input type that accepts SourceCredentialMap and SourceCredentialMapOutput values. You can construct a concrete instance of `SourceCredentialMapInput` via:

SourceCredentialMap{ "key": SourceCredentialArgs{...} }

type SourceCredentialMapOutput

type SourceCredentialMapOutput struct{ *pulumi.OutputState }

func (SourceCredentialMapOutput) ElementType

func (SourceCredentialMapOutput) ElementType() reflect.Type

func (SourceCredentialMapOutput) MapIndex

func (SourceCredentialMapOutput) ToOutput added in v6.1.0

func (SourceCredentialMapOutput) ToSourceCredentialMapOutput

func (o SourceCredentialMapOutput) ToSourceCredentialMapOutput() SourceCredentialMapOutput

func (SourceCredentialMapOutput) ToSourceCredentialMapOutputWithContext

func (o SourceCredentialMapOutput) ToSourceCredentialMapOutputWithContext(ctx context.Context) SourceCredentialMapOutput

type SourceCredentialOutput

type SourceCredentialOutput struct{ *pulumi.OutputState }

func (SourceCredentialOutput) Arn

The ARN of Source Credential.

func (SourceCredentialOutput) AuthType

The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API.

func (SourceCredentialOutput) ElementType

func (SourceCredentialOutput) ElementType() reflect.Type

func (SourceCredentialOutput) ServerType

The source provider used for this project.

func (SourceCredentialOutput) ToOutput added in v6.1.0

func (SourceCredentialOutput) ToSourceCredentialOutput

func (o SourceCredentialOutput) ToSourceCredentialOutput() SourceCredentialOutput

func (SourceCredentialOutput) ToSourceCredentialOutputWithContext

func (o SourceCredentialOutput) ToSourceCredentialOutputWithContext(ctx context.Context) SourceCredentialOutput

func (SourceCredentialOutput) Token

For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, this is the app password.

func (SourceCredentialOutput) UserName

The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for other types of source providers or connections.

type SourceCredentialState

type SourceCredentialState struct {
	// The ARN of Source Credential.
	Arn pulumi.StringPtrInput
	// The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API.
	AuthType pulumi.StringPtrInput
	// The source provider used for this project.
	ServerType pulumi.StringPtrInput
	// For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, this is the app password.
	Token pulumi.StringPtrInput
	// The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for other types of source providers or connections.
	UserName pulumi.StringPtrInput
}

func (SourceCredentialState) ElementType

func (SourceCredentialState) ElementType() reflect.Type

type Webhook

type Webhook struct {
	pulumi.CustomResourceState

	// A regular expression used to determine which branches get built. Default is all branches are built. We recommend using `filterGroup` over `branchFilter`.
	BranchFilter pulumi.StringPtrOutput `pulumi:"branchFilter"`
	// The type of build this webhook will trigger. Valid values for this parameter are: `BUILD`, `BUILD_BATCH`.
	BuildType pulumi.StringPtrOutput `pulumi:"buildType"`
	// Information about the webhook's trigger. Filter group blocks are documented below.
	FilterGroups WebhookFilterGroupArrayOutput `pulumi:"filterGroups"`
	// The CodeBuild endpoint where webhook events are sent.
	PayloadUrl pulumi.StringOutput `pulumi:"payloadUrl"`
	// The name of the build project.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// The secret token of the associated repository. Not returned by the CodeBuild API for all source types.
	Secret pulumi.StringOutput `pulumi:"secret"`
	// The URL to the webhook.
	Url pulumi.StringOutput `pulumi:"url"`
}

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.

## Example Usage ### Bitbucket and GitHub

When working with [Bitbucket](https://bitbucket.org) and [GitHub](https://github.com) source CodeBuild webhooks, the CodeBuild service will automatically create (on `codebuild.Webhook` resource creation) and delete (on `codebuild.Webhook` resource deletion) the Bitbucket/GitHub repository webhook using its granted OAuth permissions. This behavior cannot be controlled by this provider.

> **Note:** The AWS account that this provider uses to create this resource *must* have authorized CodeBuild to access Bitbucket/GitHub's OAuth API in each applicable region. This is a manual step that must be done *before* creating webhooks with this resource. If OAuth is not configured, AWS will return an error similar to `ResourceNotFoundException: Could not find access token for server type github`. More information can be found in the CodeBuild User Guide for [Bitbucket](https://docs.aws.amazon.com/codebuild/latest/userguide/sample-bitbucket-pull-request.html) and [GitHub](https://docs.aws.amazon.com/codebuild/latest/userguide/sample-github-pull-request.html).

> **Note:** Further managing the automatically created Bitbucket/GitHub webhook with the `bitbucketHook`/`githubRepositoryWebhook` resource is only possible with importing that resource after creation of the `codebuild.Webhook` resource. The CodeBuild API does not ever provide the `secret` attribute for the `codebuild.Webhook` resource in this scenario.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := codebuild.NewWebhook(ctx, "example", &codebuild.WebhookArgs{
			ProjectName: pulumi.Any(aws_codebuild_project.Example.Name),
			BuildType:   pulumi.String("BUILD"),
			FilterGroups: codebuild.WebhookFilterGroupArray{
				&codebuild.WebhookFilterGroupArgs{
					Filters: codebuild.WebhookFilterGroupFilterArray{
						&codebuild.WebhookFilterGroupFilterArgs{
							Type:    pulumi.String("EVENT"),
							Pattern: pulumi.String("PUSH"),
						},
						&codebuild.WebhookFilterGroupFilterArgs{
							Type:    pulumi.String("BASE_REF"),
							Pattern: pulumi.String("master"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### GitHub Enterprise

When working with [GitHub Enterprise](https://enterprise.github.com/) source CodeBuild webhooks, the GHE repository webhook must be separately managed (e.g., manually or with the `githubRepositoryWebhook` resource).

More information creating webhooks with GitHub Enterprise can be found in the [CodeBuild User Guide](https://docs.aws.amazon.com/codebuild/latest/userguide/sample-github-enterprise.html).

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/codebuild"
"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 {
		exampleWebhook, err := codebuild.NewWebhook(ctx, "exampleWebhook", &codebuild.WebhookArgs{
			ProjectName: pulumi.Any(aws_codebuild_project.Example.Name),
		})
		if err != nil {
			return err
		}
		_, err = github.NewRepositoryWebhook(ctx, "exampleRepositoryWebhook", &github.RepositoryWebhookArgs{
			Active: pulumi.Bool(true),
			Events: pulumi.StringArray{
				pulumi.String("push"),
			},
			Repository: pulumi.Any(github_repository.Example.Name),
			Configuration: &github.RepositoryWebhookConfigurationArgs{
				Url:         exampleWebhook.PayloadUrl,
				Secret:      exampleWebhook.Secret,
				ContentType: pulumi.String("json"),
				InsecureSsl: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import CodeBuild Webhooks using the CodeBuild Project name. For example:

```sh

$ pulumi import aws:codebuild/webhook:Webhook example MyProjectName

```

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) ToOutput added in v6.1.0

func (i *Webhook) ToOutput(ctx context.Context) pulumix.Output[*Webhook]

func (*Webhook) ToWebhookOutput

func (i *Webhook) ToWebhookOutput() WebhookOutput

func (*Webhook) ToWebhookOutputWithContext

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

type WebhookArgs

type WebhookArgs struct {
	// A regular expression used to determine which branches get built. Default is all branches are built. We recommend using `filterGroup` over `branchFilter`.
	BranchFilter pulumi.StringPtrInput
	// The type of build this webhook will trigger. Valid values for this parameter are: `BUILD`, `BUILD_BATCH`.
	BuildType pulumi.StringPtrInput
	// Information about the webhook's trigger. Filter group blocks are documented below.
	FilterGroups WebhookFilterGroupArrayInput
	// The name of the build project.
	ProjectName 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) ToOutput added in v6.1.0

func (i WebhookArray) ToOutput(ctx context.Context) pulumix.Output[[]*Webhook]

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) ToOutput added in v6.1.0

func (WebhookArrayOutput) ToWebhookArrayOutput

func (o WebhookArrayOutput) ToWebhookArrayOutput() WebhookArrayOutput

func (WebhookArrayOutput) ToWebhookArrayOutputWithContext

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

type WebhookFilterGroup

type WebhookFilterGroup struct {
	// A webhook filter for the group. Filter blocks are documented below.
	Filters []WebhookFilterGroupFilter `pulumi:"filters"`
}

type WebhookFilterGroupArgs

type WebhookFilterGroupArgs struct {
	// A webhook filter for the group. Filter blocks are documented below.
	Filters WebhookFilterGroupFilterArrayInput `pulumi:"filters"`
}

func (WebhookFilterGroupArgs) ElementType

func (WebhookFilterGroupArgs) ElementType() reflect.Type

func (WebhookFilterGroupArgs) ToOutput added in v6.1.0

func (WebhookFilterGroupArgs) ToWebhookFilterGroupOutput

func (i WebhookFilterGroupArgs) ToWebhookFilterGroupOutput() WebhookFilterGroupOutput

func (WebhookFilterGroupArgs) ToWebhookFilterGroupOutputWithContext

func (i WebhookFilterGroupArgs) ToWebhookFilterGroupOutputWithContext(ctx context.Context) WebhookFilterGroupOutput

type WebhookFilterGroupArray

type WebhookFilterGroupArray []WebhookFilterGroupInput

func (WebhookFilterGroupArray) ElementType

func (WebhookFilterGroupArray) ElementType() reflect.Type

func (WebhookFilterGroupArray) ToOutput added in v6.1.0

func (WebhookFilterGroupArray) ToWebhookFilterGroupArrayOutput

func (i WebhookFilterGroupArray) ToWebhookFilterGroupArrayOutput() WebhookFilterGroupArrayOutput

func (WebhookFilterGroupArray) ToWebhookFilterGroupArrayOutputWithContext

func (i WebhookFilterGroupArray) ToWebhookFilterGroupArrayOutputWithContext(ctx context.Context) WebhookFilterGroupArrayOutput

type WebhookFilterGroupArrayInput

type WebhookFilterGroupArrayInput interface {
	pulumi.Input

	ToWebhookFilterGroupArrayOutput() WebhookFilterGroupArrayOutput
	ToWebhookFilterGroupArrayOutputWithContext(context.Context) WebhookFilterGroupArrayOutput
}

WebhookFilterGroupArrayInput is an input type that accepts WebhookFilterGroupArray and WebhookFilterGroupArrayOutput values. You can construct a concrete instance of `WebhookFilterGroupArrayInput` via:

WebhookFilterGroupArray{ WebhookFilterGroupArgs{...} }

type WebhookFilterGroupArrayOutput

type WebhookFilterGroupArrayOutput struct{ *pulumi.OutputState }

func (WebhookFilterGroupArrayOutput) ElementType

func (WebhookFilterGroupArrayOutput) Index

func (WebhookFilterGroupArrayOutput) ToOutput added in v6.1.0

func (WebhookFilterGroupArrayOutput) ToWebhookFilterGroupArrayOutput

func (o WebhookFilterGroupArrayOutput) ToWebhookFilterGroupArrayOutput() WebhookFilterGroupArrayOutput

func (WebhookFilterGroupArrayOutput) ToWebhookFilterGroupArrayOutputWithContext

func (o WebhookFilterGroupArrayOutput) ToWebhookFilterGroupArrayOutputWithContext(ctx context.Context) WebhookFilterGroupArrayOutput

type WebhookFilterGroupFilter

type WebhookFilterGroupFilter struct {
	// If set to `true`, the specified filter does *not* trigger a build. Defaults to `false`.
	ExcludeMatchedPattern *bool `pulumi:"excludeMatchedPattern"`
	// For a filter that uses `EVENT` type, a comma-separated string that specifies one event: `PUSH`, `PULL_REQUEST_CREATED`, `PULL_REQUEST_UPDATED`, `PULL_REQUEST_REOPENED`. `PULL_REQUEST_MERGED` works with GitHub & GitHub Enterprise only. For a filter that uses any of the other filter types, a regular expression.
	Pattern string `pulumi:"pattern"`
	// The webhook filter group's type. Valid values for this parameter are: `EVENT`, `BASE_REF`, `HEAD_REF`, `ACTOR_ACCOUNT_ID`, `FILE_PATH`, `COMMIT_MESSAGE`. At least one filter group must specify `EVENT` as its type.
	Type string `pulumi:"type"`
}

type WebhookFilterGroupFilterArgs

type WebhookFilterGroupFilterArgs struct {
	// If set to `true`, the specified filter does *not* trigger a build. Defaults to `false`.
	ExcludeMatchedPattern pulumi.BoolPtrInput `pulumi:"excludeMatchedPattern"`
	// For a filter that uses `EVENT` type, a comma-separated string that specifies one event: `PUSH`, `PULL_REQUEST_CREATED`, `PULL_REQUEST_UPDATED`, `PULL_REQUEST_REOPENED`. `PULL_REQUEST_MERGED` works with GitHub & GitHub Enterprise only. For a filter that uses any of the other filter types, a regular expression.
	Pattern pulumi.StringInput `pulumi:"pattern"`
	// The webhook filter group's type. Valid values for this parameter are: `EVENT`, `BASE_REF`, `HEAD_REF`, `ACTOR_ACCOUNT_ID`, `FILE_PATH`, `COMMIT_MESSAGE`. At least one filter group must specify `EVENT` as its type.
	Type pulumi.StringInput `pulumi:"type"`
}

func (WebhookFilterGroupFilterArgs) ElementType

func (WebhookFilterGroupFilterArgs) ToOutput added in v6.1.0

func (WebhookFilterGroupFilterArgs) ToWebhookFilterGroupFilterOutput

func (i WebhookFilterGroupFilterArgs) ToWebhookFilterGroupFilterOutput() WebhookFilterGroupFilterOutput

func (WebhookFilterGroupFilterArgs) ToWebhookFilterGroupFilterOutputWithContext

func (i WebhookFilterGroupFilterArgs) ToWebhookFilterGroupFilterOutputWithContext(ctx context.Context) WebhookFilterGroupFilterOutput

type WebhookFilterGroupFilterArray

type WebhookFilterGroupFilterArray []WebhookFilterGroupFilterInput

func (WebhookFilterGroupFilterArray) ElementType

func (WebhookFilterGroupFilterArray) ToOutput added in v6.1.0

func (WebhookFilterGroupFilterArray) ToWebhookFilterGroupFilterArrayOutput

func (i WebhookFilterGroupFilterArray) ToWebhookFilterGroupFilterArrayOutput() WebhookFilterGroupFilterArrayOutput

func (WebhookFilterGroupFilterArray) ToWebhookFilterGroupFilterArrayOutputWithContext

func (i WebhookFilterGroupFilterArray) ToWebhookFilterGroupFilterArrayOutputWithContext(ctx context.Context) WebhookFilterGroupFilterArrayOutput

type WebhookFilterGroupFilterArrayInput

type WebhookFilterGroupFilterArrayInput interface {
	pulumi.Input

	ToWebhookFilterGroupFilterArrayOutput() WebhookFilterGroupFilterArrayOutput
	ToWebhookFilterGroupFilterArrayOutputWithContext(context.Context) WebhookFilterGroupFilterArrayOutput
}

WebhookFilterGroupFilterArrayInput is an input type that accepts WebhookFilterGroupFilterArray and WebhookFilterGroupFilterArrayOutput values. You can construct a concrete instance of `WebhookFilterGroupFilterArrayInput` via:

WebhookFilterGroupFilterArray{ WebhookFilterGroupFilterArgs{...} }

type WebhookFilterGroupFilterArrayOutput

type WebhookFilterGroupFilterArrayOutput struct{ *pulumi.OutputState }

func (WebhookFilterGroupFilterArrayOutput) ElementType

func (WebhookFilterGroupFilterArrayOutput) Index

func (WebhookFilterGroupFilterArrayOutput) ToOutput added in v6.1.0

func (WebhookFilterGroupFilterArrayOutput) ToWebhookFilterGroupFilterArrayOutput

func (o WebhookFilterGroupFilterArrayOutput) ToWebhookFilterGroupFilterArrayOutput() WebhookFilterGroupFilterArrayOutput

func (WebhookFilterGroupFilterArrayOutput) ToWebhookFilterGroupFilterArrayOutputWithContext

func (o WebhookFilterGroupFilterArrayOutput) ToWebhookFilterGroupFilterArrayOutputWithContext(ctx context.Context) WebhookFilterGroupFilterArrayOutput

type WebhookFilterGroupFilterInput

type WebhookFilterGroupFilterInput interface {
	pulumi.Input

	ToWebhookFilterGroupFilterOutput() WebhookFilterGroupFilterOutput
	ToWebhookFilterGroupFilterOutputWithContext(context.Context) WebhookFilterGroupFilterOutput
}

WebhookFilterGroupFilterInput is an input type that accepts WebhookFilterGroupFilterArgs and WebhookFilterGroupFilterOutput values. You can construct a concrete instance of `WebhookFilterGroupFilterInput` via:

WebhookFilterGroupFilterArgs{...}

type WebhookFilterGroupFilterOutput

type WebhookFilterGroupFilterOutput struct{ *pulumi.OutputState }

func (WebhookFilterGroupFilterOutput) ElementType

func (WebhookFilterGroupFilterOutput) ExcludeMatchedPattern

func (o WebhookFilterGroupFilterOutput) ExcludeMatchedPattern() pulumi.BoolPtrOutput

If set to `true`, the specified filter does *not* trigger a build. Defaults to `false`.

func (WebhookFilterGroupFilterOutput) Pattern

For a filter that uses `EVENT` type, a comma-separated string that specifies one event: `PUSH`, `PULL_REQUEST_CREATED`, `PULL_REQUEST_UPDATED`, `PULL_REQUEST_REOPENED`. `PULL_REQUEST_MERGED` works with GitHub & GitHub Enterprise only. For a filter that uses any of the other filter types, a regular expression.

func (WebhookFilterGroupFilterOutput) ToOutput added in v6.1.0

func (WebhookFilterGroupFilterOutput) ToWebhookFilterGroupFilterOutput

func (o WebhookFilterGroupFilterOutput) ToWebhookFilterGroupFilterOutput() WebhookFilterGroupFilterOutput

func (WebhookFilterGroupFilterOutput) ToWebhookFilterGroupFilterOutputWithContext

func (o WebhookFilterGroupFilterOutput) ToWebhookFilterGroupFilterOutputWithContext(ctx context.Context) WebhookFilterGroupFilterOutput

func (WebhookFilterGroupFilterOutput) Type

The webhook filter group's type. Valid values for this parameter are: `EVENT`, `BASE_REF`, `HEAD_REF`, `ACTOR_ACCOUNT_ID`, `FILE_PATH`, `COMMIT_MESSAGE`. At least one filter group must specify `EVENT` as its type.

type WebhookFilterGroupInput

type WebhookFilterGroupInput interface {
	pulumi.Input

	ToWebhookFilterGroupOutput() WebhookFilterGroupOutput
	ToWebhookFilterGroupOutputWithContext(context.Context) WebhookFilterGroupOutput
}

WebhookFilterGroupInput is an input type that accepts WebhookFilterGroupArgs and WebhookFilterGroupOutput values. You can construct a concrete instance of `WebhookFilterGroupInput` via:

WebhookFilterGroupArgs{...}

type WebhookFilterGroupOutput

type WebhookFilterGroupOutput struct{ *pulumi.OutputState }

func (WebhookFilterGroupOutput) ElementType

func (WebhookFilterGroupOutput) ElementType() reflect.Type

func (WebhookFilterGroupOutput) Filters

A webhook filter for the group. Filter blocks are documented below.

func (WebhookFilterGroupOutput) ToOutput added in v6.1.0

func (WebhookFilterGroupOutput) ToWebhookFilterGroupOutput

func (o WebhookFilterGroupOutput) ToWebhookFilterGroupOutput() WebhookFilterGroupOutput

func (WebhookFilterGroupOutput) ToWebhookFilterGroupOutputWithContext

func (o WebhookFilterGroupOutput) ToWebhookFilterGroupOutputWithContext(ctx context.Context) WebhookFilterGroupOutput

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) ToOutput added in v6.1.0

func (i WebhookMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Webhook]

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) ToOutput added in v6.1.0

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) BranchFilter

func (o WebhookOutput) BranchFilter() pulumi.StringPtrOutput

A regular expression used to determine which branches get built. Default is all branches are built. We recommend using `filterGroup` over `branchFilter`.

func (WebhookOutput) BuildType

func (o WebhookOutput) BuildType() pulumi.StringPtrOutput

The type of build this webhook will trigger. Valid values for this parameter are: `BUILD`, `BUILD_BATCH`.

func (WebhookOutput) ElementType

func (WebhookOutput) ElementType() reflect.Type

func (WebhookOutput) FilterGroups

Information about the webhook's trigger. Filter group blocks are documented below.

func (WebhookOutput) PayloadUrl

func (o WebhookOutput) PayloadUrl() pulumi.StringOutput

The CodeBuild endpoint where webhook events are sent.

func (WebhookOutput) ProjectName

func (o WebhookOutput) ProjectName() pulumi.StringOutput

The name of the build project.

func (WebhookOutput) Secret

func (o WebhookOutput) Secret() pulumi.StringOutput

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

func (WebhookOutput) ToOutput added in v6.1.0

func (o WebhookOutput) ToOutput(ctx context.Context) pulumix.Output[*Webhook]

func (WebhookOutput) ToWebhookOutput

func (o WebhookOutput) ToWebhookOutput() WebhookOutput

func (WebhookOutput) ToWebhookOutputWithContext

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

func (WebhookOutput) Url

The URL to the webhook.

type WebhookState

type WebhookState struct {
	// A regular expression used to determine which branches get built. Default is all branches are built. We recommend using `filterGroup` over `branchFilter`.
	BranchFilter pulumi.StringPtrInput
	// The type of build this webhook will trigger. Valid values for this parameter are: `BUILD`, `BUILD_BATCH`.
	BuildType pulumi.StringPtrInput
	// Information about the webhook's trigger. Filter group blocks are documented below.
	FilterGroups WebhookFilterGroupArrayInput
	// The CodeBuild endpoint where webhook events are sent.
	PayloadUrl pulumi.StringPtrInput
	// The name of the build project.
	ProjectName pulumi.StringPtrInput
	// The secret token of the associated repository. Not returned by the CodeBuild API for all source types.
	Secret pulumi.StringPtrInput
	// The URL to the webhook.
	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