# ProjectFleetProperty

Information about the compute fleet of the build project.

For more information, see [Working with reserved capacity in AWS CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/fleets.html) .

- Source: Generated at build time
- Type last changed: v2.124.0 · 26 Jan 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
const projectFleetProperty: codebuild.CfnProject.ProjectFleetProperty = {
  fleetArn: 'fleetArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codebuild as codebuild

project_fleet_property = codebuild.CfnProject.ProjectFleetProperty(
    fleet_arn="fleetArn"
)
```

Java:

```java
// 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.*;

ProjectFleetProperty projectFleetProperty = ProjectFleetProperty.builder()
        .fleetArn("fleetArn")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeBuild;

var projectFleetProperty = new ProjectFleetProperty {
    FleetArn = "fleetArn"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

projectFleetProperty := &ProjectFleetProperty{
	FleetArn: jsii.String("fleetArn"),
}
```

## Properties

- `fleetArn`: string — Specifies the compute fleet ARN for the build project.
