codebuild

package
v6.66.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fleet added in v6.52.0

type Fleet struct {
	pulumi.CustomResourceState

	// ARN of the Fleet.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Number of machines allocated to the fleet.
	BaseCapacity pulumi.IntOutput `pulumi:"baseCapacity"`
	// Compute resources the compute fleet uses. See [compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types) for more information and valid values.
	ComputeType pulumi.StringOutput `pulumi:"computeType"`
	// Creation time of the fleet.
	Created pulumi.StringOutput `pulumi:"created"`
	// Environment type of the compute fleet. See [environment types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types) for more information and valid values.
	//
	// The following arguments are optional:
	EnvironmentType pulumi.StringOutput `pulumi:"environmentType"`
	// The service role associated with the compute fleet.
	FleetServiceRole pulumi.StringPtrOutput `pulumi:"fleetServiceRole"`
	// The Amazon Machine Image (AMI) of the compute fleet.
	ImageId pulumi.StringPtrOutput `pulumi:"imageId"`
	// Last modification time of the fleet.
	LastModified pulumi.StringOutput `pulumi:"lastModified"`
	// Fleet name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Overflow behavior for compute fleet. Valid values: `ON_DEMAND`, `QUEUE`.
	OverflowBehavior pulumi.StringOutput `pulumi:"overflowBehavior"`
	// Configuration block. Detailed below. This option is only valid when your overflow behavior is `QUEUE`.
	ScalingConfiguration FleetScalingConfigurationPtrOutput `pulumi:"scalingConfiguration"`
	// Nested attribute containing information about the current status of the fleet.
	Statuses FleetStatusArrayOutput `pulumi:"statuses"`
	// 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"`
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Configuration block. Detailed below.
	VpcConfigs FleetVpcConfigArrayOutput `pulumi:"vpcConfigs"`
}

