Class FleetProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codebuild.FleetProps.Jsii$Proxy
All Implemented Interfaces:
FleetProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
FleetProps

@Stability(Stable) @Internal public static final class FleetProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FleetProps
An implementation for FleetProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(FleetProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the FleetProps.Builder.
  • Method Details

    • getBaseCapacity

      public final Number getBaseCapacity()
      Description copied from interface: FleetProps
      The number of machines allocated to the compute fleet. Defines the number of builds that can run in parallel.

      Minimum value of 1.

      Specified by:
      getBaseCapacity in interface FleetProps
    • getComputeType

      public final FleetComputeType getComputeType()
      Description copied from interface: FleetProps
      The instance type of the compute fleet.

      Specified by:
      getComputeType in interface FleetProps
      See Also:
    • getEnvironmentType

      public final EnvironmentType getEnvironmentType()
      Description copied from interface: FleetProps
      The build environment (operating system/architecture/accelerator) type made available to projects using this fleet.
      Specified by:
      getEnvironmentType in interface FleetProps
    • getComputeConfiguration

      public final ComputeConfiguration getComputeConfiguration()
      Description copied from interface: FleetProps
      The compute configuration of the compute fleet.

      This is only permitted if computeType is set to ATTRIBUTE_BASED or CUSTOM_INSTANCE_TYPE. In such cases, this is required.

      Default: - do not specify compute configuration

      Specified by:
      getComputeConfiguration in interface FleetProps
      See Also:
    • getFleetName

      public final String getFleetName()
      Description copied from interface: FleetProps
      The name of the Fleet.

      Default: - CloudFormation generated name

      Specified by:
      getFleetName in interface FleetProps
    • getOverflowBehavior

      public final FleetOverflowBehavior getOverflowBehavior()
      Description copied from interface: FleetProps
      The compute fleet overflow behavior.

      For overflow behavior QUEUE, overflow builds need to wait on the existing fleet instances to become available.

      For overflow behavior ON_DEMAND, overflow builds run on CodeBuild on-demand.

      Default: undefined - AWS CodeBuild default behavior is QUEUE

      Specified by:
      getOverflowBehavior in interface FleetProps
    • getRole

      public final IRole getRole()
      Description copied from interface: FleetProps
      Service Role assumed by Fleet instances.

      This Role is not used by Project builds running on Fleet instances; Project builds assume the role on Project instead.

      Default: - A role will be created if any permissions are granted

      Specified by:
      getRole in interface FleetProps
    • getSecurityGroups

      public final List<ISecurityGroup> getSecurityGroups()
      Description copied from interface: FleetProps
      What security groups to associate with the fleet's network interfaces. If none are provided, one will be created automatically.

      Only used if vpc is supplied.

      Default: - A security group will be automatically created.

      Specified by:
      getSecurityGroups in interface FleetProps
    • getSubnetSelection

      public final SubnetSelection getSubnetSelection()
      Description copied from interface: FleetProps
      Where to place the network interfaces within the VPC.

      To access AWS services, your fleet needs to be in one of the following types of subnets:

      1. Subnets with access to the internet (of type PRIVATE_WITH_EGRESS).
      2. Private subnets unconnected to the internet, but with VPC endpoints for the necessary services.

      If you don't specify a subnet selection, the default behavior is to use PRIVATE_WITH_EGRESS subnets first if they exist, then PRIVATE_WITHOUT_EGRESS, and finally PUBLIC subnets. If your VPC doesn't have PRIVATE_WITH_EGRESS subnets but you need AWS service access, add VPC Endpoints to your private subnets.

      Default: - private subnets if available else public subnets

      Specified by:
      getSubnetSelection in interface FleetProps
      See Also:
    • getVpc

      public final IVpc getVpc()
      Description copied from interface: FleetProps
      VPC network to place fleet instance network interfaces.

      Specify this if the fleet needs to access resources in a VPC.

      Default: - No VPC is specified.

      Specified by:
      getVpc in interface FleetProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object