1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. codebuild
  5. getFleet

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.0.1 published on Tuesday, Oct 1, 2024 by Pulumi

aws-native.codebuild.getFleet

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.0.1 published on Tuesday, Oct 1, 2024 by Pulumi

    Resource Type definition for AWS::CodeBuild::Fleet

    Using getFleet

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getFleet(args: GetFleetArgs, opts?: InvokeOptions): Promise<GetFleetResult>
    function getFleetOutput(args: GetFleetOutputArgs, opts?: InvokeOptions): Output<GetFleetResult>
    def get_fleet(arn: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetFleetResult
    def get_fleet_output(arn: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetFleetResult]
    func LookupFleet(ctx *Context, args *LookupFleetArgs, opts ...InvokeOption) (*LookupFleetResult, error)
    func LookupFleetOutput(ctx *Context, args *LookupFleetOutputArgs, opts ...InvokeOption) LookupFleetResultOutput

    > Note: This function is named LookupFleet in the Go SDK.

    public static class GetFleet 
    {
        public static Task<GetFleetResult> InvokeAsync(GetFleetArgs args, InvokeOptions? opts = null)
        public static Output<GetFleetResult> Invoke(GetFleetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFleetResult> getFleet(GetFleetArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:codebuild:getFleet
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The ARN of the compute fleet.
    Arn string
    The ARN of the compute fleet.
    arn String
    The ARN of the compute fleet.
    arn string
    The ARN of the compute fleet.
    arn str
    The ARN of the compute fleet.
    arn String
    The ARN of the compute fleet.

    getFleet Result

    The following output properties are available:

    Arn string
    The ARN of the compute fleet.
    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

    Updating this field is not allowed for MAC_ARM .

    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

    Updating this field is not allowed for MAC_ARM .

    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.Outputs.FleetVpcConfig

    Updating this field is not allowed for MAC_ARM .

    Information about the VPC configuration that AWS CodeBuild accesses.

    ImageId string

    Updating this field is not allowed for MAC_ARM .

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

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

    Arn string
    The ARN of the compute fleet.
    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

    Updating this field is not allowed for MAC_ARM .

    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

    Updating this field is not allowed for MAC_ARM .

    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

    Updating this field is not allowed for MAC_ARM .

    Information about the VPC configuration that AWS CodeBuild accesses.

    ImageId string

    Updating this field is not allowed for MAC_ARM .

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

    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.

    arn String
    The ARN of the compute fleet.
    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

    Updating this field is not allowed for MAC_ARM .

    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

    Updating this field is not allowed for MAC_ARM .

    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

    Updating this field is not allowed for MAC_ARM .

    Information about the VPC configuration that AWS CodeBuild accesses.

    imageId String

    Updating this field is not allowed for MAC_ARM .

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

    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.

    arn string
    The ARN of the compute fleet.
    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

    Updating this field is not allowed for MAC_ARM .

    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

    Updating this field is not allowed for MAC_ARM .

    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

    Updating this field is not allowed for MAC_ARM .

    Information about the VPC configuration that AWS CodeBuild accesses.

    imageId string

    Updating this field is not allowed for MAC_ARM .

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

    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.

    arn str
    The ARN of the compute fleet.
    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

    Updating this field is not allowed for MAC_ARM .

    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

    Updating this field is not allowed for MAC_ARM .

    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 FleetVpcConfig

    Updating this field is not allowed for MAC_ARM .

    Information about the VPC configuration that AWS CodeBuild accesses.

    image_id str

    Updating this field is not allowed for MAC_ARM .

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

    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[root_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.

    arn String
    The ARN of the compute fleet.
    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_XLARGE" | "BUILD_GENERAL1_2XLARGE"

    Updating this field is not allowed for MAC_ARM .

    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" | "MAC_ARM"

    Updating this field is not allowed for MAC_ARM .

    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

    Updating this field is not allowed for MAC_ARM .

    Information about the VPC configuration that AWS CodeBuild accesses.

    imageId String

    Updating this field is not allowed for MAC_ARM .

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

    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.

    Supporting Types

    FleetComputeType

    FleetEnvironmentType

    FleetOverflowBehavior

    FleetVpcConfig

    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

    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

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.0.1 published on Tuesday, Oct 1, 2024 by Pulumi