Provides a CodeBuild Fleet Resource.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := codebuild.NewFleet(ctx, "test", &codebuild.FleetArgs{
			BaseCapacity:     pulumi.Int(2),
			ComputeType:      pulumi.String("BUILD_GENERAL1_SMALL"),
			EnvironmentType:  pulumi.String("LINUX_CONTAINER"),
			Name:             pulumi.String("full-example-codebuild-fleet"),
			OverflowBehavior: pulumi.String("QUEUE"),
			ScalingConfiguration: &codebuild.FleetScalingConfigurationArgs{
				MaxCapacity: pulumi.Int(5),
				ScalingType: pulumi.String("TARGET_TRACKING_SCALING"),
				TargetTrackingScalingConfigs: codebuild.FleetScalingConfigurationTargetTrackingScalingConfigArray{
					&codebuild.FleetScalingConfigurationTargetTrackingScalingConfigArgs{
						MetricType:  pulumi.String("FLEET_UTILIZATION_RATE"),
						TargetValue: pulumi.Float64(97.5),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := codebuild.NewFleet(ctx, "example", &codebuild.FleetArgs{
			Name: pulumi.String("example-codebuild-fleet"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh $ pulumi import aws:codebuild/fleet:Fleet name fleet-name ```

func GetFleet added in v6.52.0

func GetFleet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FleetState, opts ...pulumi.ResourceOption) (*Fleet, error)

GetFleet gets an existing Fleet 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 NewFleet added in v6.52.0

func NewFleet(ctx *pulumi.Context,
	name string, args *FleetArgs, opts ...pulumi.ResourceOption) (*Fleet, error)

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

func (*Fleet) ElementType added in v6.52.0

func (*Fleet) ElementType() reflect.Type

func (*Fleet) ToFleetOutput added in v6.52.0

func (i *Fleet) ToFleetOutput() FleetOutput

func (*Fleet) ToFleetOutputWithContext added in v6.52.0

func (i *Fleet) ToFleetOutputWithContext(ctx context.Context) FleetOutput

type FleetArgs added in v6.52.0

type FleetArgs struct {
	// Number of machines allocated to the fleet.
	BaseCapacity pulumi.IntInput
	// Compute resources the compute fleet uses. See [compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types) for more information and valid values.
	ComputeType pulumi.StringInput
	// Environment type of the compute fleet. See [environment types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types) for more information and valid values.
	//
	// The following arguments are optional:
	EnvironmentType pulumi.StringInput
	// The service role associated with the compute fleet.
	FleetServiceRole pulumi.StringPtrInput
	// The Amazon Machine Image (AMI) of the compute fleet.
	ImageId pulumi.StringPtrInput
	// Fleet name.
	Name pulumi.StringPtrInput
	// Overflow behavior for compute fleet. Valid values: `ON_DEMAND`, `QUEUE`.
	OverflowBehavior pulumi.StringPtrInput
	// Configuration block. Detailed below. This option is only valid when your overflow behavior is `QUEUE`.
	ScalingConfiguration FleetScalingConfigurationPtrInput
	// 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.
	VpcConfigs FleetVpcConfigArrayInput
}

The set of arguments for constructing a Fleet resource.

func (FleetArgs) ElementType added in v6.52.0

func (FleetArgs) ElementType() reflect.Type

type FleetArray added in v6.52.0

type FleetArray []FleetInput

func (FleetArray) ElementType added in v6.52.0

func (FleetArray) ElementType() reflect.Type

func (FleetArray) ToFleetArrayOutput added in v6.52.0

func (i FleetArray) ToFleetArrayOutput() FleetArrayOutput

func (FleetArray) ToFleetArrayOutputWithContext added in v6.52.0

func (i FleetArray) ToFleetArrayOutputWithContext(ctx context.Context) FleetArrayOutput

type FleetArrayInput added in v6.52.0

type FleetArrayInput interface {
	pulumi.Input

	ToFleetArrayOutput() FleetArrayOutput
	ToFleetArrayOutputWithContext(context.Context) FleetArrayOutput
}

FleetArrayInput is an input type that accepts FleetArray and FleetArrayOutput values. You can construct a concrete instance of `FleetArrayInput` via:

FleetArray{ FleetArgs{...} }

type FleetArrayOutput added in v6.52.0

type FleetArrayOutput struct{ *pulumi.OutputState }

func (FleetArrayOutput) ElementType added in v6.52.0

func (FleetArrayOutput) ElementType() reflect.Type

func (FleetArrayOutput) Index added in v6.52.0

func (FleetArrayOutput) ToFleetArrayOutput added in v6.52.0

func (o FleetArrayOutput) ToFleetArrayOutput() FleetArrayOutput

func (FleetArrayOutput) ToFleetArrayOutputWithContext added in v6.52.0

func (o FleetArrayOutput) ToFleetArrayOutputWithContext(ctx context.Context) FleetArrayOutput

type FleetInput added in v6.52.0

type FleetInput interface {
	pulumi.Input

	ToFleetOutput() FleetOutput
	ToFleetOutputWithContext(ctx context.Context) FleetOutput
}

type FleetMap added in v6.52.0

type FleetMap map[string]FleetInput

func (FleetMap) ElementType added in v6.52.0

func (FleetMap) ElementType() reflect.Type

func (FleetMap) ToFleetMapOutput added in v6.52.0

func (i FleetMap) ToFleetMapOutput() FleetMapOutput

func (FleetMap) ToFleetMapOutputWithContext added in v6.52.0

func (i FleetMap) ToFleetMapOutputWithContext(ctx context.Context) FleetMapOutput

type FleetMapInput added in v6.52.0

type FleetMapInput interface {
	pulumi.Input

	ToFleetMapOutput() FleetMapOutput
	ToFleetMapOutputWithContext(context.Context) FleetMapOutput
}

FleetMapInput is an input type that accepts FleetMap and FleetMapOutput values. You can construct a concrete instance of `FleetMapInput` via:

FleetMap{ "key": FleetArgs{...} }

type FleetMapOutput added in v6.52.0

type FleetMapOutput struct{ *pulumi.OutputState }

func (FleetMapOutput) ElementType added in v6.52.0

func (FleetMapOutput) ElementType() reflect.Type

func (FleetMapOutput) MapIndex added in v6.52.0

func (FleetMapOutput) ToFleetMapOutput added in v6.52.0

func (o FleetMapOutput) ToFleetMapOutput() FleetMapOutput

func (FleetMapOutput) ToFleetMapOutputWithContext added in v6.52.0

func (o FleetMapOutput) ToFleetMapOutputWithContext(ctx context.Context) FleetMapOutput

type FleetOutput added in v6.52.0

type FleetOutput struct{ *pulumi.OutputState }

func (FleetOutput) Arn added in v6.52.0

ARN of the Fleet.

func (FleetOutput) BaseCapacity added in v6.52.0

func (o FleetOutput) BaseCapacity() pulumi.IntOutput

Number of machines allocated to the fleet.

func (FleetOutput) ComputeType added in v6.52.0

func (o FleetOutput) ComputeType() pulumi.StringOutput

Compute resources the compute fleet uses. See [compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types) for more information and valid values.

func (FleetOutput) Created added in v6.52.0

func (o FleetOutput) Created() pulumi.StringOutput

Creation time of the fleet.

func (FleetOutput) ElementType added in v6.52.0

func (FleetOutput) ElementType() reflect.Type

func (FleetOutput) EnvironmentType added in v6.52.0

func (o FleetOutput) EnvironmentType() pulumi.StringOutput

Environment type of the compute fleet. See [environment types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types) for more information and valid values.

The following arguments are optional:

func (FleetOutput) FleetServiceRole added in v6.52.0

func (o FleetOutput) FleetServiceRole() pulumi.StringPtrOutput

The service role associated with the compute fleet.

func (FleetOutput) ImageId added in v6.52.0

func (o FleetOutput) ImageId() pulumi.StringPtrOutput

The Amazon Machine Image (AMI) of the compute fleet.

func (FleetOutput) LastModified added in v6.52.0

func (o FleetOutput) LastModified() pulumi.StringOutput

Last modification time of the fleet.

func (FleetOutput) Name added in v6.52.0

func (o FleetOutput) Name() pulumi.StringOutput

Fleet name.

func (FleetOutput) OverflowBehavior added in v6.52.0

func (o FleetOutput) OverflowBehavior() pulumi.StringOutput

Overflow behavior for compute fleet. Valid values: `ON_DEMAND`, `QUEUE`.

func (FleetOutput) ScalingConfiguration added in v6.52.0

func (o FleetOutput) ScalingConfiguration() FleetScalingConfigurationPtrOutput

Configuration block. Detailed below. This option is only valid when your overflow behavior is `QUEUE`.

func (FleetOutput) Statuses added in v6.52.0

func (o FleetOutput) Statuses() FleetStatusArrayOutput

Nested attribute containing information about the current status of the fleet.

func (FleetOutput) Tags added in v6.52.0

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

func (FleetOutput) TagsAll deprecated added in v6.52.0

func (o FleetOutput) TagsAll() pulumi.StringMapOutput

Deprecated: Please use `tags` instead.

func (FleetOutput) ToFleetOutput added in v6.52.0

func (o FleetOutput) ToFleetOutput() FleetOutput

func (FleetOutput) ToFleetOutputWithContext added in v6.52.0

func (o FleetOutput) ToFleetOutputWithContext(ctx context.Context) FleetOutput

func (FleetOutput) VpcConfigs added in v6.52.0

func (o FleetOutput) VpcConfigs() FleetVpcConfigArrayOutput

Configuration block. Detailed below.

type FleetScalingConfiguration added in v6.52.0

type FleetScalingConfiguration struct {
	DesiredCapacity *int `pulumi:"desiredCapacity"`
	// Maximum number of instances in the fleet when auto-scaling.
	MaxCapacity *int `pulumi:"maxCapacity"`
	// Scaling type for a compute fleet. Valid value: `TARGET_TRACKING_SCALING`.
	ScalingType *string `pulumi:"scalingType"`
	// Configuration block. Detailed below.
	TargetTrackingScalingConfigs []FleetScalingConfigurationTargetTrackingScalingConfig `pulumi:"targetTrackingScalingConfigs"`
}

type FleetScalingConfigurationArgs added in v6.52.0

type FleetScalingConfigurationArgs struct {
	DesiredCapacity pulumi.IntPtrInput `pulumi:"desiredCapacity"`
	// Maximum number of instances in the fleet when auto-scaling.
	MaxCapacity pulumi.IntPtrInput `pulumi:"maxCapacity"`
	// Scaling type for a compute fleet. Valid value: `TARGET_TRACKING_SCALING`.
	ScalingType pulumi.StringPtrInput `pulumi:"scalingType"`
	// Configuration block. Detailed below.
	TargetTrackingScalingConfigs FleetScalingConfigurationTargetTrackingScalingConfigArrayInput `pulumi:"targetTrackingScalingConfigs"`
}

func (FleetScalingConfigurationArgs) ElementType added in v6.52.0

func (FleetScalingConfigurationArgs) ToFleetScalingConfigurationOutput added in v6.52.0

func (i FleetScalingConfigurationArgs) ToFleetScalingConfigurationOutput() FleetScalingConfigurationOutput

func (FleetScalingConfigurationArgs) ToFleetScalingConfigurationOutputWithContext added in v6.52.0

func (i FleetScalingConfigurationArgs) ToFleetScalingConfigurationOutputWithContext(ctx context.Context) FleetScalingConfigurationOutput

func (FleetScalingConfigurationArgs) ToFleetScalingConfigurationPtrOutput added in v6.52.0

func (i FleetScalingConfigurationArgs) ToFleetScalingConfigurationPtrOutput() FleetScalingConfigurationPtrOutput

func (FleetScalingConfigurationArgs) ToFleetScalingConfigurationPtrOutputWithContext added in v6.52.0

func (i FleetScalingConfigurationArgs) ToFleetScalingConfigurationPtrOutputWithContext(ctx context.Context) FleetScalingConfigurationPtrOutput

type FleetScalingConfigurationInput added in v6.52.0

type FleetScalingConfigurationInput interface {
	pulumi.Input

	ToFleetScalingConfigurationOutput() FleetScalingConfigurationOutput
	ToFleetScalingConfigurationOutputWithContext(context.Context) FleetScalingConfigurationOutput
}

FleetScalingConfigurationInput is an input type that accepts FleetScalingConfigurationArgs and FleetScalingConfigurationOutput values. You can construct a concrete instance of `FleetScalingConfigurationInput` via:

FleetScalingConfigurationArgs{...}

type FleetScalingConfigurationOutput added in v6.52.0

type FleetScalingConfigurationOutput struct{ *pulumi.OutputState }

func (FleetScalingConfigurationOutput) DesiredCapacity added in v6.52.0

func (FleetScalingConfigurationOutput) ElementType added in v6.52.0

func (FleetScalingConfigurationOutput) MaxCapacity added in v6.52.0

Maximum number of instances in the fleet when auto-scaling.

func (FleetScalingConfigurationOutput) ScalingType added in v6.52.0

Scaling type for a compute fleet. Valid value: `TARGET_TRACKING_SCALING`.

func (FleetScalingConfigurationOutput) TargetTrackingScalingConfigs added in v6.52.0

Configuration block. Detailed below.

func (FleetScalingConfigurationOutput) ToFleetScalingConfigurationOutput added in v6.52.0

func (o FleetScalingConfigurationOutput) ToFleetScalingConfigurationOutput() FleetScalingConfigurationOutput

func (FleetScalingConfigurationOutput) ToFleetScalingConfigurationOutputWithContext added in v6.52.0

func (o FleetScalingConfigurationOutput) ToFleetScalingConfigurationOutputWithContext(ctx context.Context) FleetScalingConfigurationOutput

func (FleetScalingConfigurationOutput) ToFleetScalingConfigurationPtrOutput added in v6.52.0

func (o FleetScalingConfigurationOutput) ToFleetScalingConfigurationPtrOutput() FleetScalingConfigurationPtrOutput

func (FleetScalingConfigurationOutput) ToFleetScalingConfigurationPtrOutputWithContext added in v6.52.0

func (o FleetScalingConfigurationOutput) ToFleetScalingConfigurationPtrOutputWithContext(ctx context.Context) FleetScalingConfigurationPtrOutput

type FleetScalingConfigurationPtrInput added in v6.52.0

type FleetScalingConfigurationPtrInput interface {
	pulumi.Input

	ToFleetScalingConfigurationPtrOutput() FleetScalingConfigurationPtrOutput
	ToFleetScalingConfigurationPtrOutputWithContext(context.Context) FleetScalingConfigurationPtrOutput
}

FleetScalingConfigurationPtrInput is an input type that accepts FleetScalingConfigurationArgs, FleetScalingConfigurationPtr and FleetScalingConfigurationPtrOutput values. You can construct a concrete instance of `FleetScalingConfigurationPtrInput` via:

        FleetScalingConfigurationArgs{...}

or:

        nil

func FleetScalingConfigurationPtr added in v6.52.0

type FleetScalingConfigurationPtrOutput added in v6.52.0

type FleetScalingConfigurationPtrOutput struct{ *pulumi.OutputState }

func (FleetScalingConfigurationPtrOutput) DesiredCapacity added in v6.52.0

func (FleetScalingConfigurationPtrOutput) Elem added in v6.52.0

func (FleetScalingConfigurationPtrOutput) ElementType added in v6.52.0

func (FleetScalingConfigurationPtrOutput) MaxCapacity added in v6.52.0

Maximum number of instances in the fleet when auto-scaling.

func (FleetScalingConfigurationPtrOutput) ScalingType added in v6.52.0

Scaling type for a compute fleet. Valid value: `TARGET_TRACKING_SCALING`.

func (FleetScalingConfigurationPtrOutput) TargetTrackingScalingConfigs added in v6.52.0

Configuration block. Detailed below.

func (FleetScalingConfigurationPtrOutput) ToFleetScalingConfigurationPtrOutput added in v6.52.0

func (o FleetScalingConfigurationPtrOutput) ToFleetScalingConfigurationPtrOutput() FleetScalingConfigurationPtrOutput

func (FleetScalingConfigurationPtrOutput) ToFleetScalingConfigurationPtrOutputWithContext added in v6.52.0

func (o FleetScalingConfigurationPtrOutput) ToFleetScalingConfigurationPtrOutputWithContext(ctx context.Context) FleetScalingConfigurationPtrOutput

type FleetScalingConfigurationTargetTrackingScalingConfig added in v6.52.0

type FleetScalingConfigurationTargetTrackingScalingConfig struct {
	// Metric type to determine auto-scaling. Valid value: `FLEET_UTILIZATION_RATE`.
	MetricType *string `pulumi:"metricType"`
	// Value of metricType when to start scaling.
	TargetValue *float64 `pulumi:"targetValue"`
}

type FleetScalingConfigurationTargetTrackingScalingConfigArgs added in v6.52.0

type FleetScalingConfigurationTargetTrackingScalingConfigArgs struct {
	// Metric type to determine auto-scaling. Valid value: `FLEET_UTILIZATION_RATE`.
	MetricType pulumi.StringPtrInput `pulumi:"metricType"`
	// Value of metricType when to start scaling.
	TargetValue pulumi.Float64PtrInput `pulumi:"targetValue"`
}

func (FleetScalingConfigurationTargetTrackingScalingConfigArgs) ElementType added in v6.52.0

func (FleetScalingConfigurationTargetTrackingScalingConfigArgs) ToFleetScalingConfigurationTargetTrackingScalingConfigOutput added in v6.52.0

func (FleetScalingConfigurationTargetTrackingScalingConfigArgs) ToFleetScalingConfigurationTargetTrackingScalingConfigOutputWithContext added in v6.52.0

func (i FleetScalingConfigurationTargetTrackingScalingConfigArgs) ToFleetScalingConfigurationTargetTrackingScalingConfigOutputWithContext(ctx context.Context) FleetScalingConfigurationTargetTrackingScalingConfigOutput

type FleetScalingConfigurationTargetTrackingScalingConfigArray added in v6.52.0

type FleetScalingConfigurationTargetTrackingScalingConfigArray []FleetScalingConfigurationTargetTrackingScalingConfigInput

func (FleetScalingConfigurationTargetTrackingScalingConfigArray) ElementType added in v6.52.0

func (FleetScalingConfigurationTargetTrackingScalingConfigArray) ToFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput added in v6.52.0

func (i FleetScalingConfigurationTargetTrackingScalingConfigArray) ToFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput() FleetScalingConfigurationTargetTrackingScalingConfigArrayOutput

func (FleetScalingConfigurationTargetTrackingScalingConfigArray) ToFleetScalingConfigurationTargetTrackingScalingConfigArrayOutputWithContext added in v6.52.0

func (i FleetScalingConfigurationTargetTrackingScalingConfigArray) ToFleetScalingConfigurationTargetTrackingScalingConfigArrayOutputWithContext(ctx context.Context) FleetScalingConfigurationTargetTrackingScalingConfigArrayOutput

type FleetScalingConfigurationTargetTrackingScalingConfigArrayInput added in v6.52.0

type FleetScalingConfigurationTargetTrackingScalingConfigArrayInput interface {
	pulumi.Input

	ToFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput() FleetScalingConfigurationTargetTrackingScalingConfigArrayOutput
	ToFleetScalingConfigurationTargetTrackingScalingConfigArrayOutputWithContext(context.Context) FleetScalingConfigurationTargetTrackingScalingConfigArrayOutput
}

FleetScalingConfigurationTargetTrackingScalingConfigArrayInput is an input type that accepts FleetScalingConfigurationTargetTrackingScalingConfigArray and FleetScalingConfigurationTargetTrackingScalingConfigArrayOutput values. You can construct a concrete instance of `FleetScalingConfigurationTargetTrackingScalingConfigArrayInput` via:

FleetScalingConfigurationTargetTrackingScalingConfigArray{ FleetScalingConfigurationTargetTrackingScalingConfigArgs{...} }

type FleetScalingConfigurationTargetTrackingScalingConfigArrayOutput added in v6.52.0

type FleetScalingConfigurationTargetTrackingScalingConfigArrayOutput struct{ *pulumi.OutputState }

func (FleetScalingConfigurationTargetTrackingScalingConfigArrayOutput) ElementType added in v6.52.0

func (FleetScalingConfigurationTargetTrackingScalingConfigArrayOutput) Index added in v6.52.0

func (FleetScalingConfigurationTargetTrackingScalingConfigArrayOutput) ToFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput added in v6.52.0

func (FleetScalingConfigurationTargetTrackingScalingConfigArrayOutput) ToFleetScalingConfigurationTargetTrackingScalingConfigArrayOutputWithContext added in v6.52.0

func (o FleetScalingConfigurationTargetTrackingScalingConfigArrayOutput) ToFleetScalingConfigurationTargetTrackingScalingConfigArrayOutputWithContext(ctx context.Context) FleetScalingConfigurationTargetTrackingScalingConfigArrayOutput

type FleetScalingConfigurationTargetTrackingScalingConfigInput added in v6.52.0

type FleetScalingConfigurationTargetTrackingScalingConfigInput interface {
	pulumi.Input

	ToFleetScalingConfigurationTargetTrackingScalingConfigOutput() FleetScalingConfigurationTargetTrackingScalingConfigOutput
	ToFleetScalingConfigurationTargetTrackingScalingConfigOutputWithContext(context.Context) FleetScalingConfigurationTargetTrackingScalingConfigOutput
}

FleetScalingConfigurationTargetTrackingScalingConfigInput is an input type that accepts FleetScalingConfigurationTargetTrackingScalingConfigArgs and FleetScalingConfigurationTargetTrackingScalingConfigOutput values. You can construct a concrete instance of `FleetScalingConfigurationTargetTrackingScalingConfigInput` via:

FleetScalingConfigurationTargetTrackingScalingConfigArgs{...}

type FleetScalingConfigurationTargetTrackingScalingConfigOutput added in v6.52.0

type FleetScalingConfigurationTargetTrackingScalingConfigOutput struct{ *pulumi.OutputState }

func (FleetScalingConfigurationTargetTrackingScalingConfigOutput) ElementType added in v6.52.0

func (FleetScalingConfigurationTargetTrackingScalingConfigOutput) MetricType added in v6.52.0

Metric type to determine auto-scaling. Valid value: `FLEET_UTILIZATION_RATE`.

func (FleetScalingConfigurationTargetTrackingScalingConfigOutput) TargetValue added in v6.52.0

Value of metricType when to start scaling.

func (FleetScalingConfigurationTargetTrackingScalingConfigOutput) ToFleetScalingConfigurationTargetTrackingScalingConfigOutput added in v6.52.0

func (FleetScalingConfigurationTargetTrackingScalingConfigOutput) ToFleetScalingConfigurationTargetTrackingScalingConfigOutputWithContext added in v6.52.0

func (o FleetScalingConfigurationTargetTrackingScalingConfigOutput) ToFleetScalingConfigurationTargetTrackingScalingConfigOutputWithContext(ctx context.Context) FleetScalingConfigurationTargetTrackingScalingConfigOutput

type FleetState added in v6.52.0

type FleetState struct {
	// ARN of the Fleet.
	Arn pulumi.StringPtrInput
	// Number of machines allocated to the fleet.
	BaseCapacity pulumi.IntPtrInput
	// Compute resources the compute fleet uses. See [compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types) for more information and valid values.
	ComputeType pulumi.StringPtrInput
	// Creation time of the fleet.
	Created pulumi.StringPtrInput
	// Environment type of the compute fleet. See [environment types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types) for more information and valid values.
	//
	// The following arguments are optional:
	EnvironmentType pulumi.StringPtrInput
	// The service role associated with the compute fleet.
	FleetServiceRole pulumi.StringPtrInput
	// The Amazon Machine Image (AMI) of the compute fleet.
	ImageId pulumi.StringPtrInput
	// Last modification time of the fleet.
	LastModified pulumi.StringPtrInput
	// Fleet name.
	Name pulumi.StringPtrInput
	// Overflow behavior for compute fleet. Valid values: `ON_DEMAND`, `QUEUE`.
	OverflowBehavior pulumi.StringPtrInput
	// Configuration block. Detailed below. This option is only valid when your overflow behavior is `QUEUE`.
	ScalingConfiguration FleetScalingConfigurationPtrInput
	// Nested attribute containing information about the current status of the fleet.
	Statuses FleetStatusArrayInput
	// 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
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// Configuration block. Detailed below.
	VpcConfigs FleetVpcConfigArrayInput
}

func (FleetState) ElementType added in v6.52.0

func (FleetState) ElementType() reflect.Type

type FleetStatus added in v6.52.0

type FleetStatus struct {
	// Additional information about a compute fleet.
	Context *string `pulumi:"context"`
	// Message associated with the status of a compute fleet.
	Message *string `pulumi:"message"`
	// Status code of the compute fleet.
	StatusCode *string `pulumi:"statusCode"`
}

type FleetStatusArgs added in v6.52.0

type FleetStatusArgs struct {
	// Additional information about a compute fleet.
	Context pulumi.StringPtrInput `pulumi:"context"`
	// Message associated with the status of a compute fleet.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// Status code of the compute fleet.
	StatusCode pulumi.StringPtrInput `pulumi:"statusCode"`
}

func (FleetStatusArgs) ElementType added in v6.52.0

func (FleetStatusArgs) ElementType() reflect.Type

func (FleetStatusArgs) ToFleetStatusOutput added in v6.52.0

func (i FleetStatusArgs) ToFleetStatusOutput() FleetStatusOutput

func (FleetStatusArgs) ToFleetStatusOutputWithContext added in v6.52.0

func (i FleetStatusArgs) ToFleetStatusOutputWithContext(ctx context.Context) FleetStatusOutput

type FleetStatusArray added in v6.52.0

type FleetStatusArray []FleetStatusInput

func (FleetStatusArray) ElementType added in v6.52.0

func (FleetStatusArray) ElementType() reflect.Type

func (FleetStatusArray) ToFleetStatusArrayOutput added in v6.52.0

func (i FleetStatusArray) ToFleetStatusArrayOutput() FleetStatusArrayOutput

func (FleetStatusArray) ToFleetStatusArrayOutputWithContext added in v6.52.0

func (i FleetStatusArray) ToFleetStatusArrayOutputWithContext(ctx context.Context) FleetStatusArrayOutput

type FleetStatusArrayInput added in v6.52.0

type FleetStatusArrayInput interface {
	pulumi.Input

	ToFleetStatusArrayOutput() FleetStatusArrayOutput
	ToFleetStatusArrayOutputWithContext(context.Context) FleetStatusArrayOutput
}

FleetStatusArrayInput is an input type that accepts FleetStatusArray and FleetStatusArrayOutput values. You can construct a concrete instance of `FleetStatusArrayInput` via:

FleetStatusArray{ FleetStatusArgs{...} }

type FleetStatusArrayOutput added in v6.52.0

type FleetStatusArrayOutput struct{ *pulumi.OutputState }

func (FleetStatusArrayOutput) ElementType added in v6.52.0

func (FleetStatusArrayOutput) ElementType() reflect.Type

func (FleetStatusArrayOutput) Index added in v6.52.0

func (FleetStatusArrayOutput) ToFleetStatusArrayOutput added in v6.52.0

func (o FleetStatusArrayOutput) ToFleetStatusArrayOutput() FleetStatusArrayOutput

func (FleetStatusArrayOutput) ToFleetStatusArrayOutputWithContext added in v6.52.0

func (o FleetStatusArrayOutput) ToFleetStatusArrayOutputWithContext(ctx context.Context) FleetStatusArrayOutput

type FleetStatusInput added in v6.52.0

type FleetStatusInput interface {
	pulumi.Input

	ToFleetStatusOutput() FleetStatusOutput
	ToFleetStatusOutputWithContext(context.Context) FleetStatusOutput
}

FleetStatusInput is an input type that accepts FleetStatusArgs and FleetStatusOutput values. You can construct a concrete instance of `FleetStatusInput` via:

FleetStatusArgs{...}

type FleetStatusOutput added in v6.52.0

type FleetStatusOutput struct{ *pulumi.OutputState }

func (FleetStatusOutput) Context added in v6.52.0

Additional information about a compute fleet.

func (FleetStatusOutput) ElementType added in v6.52.0

func (FleetStatusOutput) ElementType() reflect.Type

func (FleetStatusOutput) Message added in v6.52.0

Message associated with the status of a compute fleet.

func (FleetStatusOutput) StatusCode added in v6.52.0

func (o FleetStatusOutput) StatusCode() pulumi.StringPtrOutput

Status code of the compute fleet.

func (FleetStatusOutput) ToFleetStatusOutput added in v6.52.0

func (o FleetStatusOutput) ToFleetStatusOutput() FleetStatusOutput

func (FleetStatusOutput) ToFleetStatusOutputWithContext added in v6.52.0

func (o FleetStatusOutput) ToFleetStatusOutputWithContext(ctx context.Context) FleetStatusOutput

type FleetVpcConfig added in v6.52.0

type FleetVpcConfig struct {
	// A list of one or more security groups IDs in your Amazon VPC.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// A list of one or more subnet IDs in your Amazon VPC.
	Subnets []string `pulumi:"subnets"`
	// The ID of the Amazon VPC.
	VpcId string `pulumi:"vpcId"`
}

type FleetVpcConfigArgs added in v6.52.0

type FleetVpcConfigArgs struct {
	// A list of one or more security groups IDs in your Amazon VPC.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// A list of one or more subnet IDs in your Amazon VPC.
	Subnets pulumi.StringArrayInput `pulumi:"subnets"`
	// The ID of the Amazon VPC.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (FleetVpcConfigArgs) ElementType added in v6.52.0

func (FleetVpcConfigArgs) ElementType() reflect.Type

func (FleetVpcConfigArgs) ToFleetVpcConfigOutput added in v6.52.0

func (i FleetVpcConfigArgs) ToFleetVpcConfigOutput() FleetVpcConfigOutput

func (FleetVpcConfigArgs) ToFleetVpcConfigOutputWithContext added in v6.52.0

func (i FleetVpcConfigArgs) ToFleetVpcConfigOutputWithContext(ctx context.Context) FleetVpcConfigOutput

type FleetVpcConfigArray added in v6.52.0

type FleetVpcConfigArray []FleetVpcConfigInput

func (FleetVpcConfigArray) ElementType added in v6.52.0

func (FleetVpcConfigArray) ElementType() reflect.Type

func (FleetVpcConfigArray) ToFleetVpcConfigArrayOutput added in v6.52.0

func (i FleetVpcConfigArray) ToFleetVpcConfigArrayOutput() FleetVpcConfigArrayOutput

func (FleetVpcConfigArray) ToFleetVpcConfigArrayOutputWithContext added in v6.52.0

func (i FleetVpcConfigArray) ToFleetVpcConfigArrayOutputWithContext(ctx context.Context) FleetVpcConfigArrayOutput

type FleetVpcConfigArrayInput added in v6.52.0

type FleetVpcConfigArrayInput interface {
	pulumi.Input

	ToFleetVpcConfigArrayOutput() FleetVpcConfigArrayOutput
	ToFleetVpcConfigArrayOutputWithContext(context.Context) FleetVpcConfigArrayOutput
}

FleetVpcConfigArrayInput is an input type that accepts FleetVpcConfigArray and FleetVpcConfigArrayOutput values. You can construct a concrete instance of `FleetVpcConfigArrayInput` via:

FleetVpcConfigArray{ FleetVpcConfigArgs{...} }

type FleetVpcConfigArrayOutput added in v6.52.0

type FleetVpcConfigArrayOutput struct{ *pulumi.OutputState }

func (FleetVpcConfigArrayOutput) ElementType added in v6.52.0

func (FleetVpcConfigArrayOutput) ElementType() reflect.Type

func (FleetVpcConfigArrayOutput) Index added in v6.52.0

func (FleetVpcConfigArrayOutput) ToFleetVpcConfigArrayOutput added in v6.52.0

func (o FleetVpcConfigArrayOutput) ToFleetVpcConfigArrayOutput() FleetVpcConfigArrayOutput

func (FleetVpcConfigArrayOutput) ToFleetVpcConfigArrayOutputWithContext added in v6.52.0

func (o FleetVpcConfigArrayOutput) ToFleetVpcConfigArrayOutputWithContext(ctx context.Context) FleetVpcConfigArrayOutput

type FleetVpcConfigInput added in v6.52.0

type FleetVpcConfigInput interface {
	pulumi.Input

	ToFleetVpcConfigOutput() FleetVpcConfigOutput
	ToFleetVpcConfigOutputWithContext(context.Context) FleetVpcConfigOutput
}

FleetVpcConfigInput is an input type that accepts FleetVpcConfigArgs and FleetVpcConfigOutput values. You can construct a concrete instance of `FleetVpcConfigInput` via:

FleetVpcConfigArgs{...}

type FleetVpcConfigOutput added in v6.52.0

type FleetVpcConfigOutput struct{ *pulumi.OutputState }

func (FleetVpcConfigOutput) ElementType added in v6.52.0

func (FleetVpcConfigOutput) ElementType() reflect.Type

func (FleetVpcConfigOutput) SecurityGroupIds added in v6.52.0

func (o FleetVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput

A list of one or more security groups IDs in your Amazon VPC.

func (FleetVpcConfigOutput) Subnets added in v6.52.0

A list of one or more subnet IDs in your Amazon VPC.

func (FleetVpcConfigOutput) ToFleetVpcConfigOutput added in v6.52.0

func (o FleetVpcConfigOutput) ToFleetVpcConfigOutput() FleetVpcConfigOutput

func (FleetVpcConfigOutput) ToFleetVpcConfigOutputWithContext added in v6.52.0

func (o FleetVpcConfigOutput) ToFleetVpcConfigOutputWithContext(ctx context.Context) FleetVpcConfigOutput

func (FleetVpcConfigOutput) VpcId added in v6.52.0

The ID of the Amazon VPC.

type GetFleetScalingConfiguration added in v6.52.0

type GetFleetScalingConfiguration struct {
	// The desired number of instances in the fleet when auto-scaling.
	DesiredCapacity int `pulumi:"desiredCapacity"`
	// The maximum number of instances in the fleet when auto-scaling.
	MaxCapacity int `pulumi:"maxCapacity"`
	// The scaling type for a compute fleet.
	ScalingType string `pulumi:"scalingType"`
	// Nested attribute containing information about thresholds when new instance is auto-scaled into the compute fleet.
	TargetTrackingScalingConfigs []GetFleetScalingConfigurationTargetTrackingScalingConfig `pulumi:"targetTrackingScalingConfigs"`
}

type GetFleetScalingConfigurationArgs added in v6.52.0

type GetFleetScalingConfigurationArgs struct {
	// The desired number of instances in the fleet when auto-scaling.
	DesiredCapacity pulumi.IntInput `pulumi:"desiredCapacity"`
	// The maximum number of instances in the fleet when auto-scaling.
	MaxCapacity pulumi.IntInput `pulumi:"maxCapacity"`
	// The scaling type for a compute fleet.
	ScalingType pulumi.StringInput `pulumi:"scalingType"`
	// Nested attribute containing information about thresholds when new instance is auto-scaled into the compute fleet.
	TargetTrackingScalingConfigs GetFleetScalingConfigurationTargetTrackingScalingConfigArrayInput `pulumi:"targetTrackingScalingConfigs"`
}

func (GetFleetScalingConfigurationArgs) ElementType added in v6.52.0

func (GetFleetScalingConfigurationArgs) ToGetFleetScalingConfigurationOutput added in v6.52.0

func (i GetFleetScalingConfigurationArgs) ToGetFleetScalingConfigurationOutput() GetFleetScalingConfigurationOutput

func (GetFleetScalingConfigurationArgs) ToGetFleetScalingConfigurationOutputWithContext added in v6.52.0

func (i GetFleetScalingConfigurationArgs) ToGetFleetScalingConfigurationOutputWithContext(ctx context.Context) GetFleetScalingConfigurationOutput

type GetFleetScalingConfigurationArray added in v6.52.0

type GetFleetScalingConfigurationArray []GetFleetScalingConfigurationInput

func (GetFleetScalingConfigurationArray) ElementType added in v6.52.0

func (GetFleetScalingConfigurationArray) ToGetFleetScalingConfigurationArrayOutput added in v6.52.0

func (i GetFleetScalingConfigurationArray) ToGetFleetScalingConfigurationArrayOutput() GetFleetScalingConfigurationArrayOutput

func (GetFleetScalingConfigurationArray) ToGetFleetScalingConfigurationArrayOutputWithContext added in v6.52.0

func (i GetFleetScalingConfigurationArray) ToGetFleetScalingConfigurationArrayOutputWithContext(ctx context.Context) GetFleetScalingConfigurationArrayOutput

type GetFleetScalingConfigurationArrayInput added in v6.52.0

type GetFleetScalingConfigurationArrayInput interface {
	pulumi.Input

	ToGetFleetScalingConfigurationArrayOutput() GetFleetScalingConfigurationArrayOutput
	ToGetFleetScalingConfigurationArrayOutputWithContext(context.Context) GetFleetScalingConfigurationArrayOutput
}

GetFleetScalingConfigurationArrayInput is an input type that accepts GetFleetScalingConfigurationArray and GetFleetScalingConfigurationArrayOutput values. You can construct a concrete instance of `GetFleetScalingConfigurationArrayInput` via:

GetFleetScalingConfigurationArray{ GetFleetScalingConfigurationArgs{...} }

type GetFleetScalingConfigurationArrayOutput added in v6.52.0

type GetFleetScalingConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetFleetScalingConfigurationArrayOutput) ElementType added in v6.52.0

func (GetFleetScalingConfigurationArrayOutput) Index added in v6.52.0

func (GetFleetScalingConfigurationArrayOutput) ToGetFleetScalingConfigurationArrayOutput added in v6.52.0

func (o GetFleetScalingConfigurationArrayOutput) ToGetFleetScalingConfigurationArrayOutput() GetFleetScalingConfigurationArrayOutput

func (GetFleetScalingConfigurationArrayOutput) ToGetFleetScalingConfigurationArrayOutputWithContext added in v6.52.0

func (o GetFleetScalingConfigurationArrayOutput) ToGetFleetScalingConfigurationArrayOutputWithContext(ctx context.Context) GetFleetScalingConfigurationArrayOutput

type GetFleetScalingConfigurationInput added in v6.52.0

type GetFleetScalingConfigurationInput interface {
	pulumi.Input

	ToGetFleetScalingConfigurationOutput() GetFleetScalingConfigurationOutput
	ToGetFleetScalingConfigurationOutputWithContext(context.Context) GetFleetScalingConfigurationOutput
}

GetFleetScalingConfigurationInput is an input type that accepts GetFleetScalingConfigurationArgs and GetFleetScalingConfigurationOutput values. You can construct a concrete instance of `GetFleetScalingConfigurationInput` via:

GetFleetScalingConfigurationArgs{...}

type GetFleetScalingConfigurationOutput added in v6.52.0

type GetFleetScalingConfigurationOutput struct{ *pulumi.OutputState }

func (GetFleetScalingConfigurationOutput) DesiredCapacity added in v6.52.0

The desired number of instances in the fleet when auto-scaling.

func (GetFleetScalingConfigurationOutput) ElementType added in v6.52.0

func (GetFleetScalingConfigurationOutput) MaxCapacity added in v6.52.0

The maximum number of instances in the fleet when auto-scaling.

func (GetFleetScalingConfigurationOutput) ScalingType added in v6.52.0

The scaling type for a compute fleet.

func (GetFleetScalingConfigurationOutput) TargetTrackingScalingConfigs added in v6.52.0

Nested attribute containing information about thresholds when new instance is auto-scaled into the compute fleet.

func (GetFleetScalingConfigurationOutput) ToGetFleetScalingConfigurationOutput added in v6.52.0

func (o GetFleetScalingConfigurationOutput) ToGetFleetScalingConfigurationOutput() GetFleetScalingConfigurationOutput

func (GetFleetScalingConfigurationOutput) ToGetFleetScalingConfigurationOutputWithContext added in v6.52.0

func (o GetFleetScalingConfigurationOutput) ToGetFleetScalingConfigurationOutputWithContext(ctx context.Context) GetFleetScalingConfigurationOutput

type GetFleetScalingConfigurationTargetTrackingScalingConfig added in v6.52.0

type GetFleetScalingConfigurationTargetTrackingScalingConfig struct {
	// The metric type to determine auto-scaling.
	MetricType string `pulumi:"metricType"`
	// The value of metricType when to start scaling.
	TargetValue float64 `pulumi:"targetValue"`
}

type GetFleetScalingConfigurationTargetTrackingScalingConfigArgs added in v6.52.0

type GetFleetScalingConfigurationTargetTrackingScalingConfigArgs struct {
	// The metric type to determine auto-scaling.
	MetricType pulumi.StringInput `pulumi:"metricType"`
	// The value of metricType when to start scaling.
	TargetValue pulumi.Float64Input `pulumi:"targetValue"`
}

func (GetFleetScalingConfigurationTargetTrackingScalingConfigArgs) ElementType added in v6.52.0

func (GetFleetScalingConfigurationTargetTrackingScalingConfigArgs) ToGetFleetScalingConfigurationTargetTrackingScalingConfigOutput added in v6.52.0

func (GetFleetScalingConfigurationTargetTrackingScalingConfigArgs) ToGetFleetScalingConfigurationTargetTrackingScalingConfigOutputWithContext added in v6.52.0

func (i GetFleetScalingConfigurationTargetTrackingScalingConfigArgs) ToGetFleetScalingConfigurationTargetTrackingScalingConfigOutputWithContext(ctx context.Context) GetFleetScalingConfigurationTargetTrackingScalingConfigOutput

type GetFleetScalingConfigurationTargetTrackingScalingConfigArray added in v6.52.0

type GetFleetScalingConfigurationTargetTrackingScalingConfigArray []GetFleetScalingConfigurationTargetTrackingScalingConfigInput

func (GetFleetScalingConfigurationTargetTrackingScalingConfigArray) ElementType added in v6.52.0

func (GetFleetScalingConfigurationTargetTrackingScalingConfigArray) ToGetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput added in v6.52.0

func (GetFleetScalingConfigurationTargetTrackingScalingConfigArray) ToGetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutputWithContext added in v6.52.0

func (i GetFleetScalingConfigurationTargetTrackingScalingConfigArray) ToGetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutputWithContext(ctx context.Context) GetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput

type GetFleetScalingConfigurationTargetTrackingScalingConfigArrayInput added in v6.52.0

type GetFleetScalingConfigurationTargetTrackingScalingConfigArrayInput interface {
	pulumi.Input

	ToGetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput() GetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput
	ToGetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutputWithContext(context.Context) GetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput
}

GetFleetScalingConfigurationTargetTrackingScalingConfigArrayInput is an input type that accepts GetFleetScalingConfigurationTargetTrackingScalingConfigArray and GetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput values. You can construct a concrete instance of `GetFleetScalingConfigurationTargetTrackingScalingConfigArrayInput` via:

GetFleetScalingConfigurationTargetTrackingScalingConfigArray{ GetFleetScalingConfigurationTargetTrackingScalingConfigArgs{...} }

type GetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput added in v6.52.0

type GetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput struct{ *pulumi.OutputState }

func (GetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput) ElementType added in v6.52.0

func (GetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput) Index added in v6.52.0

func (GetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput) ToGetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput added in v6.52.0

func (GetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput) ToGetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutputWithContext added in v6.52.0

func (o GetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput) ToGetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutputWithContext(ctx context.Context) GetFleetScalingConfigurationTargetTrackingScalingConfigArrayOutput

type GetFleetScalingConfigurationTargetTrackingScalingConfigInput added in v6.52.0

type GetFleetScalingConfigurationTargetTrackingScalingConfigInput interface {
	pulumi.Input

	ToGetFleetScalingConfigurationTargetTrackingScalingConfigOutput() GetFleetScalingConfigurationTargetTrackingScalingConfigOutput
	ToGetFleetScalingConfigurationTargetTrackingScalingConfigOutputWithContext(context.Context) GetFleetScalingConfigurationTargetTrackingScalingConfigOutput
}

GetFleetScalingConfigurationTargetTrackingScalingConfigInput is an input type that accepts GetFleetScalingConfigurationTargetTrackingScalingConfigArgs and GetFleetScalingConfigurationTargetTrackingScalingConfigOutput values. You can construct a concrete instance of `GetFleetScalingConfigurationTargetTrackingScalingConfigInput` via:

GetFleetScalingConfigurationTargetTrackingScalingConfigArgs{...}

type GetFleetScalingConfigurationTargetTrackingScalingConfigOutput added in v6.52.0

type GetFleetScalingConfigurationTargetTrackingScalingConfigOutput struct{ *pulumi.OutputState }

func (GetFleetScalingConfigurationTargetTrackingScalingConfigOutput) ElementType added in v6.52.0

func (GetFleetScalingConfigurationTargetTrackingScalingConfigOutput) MetricType added in v6.52.0

The metric type to determine auto-scaling.

func (GetFleetScalingConfigurationTargetTrackingScalingConfigOutput) TargetValue added in v6.52.0

The value of metricType when to start scaling.

func (GetFleetScalingConfigurationTargetTrackingScalingConfigOutput) ToGetFleetScalingConfigurationTargetTrackingScalingConfigOutput added in v6.52.0

func (GetFleetScalingConfigurationTargetTrackingScalingConfigOutput) ToGetFleetScalingConfigurationTargetTrackingScalingConfigOutputWithContext added in v6.52.0

func (o GetFleetScalingConfigurationTargetTrackingScalingConfigOutput) ToGetFleetScalingConfigurationTargetTrackingScalingConfigOutputWithContext(ctx context.Context) GetFleetScalingConfigurationTargetTrackingScalingConfigOutput

type GetFleetStatus added in v6.52.0

type GetFleetStatus struct {
	// Additional information about a compute fleet.
	Context string `pulumi:"context"`
	// Message associated with the status of a compute fleet.
	Message string `pulumi:"message"`
	// Status code of the compute fleet.
	StatusCode string `pulumi:"statusCode"`
}

type GetFleetStatusArgs added in v6.52.0

type GetFleetStatusArgs struct {
	// Additional information about a compute fleet.
	Context pulumi.StringInput `pulumi:"context"`
	// Message associated with the status of a compute fleet.
	Message pulumi.StringInput `pulumi:"message"`
	// Status code of the compute fleet.
	StatusCode pulumi.StringInput `pulumi:"statusCode"`
}

func (GetFleetStatusArgs) ElementType added in v6.52.0

func (GetFleetStatusArgs) ElementType() reflect.Type

func (GetFleetStatusArgs) ToGetFleetStatusOutput added in v6.52.0

func (i GetFleetStatusArgs) ToGetFleetStatusOutput() GetFleetStatusOutput

func (GetFleetStatusArgs) ToGetFleetStatusOutputWithContext added in v6.52.0

func (i GetFleetStatusArgs) ToGetFleetStatusOutputWithContext(ctx context.Context) GetFleetStatusOutput

type GetFleetStatusArray added in v6.52.0

type GetFleetStatusArray []GetFleetStatusInput

func (GetFleetStatusArray) ElementType added in v6.52.0

func (GetFleetStatusArray) ElementType() reflect.Type

func (GetFleetStatusArray) ToGetFleetStatusArrayOutput added in v6.52.0

func (i GetFleetStatusArray) ToGetFleetStatusArrayOutput() GetFleetStatusArrayOutput

func (GetFleetStatusArray) ToGetFleetStatusArrayOutputWithContext added in v6.52.0

func (i GetFleetStatusArray) ToGetFleetStatusArrayOutputWithContext(ctx context.Context) GetFleetStatusArrayOutput

type GetFleetStatusArrayInput added in v6.52.0

type GetFleetStatusArrayInput interface {
	pulumi.Input

	ToGetFleetStatusArrayOutput() GetFleetStatusArrayOutput
	ToGetFleetStatusArrayOutputWithContext(context.Context) GetFleetStatusArrayOutput
}

GetFleetStatusArrayInput is an input type that accepts GetFleetStatusArray and GetFleetStatusArrayOutput values. You can construct a concrete instance of `GetFleetStatusArrayInput` via:

GetFleetStatusArray{ GetFleetStatusArgs{...} }

type GetFleetStatusArrayOutput added in v6.52.0

type GetFleetStatusArrayOutput struct{ *pulumi.OutputState }

func (GetFleetStatusArrayOutput) ElementType added in v6.52.0

func (GetFleetStatusArrayOutput) ElementType() reflect.Type

func (GetFleetStatusArrayOutput) Index added in v6.52.0

func (GetFleetStatusArrayOutput) ToGetFleetStatusArrayOutput added in v6.52.0

func (o GetFleetStatusArrayOutput) ToGetFleetStatusArrayOutput() GetFleetStatusArrayOutput

func (GetFleetStatusArrayOutput) ToGetFleetStatusArrayOutputWithContext added in v6.52.0

func (o GetFleetStatusArrayOutput) ToGetFleetStatusArrayOutputWithContext(ctx context.Context) GetFleetStatusArrayOutput

type GetFleetStatusInput added in v6.52.0

type GetFleetStatusInput interface {
	pulumi.Input

	ToGetFleetStatusOutput() GetFleetStatusOutput
	ToGetFleetStatusOutputWithContext(context.Context) GetFleetStatusOutput
}

GetFleetStatusInput is an input type that accepts GetFleetStatusArgs and GetFleetStatusOutput values. You can construct a concrete instance of `GetFleetStatusInput` via:

GetFleetStatusArgs{...}

type GetFleetStatusOutput added in v6.52.0

type GetFleetStatusOutput struct{ *pulumi.OutputState }

func (GetFleetStatusOutput) Context added in v6.52.0

Additional information about a compute fleet.

func (GetFleetStatusOutput) ElementType added in v6.52.0

func (GetFleetStatusOutput) ElementType() reflect.Type

func (GetFleetStatusOutput) Message added in v6.52.0

Message associated with the status of a compute fleet.

func (GetFleetStatusOutput) StatusCode added in v6.52.0

func (o GetFleetStatusOutput) StatusCode() pulumi.StringOutput

Status code of the compute fleet.

func (GetFleetStatusOutput) ToGetFleetStatusOutput added in v6.52.0

func (o GetFleetStatusOutput) ToGetFleetStatusOutput() GetFleetStatusOutput

func (GetFleetStatusOutput) ToGetFleetStatusOutputWithContext added in v6.52.0

func (o GetFleetStatusOutput) ToGetFleetStatusOutputWithContext(ctx context.Context) GetFleetStatusOutput

type GetFleetVpcConfig added in v6.52.0

type GetFleetVpcConfig struct {
	// A list of one or more security groups IDs in your Amazon VPC.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// A list of one or more subnet IDs in your Amazon VPC.
	Subnets []string `pulumi:"subnets"`
	// The ID of the Amazon VPC.
	VpcId string `pulumi:"vpcId"`
}

type GetFleetVpcConfigArgs added in v6.52.0

type GetFleetVpcConfigArgs struct {
	// A list of one or more security groups IDs in your Amazon VPC.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// A list of one or more subnet IDs in your Amazon VPC.
	Subnets pulumi.StringArrayInput `pulumi:"subnets"`
	// The ID of the Amazon VPC.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetFleetVpcConfigArgs) ElementType added in v6.52.0

func (GetFleetVpcConfigArgs) ElementType() reflect.Type

func (GetFleetVpcConfigArgs) ToGetFleetVpcConfigOutput added in v6.52.0

func (i GetFleetVpcConfigArgs) ToGetFleetVpcConfigOutput() GetFleetVpcConfigOutput

func (GetFleetVpcConfigArgs) ToGetFleetVpcConfigOutputWithContext added in v6.52.0

func (i GetFleetVpcConfigArgs) ToGetFleetVpcConfigOutputWithContext(ctx context.Context) GetFleetVpcConfigOutput

type GetFleetVpcConfigArray added in v6.52.0

type GetFleetVpcConfigArray []GetFleetVpcConfigInput

func (GetFleetVpcConfigArray) ElementType added in v6.52.0

func (GetFleetVpcConfigArray) ElementType() reflect.Type

func (GetFleetVpcConfigArray) ToGetFleetVpcConfigArrayOutput added in v6.52.0

func (i GetFleetVpcConfigArray) ToGetFleetVpcConfigArrayOutput() GetFleetVpcConfigArrayOutput

func (GetFleetVpcConfigArray) ToGetFleetVpcConfigArrayOutputWithContext added in v6.52.0

func (i GetFleetVpcConfigArray) ToGetFleetVpcConfigArrayOutputWithContext(ctx context.Context) GetFleetVpcConfigArrayOutput

type GetFleetVpcConfigArrayInput added in v6.52.0

type GetFleetVpcConfigArrayInput interface {
	pulumi.Input

	ToGetFleetVpcConfigArrayOutput() GetFleetVpcConfigArrayOutput
	ToGetFleetVpcConfigArrayOutputWithContext(context.Context) GetFleetVpcConfigArrayOutput
}

GetFleetVpcConfigArrayInput is an input type that accepts GetFleetVpcConfigArray and GetFleetVpcConfigArrayOutput values. You can construct a concrete instance of `GetFleetVpcConfigArrayInput` via:

GetFleetVpcConfigArray{ GetFleetVpcConfigArgs{...} }

type GetFleetVpcConfigArrayOutput added in v6.52.0

type GetFleetVpcConfigArrayOutput struct{ *pulumi.OutputState }

func (GetFleetVpcConfigArrayOutput) ElementType added in v6.52.0

func (GetFleetVpcConfigArrayOutput) Index added in v6.52.0

func (GetFleetVpcConfigArrayOutput) ToGetFleetVpcConfigArrayOutput added in v6.52.0

func (o GetFleetVpcConfigArrayOutput) ToGetFleetVpcConfigArrayOutput() GetFleetVpcConfigArrayOutput

func (GetFleetVpcConfigArrayOutput) ToGetFleetVpcConfigArrayOutputWithContext added in v6.52.0

func (o GetFleetVpcConfigArrayOutput) ToGetFleetVpcConfigArrayOutputWithContext(ctx context.Context) GetFleetVpcConfigArrayOutput

type GetFleetVpcConfigInput added in v6.52.0

type GetFleetVpcConfigInput interface {
	pulumi.Input

	ToGetFleetVpcConfigOutput() GetFleetVpcConfigOutput
	ToGetFleetVpcConfigOutputWithContext(context.Context) GetFleetVpcConfigOutput
}

GetFleetVpcConfigInput is an input type that accepts GetFleetVpcConfigArgs and GetFleetVpcConfigOutput values. You can construct a concrete instance of `GetFleetVpcConfigInput` via:

GetFleetVpcConfigArgs{...}

type GetFleetVpcConfigOutput added in v6.52.0

type GetFleetVpcConfigOutput struct{ *pulumi.OutputState }

func (GetFleetVpcConfigOutput) ElementType added in v6.52.0

func (GetFleetVpcConfigOutput) ElementType() reflect.Type

func (GetFleetVpcConfigOutput) SecurityGroupIds added in v6.52.0

func (o GetFleetVpcConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput

A list of one or more security groups IDs in your Amazon VPC.

func (GetFleetVpcConfigOutput) Subnets added in v6.52.0

A list of one or more subnet IDs in your Amazon VPC.

func (GetFleetVpcConfigOutput) ToGetFleetVpcConfigOutput added in v6.52.0

func (o GetFleetVpcConfigOutput) ToGetFleetVpcConfigOutput() GetFleetVpcConfigOutput

func (GetFleetVpcConfigOutput) ToGetFleetVpcConfigOutputWithContext added in v6.52.0

func (o GetFleetVpcConfigOutput) ToGetFleetVpcConfigOutputWithContext(ctx context.Context) GetFleetVpcConfigOutput

func (GetFleetVpcConfigOutput) VpcId added in v6.52.0

The ID of the Amazon VPC.

type LookupFleetArgs added in v6.52.0

type LookupFleetArgs struct {
	// Fleet name.
	Name string `pulumi:"name"`
	// Mapping of Key-Value tags for the resource.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getFleet.

type LookupFleetOutputArgs added in v6.52.0

type LookupFleetOutputArgs struct {
	// Fleet name.
	Name pulumi.StringInput `pulumi:"name"`
	// Mapping of Key-Value tags for the resource.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getFleet.

func (LookupFleetOutputArgs) ElementType added in v6.52.0

func (LookupFleetOutputArgs) ElementType() reflect.Type

type LookupFleetResult added in v6.52.0

type LookupFleetResult struct {
	// ARN of the Fleet.
	Arn string `pulumi:"arn"`
	// Number of machines allocated to the fleet.
	BaseCapacity int `pulumi:"baseCapacity"`
	// Compute resources the compute fleet uses.
	ComputeType string `pulumi:"computeType"`
	// Creation time of the fleet.
	Created string `pulumi:"created"`
	// Environment type of the compute fleet.
	EnvironmentType string `pulumi:"environmentType"`
	// The service role associated with the compute fleet.
	FleetServiceRole string `pulumi:"fleetServiceRole"`
	// ARN of the Fleet.
	Id string `pulumi:"id"`
	// The Amazon Machine Image (AMI) of the compute fleet.
	ImageId string `pulumi:"imageId"`
	// Last modification time of the fleet.
	LastModified string `pulumi:"lastModified"`
	Name         string `pulumi:"name"`
	// Overflow behavior for compute fleet.
	OverflowBehavior string `pulumi:"overflowBehavior"`
	// Nested attribute containing information about the scaling configuration.
	ScalingConfigurations []GetFleetScalingConfiguration `pulumi:"scalingConfigurations"`
	// Nested attribute containing information about the current status of the fleet.
	Statuses []GetFleetStatus `pulumi:"statuses"`
	// Mapping of Key-Value tags for the resource.
	Tags map[string]string `pulumi:"tags"`
	// Nested attribute containing information about the VPC configuration.
	VpcConfigs []GetFleetVpcConfig `pulumi:"vpcConfigs"`
}

A collection of values returned by getFleet.

func LookupFleet added in v6.52.0

func LookupFleet(ctx *pulumi.Context, args *LookupFleetArgs, opts ...pulumi.InvokeOption) (*LookupFleetResult, error)

Retrieve information about an CodeBuild Fleet.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testFleet, err := codebuild.NewFleet(ctx, "test", &codebuild.FleetArgs{
			BaseCapacity:     pulumi.Int(2),
			ComputeType:      pulumi.String("BUILD_GENERAL1_SMALL"),
			EnvironmentType:  pulumi.String("LINUX_CONTAINER"),
			Name:             pulumi.String("full-example-codebuild-fleet"),
			OverflowBehavior: pulumi.String("QUEUE"),
			ScalingConfiguration: &codebuild.FleetScalingConfigurationArgs{
				MaxCapacity: pulumi.Int(5),
				ScalingType: pulumi.String("TARGET_TRACKING_SCALING"),
				TargetTrackingScalingConfigs: codebuild.FleetScalingConfigurationTargetTrackingScalingConfigArray{
					&codebuild.FleetScalingConfigurationTargetTrackingScalingConfigArgs{
						MetricType:  pulumi.String("FLEET_UTILIZATION_RATE"),
						TargetValue: pulumi.Float64(97.5),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_ = codebuild.LookupFleetOutput(ctx, codebuild.GetFleetOutputArgs{
			Name: testFleet.Name,
		}, nil)
		return nil
	})
}

```

### Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := codebuild.LookupFleet(ctx, &codebuild.LookupFleetArgs{
			Name: "my-codebuild-fleet-name",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupFleetResultOutput added in v6.52.0

type LookupFleetResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFleet.

func LookupFleetOutput added in v6.52.0

func LookupFleetOutput(ctx *pulumi.Context, args LookupFleetOutputArgs, opts ...pulumi.InvokeOption) LookupFleetResultOutput

func (LookupFleetResultOutput) Arn added in v6.52.0

ARN of the Fleet.

func (LookupFleetResultOutput) BaseCapacity added in v6.52.0

func (o LookupFleetResultOutput) BaseCapacity() pulumi.IntOutput

Number of machines allocated to the fleet.

func (LookupFleetResultOutput) ComputeType added in v6.52.0

Compute resources the compute fleet uses.

func (LookupFleetResultOutput) Created added in v6.52.0

Creation time of the fleet.

func (LookupFleetResultOutput) ElementType added in v6.52.0

func (LookupFleetResultOutput) ElementType() reflect.Type

func (LookupFleetResultOutput) EnvironmentType added in v6.52.0

func (o LookupFleetResultOutput) EnvironmentType() pulumi.StringOutput

Environment type of the compute fleet.

func (LookupFleetResultOutput) FleetServiceRole added in v6.52.0

func (o LookupFleetResultOutput) FleetServiceRole() pulumi.StringOutput

The service role associated with the compute fleet.

func (LookupFleetResultOutput) Id added in v6.52.0

ARN of the Fleet.

func (LookupFleetResultOutput) ImageId added in v6.52.0

The Amazon Machine Image (AMI) of the compute fleet.

func (LookupFleetResultOutput) LastModified added in v6.52.0

func (o LookupFleetResultOutput) LastModified() pulumi.StringOutput

Last modification time of the fleet.

func (LookupFleetResultOutput) Name added in v6.52.0

func (LookupFleetResultOutput) OverflowBehavior added in v6.52.0

func (o LookupFleetResultOutput) OverflowBehavior() pulumi.StringOutput

Overflow behavior for compute fleet.

func (LookupFleetResultOutput) ScalingConfigurations added in v6.52.0

Nested attribute containing information about the scaling configuration.

func (LookupFleetResultOutput) Statuses added in v6.52.0

Nested attribute containing information about the current status of the fleet.

func (LookupFleetResultOutput) Tags added in v6.52.0

Mapping of Key-Value tags for the resource.

func (LookupFleetResultOutput) ToLookupFleetResultOutput added in v6.52.0

func (o LookupFleetResultOutput) ToLookupFleetResultOutput() LookupFleetResultOutput

func (LookupFleetResultOutput) ToLookupFleetResultOutputWithContext added in v6.52.0

func (o LookupFleetResultOutput) ToLookupFleetResultOutputWithContext(ctx context.Context) LookupFleetResultOutput

func (LookupFleetResultOutput) VpcConfigs added in v6.52.0

Nested attribute containing information about the VPC configuration.

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 2160 (36 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes. The `buildTimeout` property is not available on the `Lambda` compute type.
	BuildTimeout pulumi.IntPtrOutput `pulumi:"buildTimeout"`
	// Configuration block. Detailed below.
	Cache ProjectCachePtrOutput `pulumi:"cache"`
	// Specify a maximum number of concurrent builds for the project. The value specified must be greater than 0 and less than the account concurrent running builds limit.
	ConcurrentBuildLimit pulumi.IntPtrOutput `pulumi:"concurrentBuildLimit"`
	// Short description of the project.
	Description pulumi.StringOutput `pulumi:"description"`
	// AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
	EncryptionKey pulumi.StringOutput `pulumi:"encryptionKey"`
	// Configuration block. Detailed below.
	Environment ProjectEnvironmentOutput `pulumi:"environment"`
	// A set of file system locations to mount inside the build. File system locations are documented below.
	FileSystemLocations ProjectFileSystemLocationArrayOutput `pulumi:"fileSystemLocations"`
	// Configuration block. Detailed below.
	LogsConfig ProjectLogsConfigPtrOutput `pulumi:"logsConfig"`
	// Project's name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ` and `PRIVATE`. Default value is `PRIVATE`.
	ProjectVisibility pulumi.StringPtrOutput `pulumi:"projectVisibility"`
	// The project identifier used with the public build APIs.
	PublicProjectAlias pulumi.StringOutput `pulumi:"publicProjectAlias"`
	// Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours. The `queuedTimeout` property is not available on the `Lambda` compute type.
	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 in order to display them publicly. Only applicable if `projectVisibility` is `PUBLIC_READ`.
	ResourceAccessRole pulumi.StringPtrOutput `pulumi:"resourceAccessRole"`
	// Configuration block. Detailed below.
	SecondaryArtifacts ProjectSecondaryArtifactArrayOutput `pulumi:"secondaryArtifacts"`
	// Configuration block. Detailed below.
	SecondarySourceVersions ProjectSecondarySourceVersionArrayOutput `pulumi:"secondarySourceVersions"`
	// Configuration block. Detailed below.
	SecondarySources ProjectSecondarySourceArrayOutput `pulumi:"secondarySources"`
	// Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
	ServiceRole pulumi.StringOutput `pulumi:"serviceRole"`
	// Configuration block. Detailed below.
	//
	// The following arguments are optional:
	Source ProjectSourceOutput `pulumi:"source"`
	// Version of the build input to be built for this project. If not specified, the latest version is used.
	SourceVersion pulumi.StringPtrOutput `pulumi:"sourceVersion"`
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Configuration block. Detailed below.
	VpcConfig ProjectVpcConfigPtrOutput `pulumi:"vpcConfig"`
}

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

## Example Usage

```go package main

import (

"fmt"

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

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

## Import

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

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

func GetProject

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

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

func NewProject

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

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

func (*Project) ElementType

func (*Project) ElementType() reflect.Type

func (*Project) 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 2160 (36 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes. The `buildTimeout` property is not available on the `Lambda` compute type.
	BuildTimeout pulumi.IntPtrInput
	// Configuration block. Detailed below.
	Cache ProjectCachePtrInput
	// Specify a maximum number of concurrent builds for the project. The value specified must be greater than 0 and less than the account concurrent running builds limit.
	ConcurrentBuildLimit pulumi.IntPtrInput
	// Short description of the project.
	Description pulumi.StringPtrInput
	// AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
	EncryptionKey pulumi.StringPtrInput
	// Configuration block. Detailed below.
	Environment ProjectEnvironmentInput
	// A set of file system locations to mount inside the build. File system locations are documented below.
	FileSystemLocations ProjectFileSystemLocationArrayInput
	// Configuration block. Detailed below.
	LogsConfig ProjectLogsConfigPtrInput
	// Project's name.
	Name pulumi.StringPtrInput
	// Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ` and `PRIVATE`. Default value is `PRIVATE`.
	ProjectVisibility pulumi.StringPtrInput
	// Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours. The `queuedTimeout` property is not available on the `Lambda` compute type.
	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 in order to display them publicly. Only applicable if `projectVisibility` is `PUBLIC_READ`.
	ResourceAccessRole pulumi.StringPtrInput
	// Configuration block. Detailed below.
	SecondaryArtifacts ProjectSecondaryArtifactArrayInput
	// Configuration block. Detailed below.
	SecondarySourceVersions ProjectSecondarySourceVersionArrayInput
	// Configuration block. Detailed below.
	SecondarySources ProjectSecondarySourceArrayInput
	// Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
	ServiceRole pulumi.StringInput
	// Configuration block. Detailed below.
	//
	// The following arguments are optional:
	Source ProjectSourceInput
	// Version of the build input to be built for this project. If not specified, the latest version is used.
	SourceVersion pulumi.StringPtrInput
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Configuration block. Detailed below.
	VpcConfig ProjectVpcConfigPtrInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) 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"`
	// Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored. If `type` is set to `S3`, this is the name of the output bucket.
	Location *string `pulumi:"location"`
	// Name of the project. If `type` is set to `S3`, this is the name of the output artifact object
	Name *string `pulumi:"name"`
	// Namespace to use in storing build artifacts. If `type` is set to `S3`, then valid values are `BUILD_ID`, `NONE`.
	NamespaceType *string `pulumi:"namespaceType"`
	// Whether a name specified in the build specification overrides the artifact name.
	OverrideArtifactName *bool `pulumi:"overrideArtifactName"`
	// Type of build output artifact to create. If `type` is set to `S3`, valid values are `NONE`, `ZIP`
	Packaging *string `pulumi:"packaging"`
	// If `type` is set to `S3`, this is the path to the output artifact.
	Path *string `pulumi:"path"`
	// Build output artifact's type. Valid values: `CODEPIPELINE`, `NO_ARTIFACTS`, `S3`.
	Type string `pulumi:"type"`
}

type ProjectArtifactsArgs

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

func (ProjectArtifactsArgs) ElementType

func (ProjectArtifactsArgs) ElementType() reflect.Type

func (ProjectArtifactsArgs) ToProjectArtifactsOutput

func (i ProjectArtifactsArgs) ToProjectArtifactsOutput() ProjectArtifactsOutput

func (ProjectArtifactsArgs) ToProjectArtifactsOutputWithContext

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

func (ProjectArtifactsArgs) ToProjectArtifactsPtrOutput

func (i ProjectArtifactsArgs) ToProjectArtifactsPtrOutput() ProjectArtifactsPtrOutput

func (ProjectArtifactsArgs) ToProjectArtifactsPtrOutputWithContext

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

type ProjectArtifactsInput

type ProjectArtifactsInput interface {
	pulumi.Input

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

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

ProjectArtifactsArgs{...}

type ProjectArtifactsOutput

type ProjectArtifactsOutput struct{ *pulumi.OutputState }

func (ProjectArtifactsOutput) ArtifactIdentifier

func (o ProjectArtifactsOutput) ArtifactIdentifier() pulumi.StringPtrOutput

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

func (ProjectArtifactsOutput) BucketOwnerAccess

func (o ProjectArtifactsOutput) BucketOwnerAccess() pulumi.StringPtrOutput

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

func (ProjectArtifactsOutput) ElementType

func (ProjectArtifactsOutput) ElementType() reflect.Type

func (ProjectArtifactsOutput) EncryptionDisabled

func (o ProjectArtifactsOutput) EncryptionDisabled() pulumi.BoolPtrOutput

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

func (ProjectArtifactsOutput) Location

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

func (ProjectArtifactsOutput) Name

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

func (ProjectArtifactsOutput) NamespaceType

func (o ProjectArtifactsOutput) NamespaceType() pulumi.StringPtrOutput

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

func (ProjectArtifactsOutput) OverrideArtifactName

func (o ProjectArtifactsOutput) OverrideArtifactName() pulumi.BoolPtrOutput

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

func (ProjectArtifactsOutput) Packaging

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

func (ProjectArtifactsOutput) Path

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

func (ProjectArtifactsOutput) ToProjectArtifactsOutput

func (o ProjectArtifactsOutput) ToProjectArtifactsOutput() ProjectArtifactsOutput

func (ProjectArtifactsOutput) ToProjectArtifactsOutputWithContext

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

func (ProjectArtifactsOutput) ToProjectArtifactsPtrOutput

func (o ProjectArtifactsOutput) ToProjectArtifactsPtrOutput() ProjectArtifactsPtrOutput

func (ProjectArtifactsOutput) ToProjectArtifactsPtrOutputWithContext

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

func (ProjectArtifactsOutput) Type

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

type ProjectArtifactsPtrInput

type ProjectArtifactsPtrInput interface {
	pulumi.Input

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

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

        ProjectArtifactsArgs{...}

or:

        nil

type ProjectArtifactsPtrOutput

type ProjectArtifactsPtrOutput struct{ *pulumi.OutputState }

func (ProjectArtifactsPtrOutput) ArtifactIdentifier

func (o ProjectArtifactsPtrOutput) ArtifactIdentifier() pulumi.StringPtrOutput

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

func (ProjectArtifactsPtrOutput) BucketOwnerAccess

func (o ProjectArtifactsPtrOutput) BucketOwnerAccess() pulumi.StringPtrOutput

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

func (ProjectArtifactsPtrOutput) Elem

func (ProjectArtifactsPtrOutput) ElementType

func (ProjectArtifactsPtrOutput) ElementType() reflect.Type

func (ProjectArtifactsPtrOutput) EncryptionDisabled

func (o ProjectArtifactsPtrOutput) EncryptionDisabled() pulumi.BoolPtrOutput

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

func (ProjectArtifactsPtrOutput) Location

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

func (ProjectArtifactsPtrOutput) Name

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

func (ProjectArtifactsPtrOutput) NamespaceType

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

func (ProjectArtifactsPtrOutput) OverrideArtifactName

func (o ProjectArtifactsPtrOutput) OverrideArtifactName() pulumi.BoolPtrOutput

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

func (ProjectArtifactsPtrOutput) Packaging

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

func (ProjectArtifactsPtrOutput) Path

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

func (ProjectArtifactsPtrOutput) ToProjectArtifactsPtrOutput

func (o ProjectArtifactsPtrOutput) ToProjectArtifactsPtrOutput() ProjectArtifactsPtrOutput

func (ProjectArtifactsPtrOutput) ToProjectArtifactsPtrOutputWithContext

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

func (ProjectArtifactsPtrOutput) Type

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

type ProjectBuildBatchConfig

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

type ProjectBuildBatchConfigArgs

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

func (ProjectBuildBatchConfigArgs) ElementType

func (ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigOutput

func (i ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigOutput() ProjectBuildBatchConfigOutput

func (ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigOutputWithContext

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

func (ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigPtrOutput

func (i ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigPtrOutput() ProjectBuildBatchConfigPtrOutput

func (ProjectBuildBatchConfigArgs) ToProjectBuildBatchConfigPtrOutputWithContext

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

type ProjectBuildBatchConfigInput

type ProjectBuildBatchConfigInput interface {
	pulumi.Input

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

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

ProjectBuildBatchConfigArgs{...}

type ProjectBuildBatchConfigOutput

type ProjectBuildBatchConfigOutput struct{ *pulumi.OutputState }

func (ProjectBuildBatchConfigOutput) CombineArtifacts

func (o ProjectBuildBatchConfigOutput) CombineArtifacts() pulumi.BoolPtrOutput

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

func (ProjectBuildBatchConfigOutput) ElementType

func (ProjectBuildBatchConfigOutput) Restrictions

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

func (ProjectBuildBatchConfigOutput) ServiceRole

Specifies the service role ARN for the batch build project.

func (ProjectBuildBatchConfigOutput) TimeoutInMins

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

func (ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigOutput

func (o ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigOutput() ProjectBuildBatchConfigOutput

func (ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigOutputWithContext

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

func (ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigPtrOutput

func (o ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigPtrOutput() ProjectBuildBatchConfigPtrOutput

func (ProjectBuildBatchConfigOutput) ToProjectBuildBatchConfigPtrOutputWithContext

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

type ProjectBuildBatchConfigPtrInput

type ProjectBuildBatchConfigPtrInput interface {
	pulumi.Input

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

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

        ProjectBuildBatchConfigArgs{...}

or:

        nil

type ProjectBuildBatchConfigPtrOutput

type ProjectBuildBatchConfigPtrOutput struct{ *pulumi.OutputState }

func (ProjectBuildBatchConfigPtrOutput) CombineArtifacts

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

func (ProjectBuildBatchConfigPtrOutput) Elem

func (ProjectBuildBatchConfigPtrOutput) ElementType

func (ProjectBuildBatchConfigPtrOutput) Restrictions

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

func (ProjectBuildBatchConfigPtrOutput) ServiceRole

Specifies the service role ARN for the batch build project.

func (ProjectBuildBatchConfigPtrOutput) TimeoutInMins

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

func (ProjectBuildBatchConfigPtrOutput) ToProjectBuildBatchConfigPtrOutput

func (o ProjectBuildBatchConfigPtrOutput) ToProjectBuildBatchConfigPtrOutput() ProjectBuildBatchConfigPtrOutput

func (ProjectBuildBatchConfigPtrOutput) ToProjectBuildBatchConfigPtrOutputWithContext

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

type ProjectBuildBatchConfigRestrictions

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

type ProjectBuildBatchConfigRestrictionsArgs

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

func (ProjectBuildBatchConfigRestrictionsArgs) ElementType

func (ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsOutput

func (i ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsOutput() ProjectBuildBatchConfigRestrictionsOutput

func (ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsOutputWithContext

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

func (ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsPtrOutput

func (i ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsPtrOutput() ProjectBuildBatchConfigRestrictionsPtrOutput

func (ProjectBuildBatchConfigRestrictionsArgs) ToProjectBuildBatchConfigRestrictionsPtrOutputWithContext

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

type ProjectBuildBatchConfigRestrictionsInput

type ProjectBuildBatchConfigRestrictionsInput interface {
	pulumi.Input

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

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

ProjectBuildBatchConfigRestrictionsArgs{...}

type ProjectBuildBatchConfigRestrictionsOutput

type ProjectBuildBatchConfigRestrictionsOutput struct{ *pulumi.OutputState }

func (ProjectBuildBatchConfigRestrictionsOutput) ComputeTypesAlloweds

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

func (ProjectBuildBatchConfigRestrictionsOutput) ElementType

func (ProjectBuildBatchConfigRestrictionsOutput) MaximumBuildsAllowed

Specifies the maximum number of builds allowed.

func (ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsOutput

func (o ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsOutput() ProjectBuildBatchConfigRestrictionsOutput

func (ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsOutputWithContext

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

func (ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsPtrOutput

func (o ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsPtrOutput() ProjectBuildBatchConfigRestrictionsPtrOutput

func (ProjectBuildBatchConfigRestrictionsOutput) ToProjectBuildBatchConfigRestrictionsPtrOutputWithContext

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

type ProjectBuildBatchConfigRestrictionsPtrInput

type ProjectBuildBatchConfigRestrictionsPtrInput interface {
	pulumi.Input

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

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

        ProjectBuildBatchConfigRestrictionsArgs{...}

or:

        nil

type ProjectBuildBatchConfigRestrictionsPtrOutput

type ProjectBuildBatchConfigRestrictionsPtrOutput struct{ *pulumi.OutputState }

func (ProjectBuildBatchConfigRestrictionsPtrOutput) ComputeTypesAlloweds

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

func (ProjectBuildBatchConfigRestrictionsPtrOutput) Elem

func (ProjectBuildBatchConfigRestrictionsPtrOutput) ElementType

func (ProjectBuildBatchConfigRestrictionsPtrOutput) MaximumBuildsAllowed

Specifies the maximum number of builds allowed.

func (ProjectBuildBatchConfigRestrictionsPtrOutput) ToProjectBuildBatchConfigRestrictionsPtrOutput

func (o ProjectBuildBatchConfigRestrictionsPtrOutput) ToProjectBuildBatchConfigRestrictionsPtrOutput() ProjectBuildBatchConfigRestrictionsPtrOutput

func (ProjectBuildBatchConfigRestrictionsPtrOutput) ToProjectBuildBatchConfigRestrictionsPtrOutputWithContext

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

type ProjectCache

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

type ProjectCacheArgs

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

func (ProjectCacheArgs) ElementType

func (ProjectCacheArgs) ElementType() reflect.Type

func (ProjectCacheArgs) ToProjectCacheOutput

func (i ProjectCacheArgs) ToProjectCacheOutput() ProjectCacheOutput

func (ProjectCacheArgs) ToProjectCacheOutputWithContext

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

func (ProjectCacheArgs) ToProjectCachePtrOutput

func (i ProjectCacheArgs) ToProjectCachePtrOutput() ProjectCachePtrOutput

func (ProjectCacheArgs) ToProjectCachePtrOutputWithContext

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

type ProjectCacheInput

type ProjectCacheInput interface {
	pulumi.Input

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

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

ProjectCacheArgs{...}

type ProjectCacheOutput

type ProjectCacheOutput struct{ *pulumi.OutputState }

func (ProjectCacheOutput) ElementType

func (ProjectCacheOutput) ElementType() reflect.Type

func (ProjectCacheOutput) Location

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

func (ProjectCacheOutput) Modes

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

func (ProjectCacheOutput) ToProjectCacheOutput

func (o ProjectCacheOutput) ToProjectCacheOutput() ProjectCacheOutput

func (ProjectCacheOutput) ToProjectCacheOutputWithContext

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

func (ProjectCacheOutput) ToProjectCachePtrOutput

func (o ProjectCacheOutput) ToProjectCachePtrOutput() ProjectCachePtrOutput

func (ProjectCacheOutput) ToProjectCachePtrOutputWithContext

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

func (ProjectCacheOutput) Type

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

type ProjectCachePtrInput

type ProjectCachePtrInput interface {
	pulumi.Input

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

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

        ProjectCacheArgs{...}

or:

        nil

type ProjectCachePtrOutput

type ProjectCachePtrOutput struct{ *pulumi.OutputState }

func (ProjectCachePtrOutput) Elem

func (ProjectCachePtrOutput) ElementType

func (ProjectCachePtrOutput) ElementType() reflect.Type

func (ProjectCachePtrOutput) Location

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

func (ProjectCachePtrOutput) Modes

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

func (ProjectCachePtrOutput) ToProjectCachePtrOutput

func (o ProjectCachePtrOutput) ToProjectCachePtrOutput() ProjectCachePtrOutput

func (ProjectCachePtrOutput) ToProjectCachePtrOutputWithContext

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

func (ProjectCachePtrOutput) Type

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

type ProjectEnvironment

type ProjectEnvironment struct {
	// ARN of the S3 bucket, path prefix and object key that contains the PEM-encoded certificate.
	Certificate *string `pulumi:"certificate"`
	// Information about the compute resources the build project will use. Valid values: `BUILD_GENERAL1_SMALL`, `BUILD_GENERAL1_MEDIUM`, `BUILD_GENERAL1_LARGE`, `BUILD_GENERAL1_2XLARGE`, `BUILD_LAMBDA_1GB`, `BUILD_LAMBDA_2GB`, `BUILD_LAMBDA_4GB`, `BUILD_LAMBDA_8GB`, `BUILD_LAMBDA_10GB`. `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`. When `type` is set to `LINUX_LAMBDA_CONTAINER` or `ARM_LAMBDA_CONTAINER`, `computeType` must be `BUILD_LAMBDA_XGB`.`
	ComputeType string `pulumi:"computeType"`
	// Configuration block. Detailed below.
	EnvironmentVariables []ProjectEnvironmentEnvironmentVariable `pulumi:"environmentVariables"`
	// Configuration block. Detailed below.
	Fleet *ProjectEnvironmentFleet `pulumi:"fleet"`
	// Docker image to use for this build project. Valid values include [Docker images provided by CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html) (e.g `aws/codebuild/amazonlinux2-x86_64-standard:4.0`), [Docker Hub images](https://hub.docker.com/) (e.g., `pulumi/pulumi:latest`), and full Docker repository URIs such as those for ECR (e.g., `137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest`).
	Image string `pulumi:"image"`
	// Type of credentials AWS CodeBuild uses to pull images in your build. Valid values: `CODEBUILD`, `SERVICE_ROLE`. When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CodeBuild credentials. Defaults to `CODEBUILD`.
	ImagePullCredentialsType *string `pulumi:"imagePullCredentialsType"`
	// Whether to enable running the Docker daemon inside a Docker container. Defaults to `false`.
	PrivilegedMode *bool `pulumi:"privilegedMode"`
	// Configuration block. Detailed below.
	RegistryCredential *ProjectEnvironmentRegistryCredential `pulumi:"registryCredential"`
	// Type of build environment to use for related builds. Valid values: `LINUX_CONTAINER`, `LINUX_GPU_CONTAINER`, `WINDOWS_CONTAINER` (deprecated), `WINDOWS_SERVER_2019_CONTAINER`, `ARM_CONTAINER`, `LINUX_LAMBDA_CONTAINER`, `ARM_LAMBDA_CONTAINER`. For additional information, see the [CodeBuild User Guide](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html).
	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_LAMBDA_1GB`, `BUILD_LAMBDA_2GB`, `BUILD_LAMBDA_4GB`, `BUILD_LAMBDA_8GB`, `BUILD_LAMBDA_10GB`. `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`. When `type` is set to `LINUX_LAMBDA_CONTAINER` or `ARM_LAMBDA_CONTAINER`, `computeType` must be `BUILD_LAMBDA_XGB`.`
	ComputeType pulumi.StringInput `pulumi:"computeType"`
	// Configuration block. Detailed below.
	EnvironmentVariables ProjectEnvironmentEnvironmentVariableArrayInput `pulumi:"environmentVariables"`
	// Configuration block. Detailed below.
	Fleet ProjectEnvironmentFleetPtrInput `pulumi:"fleet"`
	// Docker image to use for this build project. Valid values include [Docker images provided by CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html) (e.g `aws/codebuild/amazonlinux2-x86_64-standard:4.0`), [Docker Hub images](https://hub.docker.com/) (e.g., `pulumi/pulumi:latest`), and full Docker repository URIs such as those for ECR (e.g., `137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest`).
	Image pulumi.StringInput `pulumi:"image"`
	// Type of credentials AWS CodeBuild uses to pull images in your build. Valid values: `CODEBUILD`, `SERVICE_ROLE`. When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an AWS CodeBuild curated image, you must use CodeBuild credentials. Defaults to `CODEBUILD`.
	ImagePullCredentialsType pulumi.StringPtrInput `pulumi:"imagePullCredentialsType"`
	// Whether to enable running the Docker daemon inside a Docker container. Defaults to `false`.
	PrivilegedMode pulumi.BoolPtrInput `pulumi:"privilegedMode"`
	// Configuration block. Detailed below.
	RegistryCredential ProjectEnvironmentRegistryCredentialPtrInput `pulumi:"registryCredential"`
	// Type of build environment to use for related builds. Valid values: `LINUX_CONTAINER`, `LINUX_GPU_CONTAINER`, `WINDOWS_CONTAINER` (deprecated), `WINDOWS_SERVER_2019_CONTAINER`, `ARM_CONTAINER`, `LINUX_LAMBDA_CONTAINER`, `ARM_LAMBDA_CONTAINER`. For additional information, see the [CodeBuild User Guide](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html).
	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 {
	// Environment variable's name or key.
	Name string `pulumi:"name"`
	// Type of environment variable. Valid values: `PARAMETER_STORE`, `PLAINTEXT`, `SECRETS_MANAGER`.
	Type *string `pulumi:"type"`
	// Environment variable's value.
	Value string `pulumi:"value"`
}

type ProjectEnvironmentEnvironmentVariableArgs

type ProjectEnvironmentEnvironmentVariableArgs struct {
	// Environment variable's name or key.
	Name pulumi.StringInput `pulumi:"name"`
	// Type of environment variable. Valid values: `PARAMETER_STORE`, `PLAINTEXT`, `SECRETS_MANAGER`.
	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

Environment variable's name or key.

func (ProjectEnvironmentEnvironmentVariableOutput) ToProjectEnvironmentEnvironmentVariableOutput

func (o ProjectEnvironmentEnvironmentVariableOutput) ToProjectEnvironmentEnvironmentVariableOutput() ProjectEnvironmentEnvironmentVariableOutput

func (ProjectEnvironmentEnvironmentVariableOutput) ToProjectEnvironmentEnvironmentVariableOutputWithContext

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

func (ProjectEnvironmentEnvironmentVariableOutput) Type

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

func (ProjectEnvironmentEnvironmentVariableOutput) Value

Environment variable's value.

type ProjectEnvironmentFleet added in v6.52.0

type ProjectEnvironmentFleet struct {
	// Compute fleet ARN for the build project.
	FleetArn *string `pulumi:"fleetArn"`
}

type ProjectEnvironmentFleetArgs added in v6.52.0

type ProjectEnvironmentFleetArgs struct {
	// Compute fleet ARN for the build project.
	FleetArn pulumi.StringPtrInput `pulumi:"fleetArn"`
}

func (ProjectEnvironmentFleetArgs) ElementType added in v6.52.0

func (ProjectEnvironmentFleetArgs) ToProjectEnvironmentFleetOutput added in v6.52.0

func (i ProjectEnvironmentFleetArgs) ToProjectEnvironmentFleetOutput() ProjectEnvironmentFleetOutput

func (ProjectEnvironmentFleetArgs) ToProjectEnvironmentFleetOutputWithContext added in v6.52.0

func (i ProjectEnvironmentFleetArgs) ToProjectEnvironmentFleetOutputWithContext(ctx context.Context) ProjectEnvironmentFleetOutput

func (ProjectEnvironmentFleetArgs) ToProjectEnvironmentFleetPtrOutput added in v6.52.0

func (i ProjectEnvironmentFleetArgs) ToProjectEnvironmentFleetPtrOutput() ProjectEnvironmentFleetPtrOutput

func (ProjectEnvironmentFleetArgs) ToProjectEnvironmentFleetPtrOutputWithContext added in v6.52.0

func (i ProjectEnvironmentFleetArgs) ToProjectEnvironmentFleetPtrOutputWithContext(ctx context.Context) ProjectEnvironmentFleetPtrOutput

type ProjectEnvironmentFleetInput added in v6.52.0

type ProjectEnvironmentFleetInput interface {
	pulumi.Input

	ToProjectEnvironmentFleetOutput() ProjectEnvironmentFleetOutput
	ToProjectEnvironmentFleetOutputWithContext(context.Context) ProjectEnvironmentFleetOutput
}

ProjectEnvironmentFleetInput is an input type that accepts ProjectEnvironmentFleetArgs and ProjectEnvironmentFleetOutput values. You can construct a concrete instance of `ProjectEnvironmentFleetInput` via:

ProjectEnvironmentFleetArgs{...}

type ProjectEnvironmentFleetOutput added in v6.52.0

type ProjectEnvironmentFleetOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentFleetOutput) ElementType added in v6.52.0

func (ProjectEnvironmentFleetOutput) FleetArn added in v6.52.0

Compute fleet ARN for the build project.

func (ProjectEnvironmentFleetOutput) ToProjectEnvironmentFleetOutput added in v6.52.0

func (o ProjectEnvironmentFleetOutput) ToProjectEnvironmentFleetOutput() ProjectEnvironmentFleetOutput

func (ProjectEnvironmentFleetOutput) ToProjectEnvironmentFleetOutputWithContext added in v6.52.0

func (o ProjectEnvironmentFleetOutput) ToProjectEnvironmentFleetOutputWithContext(ctx context.Context) ProjectEnvironmentFleetOutput

func (ProjectEnvironmentFleetOutput) ToProjectEnvironmentFleetPtrOutput added in v6.52.0

func (o ProjectEnvironmentFleetOutput) ToProjectEnvironmentFleetPtrOutput() ProjectEnvironmentFleetPtrOutput

func (ProjectEnvironmentFleetOutput) ToProjectEnvironmentFleetPtrOutputWithContext added in v6.52.0

func (o ProjectEnvironmentFleetOutput) ToProjectEnvironmentFleetPtrOutputWithContext(ctx context.Context) ProjectEnvironmentFleetPtrOutput

type ProjectEnvironmentFleetPtrInput added in v6.52.0

type ProjectEnvironmentFleetPtrInput interface {
	pulumi.Input

	ToProjectEnvironmentFleetPtrOutput() ProjectEnvironmentFleetPtrOutput
	ToProjectEnvironmentFleetPtrOutputWithContext(context.Context) ProjectEnvironmentFleetPtrOutput
}

ProjectEnvironmentFleetPtrInput is an input type that accepts ProjectEnvironmentFleetArgs, ProjectEnvironmentFleetPtr and ProjectEnvironmentFleetPtrOutput values. You can construct a concrete instance of `ProjectEnvironmentFleetPtrInput` via:

        ProjectEnvironmentFleetArgs{...}

or:

        nil

func ProjectEnvironmentFleetPtr added in v6.52.0

func ProjectEnvironmentFleetPtr(v *ProjectEnvironmentFleetArgs) ProjectEnvironmentFleetPtrInput

type ProjectEnvironmentFleetPtrOutput added in v6.52.0

type ProjectEnvironmentFleetPtrOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentFleetPtrOutput) Elem added in v6.52.0

func (ProjectEnvironmentFleetPtrOutput) ElementType added in v6.52.0

func (ProjectEnvironmentFleetPtrOutput) FleetArn added in v6.52.0

Compute fleet ARN for the build project.

func (ProjectEnvironmentFleetPtrOutput) ToProjectEnvironmentFleetPtrOutput added in v6.52.0

func (o ProjectEnvironmentFleetPtrOutput) ToProjectEnvironmentFleetPtrOutput() ProjectEnvironmentFleetPtrOutput

func (ProjectEnvironmentFleetPtrOutput) ToProjectEnvironmentFleetPtrOutputWithContext added in v6.52.0

func (o ProjectEnvironmentFleetPtrOutput) ToProjectEnvironmentFleetPtrOutputWithContext(ctx context.Context) ProjectEnvironmentFleetPtrOutput

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_LAMBDA_1GB`, `BUILD_LAMBDA_2GB`, `BUILD_LAMBDA_4GB`, `BUILD_LAMBDA_8GB`, `BUILD_LAMBDA_10GB`. `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`. When `type` is set to `LINUX_LAMBDA_CONTAINER` or `ARM_LAMBDA_CONTAINER`, `computeType` must be `BUILD_LAMBDA_XGB`.`

func (ProjectEnvironmentOutput) ElementType

func (ProjectEnvironmentOutput) ElementType() reflect.Type

func (ProjectEnvironmentOutput) EnvironmentVariables

Configuration block. Detailed below.

func (ProjectEnvironmentOutput) Fleet added in v6.52.0

Configuration block. Detailed below.

func (ProjectEnvironmentOutput) Image

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

func (ProjectEnvironmentOutput) ImagePullCredentialsType

func (o ProjectEnvironmentOutput) ImagePullCredentialsType() pulumi.StringPtrOutput

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

func (ProjectEnvironmentOutput) PrivilegedMode

func (o ProjectEnvironmentOutput) PrivilegedMode() pulumi.BoolPtrOutput

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

func (ProjectEnvironmentOutput) RegistryCredential

Configuration block. Detailed below.

func (ProjectEnvironmentOutput) 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 build environment to use for related builds. Valid values: `LINUX_CONTAINER`, `LINUX_GPU_CONTAINER`, `WINDOWS_CONTAINER` (deprecated), `WINDOWS_SERVER_2019_CONTAINER`, `ARM_CONTAINER`, `LINUX_LAMBDA_CONTAINER`, `ARM_LAMBDA_CONTAINER`. For additional information, see the [CodeBuild User Guide](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html).

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_LAMBDA_1GB`, `BUILD_LAMBDA_2GB`, `BUILD_LAMBDA_4GB`, `BUILD_LAMBDA_8GB`, `BUILD_LAMBDA_10GB`. `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`. When `type` is set to `LINUX_LAMBDA_CONTAINER` or `ARM_LAMBDA_CONTAINER`, `computeType` must be `BUILD_LAMBDA_XGB`.`

func (ProjectEnvironmentPtrOutput) Elem

func (ProjectEnvironmentPtrOutput) ElementType

func (ProjectEnvironmentPtrOutput) EnvironmentVariables

Configuration block. Detailed below.

func (ProjectEnvironmentPtrOutput) Fleet added in v6.52.0

Configuration block. Detailed below.

func (ProjectEnvironmentPtrOutput) Image

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

func (ProjectEnvironmentPtrOutput) ImagePullCredentialsType

func (o ProjectEnvironmentPtrOutput) ImagePullCredentialsType() pulumi.StringPtrOutput

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

func (ProjectEnvironmentPtrOutput) PrivilegedMode

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

func (ProjectEnvironmentPtrOutput) RegistryCredential

Configuration block. Detailed below.

func (ProjectEnvironmentPtrOutput) ToProjectEnvironmentPtrOutput

func (o ProjectEnvironmentPtrOutput) ToProjectEnvironmentPtrOutput() ProjectEnvironmentPtrOutput

func (ProjectEnvironmentPtrOutput) ToProjectEnvironmentPtrOutputWithContext

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

func (ProjectEnvironmentPtrOutput) Type

Type of build environment to use for related builds. Valid values: `LINUX_CONTAINER`, `LINUX_GPU_CONTAINER`, `WINDOWS_CONTAINER` (deprecated), `WINDOWS_SERVER_2019_CONTAINER`, `ARM_CONTAINER`, `LINUX_LAMBDA_CONTAINER`, `ARM_LAMBDA_CONTAINER`. For additional information, see the [CodeBuild User Guide](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html).

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

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

type ProjectFileSystemLocationArgs

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

func (ProjectFileSystemLocationArgs) ElementType

func (ProjectFileSystemLocationArgs) ToProjectFileSystemLocationOutput

func (i ProjectFileSystemLocationArgs) ToProjectFileSystemLocationOutput() ProjectFileSystemLocationOutput

func (ProjectFileSystemLocationArgs) ToProjectFileSystemLocationOutputWithContext

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

type ProjectFileSystemLocationArray

type ProjectFileSystemLocationArray []ProjectFileSystemLocationInput

func (ProjectFileSystemLocationArray) ElementType

func (ProjectFileSystemLocationArray) ToProjectFileSystemLocationArrayOutput

func (i ProjectFileSystemLocationArray) ToProjectFileSystemLocationArrayOutput() ProjectFileSystemLocationArrayOutput

func (ProjectFileSystemLocationArray) ToProjectFileSystemLocationArrayOutputWithContext

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

type ProjectFileSystemLocationArrayInput

type ProjectFileSystemLocationArrayInput interface {
	pulumi.Input

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

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

ProjectFileSystemLocationArray{ ProjectFileSystemLocationArgs{...} }

type ProjectFileSystemLocationArrayOutput

type ProjectFileSystemLocationArrayOutput struct{ *pulumi.OutputState }

func (ProjectFileSystemLocationArrayOutput) ElementType

func (ProjectFileSystemLocationArrayOutput) Index

func (ProjectFileSystemLocationArrayOutput) ToProjectFileSystemLocationArrayOutput

func (o ProjectFileSystemLocationArrayOutput) ToProjectFileSystemLocationArrayOutput() ProjectFileSystemLocationArrayOutput

func (ProjectFileSystemLocationArrayOutput) ToProjectFileSystemLocationArrayOutputWithContext

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

type ProjectFileSystemLocationInput

type ProjectFileSystemLocationInput interface {
	pulumi.Input

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

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

ProjectFileSystemLocationArgs{...}

type ProjectFileSystemLocationOutput

type ProjectFileSystemLocationOutput struct{ *pulumi.OutputState }

func (ProjectFileSystemLocationOutput) ElementType

func (ProjectFileSystemLocationOutput) Identifier

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

func (ProjectFileSystemLocationOutput) Location

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

func (ProjectFileSystemLocationOutput) MountOptions

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

func (ProjectFileSystemLocationOutput) MountPoint

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

func (ProjectFileSystemLocationOutput) ToProjectFileSystemLocationOutput

func (o ProjectFileSystemLocationOutput) ToProjectFileSystemLocationOutput() ProjectFileSystemLocationOutput

func (ProjectFileSystemLocationOutput) ToProjectFileSystemLocationOutputWithContext

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

func (ProjectFileSystemLocationOutput) Type

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

type ProjectInput

type ProjectInput interface {
	pulumi.Input

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

type ProjectLogsConfig

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

type ProjectLogsConfigArgs

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

func (ProjectLogsConfigArgs) ElementType

func (ProjectLogsConfigArgs) ElementType() reflect.Type

func (ProjectLogsConfigArgs) ToProjectLogsConfigOutput

func (i ProjectLogsConfigArgs) ToProjectLogsConfigOutput() ProjectLogsConfigOutput

func (ProjectLogsConfigArgs) ToProjectLogsConfigOutputWithContext

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

func (ProjectLogsConfigArgs) ToProjectLogsConfigPtrOutput

func (i ProjectLogsConfigArgs) ToProjectLogsConfigPtrOutput() ProjectLogsConfigPtrOutput

func (ProjectLogsConfigArgs) ToProjectLogsConfigPtrOutputWithContext

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

type ProjectLogsConfigCloudwatchLogs

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

type ProjectLogsConfigCloudwatchLogsArgs

type ProjectLogsConfigCloudwatchLogsArgs struct {
	// Group name of the logs in CloudWatch Logs.
	GroupName pulumi.StringPtrInput `pulumi:"groupName"`
	// Current status of logs in CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Prefix of the log 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 CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.

func (ProjectLogsConfigCloudwatchLogsOutput) StreamName

Prefix of the log 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 CloudWatch Logs for a build project. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.

func (ProjectLogsConfigCloudwatchLogsPtrOutput) StreamName

Prefix of the log 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 S3 logs. Defaults to `false`.
	EncryptionDisabled *bool `pulumi:"encryptionDisabled"`
	// Name of the S3 bucket and the path prefix for S3 logs. Must be set if status is `ENABLED`, otherwise it must be empty.
	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 S3 logs. Defaults to `false`.
	EncryptionDisabled pulumi.BoolPtrInput `pulumi:"encryptionDisabled"`
	// Name of the S3 bucket and the path prefix for S3 logs. Must be set if status is `ENABLED`, otherwise it must be empty.
	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

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 S3 logs. Defaults to `false`.

func (ProjectLogsConfigS3LogsOutput) Location

Name of the S3 bucket and the path prefix for S3 logs. Must be set if status is `ENABLED`, otherwise it must be empty.

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

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 S3 logs. Defaults to `false`.

func (ProjectLogsConfigS3LogsPtrOutput) Location

Name of the S3 bucket and the path prefix for S3 logs. Must be set if status is `ENABLED`, otherwise it must be empty.

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

ARN of the CodeBuild project.

func (ProjectOutput) Artifacts

func (o ProjectOutput) Artifacts() ProjectArtifactsOutput

Configuration block. Detailed below.

func (ProjectOutput) BadgeEnabled

func (o ProjectOutput) BadgeEnabled() pulumi.BoolPtrOutput

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

func (ProjectOutput) BadgeUrl

func (o ProjectOutput) BadgeUrl() pulumi.StringOutput

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

func (ProjectOutput) BuildBatchConfig

func (o ProjectOutput) BuildBatchConfig() ProjectBuildBatchConfigPtrOutput

Defines the batch build options for the project.

func (ProjectOutput) BuildTimeout

func (o ProjectOutput) BuildTimeout() pulumi.IntPtrOutput

Number of minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes. The `buildTimeout` property is not available on the `Lambda` compute type.

func (ProjectOutput) Cache

Configuration block. Detailed below.

func (ProjectOutput) ConcurrentBuildLimit

func (o ProjectOutput) ConcurrentBuildLimit() pulumi.IntPtrOutput

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

func (ProjectOutput) Description

func (o ProjectOutput) Description() pulumi.StringOutput

Short description of the project.

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) EncryptionKey

func (o ProjectOutput) EncryptionKey() pulumi.StringOutput

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

func (ProjectOutput) Environment

func (o ProjectOutput) Environment() ProjectEnvironmentOutput

Configuration block. Detailed below.

func (ProjectOutput) FileSystemLocations

func (o ProjectOutput) FileSystemLocations() ProjectFileSystemLocationArrayOutput

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

func (ProjectOutput) LogsConfig

Configuration block. Detailed below.

func (ProjectOutput) Name

Project's name.

func (ProjectOutput) ProjectVisibility

func (o ProjectOutput) ProjectVisibility() pulumi.StringPtrOutput

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

func (ProjectOutput) PublicProjectAlias

func (o ProjectOutput) PublicProjectAlias() pulumi.StringOutput

The project identifier used with the public build APIs.

func (ProjectOutput) QueuedTimeout

func (o ProjectOutput) QueuedTimeout() pulumi.IntPtrOutput

Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours. The `queuedTimeout` property is not available on the `Lambda` compute type.

func (ProjectOutput) ResourceAccessRole

func (o ProjectOutput) ResourceAccessRole() pulumi.StringPtrOutput

The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds in order to display them publicly. Only applicable if `projectVisibility` is `PUBLIC_READ`.

func (ProjectOutput) SecondaryArtifacts

func (o ProjectOutput) SecondaryArtifacts() ProjectSecondaryArtifactArrayOutput

Configuration block. Detailed below.

func (ProjectOutput) SecondarySourceVersions

func (o ProjectOutput) SecondarySourceVersions() ProjectSecondarySourceVersionArrayOutput

Configuration block. Detailed below.

func (ProjectOutput) SecondarySources

func (o ProjectOutput) SecondarySources() ProjectSecondarySourceArrayOutput

Configuration block. Detailed below.

func (ProjectOutput) ServiceRole

func (o ProjectOutput) ServiceRole() pulumi.StringOutput

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

func (ProjectOutput) Source

Configuration block. Detailed below.

The following arguments are optional:

func (ProjectOutput) SourceVersion

func (o ProjectOutput) SourceVersion() pulumi.StringPtrOutput

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

func (ProjectOutput) Tags

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

func (ProjectOutput) TagsAll deprecated

func (o ProjectOutput) TagsAll() pulumi.StringMapOutput

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

Deprecated: Please use `tags` instead.

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

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

func (ProjectOutput) VpcConfig

Configuration block. Detailed below.

type ProjectSecondaryArtifact

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

type ProjectSecondaryArtifactArgs

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

func (ProjectSecondaryArtifactArgs) ElementType

func (ProjectSecondaryArtifactArgs) 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

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

func (ProjectSecondaryArtifactOutput) ElementType

func (ProjectSecondaryArtifactOutput) EncryptionDisabled

func (o ProjectSecondaryArtifactOutput) EncryptionDisabled() pulumi.BoolPtrOutput

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

func (ProjectSecondaryArtifactOutput) Location

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

func (ProjectSecondaryArtifactOutput) Name

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

func (ProjectSecondaryArtifactOutput) NamespaceType

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

func (ProjectSecondaryArtifactOutput) OverrideArtifactName

func (o ProjectSecondaryArtifactOutput) OverrideArtifactName() pulumi.BoolPtrOutput

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

func (ProjectSecondaryArtifactOutput) Packaging

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

func (ProjectSecondaryArtifactOutput) Path

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

func (ProjectSecondaryArtifactOutput) ToProjectSecondaryArtifactOutput

func (o ProjectSecondaryArtifactOutput) ToProjectSecondaryArtifactOutput() ProjectSecondaryArtifactOutput

func (ProjectSecondaryArtifactOutput) ToProjectSecondaryArtifactOutputWithContext

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

func (ProjectSecondaryArtifactOutput) Type

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

type ProjectSecondarySource

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

type ProjectSecondarySourceArgs

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

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

type ProjectSecondarySourceBuildStatusConfigArgs

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

func (ProjectSecondarySourceBuildStatusConfigArgs) ElementType

func (ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigOutput

func (i ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigOutput() ProjectSecondarySourceBuildStatusConfigOutput

func (ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigOutputWithContext

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

func (ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigPtrOutput

func (i ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigPtrOutput() ProjectSecondarySourceBuildStatusConfigPtrOutput

func (ProjectSecondarySourceBuildStatusConfigArgs) ToProjectSecondarySourceBuildStatusConfigPtrOutputWithContext

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

type ProjectSecondarySourceBuildStatusConfigInput

type ProjectSecondarySourceBuildStatusConfigInput interface {
	pulumi.Input

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

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

ProjectSecondarySourceBuildStatusConfigArgs{...}

type ProjectSecondarySourceBuildStatusConfigOutput

type ProjectSecondarySourceBuildStatusConfigOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceBuildStatusConfigOutput) Context

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

func (ProjectSecondarySourceBuildStatusConfigOutput) ElementType

func (ProjectSecondarySourceBuildStatusConfigOutput) TargetUrl

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

func (ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigOutput

func (o ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigOutput() ProjectSecondarySourceBuildStatusConfigOutput

func (ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigOutputWithContext

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

func (ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutput

func (o ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutput() ProjectSecondarySourceBuildStatusConfigPtrOutput

func (ProjectSecondarySourceBuildStatusConfigOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutputWithContext

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

type ProjectSecondarySourceBuildStatusConfigPtrInput

type ProjectSecondarySourceBuildStatusConfigPtrInput interface {
	pulumi.Input

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

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

        ProjectSecondarySourceBuildStatusConfigArgs{...}

or:

        nil

type ProjectSecondarySourceBuildStatusConfigPtrOutput

type ProjectSecondarySourceBuildStatusConfigPtrOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) Context

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

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) Elem

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) ElementType

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) TargetUrl

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

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutput

func (o ProjectSecondarySourceBuildStatusConfigPtrOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutput() ProjectSecondarySourceBuildStatusConfigPtrOutput

func (ProjectSecondarySourceBuildStatusConfigPtrOutput) ToProjectSecondarySourceBuildStatusConfigPtrOutputWithContext

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

type ProjectSecondarySourceGitSubmodulesConfig

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

type ProjectSecondarySourceGitSubmodulesConfigArgs

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

func (ProjectSecondarySourceGitSubmodulesConfigArgs) ElementType

func (ProjectSecondarySourceGitSubmodulesConfigArgs) 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) BuildStatusConfig

Configuration block that contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. `buildStatusConfig` blocks are documented below.

func (ProjectSecondarySourceOutput) Buildspec

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

func (ProjectSecondarySourceOutput) ElementType

func (ProjectSecondarySourceOutput) GitCloneDepth

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

func (ProjectSecondarySourceOutput) GitSubmodulesConfig

Configuration block. Detailed below.

func (ProjectSecondarySourceOutput) InsecureSsl

Ignore SSL warnings when connecting to source control.

func (ProjectSecondarySourceOutput) Location

Location of the source code from git or s3.

func (ProjectSecondarySourceOutput) ReportBuildStatus

func (o ProjectSecondarySourceOutput) ReportBuildStatus() pulumi.BoolPtrOutput

Whether to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket.

func (ProjectSecondarySourceOutput) SourceIdentifier

func (o ProjectSecondarySourceOutput) SourceIdentifier() pulumi.StringOutput

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

func (ProjectSecondarySourceOutput) 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: `BITBUCKET`, `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `GITLAB`, `GITLAB_SELF_MANAGED`, `NO_SOURCE`, `S3`.

type ProjectSecondarySourceVersion

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

type ProjectSecondarySourceVersionArgs

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

func (ProjectSecondarySourceVersionArgs) ElementType

func (ProjectSecondarySourceVersionArgs) ToProjectSecondarySourceVersionOutput

func (i ProjectSecondarySourceVersionArgs) ToProjectSecondarySourceVersionOutput() ProjectSecondarySourceVersionOutput

func (ProjectSecondarySourceVersionArgs) ToProjectSecondarySourceVersionOutputWithContext

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

type ProjectSecondarySourceVersionArray

type ProjectSecondarySourceVersionArray []ProjectSecondarySourceVersionInput

func (ProjectSecondarySourceVersionArray) ElementType

func (ProjectSecondarySourceVersionArray) ToProjectSecondarySourceVersionArrayOutput

func (i ProjectSecondarySourceVersionArray) ToProjectSecondarySourceVersionArrayOutput() ProjectSecondarySourceVersionArrayOutput

func (ProjectSecondarySourceVersionArray) ToProjectSecondarySourceVersionArrayOutputWithContext

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

type ProjectSecondarySourceVersionArrayInput

type ProjectSecondarySourceVersionArrayInput interface {
	pulumi.Input

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

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

ProjectSecondarySourceVersionArray{ ProjectSecondarySourceVersionArgs{...} }

type ProjectSecondarySourceVersionArrayOutput

type ProjectSecondarySourceVersionArrayOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceVersionArrayOutput) ElementType

func (ProjectSecondarySourceVersionArrayOutput) Index

func (ProjectSecondarySourceVersionArrayOutput) ToProjectSecondarySourceVersionArrayOutput

func (o ProjectSecondarySourceVersionArrayOutput) ToProjectSecondarySourceVersionArrayOutput() ProjectSecondarySourceVersionArrayOutput

func (ProjectSecondarySourceVersionArrayOutput) ToProjectSecondarySourceVersionArrayOutputWithContext

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

type ProjectSecondarySourceVersionInput

type ProjectSecondarySourceVersionInput interface {
	pulumi.Input

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

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

ProjectSecondarySourceVersionArgs{...}

type ProjectSecondarySourceVersionOutput

type ProjectSecondarySourceVersionOutput struct{ *pulumi.OutputState }

func (ProjectSecondarySourceVersionOutput) ElementType

func (ProjectSecondarySourceVersionOutput) SourceIdentifier

An identifier for a source in the build project.

func (ProjectSecondarySourceVersionOutput) SourceVersion

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

func (ProjectSecondarySourceVersionOutput) ToProjectSecondarySourceVersionOutput

func (o ProjectSecondarySourceVersionOutput) ToProjectSecondarySourceVersionOutput() ProjectSecondarySourceVersionOutput

func (ProjectSecondarySourceVersionOutput) ToProjectSecondarySourceVersionOutputWithContext

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

type ProjectSource

type ProjectSource struct {
	// Configuration block that contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. `buildStatusConfig` blocks are documented below.
	BuildStatusConfig *ProjectSourceBuildStatusConfig `pulumi:"buildStatusConfig"`
	// Build specification to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`. Also, if a non-default buildspec file name or file path aside from the root is used, it must be specified.
	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 valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket.
	ReportBuildStatus *bool `pulumi:"reportBuildStatus"`
	// Type of repository that contains the source code to be built. Valid values: `BITBUCKET`, `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `GITLAB`, `GITLAB_SELF_MANAGED`, `NO_SOURCE`, `S3`.
	Type string `pulumi:"type"`
}

type ProjectSourceArgs

type ProjectSourceArgs struct {
	// Configuration block that contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. `buildStatusConfig` blocks are documented below.
	BuildStatusConfig ProjectSourceBuildStatusConfigPtrInput `pulumi:"buildStatusConfig"`
	// Build specification to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`. Also, if a non-default buildspec file name or file path aside from the root is used, it must be specified.
	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 valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket.
	ReportBuildStatus pulumi.BoolPtrInput `pulumi:"reportBuildStatus"`
	// Type of repository that contains the source code to be built. Valid values: `BITBUCKET`, `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `GITLAB`, `GITLAB_SELF_MANAGED`, `NO_SOURCE`, `S3`.
	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 ProjectSourceBuildStatusConfig

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

type ProjectSourceBuildStatusConfigArgs

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

func (ProjectSourceBuildStatusConfigArgs) ElementType

func (ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigOutput

func (i ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigOutput() ProjectSourceBuildStatusConfigOutput

func (ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigOutputWithContext

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

func (ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigPtrOutput

func (i ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigPtrOutput() ProjectSourceBuildStatusConfigPtrOutput

func (ProjectSourceBuildStatusConfigArgs) ToProjectSourceBuildStatusConfigPtrOutputWithContext

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

type ProjectSourceBuildStatusConfigInput

type ProjectSourceBuildStatusConfigInput interface {
	pulumi.Input

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

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

ProjectSourceBuildStatusConfigArgs{...}

type ProjectSourceBuildStatusConfigOutput

type ProjectSourceBuildStatusConfigOutput struct{ *pulumi.OutputState }

func (ProjectSourceBuildStatusConfigOutput) Context

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

func (ProjectSourceBuildStatusConfigOutput) ElementType

func (ProjectSourceBuildStatusConfigOutput) TargetUrl

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

func (ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigOutput

func (o ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigOutput() ProjectSourceBuildStatusConfigOutput

func (ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigOutputWithContext

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

func (ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigPtrOutput

func (o ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigPtrOutput() ProjectSourceBuildStatusConfigPtrOutput

func (ProjectSourceBuildStatusConfigOutput) ToProjectSourceBuildStatusConfigPtrOutputWithContext

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

type ProjectSourceBuildStatusConfigPtrInput

type ProjectSourceBuildStatusConfigPtrInput interface {
	pulumi.Input

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

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

        ProjectSourceBuildStatusConfigArgs{...}

or:

        nil

type ProjectSourceBuildStatusConfigPtrOutput

type ProjectSourceBuildStatusConfigPtrOutput struct{ *pulumi.OutputState }

func (ProjectSourceBuildStatusConfigPtrOutput) Context

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

func (ProjectSourceBuildStatusConfigPtrOutput) Elem

func (ProjectSourceBuildStatusConfigPtrOutput) ElementType

func (ProjectSourceBuildStatusConfigPtrOutput) TargetUrl

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

func (ProjectSourceBuildStatusConfigPtrOutput) ToProjectSourceBuildStatusConfigPtrOutput

func (o ProjectSourceBuildStatusConfigPtrOutput) ToProjectSourceBuildStatusConfigPtrOutput() ProjectSourceBuildStatusConfigPtrOutput

func (ProjectSourceBuildStatusConfigPtrOutput) ToProjectSourceBuildStatusConfigPtrOutputWithContext

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

type ProjectSourceGitSubmodulesConfig

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

type ProjectSourceGitSubmodulesConfigArgs

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

func (ProjectSourceGitSubmodulesConfigArgs) ElementType

func (ProjectSourceGitSubmodulesConfigArgs) 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) BuildStatusConfig

Configuration block that contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. `buildStatusConfig` blocks are documented below.

func (ProjectSourceOutput) Buildspec

Build specification to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`. Also, if a non-default buildspec file name or file path aside from the root is used, it must be specified.

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 valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket.

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: `BITBUCKET`, `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `GITLAB`, `GITLAB_SELF_MANAGED`, `NO_SOURCE`, `S3`.

type ProjectSourcePtrInput

type ProjectSourcePtrInput interface {
	pulumi.Input

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

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

        ProjectSourceArgs{...}

or:

        nil

type ProjectSourcePtrOutput

type ProjectSourcePtrOutput struct{ *pulumi.OutputState }

func (ProjectSourcePtrOutput) BuildStatusConfig

Configuration block that contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. `buildStatusConfig` blocks are documented below.

func (ProjectSourcePtrOutput) Buildspec

Build specification to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`. Also, if a non-default buildspec file name or file path aside from the root is used, it must be specified.

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 valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket.

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: `BITBUCKET`, `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `GITLAB`, `GITLAB_SELF_MANAGED`, `NO_SOURCE`, `S3`.

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 2160 (36 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes. The `buildTimeout` property is not available on the `Lambda` compute type.
	BuildTimeout pulumi.IntPtrInput
	// Configuration block. Detailed below.
	Cache ProjectCachePtrInput
	// Specify a maximum number of concurrent builds for the project. The value specified must be greater than 0 and less than the account concurrent running builds limit.
	ConcurrentBuildLimit pulumi.IntPtrInput
	// Short description of the project.
	Description pulumi.StringPtrInput
	// AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
	EncryptionKey pulumi.StringPtrInput
	// Configuration block. Detailed below.
	Environment ProjectEnvironmentPtrInput
	// A set of file system locations to mount inside the build. File system locations are documented below.
	FileSystemLocations ProjectFileSystemLocationArrayInput
	// Configuration block. Detailed below.
	LogsConfig ProjectLogsConfigPtrInput
	// Project's name.
	Name pulumi.StringPtrInput
	// Specifies the visibility of the project's builds. Possible values are: `PUBLIC_READ` and `PRIVATE`. Default value is `PRIVATE`.
	ProjectVisibility pulumi.StringPtrInput
	// The project identifier used with the public build APIs.
	PublicProjectAlias pulumi.StringPtrInput
	// Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out. The default is 8 hours. The `queuedTimeout` property is not available on the `Lambda` compute type.
	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 in order to display them publicly. Only applicable if `projectVisibility` is `PUBLIC_READ`.
	ResourceAccessRole pulumi.StringPtrInput
	// Configuration block. Detailed below.
	SecondaryArtifacts ProjectSecondaryArtifactArrayInput
	// Configuration block. Detailed below.
	SecondarySourceVersions ProjectSecondarySourceVersionArrayInput
	// Configuration block. Detailed below.
	SecondarySources ProjectSecondarySourceArrayInput
	// Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
	ServiceRole pulumi.StringPtrInput
	// Configuration block. Detailed below.
	//
	// The following arguments are optional:
	Source ProjectSourcePtrInput
	// Version of the build input to be built for this project. If not specified, the latest version is used.
	SourceVersion pulumi.StringPtrInput
	// Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	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 `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The type of the Report Group. Valid value are `TEST` and `CODE_COVERAGE`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides a CodeBuild Report Groups Resource.

## Example Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := aws.GetCallerIdentity(ctx, &aws.GetCallerIdentityArgs{}, nil)
		if err != nil {
			return err
		}
		example, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Sid:    pulumi.StringRef("Enable IAM User Permissions"),
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "AWS",
							Identifiers: []string{
								fmt.Sprintf("arn:aws:iam::%v:root", current.AccountId),
							},
						},
					},
					Actions: []string{
						"kms:*",
					},
					Resources: []string{
						"*",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		exampleKey, err := kms.NewKey(ctx, "example", &kms.KeyArgs{
			Description:          pulumi.String("my test kms key"),
			DeletionWindowInDays: pulumi.Int(7),
			Policy:               pulumi.String(example.Json),
		})
		if err != nil {
			return err
		}
		exampleBucketV2, err := s3.NewBucketV2(ctx, "example", &s3.BucketV2Args{
			Bucket: pulumi.String("my-test"),
		})
		if err != nil {
			return err
		}
		_, err = codebuild.NewReportGroup(ctx, "example", &codebuild.ReportGroupArgs{
			Name: pulumi.String("my test report group"),
			Type: pulumi.String("TEST"),
			ExportConfig: &codebuild.ReportGroupExportConfigArgs{
				Type: pulumi.String("S3"),
				S3Destination: &codebuild.ReportGroupExportConfigS3DestinationArgs{
					Bucket:             exampleBucketV2.ID(),
					EncryptionDisabled: pulumi.Bool(false),
					EncryptionKey:      exampleKey.Arn,
					Packaging:          pulumi.String("NONE"),
					Path:               pulumi.String("/some"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetReportGroup

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

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

func NewReportGroup

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

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

func (*ReportGroup) ElementType

func (*ReportGroup) ElementType() reflect.Type

func (*ReportGroup) ToReportGroupOutput

func (i *ReportGroup) ToReportGroupOutput() ReportGroupOutput

func (*ReportGroup) ToReportGroupOutputWithContext

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

type ReportGroupArgs

type ReportGroupArgs struct {
	// If `true`, deletes any reports that belong to a report group before deleting the report group. If `false`, you must delete any reports in the report group before deleting it. Default value is `false`.
	DeleteReports pulumi.BoolPtrInput
	// Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
	ExportConfig ReportGroupExportConfigInput
	// The name of a Report Group.
	Name pulumi.StringPtrInput
	// Key-value mapping of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The type of the Report Group. Valid value are `TEST` and `CODE_COVERAGE`.
	Type pulumi.StringInput
}

The set of arguments for constructing a ReportGroup resource.

func (ReportGroupArgs) ElementType

func (ReportGroupArgs) ElementType() reflect.Type

type ReportGroupArray

type ReportGroupArray []ReportGroupInput

func (ReportGroupArray) ElementType

func (ReportGroupArray) ElementType() reflect.Type

func (ReportGroupArray) 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) Arn

The ARN of Report Group.

func (ReportGroupOutput) Created

The date and time this Report Group was created.

func (ReportGroupOutput) DeleteReports

func (o ReportGroupOutput) DeleteReports() pulumi.BoolPtrOutput

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

func (ReportGroupOutput) ElementType

func (ReportGroupOutput) ElementType() reflect.Type

func (ReportGroupOutput) ExportConfig

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

func (ReportGroupOutput) Name

The name of a Report Group.

func (ReportGroupOutput) Tags

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

func (ReportGroupOutput) TagsAll deprecated

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

Deprecated: Please use `tags` instead.

func (ReportGroupOutput) ToReportGroupOutput

func (o ReportGroupOutput) ToReportGroupOutput() ReportGroupOutput

func (ReportGroupOutput) ToReportGroupOutputWithContext

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

func (ReportGroupOutput) Type

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

type ReportGroupState

type ReportGroupState struct {
	// The ARN of Report Group.
	Arn pulumi.StringPtrInput
	// The date and time this Report Group was created.
	Created pulumi.StringPtrInput
	// If `true`, deletes any reports that belong to a report group before deleting the report group. If `false`, you must delete any reports in the report group before deleting it. Default value is `false`.
	DeleteReports pulumi.BoolPtrInput
	// Information about the destination where the raw data of this Report Group is exported. see Export Config documented below.
	ExportConfig ReportGroupExportConfigPtrInput
	// The name of a Report Group.
	Name pulumi.StringPtrInput
	// Key-value mapping of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The type of the Report Group. Valid value are `TEST` and `CODE_COVERAGE`.
	Type pulumi.StringPtrInput
}

func (ReportGroupState) ElementType

func (ReportGroupState) ElementType() reflect.Type

type ResourcePolicy

type ResourcePolicy struct {
	pulumi.CustomResourceState

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

Provides a CodeBuild Resource Policy Resource.

## Example Usage

```go package main

import (

"encoding/json"
"fmt"

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

)

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

```

## Import

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

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

func GetResourcePolicy

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

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

func NewResourcePolicy

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

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

func (*ResourcePolicy) ElementType

func (*ResourcePolicy) ElementType() reflect.Type

func (*ResourcePolicy) ToResourcePolicyOutput

func (i *ResourcePolicy) ToResourcePolicyOutput() ResourcePolicyOutput

func (*ResourcePolicy) ToResourcePolicyOutputWithContext

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

type ResourcePolicyArgs

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

The set of arguments for constructing a ResourcePolicy resource.

func (ResourcePolicyArgs) ElementType

func (ResourcePolicyArgs) ElementType() reflect.Type

type ResourcePolicyArray

type ResourcePolicyArray []ResourcePolicyInput

func (ResourcePolicyArray) ElementType

func (ResourcePolicyArray) ElementType() reflect.Type

func (ResourcePolicyArray) ToResourcePolicyArrayOutput

func (i ResourcePolicyArray) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput

func (ResourcePolicyArray) ToResourcePolicyArrayOutputWithContext

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

type ResourcePolicyArrayInput

type ResourcePolicyArrayInput interface {
	pulumi.Input

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

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

ResourcePolicyArray{ ResourcePolicyArgs{...} }

type ResourcePolicyArrayOutput

type ResourcePolicyArrayOutput struct{ *pulumi.OutputState }

func (ResourcePolicyArrayOutput) ElementType

func (ResourcePolicyArrayOutput) ElementType() reflect.Type

func (ResourcePolicyArrayOutput) Index

func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput

func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput

func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext

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

type ResourcePolicyInput

type ResourcePolicyInput interface {
	pulumi.Input

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

type ResourcePolicyMap

type ResourcePolicyMap map[string]ResourcePolicyInput

func (ResourcePolicyMap) ElementType

func (ResourcePolicyMap) ElementType() reflect.Type

func (ResourcePolicyMap) ToResourcePolicyMapOutput

func (i ResourcePolicyMap) ToResourcePolicyMapOutput() ResourcePolicyMapOutput

func (ResourcePolicyMap) ToResourcePolicyMapOutputWithContext

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

type ResourcePolicyMapInput

type ResourcePolicyMapInput interface {
	pulumi.Input

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

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

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

type ResourcePolicyMapOutput

type ResourcePolicyMapOutput struct{ *pulumi.OutputState }

func (ResourcePolicyMapOutput) ElementType

func (ResourcePolicyMapOutput) ElementType() reflect.Type

func (ResourcePolicyMapOutput) MapIndex

func (ResourcePolicyMapOutput) ToResourcePolicyMapOutput

func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutput() ResourcePolicyMapOutput

func (ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext

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

type ResourcePolicyOutput

type ResourcePolicyOutput struct{ *pulumi.OutputState }

func (ResourcePolicyOutput) ElementType

func (ResourcePolicyOutput) ElementType() reflect.Type

func (ResourcePolicyOutput) ResourceArn

func (o ResourcePolicyOutput) ResourceArn() pulumi.StringOutput

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

func (ResourcePolicyOutput) ToResourcePolicyOutput

func (o ResourcePolicyOutput) ToResourcePolicyOutput() ResourcePolicyOutput

func (ResourcePolicyOutput) ToResourcePolicyOutputWithContext

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

type ResourcePolicyState

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

func (ResourcePolicyState) ElementType

func (ResourcePolicyState) ElementType() reflect.Type

type SourceCredential

type SourceCredential struct {
	pulumi.CustomResourceState

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

Provides a CodeBuild Source Credentials Resource.

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

## Example Usage

```go package main

import (

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

)

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

```

### Bitbucket Server Usage

```go package main

import (

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

)

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

```

## Import

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

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

func GetSourceCredential

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

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

func NewSourceCredential

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

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

func (*SourceCredential) ElementType

func (*SourceCredential) ElementType() reflect.Type

func (*SourceCredential) 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) Arn

The ARN of Source Credential.

func (SourceCredentialOutput) AuthType

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

func (SourceCredentialOutput) ElementType

func (SourceCredentialOutput) ElementType() reflect.Type

func (SourceCredentialOutput) ServerType

The source provider used for this project.

func (SourceCredentialOutput) ToSourceCredentialOutput

func (o SourceCredentialOutput) ToSourceCredentialOutput() SourceCredentialOutput

func (SourceCredentialOutput) ToSourceCredentialOutputWithContext

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

func (SourceCredentialOutput) Token

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

func (SourceCredentialOutput) UserName

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

type SourceCredentialState

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

func (SourceCredentialState) ElementType

func (SourceCredentialState) ElementType() reflect.Type

type Webhook

type Webhook struct {
	pulumi.CustomResourceState

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

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

## Example Usage

### Bitbucket and GitHub

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

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

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

```go package main

import (

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

)

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

```

## Import

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

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

func GetWebhook

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

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

func NewWebhook

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

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

func (*Webhook) ElementType

func (*Webhook) ElementType() reflect.Type

func (*Webhook) ToWebhookOutput

func (i *Webhook) ToWebhookOutput() WebhookOutput

func (*Webhook) ToWebhookOutputWithContext

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

type WebhookArgs

type WebhookArgs struct {
	// A regular expression used to determine which branches get built. Default is all branches are built. We recommend using `filterGroup` over `branchFilter`.
	BranchFilter pulumi.StringPtrInput
	// The type of build this webhook will trigger. Valid values for this parameter are: `BUILD`, `BUILD_BATCH`.
	BuildType pulumi.StringPtrInput
	// Information about the webhook's trigger. Filter group blocks are documented below.
	FilterGroups WebhookFilterGroupArrayInput
	// The name of the build project.
	ProjectName pulumi.StringInput
	// Scope configuration for global or organization webhooks. Scope configuration blocks are documented below.
	ScopeConfiguration WebhookScopeConfigurationPtrInput
}

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`, `WORKFLOW_JOB_QUEUED` 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`, `WORKFLOW_NAME`, `TAG_NAME`, `RELEASE_NAME`. 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`, `WORKFLOW_JOB_QUEUED` 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`, `WORKFLOW_NAME`, `TAG_NAME`, `RELEASE_NAME`. 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`, `WORKFLOW_JOB_QUEUED` 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`, `WORKFLOW_NAME`, `TAG_NAME`, `RELEASE_NAME`. 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) BranchFilter

func (o WebhookOutput) BranchFilter() pulumi.StringPtrOutput

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

func (WebhookOutput) BuildType

func (o WebhookOutput) BuildType() pulumi.StringPtrOutput

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

func (WebhookOutput) ElementType

func (WebhookOutput) ElementType() reflect.Type

func (WebhookOutput) FilterGroups

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

func (WebhookOutput) PayloadUrl

func (o WebhookOutput) PayloadUrl() pulumi.StringOutput

The CodeBuild endpoint where webhook events are sent.

func (WebhookOutput) ProjectName

func (o WebhookOutput) ProjectName() pulumi.StringOutput

The name of the build project.

func (WebhookOutput) ScopeConfiguration added in v6.46.0

func (o WebhookOutput) ScopeConfiguration() WebhookScopeConfigurationPtrOutput

Scope configuration for global or organization webhooks. Scope configuration blocks are documented below.

func (WebhookOutput) Secret

func (o WebhookOutput) Secret() pulumi.StringOutput

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

func (WebhookOutput) ToWebhookOutput

func (o WebhookOutput) ToWebhookOutput() WebhookOutput

func (WebhookOutput) ToWebhookOutputWithContext

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

func (WebhookOutput) Url

The URL to the webhook.

type WebhookScopeConfiguration added in v6.46.0

type WebhookScopeConfiguration struct {
	// The domain of the GitHub Enterprise organization. Required if your project's source type is GITHUB_ENTERPRISE.
	Domain *string `pulumi:"domain"`
	// The name of either the enterprise or organization.
	Name string `pulumi:"name"`
	// The type of scope for a GitHub webhook. Valid values for this parameter are: `GITHUB_ORGANIZATION`, `GITHUB_GLOBAL`.
	Scope string `pulumi:"scope"`
}

type WebhookScopeConfigurationArgs added in v6.46.0

type WebhookScopeConfigurationArgs struct {
	// The domain of the GitHub Enterprise organization. Required if your project's source type is GITHUB_ENTERPRISE.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// The name of either the enterprise or organization.
	Name pulumi.StringInput `pulumi:"name"`
	// The type of scope for a GitHub webhook. Valid values for this parameter are: `GITHUB_ORGANIZATION`, `GITHUB_GLOBAL`.
	Scope pulumi.StringInput `pulumi:"scope"`
}

func (WebhookScopeConfigurationArgs) ElementType added in v6.46.0

func (WebhookScopeConfigurationArgs) ToWebhookScopeConfigurationOutput added in v6.46.0

func (i WebhookScopeConfigurationArgs) ToWebhookScopeConfigurationOutput() WebhookScopeConfigurationOutput

func (WebhookScopeConfigurationArgs) ToWebhookScopeConfigurationOutputWithContext added in v6.46.0

func (i WebhookScopeConfigurationArgs) ToWebhookScopeConfigurationOutputWithContext(ctx context.Context) WebhookScopeConfigurationOutput

func (WebhookScopeConfigurationArgs) ToWebhookScopeConfigurationPtrOutput added in v6.46.0

func (i WebhookScopeConfigurationArgs) ToWebhookScopeConfigurationPtrOutput() WebhookScopeConfigurationPtrOutput

func (WebhookScopeConfigurationArgs) ToWebhookScopeConfigurationPtrOutputWithContext added in v6.46.0

func (i WebhookScopeConfigurationArgs) ToWebhookScopeConfigurationPtrOutputWithContext(ctx context.Context) WebhookScopeConfigurationPtrOutput

type WebhookScopeConfigurationInput added in v6.46.0

type WebhookScopeConfigurationInput interface {
	pulumi.Input

	ToWebhookScopeConfigurationOutput() WebhookScopeConfigurationOutput
	ToWebhookScopeConfigurationOutputWithContext(context.Context) WebhookScopeConfigurationOutput
}

WebhookScopeConfigurationInput is an input type that accepts WebhookScopeConfigurationArgs and WebhookScopeConfigurationOutput values. You can construct a concrete instance of `WebhookScopeConfigurationInput` via:

WebhookScopeConfigurationArgs{...}

type WebhookScopeConfigurationOutput added in v6.46.0

type WebhookScopeConfigurationOutput struct{ *pulumi.OutputState }

func (WebhookScopeConfigurationOutput) Domain added in v6.46.0

The domain of the GitHub Enterprise organization. Required if your project's source type is GITHUB_ENTERPRISE.

func (WebhookScopeConfigurationOutput) ElementType added in v6.46.0

func (WebhookScopeConfigurationOutput) Name added in v6.46.0

The name of either the enterprise or organization.

func (WebhookScopeConfigurationOutput) Scope added in v6.46.0

The type of scope for a GitHub webhook. Valid values for this parameter are: `GITHUB_ORGANIZATION`, `GITHUB_GLOBAL`.

func (WebhookScopeConfigurationOutput) ToWebhookScopeConfigurationOutput added in v6.46.0

func (o WebhookScopeConfigurationOutput) ToWebhookScopeConfigurationOutput() WebhookScopeConfigurationOutput

func (WebhookScopeConfigurationOutput) ToWebhookScopeConfigurationOutputWithContext added in v6.46.0

func (o WebhookScopeConfigurationOutput) ToWebhookScopeConfigurationOutputWithContext(ctx context.Context) WebhookScopeConfigurationOutput

func (WebhookScopeConfigurationOutput) ToWebhookScopeConfigurationPtrOutput added in v6.46.0

func (o WebhookScopeConfigurationOutput) ToWebhookScopeConfigurationPtrOutput() WebhookScopeConfigurationPtrOutput

func (WebhookScopeConfigurationOutput) ToWebhookScopeConfigurationPtrOutputWithContext added in v6.46.0

func (o WebhookScopeConfigurationOutput) ToWebhookScopeConfigurationPtrOutputWithContext(ctx context.Context) WebhookScopeConfigurationPtrOutput

type WebhookScopeConfigurationPtrInput added in v6.46.0

type WebhookScopeConfigurationPtrInput interface {
	pulumi.Input

	ToWebhookScopeConfigurationPtrOutput() WebhookScopeConfigurationPtrOutput
	ToWebhookScopeConfigurationPtrOutputWithContext(context.Context) WebhookScopeConfigurationPtrOutput
}

WebhookScopeConfigurationPtrInput is an input type that accepts WebhookScopeConfigurationArgs, WebhookScopeConfigurationPtr and WebhookScopeConfigurationPtrOutput values. You can construct a concrete instance of `WebhookScopeConfigurationPtrInput` via:

        WebhookScopeConfigurationArgs{...}

or:

        nil

func WebhookScopeConfigurationPtr added in v6.46.0

type WebhookScopeConfigurationPtrOutput added in v6.46.0

type WebhookScopeConfigurationPtrOutput struct{ *pulumi.OutputState }

func (WebhookScopeConfigurationPtrOutput) Domain added in v6.46.0

The domain of the GitHub Enterprise organization. Required if your project's source type is GITHUB_ENTERPRISE.

func (WebhookScopeConfigurationPtrOutput) Elem added in v6.46.0

func (WebhookScopeConfigurationPtrOutput) ElementType added in v6.46.0

func (WebhookScopeConfigurationPtrOutput) Name added in v6.46.0

The name of either the enterprise or organization.

func (WebhookScopeConfigurationPtrOutput) Scope added in v6.46.0

The type of scope for a GitHub webhook. Valid values for this parameter are: `GITHUB_ORGANIZATION`, `GITHUB_GLOBAL`.

func (WebhookScopeConfigurationPtrOutput) ToWebhookScopeConfigurationPtrOutput added in v6.46.0

func (o WebhookScopeConfigurationPtrOutput) ToWebhookScopeConfigurationPtrOutput() WebhookScopeConfigurationPtrOutput

func (WebhookScopeConfigurationPtrOutput) ToWebhookScopeConfigurationPtrOutputWithContext added in v6.46.0

func (o WebhookScopeConfigurationPtrOutput) ToWebhookScopeConfigurationPtrOutputWithContext(ctx context.Context) WebhookScopeConfigurationPtrOutput

type WebhookState

type WebhookState struct {
	// A regular expression used to determine which branches get built. Default is all branches are built. We recommend using `filterGroup` over `branchFilter`.
	BranchFilter pulumi.StringPtrInput
	// The type of build this webhook will trigger. Valid values for this parameter are: `BUILD`, `BUILD_BATCH`.
	BuildType pulumi.StringPtrInput
	// Information about the webhook's trigger. Filter group blocks are documented below.
	FilterGroups WebhookFilterGroupArrayInput
	// The CodeBuild endpoint where webhook events are sent.
	PayloadUrl pulumi.StringPtrInput
	// The name of the build project.
	ProjectName pulumi.StringPtrInput
	// Scope configuration for global or organization webhooks. Scope configuration blocks are documented below.
	ScopeConfiguration WebhookScopeConfigurationPtrInput
	// 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