Class FleetArgs


  • public final class FleetArgs
    extends com.pulumi.resources.ResourceArgs
    • Field Detail

    • Method Detail

      • baseCapacity

        public com.pulumi.core.Output<java.lang.Integer> baseCapacity()
        Returns:
        Number of machines allocated to the fleet.
      • computeConfiguration

        public java.util.Optional<com.pulumi.core.Output<FleetComputeConfigurationArgs>> computeConfiguration()
        Returns:
        The compute configuration of the compute fleet. This is only required if `computeType` is set to `ATTRIBUTE_BASED_COMPUTE` or `CUSTOM_INSTANCE_TYPE`. See `computeConfiguration` below.
      • computeType

        public com.pulumi.core.Output<java.lang.String> computeType()
        Returns:
        Compute resources the compute fleet uses. See [compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types) for more information and valid values.
      • environmentType

        public com.pulumi.core.Output<java.lang.String> environmentType()
        Returns:
        Environment type of the compute fleet. See [environment types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types) for more information and valid values. The following arguments are optional:
      • fleetServiceRole

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> fleetServiceRole()
        Returns:
        The service role associated with the compute fleet.
      • imageId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageId()
        Returns:
        AMI of the compute fleet.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Fleet name.
      • overflowBehavior

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> overflowBehavior()
        Returns:
        Overflow behavior for compute fleet. Valid values: `ON_DEMAND`, `QUEUE`.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • scalingConfiguration

        public java.util.Optional<com.pulumi.core.Output<FleetScalingConfigurationArgs>> scalingConfiguration()
        Returns:
        Configuration block. This option is only valid when your overflow behavior is `QUEUE`. See `scalingConfiguration` below.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • vpcConfigs

        public java.util.Optional<com.pulumi.core.Output<java.util.List<FleetVpcConfigArgs>>> vpcConfigs()
        Returns:
        Configuration block. See `vpcConfig` below.