codebuild

package
v0.111.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FleetComputeTypeBuildGeneral1Small   = FleetComputeType("BUILD_GENERAL1_SMALL")
	FleetComputeTypeBuildGeneral1Medium  = FleetComputeType("BUILD_GENERAL1_MEDIUM")
	FleetComputeTypeBuildGeneral1Large   = FleetComputeType("BUILD_GENERAL1_LARGE")
	FleetComputeTypeBuildGeneral12xlarge = FleetComputeType("BUILD_GENERAL1_2XLARGE")
)
View Source
const (
	FleetEnvironmentTypeWindowsServer2019Container = FleetEnvironmentType("WINDOWS_SERVER_2019_CONTAINER")
	FleetEnvironmentTypeWindowsServer2022Container = FleetEnvironmentType("WINDOWS_SERVER_2022_CONTAINER")
	FleetEnvironmentTypeLinuxContainer             = FleetEnvironmentType("LINUX_CONTAINER")
	FleetEnvironmentTypeLinuxGpuContainer          = FleetEnvironmentType("LINUX_GPU_CONTAINER")
	FleetEnvironmentTypeArmContainer               = FleetEnvironmentType("ARM_CONTAINER")
)
View Source
const (
	FleetOverflowBehaviorQueue    = FleetOverflowBehavior("QUEUE")
	FleetOverflowBehaviorOnDemand = FleetOverflowBehavior("ON_DEMAND")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Fleet added in v0.95.0

type Fleet struct {
	pulumi.CustomResourceState

	// The ARN of the compute fleet.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
	BaseCapacity pulumi.IntPtrOutput `pulumi:"baseCapacity"`
	// Information about the compute resources the compute fleet uses. Available values include:
	//
	// - `BUILD_GENERAL1_SMALL` : Use up to 3 GB memory and 2 vCPUs for builds.
	// - `BUILD_GENERAL1_MEDIUM` : Use up to 7 GB memory and 4 vCPUs for builds.
	// - `BUILD_GENERAL1_LARGE` : Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type.
	// - `BUILD_GENERAL1_XLARGE` : Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type.
	// - `BUILD_GENERAL1_2XLARGE` : Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.
	//
	// If you use `BUILD_GENERAL1_SMALL` :
	//
	// - For environment type `LINUX_CONTAINER` , you can use up to 3 GB memory and 2 vCPUs for builds.
	// - For environment type `LINUX_GPU_CONTAINER` , you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
	// - For environment type `ARM_CONTAINER` , you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds.
	//
	// If you use `BUILD_GENERAL1_LARGE` :
	//
	// - For environment type `LINUX_CONTAINER` , you can use up to 15 GB memory and 8 vCPUs for builds.
	// - For environment type `LINUX_GPU_CONTAINER` , you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
	// - For environment type `ARM_CONTAINER` , you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds.
	//
	// For more information, 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.*
	ComputeType FleetComputeTypePtrOutput `pulumi:"computeType"`
	// The environment type of the compute fleet.
	//
	// - The environment type `ARM_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo).
	// - The environment type `LINUX_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).
	// - The environment type `LINUX_GPU_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).
	// - The environment type `WINDOWS_SERVER_2019_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland).
	// - The environment type `WINDOWS_SERVER_2022_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai).
	//
	// For more information, 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* .
	EnvironmentType FleetEnvironmentTypePtrOutput `pulumi:"environmentType"`
	// The service role associated with the compute fleet. For more information, see [Allow a user to add a permission policy for a fleet service role](https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html) in the *AWS CodeBuild User Guide* .
	FleetServiceRole pulumi.StringPtrOutput `pulumi:"fleetServiceRole"`
	// Information about the VPC configuration that AWS CodeBuild accesses.
	FleetVpcConfig FleetVpcConfigPtrOutput `pulumi:"fleetVpcConfig"`
	// The name of the compute fleet.
	Name pulumi.StringPtrOutput `pulumi:"name"`
	// The compute fleet overflow behavior.
	//
	// - For overflow behavior `QUEUE` , your overflow builds need to wait on the existing fleet instance to become available.
	// - For overflow behavior `ON_DEMAND` , your overflow builds run on CodeBuild on-demand.
	//
	// > If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see [Example policy statement to allow CodeBuild access to AWS services required to create a VPC network interface](https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface) .
	OverflowBehavior FleetOverflowBehaviorPtrOutput `pulumi:"overflowBehavior"`
	// A list of tag key and value pairs associated with this compute fleet.
	//
	// These tags are available for use by AWS services that support AWS CodeBuild compute fleet tags.
	Tags aws.TagArrayOutput `pulumi:"tags"`
}

Resource Type definition for AWS::CodeBuild::Fleet

func GetFleet added in v0.95.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 v0.95.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 v0.95.0

func (*Fleet) ElementType() reflect.Type

func (*Fleet) ToFleetOutput added in v0.95.0

func (i *Fleet) ToFleetOutput() FleetOutput

func (*Fleet) ToFleetOutputWithContext added in v0.95.0

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

type FleetArgs added in v0.95.0

type FleetArgs struct {
	// The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
	BaseCapacity pulumi.IntPtrInput
	// Information about the compute resources the compute fleet uses. Available values include:
	//
	// - `BUILD_GENERAL1_SMALL` : Use up to 3 GB memory and 2 vCPUs for builds.
	// - `BUILD_GENERAL1_MEDIUM` : Use up to 7 GB memory and 4 vCPUs for builds.
	// - `BUILD_GENERAL1_LARGE` : Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type.
	// - `BUILD_GENERAL1_XLARGE` : Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type.
	// - `BUILD_GENERAL1_2XLARGE` : Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.
	//
	// If you use `BUILD_GENERAL1_SMALL` :
	//
	// - For environment type `LINUX_CONTAINER` , you can use up to 3 GB memory and 2 vCPUs for builds.
	// - For environment type `LINUX_GPU_CONTAINER` , you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
	// - For environment type `ARM_CONTAINER` , you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds.
	//
	// If you use `BUILD_GENERAL1_LARGE` :
	//
	// - For environment type `LINUX_CONTAINER` , you can use up to 15 GB memory and 8 vCPUs for builds.
	// - For environment type `LINUX_GPU_CONTAINER` , you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
	// - For environment type `ARM_CONTAINER` , you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds.
	//
	// For more information, 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.*
	ComputeType FleetComputeTypePtrInput
	// The environment type of the compute fleet.
	//
	// - The environment type `ARM_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo).
	// - The environment type `LINUX_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).
	// - The environment type `LINUX_GPU_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).
	// - The environment type `WINDOWS_SERVER_2019_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland).
	// - The environment type `WINDOWS_SERVER_2022_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai).
	//
	// For more information, 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* .
	EnvironmentType FleetEnvironmentTypePtrInput
	// The service role associated with the compute fleet. For more information, see [Allow a user to add a permission policy for a fleet service role](https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html) in the *AWS CodeBuild User Guide* .
	FleetServiceRole pulumi.StringPtrInput
	// Information about the VPC configuration that AWS CodeBuild accesses.
	FleetVpcConfig FleetVpcConfigPtrInput
	// The name of the compute fleet.
	Name pulumi.StringPtrInput
	// The compute fleet overflow behavior.
	//
	// - For overflow behavior `QUEUE` , your overflow builds need to wait on the existing fleet instance to become available.
	// - For overflow behavior `ON_DEMAND` , your overflow builds run on CodeBuild on-demand.
	//
	// > If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see [Example policy statement to allow CodeBuild access to AWS services required to create a VPC network interface](https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface) .
	OverflowBehavior FleetOverflowBehaviorPtrInput
	// A list of tag key and value pairs associated with this compute fleet.
	//
	// These tags are available for use by AWS services that support AWS CodeBuild compute fleet tags.
	Tags aws.TagArrayInput
}

The set of arguments for constructing a Fleet resource.

func (FleetArgs) ElementType added in v0.95.0

func (FleetArgs) ElementType() reflect.Type

type FleetComputeType added in v0.95.0

type FleetComputeType string

Information about the compute resources the compute fleet uses. Available values include:

- `BUILD_GENERAL1_SMALL` : Use up to 3 GB memory and 2 vCPUs for builds. - `BUILD_GENERAL1_MEDIUM` : Use up to 7 GB memory and 4 vCPUs for builds. - `BUILD_GENERAL1_LARGE` : Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type. - `BUILD_GENERAL1_XLARGE` : Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type. - `BUILD_GENERAL1_2XLARGE` : Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.

If you use `BUILD_GENERAL1_SMALL` :

- For environment type `LINUX_CONTAINER` , you can use up to 3 GB memory and 2 vCPUs for builds. - For environment type `LINUX_GPU_CONTAINER` , you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type `ARM_CONTAINER` , you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds.

If you use `BUILD_GENERAL1_LARGE` :

- For environment type `LINUX_CONTAINER` , you can use up to 15 GB memory and 8 vCPUs for builds. - For environment type `LINUX_GPU_CONTAINER` , you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type `ARM_CONTAINER` , you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds.

For more information, 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.*

func (FleetComputeType) ElementType added in v0.95.0

func (FleetComputeType) ElementType() reflect.Type

func (FleetComputeType) ToFleetComputeTypeOutput added in v0.95.0

func (e FleetComputeType) ToFleetComputeTypeOutput() FleetComputeTypeOutput

func (FleetComputeType) ToFleetComputeTypeOutputWithContext added in v0.95.0

func (e FleetComputeType) ToFleetComputeTypeOutputWithContext(ctx context.Context) FleetComputeTypeOutput

func (FleetComputeType) ToFleetComputeTypePtrOutput added in v0.95.0

func (e FleetComputeType) ToFleetComputeTypePtrOutput() FleetComputeTypePtrOutput

func (FleetComputeType) ToFleetComputeTypePtrOutputWithContext added in v0.95.0

func (e FleetComputeType) ToFleetComputeTypePtrOutputWithContext(ctx context.Context) FleetComputeTypePtrOutput

func (FleetComputeType) ToStringOutput added in v0.95.0

func (e FleetComputeType) ToStringOutput() pulumi.StringOutput

func (FleetComputeType) ToStringOutputWithContext added in v0.95.0

func (e FleetComputeType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FleetComputeType) ToStringPtrOutput added in v0.95.0

func (e FleetComputeType) ToStringPtrOutput() pulumi.StringPtrOutput

func (FleetComputeType) ToStringPtrOutputWithContext added in v0.95.0

func (e FleetComputeType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FleetComputeTypeInput added in v0.95.0

type FleetComputeTypeInput interface {
	pulumi.Input

	ToFleetComputeTypeOutput() FleetComputeTypeOutput
	ToFleetComputeTypeOutputWithContext(context.Context) FleetComputeTypeOutput
}

FleetComputeTypeInput is an input type that accepts values of the FleetComputeType enum A concrete instance of `FleetComputeTypeInput` can be one of the following:

FleetComputeTypeBuildGeneral1Small
FleetComputeTypeBuildGeneral1Medium
FleetComputeTypeBuildGeneral1Large
FleetComputeTypeBuildGeneral12xlarge

type FleetComputeTypeOutput added in v0.95.0

type FleetComputeTypeOutput struct{ *pulumi.OutputState }

func (FleetComputeTypeOutput) ElementType added in v0.95.0

func (FleetComputeTypeOutput) ElementType() reflect.Type

func (FleetComputeTypeOutput) ToFleetComputeTypeOutput added in v0.95.0

func (o FleetComputeTypeOutput) ToFleetComputeTypeOutput() FleetComputeTypeOutput

func (FleetComputeTypeOutput) ToFleetComputeTypeOutputWithContext added in v0.95.0

func (o FleetComputeTypeOutput) ToFleetComputeTypeOutputWithContext(ctx context.Context) FleetComputeTypeOutput

func (FleetComputeTypeOutput) ToFleetComputeTypePtrOutput added in v0.95.0

func (o FleetComputeTypeOutput) ToFleetComputeTypePtrOutput() FleetComputeTypePtrOutput

func (FleetComputeTypeOutput) ToFleetComputeTypePtrOutputWithContext added in v0.95.0

func (o FleetComputeTypeOutput) ToFleetComputeTypePtrOutputWithContext(ctx context.Context) FleetComputeTypePtrOutput

func (FleetComputeTypeOutput) ToStringOutput added in v0.95.0

func (o FleetComputeTypeOutput) ToStringOutput() pulumi.StringOutput

func (FleetComputeTypeOutput) ToStringOutputWithContext added in v0.95.0

func (o FleetComputeTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FleetComputeTypeOutput) ToStringPtrOutput added in v0.95.0

func (o FleetComputeTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (FleetComputeTypeOutput) ToStringPtrOutputWithContext added in v0.95.0

func (o FleetComputeTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FleetComputeTypePtrInput added in v0.95.0

type FleetComputeTypePtrInput interface {
	pulumi.Input

	ToFleetComputeTypePtrOutput() FleetComputeTypePtrOutput
	ToFleetComputeTypePtrOutputWithContext(context.Context) FleetComputeTypePtrOutput
}

func FleetComputeTypePtr added in v0.95.0

func FleetComputeTypePtr(v string) FleetComputeTypePtrInput

type FleetComputeTypePtrOutput added in v0.95.0

type FleetComputeTypePtrOutput struct{ *pulumi.OutputState }

func (FleetComputeTypePtrOutput) Elem added in v0.95.0

func (FleetComputeTypePtrOutput) ElementType added in v0.95.0

func (FleetComputeTypePtrOutput) ElementType() reflect.Type

func (FleetComputeTypePtrOutput) ToFleetComputeTypePtrOutput added in v0.95.0

func (o FleetComputeTypePtrOutput) ToFleetComputeTypePtrOutput() FleetComputeTypePtrOutput

func (FleetComputeTypePtrOutput) ToFleetComputeTypePtrOutputWithContext added in v0.95.0

func (o FleetComputeTypePtrOutput) ToFleetComputeTypePtrOutputWithContext(ctx context.Context) FleetComputeTypePtrOutput

func (FleetComputeTypePtrOutput) ToStringPtrOutput added in v0.95.0

func (o FleetComputeTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (FleetComputeTypePtrOutput) ToStringPtrOutputWithContext added in v0.95.0

func (o FleetComputeTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FleetEnvironmentType added in v0.95.0

type FleetEnvironmentType string

The environment type of the compute fleet.

- The environment type `ARM_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type `LINUX_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type `LINUX_GPU_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type `WINDOWS_SERVER_2019_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type `WINDOWS_SERVER_2022_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai).

For more information, 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* .

func (FleetEnvironmentType) ElementType added in v0.95.0

func (FleetEnvironmentType) ElementType() reflect.Type

func (FleetEnvironmentType) ToFleetEnvironmentTypeOutput added in v0.95.0

func (e FleetEnvironmentType) ToFleetEnvironmentTypeOutput() FleetEnvironmentTypeOutput

func (FleetEnvironmentType) ToFleetEnvironmentTypeOutputWithContext added in v0.95.0

func (e FleetEnvironmentType) ToFleetEnvironmentTypeOutputWithContext(ctx context.Context) FleetEnvironmentTypeOutput

func (FleetEnvironmentType) ToFleetEnvironmentTypePtrOutput added in v0.95.0

func (e FleetEnvironmentType) ToFleetEnvironmentTypePtrOutput() FleetEnvironmentTypePtrOutput

func (FleetEnvironmentType) ToFleetEnvironmentTypePtrOutputWithContext added in v0.95.0

func (e FleetEnvironmentType) ToFleetEnvironmentTypePtrOutputWithContext(ctx context.Context) FleetEnvironmentTypePtrOutput

func (FleetEnvironmentType) ToStringOutput added in v0.95.0

func (e FleetEnvironmentType) ToStringOutput() pulumi.StringOutput

func (FleetEnvironmentType) ToStringOutputWithContext added in v0.95.0

func (e FleetEnvironmentType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FleetEnvironmentType) ToStringPtrOutput added in v0.95.0

func (e FleetEnvironmentType) ToStringPtrOutput() pulumi.StringPtrOutput

func (FleetEnvironmentType) ToStringPtrOutputWithContext added in v0.95.0

func (e FleetEnvironmentType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FleetEnvironmentTypeInput added in v0.95.0

type FleetEnvironmentTypeInput interface {
	pulumi.Input

	ToFleetEnvironmentTypeOutput() FleetEnvironmentTypeOutput
	ToFleetEnvironmentTypeOutputWithContext(context.Context) FleetEnvironmentTypeOutput
}

FleetEnvironmentTypeInput is an input type that accepts values of the FleetEnvironmentType enum A concrete instance of `FleetEnvironmentTypeInput` can be one of the following:

FleetEnvironmentTypeWindowsServer2019Container
FleetEnvironmentTypeWindowsServer2022Container
FleetEnvironmentTypeLinuxContainer
FleetEnvironmentTypeLinuxGpuContainer
FleetEnvironmentTypeArmContainer

type FleetEnvironmentTypeOutput added in v0.95.0

type FleetEnvironmentTypeOutput struct{ *pulumi.OutputState }

func (FleetEnvironmentTypeOutput) ElementType added in v0.95.0

func (FleetEnvironmentTypeOutput) ElementType() reflect.Type

func (FleetEnvironmentTypeOutput) ToFleetEnvironmentTypeOutput added in v0.95.0

func (o FleetEnvironmentTypeOutput) ToFleetEnvironmentTypeOutput() FleetEnvironmentTypeOutput

func (FleetEnvironmentTypeOutput) ToFleetEnvironmentTypeOutputWithContext added in v0.95.0

func (o FleetEnvironmentTypeOutput) ToFleetEnvironmentTypeOutputWithContext(ctx context.Context) FleetEnvironmentTypeOutput

func (FleetEnvironmentTypeOutput) ToFleetEnvironmentTypePtrOutput added in v0.95.0

func (o FleetEnvironmentTypeOutput) ToFleetEnvironmentTypePtrOutput() FleetEnvironmentTypePtrOutput

func (FleetEnvironmentTypeOutput) ToFleetEnvironmentTypePtrOutputWithContext added in v0.95.0

func (o FleetEnvironmentTypeOutput) ToFleetEnvironmentTypePtrOutputWithContext(ctx context.Context) FleetEnvironmentTypePtrOutput

func (FleetEnvironmentTypeOutput) ToStringOutput added in v0.95.0

func (o FleetEnvironmentTypeOutput) ToStringOutput() pulumi.StringOutput

func (FleetEnvironmentTypeOutput) ToStringOutputWithContext added in v0.95.0

func (o FleetEnvironmentTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FleetEnvironmentTypeOutput) ToStringPtrOutput added in v0.95.0

func (o FleetEnvironmentTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (FleetEnvironmentTypeOutput) ToStringPtrOutputWithContext added in v0.95.0

func (o FleetEnvironmentTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FleetEnvironmentTypePtrInput added in v0.95.0

type FleetEnvironmentTypePtrInput interface {
	pulumi.Input

	ToFleetEnvironmentTypePtrOutput() FleetEnvironmentTypePtrOutput
	ToFleetEnvironmentTypePtrOutputWithContext(context.Context) FleetEnvironmentTypePtrOutput
}

func FleetEnvironmentTypePtr added in v0.95.0

func FleetEnvironmentTypePtr(v string) FleetEnvironmentTypePtrInput

type FleetEnvironmentTypePtrOutput added in v0.95.0

type FleetEnvironmentTypePtrOutput struct{ *pulumi.OutputState }

func (FleetEnvironmentTypePtrOutput) Elem added in v0.95.0

func (FleetEnvironmentTypePtrOutput) ElementType added in v0.95.0

func (FleetEnvironmentTypePtrOutput) ToFleetEnvironmentTypePtrOutput added in v0.95.0

func (o FleetEnvironmentTypePtrOutput) ToFleetEnvironmentTypePtrOutput() FleetEnvironmentTypePtrOutput

func (FleetEnvironmentTypePtrOutput) ToFleetEnvironmentTypePtrOutputWithContext added in v0.95.0

func (o FleetEnvironmentTypePtrOutput) ToFleetEnvironmentTypePtrOutputWithContext(ctx context.Context) FleetEnvironmentTypePtrOutput

func (FleetEnvironmentTypePtrOutput) ToStringPtrOutput added in v0.95.0

func (FleetEnvironmentTypePtrOutput) ToStringPtrOutputWithContext added in v0.95.0

func (o FleetEnvironmentTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FleetInput added in v0.95.0

type FleetInput interface {
	pulumi.Input

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

type FleetOutput added in v0.95.0

type FleetOutput struct{ *pulumi.OutputState }

func (FleetOutput) Arn added in v0.95.0

The ARN of the compute fleet.

func (FleetOutput) BaseCapacity added in v0.95.0

func (o FleetOutput) BaseCapacity() pulumi.IntPtrOutput

The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.

func (FleetOutput) ComputeType added in v0.95.0

func (o FleetOutput) ComputeType() FleetComputeTypePtrOutput

Information about the compute resources the compute fleet uses. Available values include:

- `BUILD_GENERAL1_SMALL` : Use up to 3 GB memory and 2 vCPUs for builds. - `BUILD_GENERAL1_MEDIUM` : Use up to 7 GB memory and 4 vCPUs for builds. - `BUILD_GENERAL1_LARGE` : Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type. - `BUILD_GENERAL1_XLARGE` : Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type. - `BUILD_GENERAL1_2XLARGE` : Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.

If you use `BUILD_GENERAL1_SMALL` :

- For environment type `LINUX_CONTAINER` , you can use up to 3 GB memory and 2 vCPUs for builds. - For environment type `LINUX_GPU_CONTAINER` , you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type `ARM_CONTAINER` , you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds.

If you use `BUILD_GENERAL1_LARGE` :

- For environment type `LINUX_CONTAINER` , you can use up to 15 GB memory and 8 vCPUs for builds. - For environment type `LINUX_GPU_CONTAINER` , you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type `ARM_CONTAINER` , you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds.

For more information, 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.*

func (FleetOutput) ElementType added in v0.95.0

func (FleetOutput) ElementType() reflect.Type

func (FleetOutput) EnvironmentType added in v0.95.0

func (o FleetOutput) EnvironmentType() FleetEnvironmentTypePtrOutput

The environment type of the compute fleet.

- The environment type `ARM_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type `LINUX_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type `LINUX_GPU_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type `WINDOWS_SERVER_2019_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type `WINDOWS_SERVER_2022_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai).

For more information, 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* .

func (FleetOutput) FleetServiceRole added in v0.108.0

func (o FleetOutput) FleetServiceRole() pulumi.StringPtrOutput

The service role associated with the compute fleet. For more information, see [Allow a user to add a permission policy for a fleet service role](https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html) in the *AWS CodeBuild User Guide* .

func (FleetOutput) FleetVpcConfig added in v0.108.0

func (o FleetOutput) FleetVpcConfig() FleetVpcConfigPtrOutput

Information about the VPC configuration that AWS CodeBuild accesses.

func (FleetOutput) Name added in v0.95.0

The name of the compute fleet.

func (FleetOutput) OverflowBehavior added in v0.108.0

func (o FleetOutput) OverflowBehavior() FleetOverflowBehaviorPtrOutput

The compute fleet overflow behavior.

- For overflow behavior `QUEUE` , your overflow builds need to wait on the existing fleet instance to become available. - For overflow behavior `ON_DEMAND` , your overflow builds run on CodeBuild on-demand.

> If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see [Example policy statement to allow CodeBuild access to AWS services required to create a VPC network interface](https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface) .

func (FleetOutput) Tags added in v0.95.0

func (o FleetOutput) Tags() aws.TagArrayOutput

A list of tag key and value pairs associated with this compute fleet.

These tags are available for use by AWS services that support AWS CodeBuild compute fleet tags.

func (FleetOutput) ToFleetOutput added in v0.95.0

func (o FleetOutput) ToFleetOutput() FleetOutput

func (FleetOutput) ToFleetOutputWithContext added in v0.95.0

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

type FleetOverflowBehavior added in v0.108.0

type FleetOverflowBehavior string

The compute fleet overflow behavior.

- For overflow behavior `QUEUE` , your overflow builds need to wait on the existing fleet instance to become available. - For overflow behavior `ON_DEMAND` , your overflow builds run on CodeBuild on-demand.

> If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see [Example policy statement to allow CodeBuild access to AWS services required to create a VPC network interface](https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface) .

func (FleetOverflowBehavior) ElementType added in v0.108.0

func (FleetOverflowBehavior) ElementType() reflect.Type

func (FleetOverflowBehavior) ToFleetOverflowBehaviorOutput added in v0.108.0

func (e FleetOverflowBehavior) ToFleetOverflowBehaviorOutput() FleetOverflowBehaviorOutput

func (FleetOverflowBehavior) ToFleetOverflowBehaviorOutputWithContext added in v0.108.0

func (e FleetOverflowBehavior) ToFleetOverflowBehaviorOutputWithContext(ctx context.Context) FleetOverflowBehaviorOutput

func (FleetOverflowBehavior) ToFleetOverflowBehaviorPtrOutput added in v0.108.0

func (e FleetOverflowBehavior) ToFleetOverflowBehaviorPtrOutput() FleetOverflowBehaviorPtrOutput

func (FleetOverflowBehavior) ToFleetOverflowBehaviorPtrOutputWithContext added in v0.108.0

func (e FleetOverflowBehavior) ToFleetOverflowBehaviorPtrOutputWithContext(ctx context.Context) FleetOverflowBehaviorPtrOutput

func (FleetOverflowBehavior) ToStringOutput added in v0.108.0

func (e FleetOverflowBehavior) ToStringOutput() pulumi.StringOutput

func (FleetOverflowBehavior) ToStringOutputWithContext added in v0.108.0

func (e FleetOverflowBehavior) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FleetOverflowBehavior) ToStringPtrOutput added in v0.108.0

func (e FleetOverflowBehavior) ToStringPtrOutput() pulumi.StringPtrOutput

func (FleetOverflowBehavior) ToStringPtrOutputWithContext added in v0.108.0

func (e FleetOverflowBehavior) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FleetOverflowBehaviorInput added in v0.108.0

type FleetOverflowBehaviorInput interface {
	pulumi.Input

	ToFleetOverflowBehaviorOutput() FleetOverflowBehaviorOutput
	ToFleetOverflowBehaviorOutputWithContext(context.Context) FleetOverflowBehaviorOutput
}

FleetOverflowBehaviorInput is an input type that accepts values of the FleetOverflowBehavior enum A concrete instance of `FleetOverflowBehaviorInput` can be one of the following:

FleetOverflowBehaviorQueue
FleetOverflowBehaviorOnDemand

type FleetOverflowBehaviorOutput added in v0.108.0

type FleetOverflowBehaviorOutput struct{ *pulumi.OutputState }

func (FleetOverflowBehaviorOutput) ElementType added in v0.108.0

func (FleetOverflowBehaviorOutput) ToFleetOverflowBehaviorOutput added in v0.108.0

func (o FleetOverflowBehaviorOutput) ToFleetOverflowBehaviorOutput() FleetOverflowBehaviorOutput

func (FleetOverflowBehaviorOutput) ToFleetOverflowBehaviorOutputWithContext added in v0.108.0

func (o FleetOverflowBehaviorOutput) ToFleetOverflowBehaviorOutputWithContext(ctx context.Context) FleetOverflowBehaviorOutput

func (FleetOverflowBehaviorOutput) ToFleetOverflowBehaviorPtrOutput added in v0.108.0

func (o FleetOverflowBehaviorOutput) ToFleetOverflowBehaviorPtrOutput() FleetOverflowBehaviorPtrOutput

func (FleetOverflowBehaviorOutput) ToFleetOverflowBehaviorPtrOutputWithContext added in v0.108.0

func (o FleetOverflowBehaviorOutput) ToFleetOverflowBehaviorPtrOutputWithContext(ctx context.Context) FleetOverflowBehaviorPtrOutput

func (FleetOverflowBehaviorOutput) ToStringOutput added in v0.108.0

func (o FleetOverflowBehaviorOutput) ToStringOutput() pulumi.StringOutput

func (FleetOverflowBehaviorOutput) ToStringOutputWithContext added in v0.108.0

func (o FleetOverflowBehaviorOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FleetOverflowBehaviorOutput) ToStringPtrOutput added in v0.108.0

func (o FleetOverflowBehaviorOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (FleetOverflowBehaviorOutput) ToStringPtrOutputWithContext added in v0.108.0

func (o FleetOverflowBehaviorOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FleetOverflowBehaviorPtrInput added in v0.108.0

type FleetOverflowBehaviorPtrInput interface {
	pulumi.Input

	ToFleetOverflowBehaviorPtrOutput() FleetOverflowBehaviorPtrOutput
	ToFleetOverflowBehaviorPtrOutputWithContext(context.Context) FleetOverflowBehaviorPtrOutput
}

func FleetOverflowBehaviorPtr added in v0.108.0

func FleetOverflowBehaviorPtr(v string) FleetOverflowBehaviorPtrInput

type FleetOverflowBehaviorPtrOutput added in v0.108.0

type FleetOverflowBehaviorPtrOutput struct{ *pulumi.OutputState }

func (FleetOverflowBehaviorPtrOutput) Elem added in v0.108.0

func (FleetOverflowBehaviorPtrOutput) ElementType added in v0.108.0

func (FleetOverflowBehaviorPtrOutput) ToFleetOverflowBehaviorPtrOutput added in v0.108.0

func (o FleetOverflowBehaviorPtrOutput) ToFleetOverflowBehaviorPtrOutput() FleetOverflowBehaviorPtrOutput

func (FleetOverflowBehaviorPtrOutput) ToFleetOverflowBehaviorPtrOutputWithContext added in v0.108.0

func (o FleetOverflowBehaviorPtrOutput) ToFleetOverflowBehaviorPtrOutputWithContext(ctx context.Context) FleetOverflowBehaviorPtrOutput

func (FleetOverflowBehaviorPtrOutput) ToStringPtrOutput added in v0.108.0

func (FleetOverflowBehaviorPtrOutput) ToStringPtrOutputWithContext added in v0.108.0

func (o FleetOverflowBehaviorPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FleetState added in v0.95.0

type FleetState struct {
}

func (FleetState) ElementType added in v0.95.0

func (FleetState) ElementType() reflect.Type

type FleetTag added in v0.95.0

type FleetTag struct {
	// The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
	Key string `pulumi:"key"`
	// The value for the tag. You can specify a value that is 0 to 255 Unicode characters in length. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
	Value string `pulumi:"value"`
}

type FleetVpcConfig added in v0.108.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 v0.108.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.StringPtrInput `pulumi:"vpcId"`
}

func (FleetVpcConfigArgs) ElementType added in v0.108.0

func (FleetVpcConfigArgs) ElementType() reflect.Type

func (FleetVpcConfigArgs) ToFleetVpcConfigOutput added in v0.108.0

func (i FleetVpcConfigArgs) ToFleetVpcConfigOutput() FleetVpcConfigOutput

func (FleetVpcConfigArgs) ToFleetVpcConfigOutputWithContext added in v0.108.0

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

func (FleetVpcConfigArgs) ToFleetVpcConfigPtrOutput added in v0.108.0

func (i FleetVpcConfigArgs) ToFleetVpcConfigPtrOutput() FleetVpcConfigPtrOutput

func (FleetVpcConfigArgs) ToFleetVpcConfigPtrOutputWithContext added in v0.108.0

func (i FleetVpcConfigArgs) ToFleetVpcConfigPtrOutputWithContext(ctx context.Context) FleetVpcConfigPtrOutput

type FleetVpcConfigInput added in v0.108.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 v0.108.0

type FleetVpcConfigOutput struct{ *pulumi.OutputState }

func (FleetVpcConfigOutput) ElementType added in v0.108.0

func (FleetVpcConfigOutput) ElementType() reflect.Type

func (FleetVpcConfigOutput) SecurityGroupIds added in v0.108.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 v0.108.0

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

func (FleetVpcConfigOutput) ToFleetVpcConfigOutput added in v0.108.0

func (o FleetVpcConfigOutput) ToFleetVpcConfigOutput() FleetVpcConfigOutput

func (FleetVpcConfigOutput) ToFleetVpcConfigOutputWithContext added in v0.108.0

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

func (FleetVpcConfigOutput) ToFleetVpcConfigPtrOutput added in v0.108.0

func (o FleetVpcConfigOutput) ToFleetVpcConfigPtrOutput() FleetVpcConfigPtrOutput

func (FleetVpcConfigOutput) ToFleetVpcConfigPtrOutputWithContext added in v0.108.0

func (o FleetVpcConfigOutput) ToFleetVpcConfigPtrOutputWithContext(ctx context.Context) FleetVpcConfigPtrOutput

func (FleetVpcConfigOutput) VpcId added in v0.108.0

The ID of the Amazon VPC.

type FleetVpcConfigPtrInput added in v0.108.0

type FleetVpcConfigPtrInput interface {
	pulumi.Input

	ToFleetVpcConfigPtrOutput() FleetVpcConfigPtrOutput
	ToFleetVpcConfigPtrOutputWithContext(context.Context) FleetVpcConfigPtrOutput
}

FleetVpcConfigPtrInput is an input type that accepts FleetVpcConfigArgs, FleetVpcConfigPtr and FleetVpcConfigPtrOutput values. You can construct a concrete instance of `FleetVpcConfigPtrInput` via:

        FleetVpcConfigArgs{...}

or:

        nil

func FleetVpcConfigPtr added in v0.108.0

func FleetVpcConfigPtr(v *FleetVpcConfigArgs) FleetVpcConfigPtrInput

type FleetVpcConfigPtrOutput added in v0.108.0

type FleetVpcConfigPtrOutput struct{ *pulumi.OutputState }

func (FleetVpcConfigPtrOutput) Elem added in v0.108.0

func (FleetVpcConfigPtrOutput) ElementType added in v0.108.0

func (FleetVpcConfigPtrOutput) ElementType() reflect.Type

func (FleetVpcConfigPtrOutput) SecurityGroupIds added in v0.108.0

func (o FleetVpcConfigPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput

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

func (FleetVpcConfigPtrOutput) Subnets added in v0.108.0

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

func (FleetVpcConfigPtrOutput) ToFleetVpcConfigPtrOutput added in v0.108.0

func (o FleetVpcConfigPtrOutput) ToFleetVpcConfigPtrOutput() FleetVpcConfigPtrOutput

func (FleetVpcConfigPtrOutput) ToFleetVpcConfigPtrOutputWithContext added in v0.108.0

func (o FleetVpcConfigPtrOutput) ToFleetVpcConfigPtrOutputWithContext(ctx context.Context) FleetVpcConfigPtrOutput

func (FleetVpcConfigPtrOutput) VpcId added in v0.108.0

The ID of the Amazon VPC.

type LookupFleetArgs added in v0.95.0

type LookupFleetArgs struct {
	// The ARN of the compute fleet.
	Arn string `pulumi:"arn"`
}

type LookupFleetOutputArgs added in v0.95.0

type LookupFleetOutputArgs struct {
	// The ARN of the compute fleet.
	Arn pulumi.StringInput `pulumi:"arn"`
}

func (LookupFleetOutputArgs) ElementType added in v0.95.0

func (LookupFleetOutputArgs) ElementType() reflect.Type

type LookupFleetResult added in v0.95.0

type LookupFleetResult struct {
	// The ARN of the compute fleet.
	Arn *string `pulumi:"arn"`
	// The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
	BaseCapacity *int `pulumi:"baseCapacity"`
	// Information about the compute resources the compute fleet uses. Available values include:
	//
	// - `BUILD_GENERAL1_SMALL` : Use up to 3 GB memory and 2 vCPUs for builds.
	// - `BUILD_GENERAL1_MEDIUM` : Use up to 7 GB memory and 4 vCPUs for builds.
	// - `BUILD_GENERAL1_LARGE` : Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type.
	// - `BUILD_GENERAL1_XLARGE` : Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type.
	// - `BUILD_GENERAL1_2XLARGE` : Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.
	//
	// If you use `BUILD_GENERAL1_SMALL` :
	//
	// - For environment type `LINUX_CONTAINER` , you can use up to 3 GB memory and 2 vCPUs for builds.
	// - For environment type `LINUX_GPU_CONTAINER` , you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
	// - For environment type `ARM_CONTAINER` , you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds.
	//
	// If you use `BUILD_GENERAL1_LARGE` :
	//
	// - For environment type `LINUX_CONTAINER` , you can use up to 15 GB memory and 8 vCPUs for builds.
	// - For environment type `LINUX_GPU_CONTAINER` , you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
	// - For environment type `ARM_CONTAINER` , you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds.
	//
	// For more information, 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.*
	ComputeType *FleetComputeType `pulumi:"computeType"`
	// The environment type of the compute fleet.
	//
	// - The environment type `ARM_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo).
	// - The environment type `LINUX_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).
	// - The environment type `LINUX_GPU_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).
	// - The environment type `WINDOWS_SERVER_2019_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland).
	// - The environment type `WINDOWS_SERVER_2022_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai).
	//
	// For more information, 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* .
	EnvironmentType *FleetEnvironmentType `pulumi:"environmentType"`
	// The service role associated with the compute fleet. For more information, see [Allow a user to add a permission policy for a fleet service role](https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html) in the *AWS CodeBuild User Guide* .
	FleetServiceRole *string `pulumi:"fleetServiceRole"`
	// Information about the VPC configuration that AWS CodeBuild accesses.
	FleetVpcConfig *FleetVpcConfig `pulumi:"fleetVpcConfig"`
	// The name of the compute fleet.
	Name *string `pulumi:"name"`
	// The compute fleet overflow behavior.
	//
	// - For overflow behavior `QUEUE` , your overflow builds need to wait on the existing fleet instance to become available.
	// - For overflow behavior `ON_DEMAND` , your overflow builds run on CodeBuild on-demand.
	//
	// > If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see [Example policy statement to allow CodeBuild access to AWS services required to create a VPC network interface](https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface) .
	OverflowBehavior *FleetOverflowBehavior `pulumi:"overflowBehavior"`
	// A list of tag key and value pairs associated with this compute fleet.
	//
	// These tags are available for use by AWS services that support AWS CodeBuild compute fleet tags.
	Tags []aws.Tag `pulumi:"tags"`
}

func LookupFleet added in v0.95.0

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

Resource Type definition for AWS::CodeBuild::Fleet

type LookupFleetResultOutput added in v0.95.0

type LookupFleetResultOutput struct{ *pulumi.OutputState }

func LookupFleetOutput added in v0.95.0

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

func (LookupFleetResultOutput) Arn added in v0.95.0

The ARN of the compute fleet.

func (LookupFleetResultOutput) BaseCapacity added in v0.95.0

func (o LookupFleetResultOutput) BaseCapacity() pulumi.IntPtrOutput

The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.

func (LookupFleetResultOutput) ComputeType added in v0.95.0

Information about the compute resources the compute fleet uses. Available values include:

- `BUILD_GENERAL1_SMALL` : Use up to 3 GB memory and 2 vCPUs for builds. - `BUILD_GENERAL1_MEDIUM` : Use up to 7 GB memory and 4 vCPUs for builds. - `BUILD_GENERAL1_LARGE` : Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type. - `BUILD_GENERAL1_XLARGE` : Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type. - `BUILD_GENERAL1_2XLARGE` : Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.

If you use `BUILD_GENERAL1_SMALL` :

- For environment type `LINUX_CONTAINER` , you can use up to 3 GB memory and 2 vCPUs for builds. - For environment type `LINUX_GPU_CONTAINER` , you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type `ARM_CONTAINER` , you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds.

If you use `BUILD_GENERAL1_LARGE` :

- For environment type `LINUX_CONTAINER` , you can use up to 15 GB memory and 8 vCPUs for builds. - For environment type `LINUX_GPU_CONTAINER` , you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type `ARM_CONTAINER` , you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds.

For more information, 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.*

func (LookupFleetResultOutput) ElementType added in v0.95.0

func (LookupFleetResultOutput) ElementType() reflect.Type

func (LookupFleetResultOutput) EnvironmentType added in v0.95.0

The environment type of the compute fleet.

- The environment type `ARM_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type `LINUX_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type `LINUX_GPU_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type `WINDOWS_SERVER_2019_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type `WINDOWS_SERVER_2022_CONTAINER` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai).

For more information, 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* .

func (LookupFleetResultOutput) FleetServiceRole added in v0.108.0

func (o LookupFleetResultOutput) FleetServiceRole() pulumi.StringPtrOutput

The service role associated with the compute fleet. For more information, see [Allow a user to add a permission policy for a fleet service role](https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html) in the *AWS CodeBuild User Guide* .

func (LookupFleetResultOutput) FleetVpcConfig added in v0.108.0

Information about the VPC configuration that AWS CodeBuild accesses.

func (LookupFleetResultOutput) Name added in v0.95.0

The name of the compute fleet.

func (LookupFleetResultOutput) OverflowBehavior added in v0.108.0

The compute fleet overflow behavior.

- For overflow behavior `QUEUE` , your overflow builds need to wait on the existing fleet instance to become available. - For overflow behavior `ON_DEMAND` , your overflow builds run on CodeBuild on-demand.

> If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see [Example policy statement to allow CodeBuild access to AWS services required to create a VPC network interface](https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface) .

func (LookupFleetResultOutput) Tags added in v0.95.0

A list of tag key and value pairs associated with this compute fleet.

These tags are available for use by AWS services that support AWS CodeBuild compute fleet tags.

func (LookupFleetResultOutput) ToLookupFleetResultOutput added in v0.95.0

func (o LookupFleetResultOutput) ToLookupFleetResultOutput() LookupFleetResultOutput

func (LookupFleetResultOutput) ToLookupFleetResultOutputWithContext added in v0.95.0

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

Jump to

Keyboard shortcuts

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