ProjectFleetProperty Struct
Information about the compute fleet of the build project.
For more information, see Working with reserved capacity in AWS CodeBuild .
Example
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
# 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
// 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();
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"
};
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
fleetArnoptionalstringfleet_arnoptionalstrfleetArnoptionalStringFleetArnoptionalstringFleetArnoptional*string#Specifies the compute fleet ARN for the build project.