AWS Native is in preview. AWS Classic is fully supported.
aws-native.codebuild.Fleet
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::CodeBuild::Fleet
Create Fleet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Fleet(name: string, args?: FleetArgs, opts?: CustomResourceOptions);
@overload
def Fleet(resource_name: str,
args: Optional[FleetArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Fleet(resource_name: str,
opts: Optional[ResourceOptions] = None,
base_capacity: Optional[int] = None,
compute_type: Optional[FleetComputeType] = None,
environment_type: Optional[FleetEnvironmentType] = None,
fleet_service_role: Optional[str] = None,
fleet_vpc_config: Optional[FleetVpcConfigArgs] = None,
name: Optional[str] = None,
overflow_behavior: Optional[FleetOverflowBehavior] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewFleet(ctx *Context, name string, args *FleetArgs, opts ...ResourceOption) (*Fleet, error)
public Fleet(string name, FleetArgs? args = null, CustomResourceOptions? opts = null)
type: aws-native:codebuild:Fleet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Fleet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Fleet resource accepts the following input properties:
- Base
Capacity int - The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
- Compute
Type Pulumi.Aws Native. Code Build. Fleet Compute Type 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 in the AWS CodeBuild User Guide.
- Environment
Type Pulumi.Aws Native. Code Build. Fleet Environment Type 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 in the AWS CodeBuild user guide .
- The environment type
- Fleet
Service stringRole - 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 in the AWS CodeBuild User Guide .
- Fleet
Vpc Pulumi.Config Aws Native. Code Build. Inputs. Fleet Vpc Config - Information about the VPC configuration that AWS CodeBuild accesses.
- Name string
- The name of the compute fleet.
- Overflow
Behavior Pulumi.Aws Native. Code Build. Fleet Overflow Behavior 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 .
- For overflow behavior
- List<Pulumi.
Aws Native. Inputs. Tag> 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.
- Base
Capacity int - The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
- Compute
Type FleetCompute Type 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 in the AWS CodeBuild User Guide.
- Environment
Type FleetEnvironment Type 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 in the AWS CodeBuild user guide .
- The environment type
- Fleet
Service stringRole - 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 in the AWS CodeBuild User Guide .
- Fleet
Vpc FleetConfig Vpc Config Args - Information about the VPC configuration that AWS CodeBuild accesses.
- Name string
- The name of the compute fleet.
- Overflow
Behavior FleetOverflow Behavior 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 .
- For overflow behavior
- Tag
Args 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.
- base
Capacity Integer - The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
- compute
Type FleetCompute Type 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 in the AWS CodeBuild User Guide.
- environment
Type FleetEnvironment Type 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 in the AWS CodeBuild user guide .
- The environment type
- fleet
Service StringRole - 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 in the AWS CodeBuild User Guide .
- fleet
Vpc FleetConfig Vpc Config - Information about the VPC configuration that AWS CodeBuild accesses.
- name String
- The name of the compute fleet.
- overflow
Behavior FleetOverflow Behavior 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 .
- For overflow behavior
- List<Tag>
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.
- base
Capacity number - The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
- compute
Type FleetCompute Type 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 in the AWS CodeBuild User Guide.
- environment
Type FleetEnvironment Type 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 in the AWS CodeBuild user guide .
- The environment type
- fleet
Service stringRole - 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 in the AWS CodeBuild User Guide .
- fleet
Vpc FleetConfig Vpc Config - Information about the VPC configuration that AWS CodeBuild accesses.
- name string
- The name of the compute fleet.
- overflow
Behavior FleetOverflow Behavior 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 .
- For overflow behavior
- Tag[]
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.
- base_
capacity int - The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
- compute_
type FleetCompute Type 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 in the AWS CodeBuild User Guide.
- environment_
type FleetEnvironment Type 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 in the AWS CodeBuild user guide .
- The environment type
- fleet_
service_ strrole - 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 in the AWS CodeBuild User Guide .
- fleet_
vpc_ Fleetconfig Vpc Config Args - Information about the VPC configuration that AWS CodeBuild accesses.
- name str
- The name of the compute fleet.
- overflow_
behavior FleetOverflow Behavior 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 .
- For overflow behavior
- Sequence[Tag
Args] 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.
- base
Capacity Number - The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
- compute
Type "BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE" | "BUILD_GENERAL1_2XLARGE" 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 in the AWS CodeBuild User Guide.
- environment
Type "WINDOWS_SERVER_2019_CONTAINER" | "WINDOWS_SERVER_2022_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER" 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 in the AWS CodeBuild user guide .
- The environment type
- fleet
Service StringRole - 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 in the AWS CodeBuild User Guide .
- fleet
Vpc Property MapConfig - Information about the VPC configuration that AWS CodeBuild accesses.
- name String
- The name of the compute fleet.
- overflow
Behavior "QUEUE" | "ON_DEMAND" 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 .
- For overflow behavior
- List<Property Map>
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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Fleet resource produces the following output properties:
Supporting Types
FleetComputeType, FleetComputeTypeArgs
- Build
General1Small - BUILD_GENERAL1_SMALL
- Build
General1Medium - BUILD_GENERAL1_MEDIUM
- Build
General1Large - BUILD_GENERAL1_LARGE
- Build
General12xlarge - BUILD_GENERAL1_2XLARGE
- Fleet
Compute Type Build General1Small - BUILD_GENERAL1_SMALL
- Fleet
Compute Type Build General1Medium - BUILD_GENERAL1_MEDIUM
- Fleet
Compute Type Build General1Large - BUILD_GENERAL1_LARGE
- Fleet
Compute Type Build General12xlarge - BUILD_GENERAL1_2XLARGE
- Build
General1Small - BUILD_GENERAL1_SMALL
- Build
General1Medium - BUILD_GENERAL1_MEDIUM
- Build
General1Large - BUILD_GENERAL1_LARGE
- Build
General12xlarge - BUILD_GENERAL1_2XLARGE
- Build
General1Small - BUILD_GENERAL1_SMALL
- Build
General1Medium - BUILD_GENERAL1_MEDIUM
- Build
General1Large - BUILD_GENERAL1_LARGE
- Build
General12xlarge - BUILD_GENERAL1_2XLARGE
- BUILD_GENERAL1_SMALL
- BUILD_GENERAL1_SMALL
- BUILD_GENERAL1_MEDIUM
- BUILD_GENERAL1_MEDIUM
- BUILD_GENERAL1_LARGE
- BUILD_GENERAL1_LARGE
- BUILD_GENERAL12XLARGE
- BUILD_GENERAL1_2XLARGE
- "BUILD_GENERAL1_SMALL"
- BUILD_GENERAL1_SMALL
- "BUILD_GENERAL1_MEDIUM"
- BUILD_GENERAL1_MEDIUM
- "BUILD_GENERAL1_LARGE"
- BUILD_GENERAL1_LARGE
- "BUILD_GENERAL1_2XLARGE"
- BUILD_GENERAL1_2XLARGE
FleetEnvironmentType, FleetEnvironmentTypeArgs
- Windows
Server2019Container - WINDOWS_SERVER_2019_CONTAINER
- Windows
Server2022Container - WINDOWS_SERVER_2022_CONTAINER
- Linux
Container - LINUX_CONTAINER
- Linux
Gpu Container - LINUX_GPU_CONTAINER
- Arm
Container - ARM_CONTAINER
- Fleet
Environment Type Windows Server2019Container - WINDOWS_SERVER_2019_CONTAINER
- Fleet
Environment Type Windows Server2022Container - WINDOWS_SERVER_2022_CONTAINER
- Fleet
Environment Type Linux Container - LINUX_CONTAINER
- Fleet
Environment Type Linux Gpu Container - LINUX_GPU_CONTAINER
- Fleet
Environment Type Arm Container - ARM_CONTAINER
- Windows
Server2019Container - WINDOWS_SERVER_2019_CONTAINER
- Windows
Server2022Container - WINDOWS_SERVER_2022_CONTAINER
- Linux
Container - LINUX_CONTAINER
- Linux
Gpu Container - LINUX_GPU_CONTAINER
- Arm
Container - ARM_CONTAINER
- Windows
Server2019Container - WINDOWS_SERVER_2019_CONTAINER
- Windows
Server2022Container - WINDOWS_SERVER_2022_CONTAINER
- Linux
Container - LINUX_CONTAINER
- Linux
Gpu Container - LINUX_GPU_CONTAINER
- Arm
Container - ARM_CONTAINER
- WINDOWS_SERVER2019_CONTAINER
- WINDOWS_SERVER_2019_CONTAINER
- WINDOWS_SERVER2022_CONTAINER
- WINDOWS_SERVER_2022_CONTAINER
- LINUX_CONTAINER
- LINUX_CONTAINER
- LINUX_GPU_CONTAINER
- LINUX_GPU_CONTAINER
- ARM_CONTAINER
- ARM_CONTAINER
- "WINDOWS_SERVER_2019_CONTAINER"
- WINDOWS_SERVER_2019_CONTAINER
- "WINDOWS_SERVER_2022_CONTAINER"
- WINDOWS_SERVER_2022_CONTAINER
- "LINUX_CONTAINER"
- LINUX_CONTAINER
- "LINUX_GPU_CONTAINER"
- LINUX_GPU_CONTAINER
- "ARM_CONTAINER"
- ARM_CONTAINER
FleetOverflowBehavior, FleetOverflowBehaviorArgs
- Queue
- QUEUE
- On
Demand - ON_DEMAND
- Fleet
Overflow Behavior Queue - QUEUE
- Fleet
Overflow Behavior On Demand - ON_DEMAND
- Queue
- QUEUE
- On
Demand - ON_DEMAND
- Queue
- QUEUE
- On
Demand - ON_DEMAND
- QUEUE
- QUEUE
- ON_DEMAND
- ON_DEMAND
- "QUEUE"
- QUEUE
- "ON_DEMAND"
- ON_DEMAND
FleetVpcConfig, FleetVpcConfigArgs
- Security
Group List<string>Ids - A list of one or more security groups IDs in your Amazon VPC.
- Subnets List<string>
- A list of one or more subnet IDs in your Amazon VPC.
- Vpc
Id string - The ID of the Amazon VPC.
- Security
Group []stringIds - A list of one or more security groups IDs in your Amazon VPC.
- Subnets []string
- A list of one or more subnet IDs in your Amazon VPC.
- Vpc
Id string - The ID of the Amazon VPC.
- security
Group List<String>Ids - A list of one or more security groups IDs in your Amazon VPC.
- subnets List<String>
- A list of one or more subnet IDs in your Amazon VPC.
- vpc
Id String - The ID of the Amazon VPC.
- security
Group string[]Ids - A list of one or more security groups IDs in your Amazon VPC.
- subnets string[]
- A list of one or more subnet IDs in your Amazon VPC.
- vpc
Id string - The ID of the Amazon VPC.
- security_
group_ Sequence[str]ids - A list of one or more security groups IDs in your Amazon VPC.
- subnets Sequence[str]
- A list of one or more subnet IDs in your Amazon VPC.
- vpc_
id str - The ID of the Amazon VPC.
- security
Group List<String>Ids - A list of one or more security groups IDs in your Amazon VPC.
- subnets List<String>
- A list of one or more subnet IDs in your Amazon VPC.
- vpc
Id String - The ID of the Amazon VPC.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.