1. Packages
  2. AWS Native
  3. API Docs
  4. codebuild
  5. Fleet

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.codebuild.Fleet

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    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)
    public Fleet(String name, FleetArgs args)
    public Fleet(String name, FleetArgs args, CustomResourceOptions options)
    
    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:

    BaseCapacity int
    The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
    ComputeType Pulumi.AwsNative.CodeBuild.FleetComputeType

    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.

    EnvironmentType Pulumi.AwsNative.CodeBuild.FleetEnvironmentType

    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 .

    FleetServiceRole string
    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 .
    FleetVpcConfig Pulumi.AwsNative.CodeBuild.Inputs.FleetVpcConfig
    Information about the VPC configuration that AWS CodeBuild accesses.
    Name string
    The name of the compute fleet.
    OverflowBehavior Pulumi.AwsNative.CodeBuild.FleetOverflowBehavior

    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 .

    Tags List<Pulumi.AwsNative.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.

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

    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.

    EnvironmentType FleetEnvironmentType

    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 .

    FleetServiceRole string
    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 .
    FleetVpcConfig FleetVpcConfigArgs
    Information about the VPC configuration that AWS CodeBuild accesses.
    Name string
    The name of the compute fleet.
    OverflowBehavior FleetOverflowBehavior

    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 .

    Tags TagArgs

    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.

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

    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.

    environmentType FleetEnvironmentType

    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 .

    fleetServiceRole String
    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 .
    fleetVpcConfig FleetVpcConfig
    Information about the VPC configuration that AWS CodeBuild accesses.
    name String
    The name of the compute fleet.
    overflowBehavior FleetOverflowBehavior

    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 .

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

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

    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.

    environmentType FleetEnvironmentType

    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 .

    fleetServiceRole string
    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 .
    fleetVpcConfig FleetVpcConfig
    Information about the VPC configuration that AWS CodeBuild accesses.
    name string
    The name of the compute fleet.
    overflowBehavior FleetOverflowBehavior

    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 .

    tags 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 FleetComputeType

    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 FleetEnvironmentType

    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 .

    fleet_service_role str
    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_config FleetVpcConfigArgs
    Information about the VPC configuration that AWS CodeBuild accesses.
    name str
    The name of the compute fleet.
    overflow_behavior FleetOverflowBehavior

    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 .

    tags Sequence[TagArgs]

    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.

    baseCapacity Number
    The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
    computeType "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.

    environmentType "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 .

    fleetServiceRole String
    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 .
    fleetVpcConfig Property Map
    Information about the VPC configuration that AWS CodeBuild accesses.
    name String
    The name of the compute fleet.
    overflowBehavior "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 .

    tags 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:

    Arn string
    The ARN of the compute fleet.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The ARN of the compute fleet.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the compute fleet.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The ARN of the compute fleet.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The ARN of the compute fleet.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the compute fleet.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    FleetComputeType, FleetComputeTypeArgs

    BuildGeneral1Small
    BUILD_GENERAL1_SMALL
    BuildGeneral1Medium
    BUILD_GENERAL1_MEDIUM
    BuildGeneral1Large
    BUILD_GENERAL1_LARGE
    BuildGeneral12xlarge
    BUILD_GENERAL1_2XLARGE
    FleetComputeTypeBuildGeneral1Small
    BUILD_GENERAL1_SMALL
    FleetComputeTypeBuildGeneral1Medium
    BUILD_GENERAL1_MEDIUM
    FleetComputeTypeBuildGeneral1Large
    BUILD_GENERAL1_LARGE
    FleetComputeTypeBuildGeneral12xlarge
    BUILD_GENERAL1_2XLARGE
    BuildGeneral1Small
    BUILD_GENERAL1_SMALL
    BuildGeneral1Medium
    BUILD_GENERAL1_MEDIUM
    BuildGeneral1Large
    BUILD_GENERAL1_LARGE
    BuildGeneral12xlarge
    BUILD_GENERAL1_2XLARGE
    BuildGeneral1Small
    BUILD_GENERAL1_SMALL
    BuildGeneral1Medium
    BUILD_GENERAL1_MEDIUM
    BuildGeneral1Large
    BUILD_GENERAL1_LARGE
    BuildGeneral12xlarge
    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

    WindowsServer2019Container
    WINDOWS_SERVER_2019_CONTAINER
    WindowsServer2022Container
    WINDOWS_SERVER_2022_CONTAINER
    LinuxContainer
    LINUX_CONTAINER
    LinuxGpuContainer
    LINUX_GPU_CONTAINER
    ArmContainer
    ARM_CONTAINER
    FleetEnvironmentTypeWindowsServer2019Container
    WINDOWS_SERVER_2019_CONTAINER
    FleetEnvironmentTypeWindowsServer2022Container
    WINDOWS_SERVER_2022_CONTAINER
    FleetEnvironmentTypeLinuxContainer
    LINUX_CONTAINER
    FleetEnvironmentTypeLinuxGpuContainer
    LINUX_GPU_CONTAINER
    FleetEnvironmentTypeArmContainer
    ARM_CONTAINER
    WindowsServer2019Container
    WINDOWS_SERVER_2019_CONTAINER
    WindowsServer2022Container
    WINDOWS_SERVER_2022_CONTAINER
    LinuxContainer
    LINUX_CONTAINER
    LinuxGpuContainer
    LINUX_GPU_CONTAINER
    ArmContainer
    ARM_CONTAINER
    WindowsServer2019Container
    WINDOWS_SERVER_2019_CONTAINER
    WindowsServer2022Container
    WINDOWS_SERVER_2022_CONTAINER
    LinuxContainer
    LINUX_CONTAINER
    LinuxGpuContainer
    LINUX_GPU_CONTAINER
    ArmContainer
    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
    OnDemand
    ON_DEMAND
    FleetOverflowBehaviorQueue
    QUEUE
    FleetOverflowBehaviorOnDemand
    ON_DEMAND
    Queue
    QUEUE
    OnDemand
    ON_DEMAND
    Queue
    QUEUE
    OnDemand
    ON_DEMAND
    QUEUE
    QUEUE
    ON_DEMAND
    ON_DEMAND
    "QUEUE"
    QUEUE
    "ON_DEMAND"
    ON_DEMAND

    FleetVpcConfig, FleetVpcConfigArgs

    SecurityGroupIds List<string>
    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.
    VpcId string
    The ID of the Amazon VPC.
    SecurityGroupIds []string
    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.
    VpcId string
    The ID of the Amazon VPC.
    securityGroupIds List<String>
    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.
    vpcId String
    The ID of the Amazon VPC.
    securityGroupIds string[]
    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.
    vpcId string
    The ID of the Amazon VPC.
    security_group_ids Sequence[str]
    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.
    securityGroupIds List<String>
    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.
    vpcId String
    The ID of the Amazon VPC.

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi