Interface CfnFleetProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnFleetProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2025-01-15T21:09:16.117Z") @Stability(Stable) public interface CfnFleetProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnFleet.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.codebuild.*;
 CfnFleetProps cfnFleetProps = CfnFleetProps.builder()
         .baseCapacity(123)
         .computeConfiguration(ComputeConfigurationProperty.builder()
                 .disk(123)
                 .machineType("machineType")
                 .memory(123)
                 .vCpu(123)
                 .build())
         .computeType("computeType")
         .environmentType("environmentType")
         .fleetProxyConfiguration(ProxyConfigurationProperty.builder()
                 .defaultBehavior("defaultBehavior")
                 .orderedProxyRules(List.of(FleetProxyRuleProperty.builder()
                         .effect("effect")
                         .entities(List.of("entities"))
                         .type("type")
                         .build()))
                 .build())
         .fleetServiceRole("fleetServiceRole")
         .fleetVpcConfig(VpcConfigProperty.builder()
                 .securityGroupIds(List.of("securityGroupIds"))
                 .subnets(List.of("subnets"))
                 .vpcId("vpcId")
                 .build())
         .imageId("imageId")
         .name("name")
         .overflowBehavior("overflowBehavior")
         .scalingConfiguration(ScalingConfigurationInputProperty.builder()
                 .maxCapacity(123)
                 .scalingType("scalingType")
                 .targetTrackingScalingConfigs(List.of(TargetTrackingScalingConfigurationProperty.builder()
                         .metricType("metricType")
                         .targetValue(123)
                         .build()))
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also: