Interface FleetAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FleetAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:41:04.774Z")
@Stability(Experimental)
public interface FleetAttributes
extends software.amazon.jsii.JsiiSerializable
(experimental) 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 software.amazon.awscdk.services.gamelift.alpha.*;
import software.amazon.awscdk.services.iam.*;
Role role;
FleetAttributes fleetAttributes = FleetAttributes.builder()
.fleetArn("fleetArn")
.fleetId("fleetId")
.role(role)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forFleetAttributesstatic final classAn implementation forFleetAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic FleetAttributes.Builderbuilder()default String(experimental) The ARN of the fleet.default String(experimental) The identifier of the fleet.default IRolegetRole()(experimental) The IAM role assumed by GameLift fleet instances to access AWS ressources.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFleetArn
(experimental) The ARN of the fleet.At least one of
fleetArnandfleetIdmust be provided.Default: derived from `fleetId`.
-
getFleetId
(experimental) The identifier of the fleet.At least one of
fleetIdandfleetArnmust be provided.Default: derived from `fleetArn`.
-
getRole
(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`.
-
builder
- Returns:
- a
FleetAttributes.BuilderofFleetAttributes
-