EC2FleetReference Struct
A reference to a EC2Fleet resource.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const eC2FleetReference: interfaces_ec2.EC2FleetReference = {
fleetId: 'fleetId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_ec2 as interfaces_ec2
e_c2_fleet_reference = interfaces_ec2.EC2FleetReference(
fleet_id="fleetId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.ec2.*;
EC2FleetReference eC2FleetReference = EC2FleetReference.builder()
.fleetId("fleetId")
.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.Interfaces.EC2;
var eC2FleetReference = new EC2FleetReference {
FleetId = "fleetId"
};
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"
eC2FleetReference := &EC2FleetReference{
FleetId: jsii.String("fleetId"),
}
Properties
The FleetId of the EC2Fleet resource.