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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forFleetAttributes
static final class
An implementation forFleetAttributes
-
Method Summary
Modifier and TypeMethodDescriptionstatic FleetAttributes.Builder
builder()
default String
(experimental) The ARN of the fleet.default String
(experimental) The identifier of the fleet.default IRole
getRole()
(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
fleetArn
andfleetId
must be provided.Default: derived from `fleetId`.
-
getFleetId
(experimental) The identifier of the fleet.At least one of
fleetId
andfleetArn
must 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.Builder
ofFleetAttributes
-