codebuild

package
v4.37.4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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 to mount inside the build. File system locations are documented below.
	FileSystemLocations ProjectFileSystemLocationArrayOutput `pulumi:"fileSystemLocations"`
	// Configuration block. Detailed below.
	LogsConfig ProjectLogsConfigPtrOutput `pulumi:"logsConfig"`
	// Name of the project. If `type` is set to `S3`, this is the name of the output artifact object
	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"`
	// Specifies the service role ARN for the batch build project.
	ServiceRole pulumi.StringOutput `pulumi:"serviceRole"`
	// Configuration block. Detailed below.
	Source ProjectSourceOutput `pulumi:"source"`
	// 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.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/v4/go/aws/codebuild"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleBucket, err := s3.NewBucket(ctx, "exampleBucket", &s3.BucketArgs{
			Acl: pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{
			AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "  \"Version\": \"2012-10-17\",\n", "  \"Statement\": [\n", "    {\n", "      \"Effect\": \"Allow\",\n", "      \"Principal\": {\n", "        \"Service\": \"codebuild.amazonaws.com\"\n", "      },\n", "      \"Action\": \"sts:AssumeRole\"\n", "    }\n", "  ]\n", "}\n")),
		})
		if err != nil {
			return err
		}
		_, err = iam.NewRolePolicy(ctx, "exampleRolePolicy", &iam.RolePolicyArgs{
			Role: exampleRole.Name,
			Policy: pulumi.All(exampleBucket.Arn, exampleBucket.Arn).ApplyT(func(_args []interface{}) (string, error) {
				exampleBucketArn := _args[0].(string)
				exampleBucketArn1 := _args[1].(string)
				return fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "  \"Version\": \"2012-10-17\",\n", "  \"Statement\": [\n", "    {\n", "      \"Effect\": \"Allow\",\n", "      \"Resource\": [\n", "        \"*\"\n", "      ],\n", "      \"Action\": [\n", "        \"logs:CreateLogGroup\",\n", "        \"logs:CreateLogStream\",\n", "        \"logs:PutLogEvents\"\n", "      ]\n", "    },\n", "    {\n", "      \"Effect\": \"Allow\",\n", "      \"Action\": [\n", "        \"ec2:CreateNetworkInterface\",\n", "        \"ec2:DescribeDhcpOptions\",\n", "        \"ec2:DescribeNetworkInterfaces\",\n", "        \"ec2:DeleteNetworkInterface\",\n", "        \"ec2:DescribeSubnets\",\n", "        \"ec2:DescribeSecurityGroups\",\n", "        \"ec2:DescribeVpcs\"\n", "      ],\n", "      \"Resource\": \"*\"\n", "    },\n", "    {\n", "      \"Effect\": \"Allow\",\n", "      \"Action\": [\n", "        \"ec2:CreateNetworkInterfacePermission\"\n", "      ],\n", "      \"Resource\": [\n", "        \"arn:aws:ec2:us-east-1:123456789012:network-interface/*\"\n", "      ],\n", "      \"Condition\": {\n", "        \"StringEquals\": {\n", "          \"ec2:Subnet\": [\n", "            \"", aws_subnet.Example1.Arn, "\",\n", "            \"", aws_subnet.Example2.Arn, "\"\n", "          ],\n", "          \"ec2:AuthorizedService\": \"codebuild.amazonaws.com\"\n", "        }\n", "      }\n", "    },\n", "    {\n", "      \"Effect\": \"Allow\",\n", "      \"Action\": [\n", "        \"s3:*\"\n", "      ],\n", "      \"Resource\": [\n", "        \"", exampleBucketArn, "\",\n", "        \"", exampleBucketArn1, "/*\"\n", "      ]\n", "    }\n", "  ]\n", "}\n"), nil
			}).(pulumi.StringOutput),
		})
		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: exampleBucket.Bucket,
			},
			Environment: &codebuild.ProjectEnvironmentArgs{
				ComputeType:              pulumi.String("BUILD_GENERAL1_SMALL"),
				Image:                    pulumi.String("aws/codebuild/standard:1.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: exampleBucket.ID().ApplyT(func(id string) (string, error) {
						return fmt.Sprintf("%v%v", id, "/build-log"), 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{
					pulumi.Any(aws_subnet.Example1.Id),
					pulumi.Any(aws_subnet.Example2.Id),
				},
				SecurityGroupIds: pulumi.StringArray{
					pulumi.Any(aws_security_group.Example1.Id),
					pulumi.Any(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/standard:1.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

CodeBuild Project can be imported using the `name`, e.g.,

```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) 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 to mount inside the build. File system locations are documented below.
	FileSystemLocations ProjectFileSystemLocationArrayInput
	// Configuration block. Detailed below.
	LogsConfig ProjectLogsConfigPtrInput
	// Name of the project. If `type` is set to `S3`, this is the name of the output artifact object
	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
	// Specifies the service role ARN for the batch build project.
	ServiceRole pulumi.StringInput
	// Configuration block. Detailed below.
	Source ProjectSourceInput
	// 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.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) 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) 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"`
	// Location of the source code from git or s3.
	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` 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 `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"`
	// 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 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"`
	// Location of the source code from git or s3.
	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` 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 `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"`
	// 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 (ProjectArtifactsArgs) ElementType

func (ProjectArtifactsArgs) ElementType() reflect.Type

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 added in v4.34.0

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

Location of the source code from git or s3.

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` or `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) 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

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

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 added in v4.34.0

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

Location of the source code from git or s3.

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` or `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) ToProjectArtifactsPtrOutput

func (o ProjectArtifactsPtrOutput) ToProjectArtifactsPtrOutput() ProjectArtifactsPtrOutput

func (ProjectArtifactsPtrOutput) ToProjectArtifactsPtrOutputWithContext

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

func (ProjectArtifactsPtrOutput) Type

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

type ProjectBuildBatchConfig added in v4.2.0

type ProjectBuildBatchConfig struct {
	// Specifies if the build artifacts for the batch build should be combined into a single artifact location.
	CombineArtifacts *bool `pulumi:"combineArtifacts"`
	// Specifies the restrictions for the batch build.
	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 added in v4.2.0

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"`
	// Specifies the restrictions for the batch build.
	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 added in v4.2.0

func (ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigOutput added in v4.2.0

func (i ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigOutput() ProjectBuildBatchConfigOutput

func (ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigOutputWithContext added in v4.2.0

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

func (ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigPtrOutput added in v4.2.0

func (i ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigPtrOutput() ProjectBuildBatchConfigPtrOutput

func (ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigPtrOutputWithContext added in v4.2.0

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

type ProjectBuildBatchConfigInput added in v4.2.0

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 added in v4.2.0

type ProjectBuildBatchConfigOutput struct{ *pulumi.OutputState }

func (ProjectBuildBatchConfigOutput) CombineArtifacts added in v4.2.0

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 added in v4.2.0

func (ProjectBuildBatchConfigOutput) Restrictions added in v4.2.0

Specifies the restrictions for the batch build.

func (ProjectBuildBatchConfigOutput) ServiceRole added in v4.2.0

Specifies the service role ARN for the batch build project.

func (ProjectBuildBatchConfigOutput) TimeoutInMins added in v4.2.0

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

func (ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigOutput added in v4.2.0

func (o ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigOutput() ProjectBuildBatchConfigOutput

func (ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigOutputWithContext added in v4.2.0

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

func (ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigPtrOutput added in v4.2.0

func (o ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigPtrOutput() ProjectBuildBatchConfigPtrOutput

func (ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigPtrOutputWithContext added in v4.2.0

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

type ProjectBuildBatchConfigPtrInput added in v4.2.0

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

func ProjectBuildBatchConfigPtr added in v4.2.0

func ProjectBuildBatchConfigPtr(v *ProjectBuildBatchConfigArgs) ProjectBuildBatchConfigPtrInput

type ProjectBuildBatchConfigPtrOutput added in v4.2.0

type ProjectBuildBatchConfigPtrOutput struct{ *pulumi.OutputState }

func (ProjectBuildBatchConfigPtrOutput) CombineArtifacts added in v4.2.0

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

func (ProjectBuildBatchConfigPtrOutput) Elem added in v4.2.0

func (ProjectBuildBatchConfigPtrOutput) ElementType added in v4.2.0

func (ProjectBuildBatchConfigPtrOutput) Restrictions added in v4.2.0

Specifies the restrictions for the batch build.

func (ProjectBuildBatchConfigPtrOutput) ServiceRole added in v4.2.0

Specifies the service role ARN for the batch build project.

func (ProjectBuildBatchConfigPtrOutput) TimeoutInMins added in v4.2.0

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

func (ProjectBuildBatchConfigPtrOutput) ToProjectBuildBatchConfigPtrOutput added in v4.2.0

func (o ProjectBuildBatchConfigPtrOutput) ToProjectBuildBatchConfigPtrOutput() ProjectBuildBatchConfigPtrOutput

func (ProjectBuildBatchConfigPtrOutput) ToProjectBuildBatchConfigPtrOutputWithContext added in v4.2.0

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

type ProjectBuildBatchConfigRestrictions added in v4.2.0

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 added in v4.2.0

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 added in v4.2.0

func (ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsOutput added in v4.2.0

func (i ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsOutput() ProjectBuildBatchConfigRestrictionsOutput

func (ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsOutputWithContext added in v4.2.0

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

func (ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsPtrOutput added in v4.2.0

func (i ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsPtrOutput() ProjectBuildBatchConfigRestrictionsPtrOutput

func (ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsPtrOutputWithContext added in v4.2.0

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

type ProjectBuildBatchConfigRestrictionsInput added in v4.2.0

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 added in v4.2.0

type ProjectBuildBatchConfigRestrictionsOutput struct{ *pulumi.OutputState }

func (ProjectBuildBatchConfigRestrictionsOutput) ComputeTypesAlloweds added in v4.2.0

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 added in v4.2.0

func (ProjectBuildBatchConfigRestrictionsOutput) MaximumBuildsAllowed added in v4.2.0

Specifies the maximum number of builds allowed.

func (ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsOutput added in v4.2.0

func (o ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsOutput() ProjectBuildBatchConfigRestrictionsOutput

func (ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsOutputWithContext added in v4.2.0

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

func (ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsPtrOutput added in v4.2.0

func (o ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsPtrOutput() ProjectBuildBatchConfigRestrictionsPtrOutput

func (ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsPtrOutputWithContext added in v4.2.0

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

type ProjectBuildBatchConfigRestrictionsPtrInput added in v4.2.0

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 added in v4.2.0

type ProjectBuildBatchConfigRestrictionsPtrOutput struct{ *pulumi.OutputState }

func (ProjectBuildBatchConfigRestrictionsPtrOutput) ComputeTypesAlloweds added in v4.2.0

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 added in v4.2.0

func (ProjectBuildBatchConfigRestrictionsPtrOutput) ElementType added in v4.2.0

func (ProjectBuildBatchConfigRestrictionsPtrOutput) MaximumBuildsAllowed added in v4.2.0

Specifies the maximum number of builds allowed.

func (ProjectBuildBatchConfigRestrictionsPtrOutput) ToProjectBuildBatchConfigRestrictionsPtrOutput added in v4.2.0

func (o ProjectBuildBatchConfigRestrictionsPtrOutput) ToProjectBuildBatchConfigRestrictionsPtrOutput() ProjectBuildBatchConfigRestrictionsPtrOutput

func (ProjectBuildBatchConfigRestrictionsPtrOutput) ToProjectBuildBatchConfigRestrictionsPtrOutputWithContext added in v4.2.0

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

type ProjectCache

type ProjectCache struct {
	// Location of the source code from git or s3.
	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 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 ProjectCacheArgs

type ProjectCacheArgs struct {
	// Location of the source code from git or s3.
	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 repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ProjectCacheArgs) ElementType

func (ProjectCacheArgs) ElementType() reflect.Type

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 of the source code from git or s3.

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) 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 repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.

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 of the source code from git or s3.

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

func (o ProjectCachePtrOutput) ToProjectCachePtrOutput() ProjectCachePtrOutput

func (ProjectCachePtrOutput) ToProjectCachePtrOutputWithContext

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

func (ProjectCachePtrOutput) Type

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

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/standard:2.0`), [Docker Hub images](https://hub.docker.com/) (e.g., `nginx/nginx: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 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 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/standard:2.0`), [Docker Hub images](https://hub.docker.com/) (e.g., `nginx/nginx: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 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 (ProjectEnvironmentArgs) ElementType

func (ProjectEnvironmentArgs) ElementType() reflect.Type

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 {
	// Name of the project. If `type` is set to `S3`, this is the name of the output artifact object
	Name string `pulumi:"name"`
	// 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"`
	// Environment variable's value.
	Value string `pulumi:"value"`
}

type ProjectEnvironmentEnvironmentVariableArgs

type ProjectEnvironmentEnvironmentVariableArgs struct {
	// Name of the project. If `type` is set to `S3`, this is the name of the output artifact object
	Name pulumi.StringInput `pulumi:"name"`
	// Type of repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// Environment variable's value.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ProjectEnvironmentEnvironmentVariableArgs) ElementType

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

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

func (ProjectEnvironmentEnvironmentVariableOutput) ToProjectEnvironmentEnvironmentVariableOutput

func (o ProjectEnvironmentEnvironmentVariableOutput) ToProjectEnvironmentEnvironmentVariableOutput() ProjectEnvironmentEnvironmentVariableOutput

func (ProjectEnvironmentEnvironmentVariableOutput) ToProjectEnvironmentEnvironmentVariableOutputWithContext

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

func (ProjectEnvironmentEnvironmentVariableOutput) Type

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

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/standard:2.0`), [Docker Hub images](https://hub.docker.com/) (e.g., `nginx/nginx: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) 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 repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.

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/standard:2.0`), [Docker Hub images](https://hub.docker.com/) (e.g., `nginx/nginx: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) ToProjectEnvironmentPtrOutput

func (o ProjectEnvironmentPtrOutput) ToProjectEnvironmentPtrOutput() ProjectEnvironmentPtrOutput

func (ProjectEnvironmentPtrOutput) ToProjectEnvironmentPtrOutputWithContext

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

func (ProjectEnvironmentPtrOutput) Type

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

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

func (o ProjectEnvironmentRegistryCredentialPtrOutput) ToProjectEnvironmentRegistryCredentialPtrOutput() ProjectEnvironmentRegistryCredentialPtrOutput

func (ProjectEnvironmentRegistryCredentialPtrOutput) ToProjectEnvironmentRegistryCredentialPtrOutputWithContext

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

type ProjectFileSystemLocation added in v4.3.0

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"`
	// Authorization type to use. The only valid value is `OAUTH`. This data type is deprecated and is no longer accurate or used. Use the `codebuild.SourceCredential` resource instead.
	Type *string `pulumi:"type"`
}

type ProjectFileSystemLocationArgs added in v4.3.0

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"`
	// Authorization type to use. The only valid value is `OAUTH`. This data type is deprecated and is no longer accurate or used. Use the `codebuild.SourceCredential` resource instead.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ProjectFileSystemLocationArgs) ElementType added in v4.3.0

func (ProjectFileSystemLocationArgs) ToProjectFileSystemLocationOutput added in v4.3.0

func (i ProjectFileSystemLocationArgs) ToProjectFileSystemLocationOutput() ProjectFileSystemLocationOutput

func (ProjectFileSystemLocationArgs) ToProjectFileSystemLocationOutputWithContext added in v4.3.0

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

type ProjectFileSystemLocationArray added in v4.3.0

type ProjectFileSystemLocationArray []ProjectFileSystemLocationInput

func (ProjectFileSystemLocationArray) ElementType added in v4.3.0

func (ProjectFileSystemLocationArray) ToProjectFileSystemLocationArrayOutput added in v4.3.0

func (i ProjectFileSystemLocationArray) ToProjectFileSystemLocationArrayOutput() ProjectFileSystemLocationArrayOutput

func (ProjectFileSystemLocationArray) ToProjectFileSystemLocationArrayOutputWithContext added in v4.3.0

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

type ProjectFileSystemLocationArrayInput added in v4.3.0

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 added in v4.3.0

type ProjectFileSystemLocationArrayOutput struct{ *pulumi.OutputState }

func (ProjectFileSystemLocationArrayOutput) ElementType added in v4.3.0

func (ProjectFileSystemLocationArrayOutput) Index added in v4.3.0

func (ProjectFileSystemLocationArrayOutput) ToProjectFileSystemLocationArrayOutput added in v4.3.0

func (o ProjectFileSystemLocationArrayOutput) ToProjectFileSystemLocationArrayOutput() ProjectFileSystemLocationArrayOutput

func (ProjectFileSystemLocationArrayOutput) ToProjectFileSystemLocationArrayOutputWithContext added in v4.3.0

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

type ProjectFileSystemLocationInput added in v4.3.0

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 added in v4.3.0

type ProjectFileSystemLocationOutput struct{ *pulumi.OutputState }

func (ProjectFileSystemLocationOutput) ElementType added in v4.3.0

func (ProjectFileSystemLocationOutput) Identifier added in v4.3.0

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 added in v4.3.0

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 added in v4.3.0

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

func (ProjectFileSystemLocationOutput) MountPoint added in v4.3.0

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

func (ProjectFileSystemLocationOutput) ToProjectFileSystemLocationOutput added in v4.3.0

func (o ProjectFileSystemLocationOutput) ToProjectFileSystemLocationOutput() ProjectFileSystemLocationOutput

func (ProjectFileSystemLocationOutput) ToProjectFileSystemLocationOutputWithContext added in v4.3.0

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

func (ProjectFileSystemLocationOutput) Type added in v4.3.0

Authorization type to use. The only valid value is `OAUTH`. This data type is deprecated and is no longer accurate or used. Use the `codebuild.SourceCredential` resource instead.

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) 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 S3 for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `DISABLED`.
	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 S3 for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `DISABLED`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Stream name of the logs in CloudWatch Logs.
	StreamName pulumi.StringPtrInput `pulumi:"streamName"`
}

func (ProjectLogsConfigCloudwatchLogsArgs) ElementType

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 S3 for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `DISABLED`.

func (ProjectLogsConfigCloudwatchLogsOutput) StreamName

Stream name of the logs in CloudWatch Logs.

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 S3 for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `DISABLED`.

func (ProjectLogsConfigCloudwatchLogsPtrOutput) StreamName

Stream name of the logs in CloudWatch Logs.

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) 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) 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"`
	// Location of the source code from git or s3.
	Location *string `pulumi:"location"`
	// Current status of logs in S3 for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `DISABLED`.
	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"`
	// Location of the source code from git or s3.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Current status of logs in S3 for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `DISABLED`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

func (ProjectLogsConfigS3LogsArgs) ElementType

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 added in v4.34.0

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

Location of the source code from git or s3.

func (ProjectLogsConfigS3LogsOutput) Status

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

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 added in v4.34.0

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

Location of the source code from git or s3.

func (ProjectLogsConfigS3LogsPtrOutput) Status

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

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

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

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

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`. 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"`
	// Location of the source code from git or s3.
	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` 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 `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"`
	// 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 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`. 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"`
	// Location of the source code from git or s3.
	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` 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 `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"`
	// 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 (ProjectSecondaryArtifactArgs) ElementType

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) 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) 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 added in v4.34.0

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 (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

Location of the source code from git or s3.

func (ProjectSecondaryArtifactOutput) Name

Name of the project. 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 `S3`, then 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 `S3`, valid values are `NONE`, `ZIP`

func (ProjectSecondaryArtifactOutput) Path

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

func (ProjectSecondaryArtifactOutput) ToProjectSecondaryArtifactOutput

func (o ProjectSecondaryArtifactOutput) ToProjectSecondaryArtifactOutput() ProjectSecondaryArtifactOutput

func (ProjectSecondaryArtifactOutput) ToProjectSecondaryArtifactOutputWithContext

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

func (ProjectSecondaryArtifactOutput) Type

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

type ProjectSecondarySource

type ProjectSecondarySource struct {
	// Configuration block with the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Use the `codebuild.SourceCredential` resource instead. Auth blocks are documented below.
	//
	// Deprecated: Use the aws_codebuild_source_credential resource instead
	Auth *ProjectSecondarySourceAuth `pulumi:"auth"`
	// 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 *ProjectSecondarySourceBuildStatusConfig `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 *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 the `type` is `BITBUCKET` or `GITHUB`.
	ReportBuildStatus *bool `pulumi:"reportBuildStatus"`
	// An identifier for a source in the build project.
	SourceIdentifier string `pulumi:"sourceIdentifier"`
	// 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 ProjectSecondarySourceArgs

type ProjectSecondarySourceArgs struct {
	// Configuration block with the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Use the `codebuild.SourceCredential` resource instead. Auth blocks are documented below.
	//
	// Deprecated: Use the aws_codebuild_source_credential resource instead
	Auth ProjectSecondarySourceAuthPtrInput `pulumi:"auth"`
	// 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 ProjectSecondarySourceBuildStatusConfigPtrInput `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 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 the `type` is `BITBUCKET` or `GITHUB`.
	ReportBuildStatus pulumi.BoolPtrInput `pulumi:"reportBuildStatus"`
	// An identifier for a source in the build project.
	SourceIdentifier pulumi.StringInput `pulumi:"sourceIdentifier"`
	// 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 (ProjectSecondarySourceArgs) ElementType

func (ProjectSecondarySourceArgs) ElementType() reflect.Type

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

func (o ProjectSecondarySourceArrayOutput) ToProjectSecondarySourceArrayOutput() ProjectSecondarySourceArrayOutput

func (ProjectSecondarySourceArrayOutput) ToProjectSecondarySourceArrayOutputWithContext

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

type ProjectSecondarySourceAuth

type ProjectSecondarySourceAuth struct {
	// Resource value that applies to the specified authorization type. Use the `codebuild.SourceCredential` resource instead.
	//
	// Deprecated: Use the aws_codebuild_source_credential resource instead
	Resource *string `pulumi:"resource"`
	// Type of repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.
	//
	// Deprecated: Use the aws_codebuild_source_credential resource instead
	Type string `pulumi:"type"`
}

type ProjectSecondarySourceAuthArgs

type ProjectSecondarySourceAuthArgs struct {
	// Resource value that applies to the specified authorization type. Use the `codebuild.SourceCredential` resource instead.
	//
	// Deprecated: Use the aws_codebuild_source_credential resource instead
	Resource pulumi.StringPtrInput `pulumi:"resource"`
	// Type of repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.
	//
	// Deprecated: Use the aws_codebuild_source_credential resource instead
	Type pulumi.StringInput `pulumi:"type"`
}

func (ProjectSecondarySourceAuthArgs) ElementType

func (ProjectSecondarySourceAuthArgs) ToProjectSecondarySourceAuthOutput

func (i ProjectSecondarySourceAuthArgs) ToProjectSecondarySourceAuthOutput() ProjectSecondarySourceAuthOutput

func (ProjectSecondarySourceAuthArgs) ToProjectSecondarySourceAuthOutputWithContext

func (i ProjectSecondarySourceAuthArgs) ToProjectSecondarySourceAuthOutputWithContext(ctx context.Context) ProjectSecondarySourceAuthOutput

func (ProjectSecondarySourceAuthArgs) ToProjectSecondarySourceAuthPtrOutput

func (i ProjectSecondarySourceAuthArgs) ToProjectSecondarySourceAuthPtrOutput() ProjectSecondarySourceAuthPtrOutput

func (ProjectSecondarySourceAuthArgs) ToProjectSecondarySourceAuthPtrOutputWithContext

func (i ProjectSecondarySourceAuthArgs) ToProjectSecondarySourceAuthPtrOutputWithContext(ctx context.Context) ProjectSecondarySourceAuthPtrOutput

type ProjectSecondarySourceAuthInput

type ProjectSecondarySourceAuthInput interface {
	pulumi.Input

	ToProjectSecondarySourceAuthOutput() ProjectSecondarySourceAuthOutput
	ToProjectSecondarySourceAuthOutputWithContext(context.Context) ProjectSecondarySourceAuthOutput
}

ProjectSecondarySourceAuthInput is an input type that accepts ProjectSecondarySourceAuthArgs and ProjectSecondarySourceAuthOutput values. You can construct a concrete instance of `ProjectSecondarySourceAuthInput` via:

ProjectSecondarySourceAuthArgs{...}

type ProjectSecondarySourceAuthOutput

type ProjectSecondarySourceAuthOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceAuthOutput) ElementType

func (ProjectSecondarySourceAuthOutput) Resource deprecated

Resource value that applies to the specified authorization type. Use the `codebuild.SourceCredential` resource instead.

Deprecated: Use the aws_codebuild_source_credential resource instead

func (ProjectSecondarySourceAuthOutput) ToProjectSecondarySourceAuthOutput

func (o ProjectSecondarySourceAuthOutput) ToProjectSecondarySourceAuthOutput() ProjectSecondarySourceAuthOutput

func (ProjectSecondarySourceAuthOutput) ToProjectSecondarySourceAuthOutputWithContext

func (o ProjectSecondarySourceAuthOutput) ToProjectSecondarySourceAuthOutputWithContext(ctx context.Context) ProjectSecondarySourceAuthOutput

func (ProjectSecondarySourceAuthOutput) ToProjectSecondarySourceAuthPtrOutput

func (o ProjectSecondarySourceAuthOutput) ToProjectSecondarySourceAuthPtrOutput() ProjectSecondarySourceAuthPtrOutput

func (ProjectSecondarySourceAuthOutput) ToProjectSecondarySourceAuthPtrOutputWithContext

func (o ProjectSecondarySourceAuthOutput) ToProjectSecondarySourceAuthPtrOutputWithContext(ctx context.Context) ProjectSecondarySourceAuthPtrOutput

func (ProjectSecondarySourceAuthOutput) Type deprecated

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

Deprecated: Use the aws_codebuild_source_credential resource instead

type ProjectSecondarySourceAuthPtrInput

type ProjectSecondarySourceAuthPtrInput interface {
	pulumi.Input

	ToProjectSecondarySourceAuthPtrOutput() ProjectSecondarySourceAuthPtrOutput
	ToProjectSecondarySourceAuthPtrOutputWithContext(context.Context) ProjectSecondarySourceAuthPtrOutput
}

ProjectSecondarySourceAuthPtrInput is an input type that accepts ProjectSecondarySourceAuthArgs, ProjectSecondarySourceAuthPtr and ProjectSecondarySourceAuthPtrOutput values. You can construct a concrete instance of `ProjectSecondarySourceAuthPtrInput` via:

        ProjectSecondarySourceAuthArgs{...}

or:

        nil

type ProjectSecondarySourceAuthPtrOutput

type ProjectSecondarySourceAuthPtrOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceAuthPtrOutput) Elem

func (ProjectSecondarySourceAuthPtrOutput) ElementType

func (ProjectSecondarySourceAuthPtrOutput) Resource deprecated

Resource value that applies to the specified authorization type. Use the `codebuild.SourceCredential` resource instead.

Deprecated: Use the aws_codebuild_source_credential resource instead

func (ProjectSecondarySourceAuthPtrOutput) ToProjectSecondarySourceAuthPtrOutput

func (o ProjectSecondarySourceAuthPtrOutput) ToProjectSecondarySourceAuthPtrOutput() ProjectSecondarySourceAuthPtrOutput

func (ProjectSecondarySourceAuthPtrOutput) ToProjectSecondarySourceAuthPtrOutputWithContext

func (o ProjectSecondarySourceAuthPtrOutput) ToProjectSecondarySourceAuthPtrOutputWithContext(ctx context.Context) ProjectSecondarySourceAuthPtrOutput

func (ProjectSecondarySourceAuthPtrOutput) Type deprecated

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

Deprecated: Use the aws_codebuild_source_credential resource instead

type ProjectSecondarySourceBuildStatusConfig added in v4.2.0

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 added in v4.2.0

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 added in v4.2.0

func (ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigOutput added in v4.2.0

func (i ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigOutput() ProjectSecondarySourceBuildStatusConfigOutput

func (ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigOutputWithContext added in v4.2.0

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

func (ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigPtrOutput added in v4.2.0

func (i ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigPtrOutput() ProjectSecondarySourceBuildStatusConfigPtrOutput

func (ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigPtrOutputWithContext added in v4.2.0

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

type ProjectSecondarySourceBuildStatusConfigInput added in v4.2.0

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 added in v4.2.0

type ProjectSecondarySourceBuildStatusConfigOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceBuildStatusConfigOutput) Context added in v4.2.0

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 added in v4.2.0

func (ProjectSecondarySourceBuildStatusConfigOutput) TargetUrl added in v4.2.0

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) ToProjectSecondarySourceBuildStatusConfigOutput added in v4.2.0

func (o ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigOutput() ProjectSecondarySourceBuildStatusConfigOutput

func (ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigOutputWithContext added in v4.2.0

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

func (ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutput added in v4.2.0

func (o ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutput() ProjectSecondarySourceBuildStatusConfigPtrOutput

func (ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutputWithContext added in v4.2.0

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

type ProjectSecondarySourceBuildStatusConfigPtrInput added in v4.2.0

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 added in v4.2.0

type ProjectSecondarySourceBuildStatusConfigPtrOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) Context added in v4.2.0

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 added in v4.2.0

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) ElementType added in v4.2.0

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) TargetUrl added in v4.2.0

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) ToProjectSecondarySourceBuildStatusConfigPtrOutput added in v4.2.0

func (o ProjectSecondarySourceBuildStatusConfigPtrOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutput() ProjectSecondarySourceBuildStatusConfigPtrOutput

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutputWithContext added in v4.2.0

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) 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) 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) 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) Auth deprecated

Configuration block with the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Use the `codebuild.SourceCredential` resource instead. Auth blocks are documented below.

Deprecated: Use the aws_codebuild_source_credential resource instead

func (ProjectSecondarySourceOutput) BuildStatusConfig added in v4.2.0

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`.

func (ProjectSecondarySourceOutput) Buildspec

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

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 the `type` is `BITBUCKET` or `GITHUB`.

func (ProjectSecondarySourceOutput) SourceIdentifier

func (o ProjectSecondarySourceOutput) SourceIdentifier() pulumi.StringOutput

An identifier for a source in the build project.

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`, `S3`, `NO_SOURCE`.

type ProjectSecondarySourceVersion added in v4.34.0

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 added in v4.34.0

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 added in v4.34.0

func (ProjectSecondarySourceVersionArgs) ToProjectSecondarySourceVersionOutput added in v4.34.0

func (i ProjectSecondarySourceVersionArgs) ToProjectSecondarySourceVersionOutput() ProjectSecondarySourceVersionOutput

func (ProjectSecondarySourceVersionArgs) ToProjectSecondarySourceVersionOutputWithContext added in v4.34.0

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

type ProjectSecondarySourceVersionArray added in v4.34.0

type ProjectSecondarySourceVersionArray []ProjectSecondarySourceVersionInput

func (ProjectSecondarySourceVersionArray) ElementType added in v4.34.0

func (ProjectSecondarySourceVersionArray) ToProjectSecondarySourceVersionArrayOutput added in v4.34.0

func (i ProjectSecondarySourceVersionArray) ToProjectSecondarySourceVersionArrayOutput() ProjectSecondarySourceVersionArrayOutput

func (ProjectSecondarySourceVersionArray) ToProjectSecondarySourceVersionArrayOutputWithContext added in v4.34.0

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

type ProjectSecondarySourceVersionArrayInput added in v4.34.0

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 added in v4.34.0

type ProjectSecondarySourceVersionArrayOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceVersionArrayOutput) ElementType added in v4.34.0

func (ProjectSecondarySourceVersionArrayOutput) Index added in v4.34.0

func (ProjectSecondarySourceVersionArrayOutput) ToProjectSecondarySourceVersionArrayOutput added in v4.34.0

func (o ProjectSecondarySourceVersionArrayOutput) ToProjectSecondarySourceVersionArrayOutput() ProjectSecondarySourceVersionArrayOutput

func (ProjectSecondarySourceVersionArrayOutput) ToProjectSecondarySourceVersionArrayOutputWithContext added in v4.34.0

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

type ProjectSecondarySourceVersionInput added in v4.34.0

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 added in v4.34.0

type ProjectSecondarySourceVersionOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceVersionOutput) ElementType added in v4.34.0

func (ProjectSecondarySourceVersionOutput) SourceIdentifier added in v4.34.0

An identifier for a source in the build project.

func (ProjectSecondarySourceVersionOutput) SourceVersion added in v4.34.0

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) ToProjectSecondarySourceVersionOutput added in v4.34.0

func (o ProjectSecondarySourceVersionOutput) ToProjectSecondarySourceVersionOutput() ProjectSecondarySourceVersionOutput

func (ProjectSecondarySourceVersionOutput) ToProjectSecondarySourceVersionOutputWithContext added in v4.34.0

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

type ProjectSource

type ProjectSource struct {
	// Configuration block with the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Use the `codebuild.SourceCredential` resource instead. Auth blocks are documented below.
	//
	// Deprecated: Use the aws_codebuild_source_credential resource instead
	Auth *ProjectSourceAuth `pulumi:"auth"`
	// 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 *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 with the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Use the `codebuild.SourceCredential` resource instead. Auth blocks are documented below.
	//
	// Deprecated: Use the aws_codebuild_source_credential resource instead
	Auth ProjectSourceAuthPtrInput `pulumi:"auth"`
	// 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 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) 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 ProjectSourceAuth

type ProjectSourceAuth struct {
	// Resource value that applies to the specified authorization type. Use the `codebuild.SourceCredential` resource instead.
	//
	// Deprecated: Use the aws_codebuild_source_credential resource instead
	Resource *string `pulumi:"resource"`
	// Type of repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.
	//
	// Deprecated: Use the aws_codebuild_source_credential resource instead
	Type string `pulumi:"type"`
}

type ProjectSourceAuthArgs

type ProjectSourceAuthArgs struct {
	// Resource value that applies to the specified authorization type. Use the `codebuild.SourceCredential` resource instead.
	//
	// Deprecated: Use the aws_codebuild_source_credential resource instead
	Resource pulumi.StringPtrInput `pulumi:"resource"`
	// Type of repository that contains the source code to be built. Valid values: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.
	//
	// Deprecated: Use the aws_codebuild_source_credential resource instead
	Type pulumi.StringInput `pulumi:"type"`
}

func (ProjectSourceAuthArgs) ElementType

func (ProjectSourceAuthArgs) ElementType() reflect.Type

func (ProjectSourceAuthArgs) ToProjectSourceAuthOutput

func (i ProjectSourceAuthArgs) ToProjectSourceAuthOutput() ProjectSourceAuthOutput

func (ProjectSourceAuthArgs) ToProjectSourceAuthOutputWithContext

func (i ProjectSourceAuthArgs) ToProjectSourceAuthOutputWithContext(ctx context.Context) ProjectSourceAuthOutput

func (ProjectSourceAuthArgs) ToProjectSourceAuthPtrOutput

func (i ProjectSourceAuthArgs) ToProjectSourceAuthPtrOutput() ProjectSourceAuthPtrOutput

func (ProjectSourceAuthArgs) ToProjectSourceAuthPtrOutputWithContext

func (i ProjectSourceAuthArgs) ToProjectSourceAuthPtrOutputWithContext(ctx context.Context) ProjectSourceAuthPtrOutput

type ProjectSourceAuthInput

type ProjectSourceAuthInput interface {
	pulumi.Input

	ToProjectSourceAuthOutput() ProjectSourceAuthOutput
	ToProjectSourceAuthOutputWithContext(context.Context) ProjectSourceAuthOutput
}

ProjectSourceAuthInput is an input type that accepts ProjectSourceAuthArgs and ProjectSourceAuthOutput values. You can construct a concrete instance of `ProjectSourceAuthInput` via:

ProjectSourceAuthArgs{...}

type ProjectSourceAuthOutput

type ProjectSourceAuthOutput struct{ *pulumi.OutputState }

func (ProjectSourceAuthOutput) ElementType

func (ProjectSourceAuthOutput) ElementType() reflect.Type

func (ProjectSourceAuthOutput) Resource deprecated

Resource value that applies to the specified authorization type. Use the `codebuild.SourceCredential` resource instead.

Deprecated: Use the aws_codebuild_source_credential resource instead

func (ProjectSourceAuthOutput) ToProjectSourceAuthOutput

func (o ProjectSourceAuthOutput) ToProjectSourceAuthOutput() ProjectSourceAuthOutput

func (ProjectSourceAuthOutput) ToProjectSourceAuthOutputWithContext

func (o ProjectSourceAuthOutput) ToProjectSourceAuthOutputWithContext(ctx context.Context) ProjectSourceAuthOutput

func (ProjectSourceAuthOutput) ToProjectSourceAuthPtrOutput

func (o ProjectSourceAuthOutput) ToProjectSourceAuthPtrOutput() ProjectSourceAuthPtrOutput

func (ProjectSourceAuthOutput) ToProjectSourceAuthPtrOutputWithContext

func (o ProjectSourceAuthOutput) ToProjectSourceAuthPtrOutputWithContext(ctx context.Context) ProjectSourceAuthPtrOutput

func (ProjectSourceAuthOutput) Type deprecated

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

Deprecated: Use the aws_codebuild_source_credential resource instead

type ProjectSourceAuthPtrInput

type ProjectSourceAuthPtrInput interface {
	pulumi.Input

	ToProjectSourceAuthPtrOutput() ProjectSourceAuthPtrOutput
	ToProjectSourceAuthPtrOutputWithContext(context.Context) ProjectSourceAuthPtrOutput
}

ProjectSourceAuthPtrInput is an input type that accepts ProjectSourceAuthArgs, ProjectSourceAuthPtr and ProjectSourceAuthPtrOutput values. You can construct a concrete instance of `ProjectSourceAuthPtrInput` via:

        ProjectSourceAuthArgs{...}

or:

        nil

type ProjectSourceAuthPtrOutput

type ProjectSourceAuthPtrOutput struct{ *pulumi.OutputState }

func (ProjectSourceAuthPtrOutput) Elem

func (ProjectSourceAuthPtrOutput) ElementType

func (ProjectSourceAuthPtrOutput) ElementType() reflect.Type

func (ProjectSourceAuthPtrOutput) Resource deprecated

Resource value that applies to the specified authorization type. Use the `codebuild.SourceCredential` resource instead.

Deprecated: Use the aws_codebuild_source_credential resource instead

func (ProjectSourceAuthPtrOutput) ToProjectSourceAuthPtrOutput

func (o ProjectSourceAuthPtrOutput) ToProjectSourceAuthPtrOutput() ProjectSourceAuthPtrOutput

func (ProjectSourceAuthPtrOutput) ToProjectSourceAuthPtrOutputWithContext

func (o ProjectSourceAuthPtrOutput) ToProjectSourceAuthPtrOutputWithContext(ctx context.Context) ProjectSourceAuthPtrOutput

func (ProjectSourceAuthPtrOutput) Type deprecated

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

Deprecated: Use the aws_codebuild_source_credential resource instead

type ProjectSourceBuildStatusConfig added in v4.2.0

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 added in v4.2.0

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 added in v4.2.0

func (ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigOutput added in v4.2.0

func (i ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigOutput() ProjectSourceBuildStatusConfigOutput

func (ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigOutputWithContext added in v4.2.0

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

func (ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigPtrOutput added in v4.2.0

func (i ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigPtrOutput() ProjectSourceBuildStatusConfigPtrOutput

func (ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigPtrOutputWithContext added in v4.2.0

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

type ProjectSourceBuildStatusConfigInput added in v4.2.0

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 added in v4.2.0

type ProjectSourceBuildStatusConfigOutput struct{ *pulumi.OutputState }

func (ProjectSourceBuildStatusConfigOutput) Context added in v4.2.0

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 added in v4.2.0

func (ProjectSourceBuildStatusConfigOutput) TargetUrl added in v4.2.0

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) ToProjectSourceBuildStatusConfigOutput added in v4.2.0

func (o ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigOutput() ProjectSourceBuildStatusConfigOutput

func (ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigOutputWithContext added in v4.2.0

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

func (ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigPtrOutput added in v4.2.0

func (o ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigPtrOutput() ProjectSourceBuildStatusConfigPtrOutput

func (ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigPtrOutputWithContext added in v4.2.0

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

type ProjectSourceBuildStatusConfigPtrInput added in v4.2.0

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 added in v4.2.0

type ProjectSourceBuildStatusConfigPtrOutput struct{ *pulumi.OutputState }

func (ProjectSourceBuildStatusConfigPtrOutput) Context added in v4.2.0

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 added in v4.2.0

func (ProjectSourceBuildStatusConfigPtrOutput) ElementType added in v4.2.0

func (ProjectSourceBuildStatusConfigPtrOutput) TargetUrl added in v4.2.0

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) ToProjectSourceBuildStatusConfigPtrOutput added in v4.2.0

func (o ProjectSourceBuildStatusConfigPtrOutput) ToProjectSourceBuildStatusConfigPtrOutput() ProjectSourceBuildStatusConfigPtrOutput

func (ProjectSourceBuildStatusConfigPtrOutput) ToProjectSourceBuildStatusConfigPtrOutputWithContext added in v4.2.0

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) 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) 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) 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) Auth deprecated

Configuration block with the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Use the `codebuild.SourceCredential` resource instead. Auth blocks are documented below.

Deprecated: Use the aws_codebuild_source_credential resource instead

func (ProjectSourceOutput) BuildStatusConfig added in v4.2.0

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`.

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) 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) Auth deprecated

Configuration block with the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Use the `codebuild.SourceCredential` resource instead. Auth blocks are documented below.

Deprecated: Use the aws_codebuild_source_credential resource instead

func (ProjectSourcePtrOutput) BuildStatusConfig added in v4.2.0

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`.

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) 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 to mount inside the build. File system locations are documented below.
	FileSystemLocations ProjectFileSystemLocationArrayInput
	// Configuration block. Detailed below.
	LogsConfig ProjectLogsConfigPtrInput
	// Name of the project. If `type` is set to `S3`, this is the name of the output artifact object
	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
	// Specifies the service role ARN for the batch build project.
	ServiceRole pulumi.StringPtrInput
	// Configuration block. Detailed below.
	Source ProjectSourcePtrInput
	// 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.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) 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) 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) 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 .
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The export configuration type. Valid values are `S3` and `NO_EXPORT`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides a CodeBuild Report Groups Resource.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/codebuild"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/kms"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleKey, err := kms.NewKey(ctx, "exampleKey", &kms.KeyArgs{
			Description:          pulumi.String("my test kms key"),
			DeletionWindowInDays: pulumi.Int(7),
			Policy:               pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "  \"Version\": \"2012-10-17\",\n", "  \"Id\": \"kms-tf-1\",\n", "  \"Statement\": [\n", "    {\n", "      \"Sid\": \"Enable IAM User Permissions\",\n", "      \"Effect\": \"Allow\",\n", "      \"Principal\": {\n", "        \"AWS\": \"*\"\n", "      },\n", "      \"Action\": \"kms:*\",\n", "      \"Resource\": \"*\"\n", "    }\n", "  ]\n", "}\n")),
		})
		if err != nil {
			return err
		}
		exampleBucket, err := s3.NewBucket(ctx, "exampleBucket", 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:             exampleBucket.ID(),
					EncryptionDisabled: pulumi.Bool(false),
					EncryptionKey:      exampleKey.Arn,
					Packaging:          pulumi.String("NONE"),
					Path:               pulumi.String("/some"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CodeBuild Report Group can be imported using the CodeBuild Report Group arn, e.g.,

```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) 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 export configuration type. Valid values are `S3` and `NO_EXPORT`.
	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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) ElementType

func (ReportGroupOutput) ElementType() reflect.Type

func (ReportGroupOutput) ToReportGroupOutput

func (o ReportGroupOutput) ToReportGroupOutput() ReportGroupOutput

func (ReportGroupOutput) ToReportGroupOutputWithContext

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

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 .
	TagsAll pulumi.StringMapInput
	// The export configuration type. Valid values are `S3` and `NO_EXPORT`.
	Type pulumi.StringPtrInput
}

func (ReportGroupState) ElementType

func (ReportGroupState) ElementType() reflect.Type

type ResourcePolicy added in v4.34.0

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/v4/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v4/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("%v%v%v%v%v", "arn:", currentPartition.Partition, ":iam::", currentCallerIdentity.AccountId, ":root"),
							},
							"Action": []string{
								"codebuild:BatchGetReportGroups",
								"codebuild:BatchGetReports",
								"codebuild:ListReportsForReportGroup",
								"codebuild:DescribeTestCases",
							},
							"Resource": arn,
						},
					},
				})
				if err != nil {
					return _zero, err
				}
				json0 := string(tmpJSON0)
				return json0, nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CodeBuild Resource Policy can be imported using the CodeBuild Resource Policy arn, e.g.,

```sh

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

```

func GetResourcePolicy added in v4.34.0

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 added in v4.34.0

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 added in v4.34.0

func (*ResourcePolicy) ElementType() reflect.Type

func (*ResourcePolicy) ToResourcePolicyOutput added in v4.34.0

func (i *ResourcePolicy) ToResourcePolicyOutput() ResourcePolicyOutput

func (*ResourcePolicy) ToResourcePolicyOutputWithContext added in v4.34.0

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

type ResourcePolicyArgs added in v4.34.0

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 added in v4.34.0

func (ResourcePolicyArgs) ElementType() reflect.Type

type ResourcePolicyArray added in v4.34.0

type ResourcePolicyArray []ResourcePolicyInput

func (ResourcePolicyArray) ElementType added in v4.34.0

func (ResourcePolicyArray) ElementType() reflect.Type

func (ResourcePolicyArray) ToResourcePolicyArrayOutput added in v4.34.0

func (i ResourcePolicyArray) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput

func (ResourcePolicyArray) ToResourcePolicyArrayOutputWithContext added in v4.34.0

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

type ResourcePolicyArrayInput added in v4.34.0

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 added in v4.34.0

type ResourcePolicyArrayOutput struct{ *pulumi.OutputState }

func (ResourcePolicyArrayOutput) ElementType added in v4.34.0

func (ResourcePolicyArrayOutput) ElementType() reflect.Type

func (ResourcePolicyArrayOutput) Index added in v4.34.0

func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput added in v4.34.0

func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput

func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext added in v4.34.0

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

type ResourcePolicyInput added in v4.34.0

type ResourcePolicyInput interface {
	pulumi.Input

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

type ResourcePolicyMap added in v4.34.0

type ResourcePolicyMap map[string]ResourcePolicyInput

func (ResourcePolicyMap) ElementType added in v4.34.0

func (ResourcePolicyMap) ElementType() reflect.Type

func (ResourcePolicyMap) ToResourcePolicyMapOutput added in v4.34.0

func (i ResourcePolicyMap) ToResourcePolicyMapOutput() ResourcePolicyMapOutput

func (ResourcePolicyMap) ToResourcePolicyMapOutputWithContext added in v4.34.0

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

type ResourcePolicyMapInput added in v4.34.0

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 added in v4.34.0

type ResourcePolicyMapOutput struct{ *pulumi.OutputState }

func (ResourcePolicyMapOutput) ElementType added in v4.34.0

func (ResourcePolicyMapOutput) ElementType() reflect.Type

func (ResourcePolicyMapOutput) MapIndex added in v4.34.0

func (ResourcePolicyMapOutput) ToResourcePolicyMapOutput added in v4.34.0

func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutput() ResourcePolicyMapOutput

func (ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext added in v4.34.0

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

type ResourcePolicyOutput added in v4.34.0

type ResourcePolicyOutput struct{ *pulumi.OutputState }

func (ResourcePolicyOutput) ElementType added in v4.34.0

func (ResourcePolicyOutput) ElementType() reflect.Type

func (ResourcePolicyOutput) ToResourcePolicyOutput added in v4.34.0

func (o ResourcePolicyOutput) ToResourcePolicyOutput() ResourcePolicyOutput

func (ResourcePolicyOutput) ToResourcePolicyOutputWithContext added in v4.34.0

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

type ResourcePolicyState added in v4.34.0

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 added in v4.34.0

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/v4/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/v4/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

CodeBuild Source Credential can be imported using the CodeBuild Source Credential arn, e.g.,

```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) 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) 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) 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) 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) 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) ElementType

func (SourceCredentialOutput) ElementType() reflect.Type

func (SourceCredentialOutput) ToSourceCredentialOutput

func (o SourceCredentialOutput) ToSourceCredentialOutput() SourceCredentialOutput

func (SourceCredentialOutput) ToSourceCredentialOutputWithContext

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

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. It is recommended to use `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/v4/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("HEAD_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/v4/go/aws/codebuild"
"github.com/pulumi/pulumi-github/sdk/v4/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: &RepositoryWebhookConfigurationArgs{
				Url:         exampleWebhook.PayloadUrl,
				Secret:      exampleWebhook.Secret,
				ContentType: pulumi.String("json"),
				InsecureSsl: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CodeBuild Webhooks can be imported using the CodeBuild Project name, e.g.,

```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) 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. It is recommended to use `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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) ElementType

func (WebhookOutput) ElementType() reflect.Type

func (WebhookOutput) ToWebhookOutput

func (o WebhookOutput) ToWebhookOutput() WebhookOutput

func (WebhookOutput) ToWebhookOutputWithContext

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

type WebhookState

type WebhookState struct {
	// A regular expression used to determine which branches get built. Default is all branches are built. It is recommended to use `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