All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.gamelift.alpha.FleetBase Maven / Gradle / Ivy

There is a newer version: 2.170.0-alpha.0
Show newest version
package software.amazon.awscdk.services.gamelift.alpha;

/**
 * (experimental) Base class for new and imported GameLift fleet.
 * 

* 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;
 * IFleet fleetBase = FleetBase.fromFleetAttributes(this, "MyFleetBase", FleetAttributes.builder()
 *         .fleetArn("fleetArn")
 *         .fleetId("fleetId")
 *         .role(role)
 *         .build());
 * 
*/ @javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-12-27T17:02:12.097Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.gamelift.alpha.$Module.class, fqn = "@aws-cdk/aws-gamelift-alpha.FleetBase") public abstract class FleetBase extends software.amazon.awscdk.Resource implements software.amazon.awscdk.services.gamelift.alpha.IFleet { protected FleetBase(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected FleetBase(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } /** * @param scope This parameter is required. * @param id This parameter is required. * @param props */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) protected FleetBase(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.Nullable software.amazon.awscdk.ResourceProps props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), props }); } /** * @param scope This parameter is required. * @param id This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) protected FleetBase(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required") }); } /** * (experimental) Import an existing fleet from its attributes. *

* @param scope This parameter is required. * @param id This parameter is required. * @param attrs This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.gamelift.alpha.IFleet fromFleetAttributes(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.gamelift.alpha.FleetAttributes attrs) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.gamelift.alpha.FleetBase.class, "fromFleetAttributes", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.gamelift.alpha.IFleet.class), new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(attrs, "attrs is required") }); } /** * (experimental) Defines an alias for this fleet. *

*

     * FleetBase fleet;
     * fleet.addAlias("Live");
     * // Is equivalent to
     * // Is equivalent to
     * Alias.Builder.create(this, "AliasLive")
     *         .aliasName("Live")
     *         .fleet(fleet)
     *         .build();
     * 
*

* @param aliasName The name of the alias. This parameter is required. * @param options Alias options. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.gamelift.alpha.Alias addAlias(final @org.jetbrains.annotations.NotNull java.lang.String aliasName, final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.gamelift.alpha.AliasOptions options) { return software.amazon.jsii.Kernel.call(this, "addAlias", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.gamelift.alpha.Alias.class), new Object[] { java.util.Objects.requireNonNull(aliasName, "aliasName is required"), options }); } /** * (experimental) Defines an alias for this fleet. *

*

     * FleetBase fleet;
     * fleet.addAlias("Live");
     * // Is equivalent to
     * // Is equivalent to
     * Alias.Builder.create(this, "AliasLive")
     *         .aliasName("Live")
     *         .fleet(fleet)
     *         .build();
     * 
*

* @param aliasName The name of the alias. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.gamelift.alpha.Alias addAlias(final @org.jetbrains.annotations.NotNull java.lang.String aliasName) { return software.amazon.jsii.Kernel.call(this, "addAlias", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.gamelift.alpha.Alias.class), new Object[] { java.util.Objects.requireNonNull(aliasName, "aliasName is required") }); } /** * (experimental) Adds a remote locations to deploy additional instances to and manage as part of the fleet. *

* @param location The location to add. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void addInternalLocation(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.gamelift.alpha.Location location) { software.amazon.jsii.Kernel.call(this, "addInternalLocation", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(location, "location is required") }); } /** * (experimental) Adds a remote locations to deploy additional instances to and manage as part of the fleet. *

* @param region The AWS region to add. This parameter is required. * @param desiredCapacity * @param minSize * @param maxSize */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void addLocation(final @org.jetbrains.annotations.NotNull java.lang.String region, final @org.jetbrains.annotations.Nullable java.lang.Number desiredCapacity, final @org.jetbrains.annotations.Nullable java.lang.Number minSize, final @org.jetbrains.annotations.Nullable java.lang.Number maxSize) { software.amazon.jsii.Kernel.call(this, "addLocation", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(region, "region is required"), desiredCapacity, minSize, maxSize }); } /** * (experimental) Adds a remote locations to deploy additional instances to and manage as part of the fleet. *

* @param region The AWS region to add. This parameter is required. * @param desiredCapacity * @param minSize */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void addLocation(final @org.jetbrains.annotations.NotNull java.lang.String region, final @org.jetbrains.annotations.Nullable java.lang.Number desiredCapacity, final @org.jetbrains.annotations.Nullable java.lang.Number minSize) { software.amazon.jsii.Kernel.call(this, "addLocation", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(region, "region is required"), desiredCapacity, minSize }); } /** * (experimental) Adds a remote locations to deploy additional instances to and manage as part of the fleet. *

* @param region The AWS region to add. This parameter is required. * @param desiredCapacity */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void addLocation(final @org.jetbrains.annotations.NotNull java.lang.String region, final @org.jetbrains.annotations.Nullable java.lang.Number desiredCapacity) { software.amazon.jsii.Kernel.call(this, "addLocation", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(region, "region is required"), desiredCapacity }); } /** * (experimental) Adds a remote locations to deploy additional instances to and manage as part of the fleet. *

* @param region The AWS region to add. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void addLocation(final @org.jetbrains.annotations.NotNull java.lang.String region) { software.amazon.jsii.Kernel.call(this, "addLocation", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(region, "region is required") }); } /** * (experimental) Grant the grantee identity permissions to perform actions. *

* @param grantee This parameter is required. * @param actions This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.iam.Grant grant(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.iam.IGrantable grantee, final @org.jetbrains.annotations.NotNull java.lang.String... actions) { return software.amazon.jsii.Kernel.call(this, "grant", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.iam.Grant.class), java.util.stream.Stream.concat(java.util.Arrays.stream(new Object[] { java.util.Objects.requireNonNull(grantee, "grantee is required") }), java.util.Arrays.stream(actions)).toArray(Object[]::new)); } /** * (experimental) Return the given named metric for this fleet. *

* @param metricName This parameter is required. * @param props */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metric(final @org.jetbrains.annotations.NotNull java.lang.String metricName, final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props) { return software.amazon.jsii.Kernel.call(this, "metric", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class), new Object[] { java.util.Objects.requireNonNull(metricName, "metricName is required"), props }); } /** * (experimental) Return the given named metric for this fleet. *

* @param metricName This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metric(final @org.jetbrains.annotations.NotNull java.lang.String metricName) { return software.amazon.jsii.Kernel.call(this, "metric", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class), new Object[] { java.util.Objects.requireNonNull(metricName, "metricName is required") }); } /** * (experimental) Instances with ACTIVE status, which means they are running active server processes. *

* The count includes idle instances and those that are hosting one or more game sessions. * This metric measures current total instance capacity. *

* This metric can be used with automatic scaling. *

* @param props */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metricActiveInstances(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props) { return software.amazon.jsii.Kernel.call(this, "metricActiveInstances", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class), new Object[] { props }); } /** * (experimental) Instances with ACTIVE status, which means they are running active server processes. *

* The count includes idle instances and those that are hosting one or more game sessions. * This metric measures current total instance capacity. *

* This metric can be used with automatic scaling. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metricActiveInstances() { return software.amazon.jsii.Kernel.call(this, "metricActiveInstances", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class)); } /** * (experimental) Target number of active instances that GameLift is working to maintain in the fleet. *

* With automatic scaling, this value is determined based on the scaling policies currently in force. * Without automatic scaling, this value is set manually. * This metric is not available when viewing data for fleet metric groups. *

* @param props */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metricDesiredInstances(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props) { return software.amazon.jsii.Kernel.call(this, "metricDesiredInstances", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class), new Object[] { props }); } /** * (experimental) Target number of active instances that GameLift is working to maintain in the fleet. *

* With automatic scaling, this value is determined based on the scaling policies currently in force. * Without automatic scaling, this value is set manually. * This metric is not available when viewing data for fleet metric groups. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metricDesiredInstances() { return software.amazon.jsii.Kernel.call(this, "metricDesiredInstances", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class)); } /** * (experimental) Active instances that are currently hosting zero (0) game sessions. *

* This metric measures capacity that is available but unused. * This metric can be used with automatic scaling. *

* @param props */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metricIdleInstances(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props) { return software.amazon.jsii.Kernel.call(this, "metricIdleInstances", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class), new Object[] { props }); } /** * (experimental) Active instances that are currently hosting zero (0) game sessions. *

* This metric measures capacity that is available but unused. * This metric can be used with automatic scaling. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metricIdleInstances() { return software.amazon.jsii.Kernel.call(this, "metricIdleInstances", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class)); } /** * (experimental) Number of spot instances that have been interrupted. *

* @param props */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metricInstanceInterruptions(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props) { return software.amazon.jsii.Kernel.call(this, "metricInstanceInterruptions", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class), new Object[] { props }); } /** * (experimental) Number of spot instances that have been interrupted. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metricInstanceInterruptions() { return software.amazon.jsii.Kernel.call(this, "metricInstanceInterruptions", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class)); } /** * (experimental) Maximum number of instances that are allowed for the fleet. *

* A fleet's instance maximum determines the capacity ceiling during manual or automatic scaling up. * This metric is not available when viewing data for fleet metric groups. *

* @param props */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metricMaxInstances(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props) { return software.amazon.jsii.Kernel.call(this, "metricMaxInstances", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class), new Object[] { props }); } /** * (experimental) Maximum number of instances that are allowed for the fleet. *

* A fleet's instance maximum determines the capacity ceiling during manual or automatic scaling up. * This metric is not available when viewing data for fleet metric groups. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metricMaxInstances() { return software.amazon.jsii.Kernel.call(this, "metricMaxInstances", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class)); } /** * (experimental) Minimum number of instances allowed for the fleet. *

* A fleet's instance minimum determines the capacity floor during manual or automatic scaling down. * This metric is not available when viewing data for fleet metric groups. *

* @param props */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metricMinInstances(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props) { return software.amazon.jsii.Kernel.call(this, "metricMinInstances", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class), new Object[] { props }); } /** * (experimental) Minimum number of instances allowed for the fleet. *

* A fleet's instance minimum determines the capacity floor during manual or automatic scaling down. * This metric is not available when viewing data for fleet metric groups. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metricMinInstances() { return software.amazon.jsii.Kernel.call(this, "metricMinInstances", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class)); } /** * (experimental) Percentage of all active instances that are idle (calculated as IdleInstances / ActiveInstances). *

* This metric can be used for automatic scaling. *

* @param props */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metricPercentIdleInstances(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props) { return software.amazon.jsii.Kernel.call(this, "metricPercentIdleInstances", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class), new Object[] { props }); } /** * (experimental) Percentage of all active instances that are idle (calculated as IdleInstances / ActiveInstances). *

* This metric can be used for automatic scaling. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.Metric metricPercentIdleInstances() { return software.amazon.jsii.Kernel.call(this, "metricPercentIdleInstances", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Metric.class)); } /** * @param capacity */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.gamelift.CfnFleet.LocationCapacityProperty parseLocationCapacity(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.gamelift.alpha.LocationCapacity capacity) { return software.amazon.jsii.Kernel.call(this, "parseLocationCapacity", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.gamelift.CfnFleet.LocationCapacityProperty.class), new Object[] { capacity }); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.gamelift.CfnFleet.LocationCapacityProperty parseLocationCapacity() { return software.amazon.jsii.Kernel.call(this, "parseLocationCapacity", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.gamelift.CfnFleet.LocationCapacityProperty.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected @org.jetbrains.annotations.Nullable java.util.List parseLocations() { return java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.Kernel.call(this, "parseLocations", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.gamelift.CfnFleet.LocationConfigurationProperty.class))))).map(java.util.Collections::unmodifiableList).orElse(null); } /** * @param props This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.gamelift.CfnFleet.ResourceCreationLimitPolicyProperty parseResourceCreationLimitPolicy(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.gamelift.alpha.FleetProps props) { return software.amazon.jsii.Kernel.call(this, "parseResourceCreationLimitPolicy", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.gamelift.CfnFleet.ResourceCreationLimitPolicyProperty.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") }); } /** * @param props This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.gamelift.CfnFleet.RuntimeConfigurationProperty parseRuntimeConfiguration(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.gamelift.alpha.FleetProps props) { return software.amazon.jsii.Kernel.call(this, "parseRuntimeConfiguration", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.gamelift.CfnFleet.RuntimeConfigurationProperty.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") }); } /** * @param scope This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected void warnVpcPeeringAuthorizations(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope) { software.amazon.jsii.Kernel.call(this, "warnVpcPeeringAuthorizations", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required") }); } /** * (experimental) The ARN of the fleet. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public abstract @org.jetbrains.annotations.NotNull java.lang.String getFleetArn(); /** * (experimental) The Identifier of the fleet. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public abstract @org.jetbrains.annotations.NotNull java.lang.String getFleetId(); /** * (experimental) The principal this GameLift fleet is using. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public abstract @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.iam.IPrincipal getGrantPrincipal(); /** * (experimental) The ARN to put into the destination field of a game session queue. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getResourceArnForDestination() { return software.amazon.jsii.Kernel.get(this, "resourceArnForDestination", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * A proxy class which represents a concrete javascript instance of this type. */ @software.amazon.jsii.Internal private static final class Jsii$Proxy extends software.amazon.awscdk.services.gamelift.alpha.FleetBase implements software.amazon.awscdk.services.gamelift.alpha.IFleet.Jsii$Default, software.amazon.awscdk.IResource.Jsii$Default, software.constructs.IConstruct.Jsii$Default { protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } /** * (experimental) The ARN of the fleet. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final @org.jetbrains.annotations.NotNull java.lang.String getFleetArn() { return software.amazon.jsii.Kernel.get(this, "fleetArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * (experimental) The Identifier of the fleet. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final @org.jetbrains.annotations.NotNull java.lang.String getFleetId() { return software.amazon.jsii.Kernel.get(this, "fleetId", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * (experimental) The principal this GameLift fleet is using. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.iam.IPrincipal getGrantPrincipal() { return software.amazon.jsii.Kernel.get(this, "grantPrincipal", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.iam.IPrincipal.class)); } } }