codebuild

package
v0.106.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 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")
)

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 name of the compute fleet.
	Name pulumi.StringPtrOutput `pulumi:"name"`
	// 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 name of the compute fleet.
	Name pulumi.StringPtrInput
	// 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) Name added in v0.95.0

The name of the compute fleet.

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 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 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 name of the compute fleet.
	Name *string `pulumi:"name"`
	// 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) Name added in v0.95.0

The name of the compute fleet.

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