> **Experimental**
>
> `@aws-cdk/aws-gamelift-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# FleetAttributes

A full specification of a fleet that can be used to import it fluently into the CDK application.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/fleet-base.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0-alpha.0/packages/@aws-cdk/aws-gamelift-alpha/lib/fleet-base.ts#L380)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as gamelift_alpha from '@aws-cdk/aws-gamelift-alpha';
import { aws_iam as iam } from 'aws-cdk-lib';

declare const role: iam.Role;
const fleetAttributes: gamelift_alpha.FleetAttributes = {
  fleetArn: 'fleetArn',
  fleetId: 'fleetId',
  role: role,
};
```

## Properties

- `fleetArn`: string — The ARN of the fleet.

  **Default:** derived from `fleetId`.

  At least one of `fleetArn` and `fleetId` must be provided.

- `fleetId`: string — The identifier of the fleet.

  **Default:** derived from `fleetArn`.

  At least one of `fleetId` and `fleetArn`  must be provided.

- `role`: [IRole](/cdk/api/v2/docs/aws-cdk-lib.aws_iam.IRole.html) — The IAM role assumed by GameLift fleet instances to access AWS ressources.

  **Default:** the imported fleet cannot be granted access to other resources as an `iam.IGrantable`.
