Class FleetProps.Jsii$Proxy
- All Implemented Interfaces:
FleetProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
FleetProps
FleetProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.FleetProps
FleetProps.Builder, FleetProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(FleetProps.Builder builder) Constructor that initializes the object based on literal property values passed by theFleetProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal NumberThe number of machines allocated to the compute fleet.final ComputeConfigurationThe compute configuration of the compute fleet.final FleetComputeTypeThe instance type of the compute fleet.final EnvironmentTypeThe build environment (operating system/architecture/accelerator) type made available to projects using this fleet.final StringThe name of the Fleet.final FleetOverflowBehaviorThe compute fleet overflow behavior.final IRolegetRole()Service Role assumed by Fleet instances.final List<ISecurityGroup> What security groups to associate with the fleet's network interfaces.final SubnetSelectionWhere to place the network interfaces within the VPC.final IVpcgetVpc()VPC network to place fleet instance network interfaces.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theFleetProps.Builder.
-
-
Method Details
-
getBaseCapacity
Description copied from interface:FleetPropsThe number of machines allocated to the compute fleet. Defines the number of builds that can run in parallel.Minimum value of 1.
- Specified by:
getBaseCapacityin interfaceFleetProps
-
getComputeType
Description copied from interface:FleetPropsThe instance type of the compute fleet.- Specified by:
getComputeTypein interfaceFleetProps- See Also:
-
getEnvironmentType
Description copied from interface:FleetPropsThe build environment (operating system/architecture/accelerator) type made available to projects using this fleet.- Specified by:
getEnvironmentTypein interfaceFleetProps
-
getComputeConfiguration
Description copied from interface:FleetPropsThe compute configuration of the compute fleet.This is only permitted if
computeTypeis set to ATTRIBUTE_BASED or CUSTOM_INSTANCE_TYPE. In such cases, this is required.Default: - do not specify compute configuration
- Specified by:
getComputeConfigurationin interfaceFleetProps- See Also:
-
getFleetName
Description copied from interface:FleetPropsThe name of the Fleet.Default: - CloudFormation generated name
- Specified by:
getFleetNamein interfaceFleetProps
-
getOverflowBehavior
Description copied from interface:FleetPropsThe 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:
getOverflowBehaviorin interfaceFleetProps
-
getRole
Description copied from interface:FleetPropsService Role assumed by Fleet instances.This Role is not used by Project builds running on Fleet instances; Project builds assume the
roleon Project instead.Default: - A role will be created if any permissions are granted
- Specified by:
getRolein interfaceFleetProps
-
getSecurityGroups
Description copied from interface:FleetPropsWhat security groups to associate with the fleet's network interfaces. If none are provided, one will be created automatically.Only used if
vpcis supplied.Default: - A security group will be automatically created.
- Specified by:
getSecurityGroupsin interfaceFleetProps
-
getSubnetSelection
Description copied from interface:FleetPropsWhere 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:
- Subnets with access to the internet (of type PRIVATE_WITH_EGRESS).
- 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:
getSubnetSelectionin interfaceFleetProps- See Also:
-
getVpc
Description copied from interface:FleetPropsVPC 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:
getVpcin interfaceFleetProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-