@aws-cdk_aws-gamelift-alpha.FleetAttributes

interface FleetAttributes ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.GameLift.Alpha.FleetAttributes
Gogithub.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#FleetAttributes
Javasoftware.amazon.awscdk.services.gamelift.alpha.FleetAttributes
Pythonaws_cdk.aws_gamelift_alpha.FleetAttributes
TypeScript (source)@aws-cdk/aws-gamelift-alpha ยป FleetAttributes

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

Example

// 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

NameTypeDescription
fleetArn?๐Ÿ”นstringThe ARN of the fleet.
fleetId?๐Ÿ”นstringThe identifier of the fleet.
role?๐Ÿ”นIRoleThe IAM role assumed by GameLift fleet instances to access AWS ressources.

fleetArn?๐Ÿ”น

Type: string (optional, default: derived from fleetId.)

The ARN of the fleet.

At least one of fleetArn and fleetId must be provided.


fleetId?๐Ÿ”น

Type: string (optional, default: derived from fleetArn.)

The identifier of the fleet.

At least one of fleetId and fleetArn must be provided.


role?๐Ÿ”น

Type: IRole (optional, default: the imported fleet cannot be granted access to other resources as an iam.IGrantable.)

The IAM role assumed by GameLift fleet instances to access AWS ressources.