Interface FleetAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
FleetAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-25T14:21:25.728Z") @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();
 
  • Method Details

    • getFleetArn

      @Stability(Experimental) @Nullable default String getFleetArn()
      (experimental) The ARN of the fleet.

      At least one of fleetArn and fleetId must be provided.

      Default: derived from `fleetId`.

    • getFleetId

      @Stability(Experimental) @Nullable default String getFleetId()
      (experimental) The identifier of the fleet.

      At least one of fleetId and fleetArn must be provided.

      Default: derived from `fleetArn`.

    • getRole

      @Stability(Experimental) @Nullable default IRole 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

      @Stability(Experimental) static FleetAttributes.Builder builder()
      Returns:
      a FleetAttributes.Builder of FleetAttributes