FleetAttributes
- class aws_cdk.aws_gamelift_alpha.FleetAttributes(*, fleet_arn=None, fleet_id=None, role=None)
Bases:
object(experimental) A full specification of a fleet that can be used to import it fluently into the CDK application.
- Parameters:
fleet_arn (
Optional[str]) – (experimental) The ARN of the fleet. At least one offleetArnandfleetIdmust be provided. Default: derived fromfleetId.fleet_id (
Optional[str]) – (experimental) The identifier of the fleet. At least one offleetIdandfleetArnmust be provided. Default: derived fromfleetArn.role (
Optional[IRole]) – (experimental) The IAM role assumed by GameLift fleet instances to access AWS ressources. Default: the imported fleet cannot be granted access to other resources as aniam.IGrantable.
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_gamelift_alpha as gamelift_alpha from aws_cdk import aws_iam as iam # role: iam.Role fleet_attributes = gamelift_alpha.FleetAttributes( fleet_arn="fleetArn", fleet_id="fleetId", role=role )
Attributes
- fleet_arn
(experimental) The ARN of the fleet.
At least one of
fleetArnandfleetIdmust be provided.- Default:
derived from
fleetId.- Stability:
experimental
- fleet_id
(experimental) The identifier of the fleet.
At least one of
fleetIdandfleetArnmust be provided.- Default:
derived from
fleetArn.- Stability:
experimental
- role
(experimental) 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.- Stability:
experimental