Class FleetAttributes
(experimental) A full specification of a fleet that can be used to import it fluently into the CDK application.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.GameLift.Alpha
Assembly: Amazon.CDK.AWS.GameLift.Alpha.dll
Syntax (csharp)
public class FleetAttributes : IFleetAttributes
Syntax (vb)
Public Class FleetAttributes Implements IFleetAttributes
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift.Alpha;
using Amazon.CDK.AWS.IAM;
Role role;
var fleetAttributes = new FleetAttributes {
FleetArn = "fleetArn",
FleetId = "fleetId",
Role = role
};
Synopsis
Constructors
| FleetAttributes() | (experimental) A full specification of a fleet that can be used to import it fluently into the CDK application. |
Properties
| FleetArn | (experimental) The ARN of the fleet. |
| FleetId | (experimental) The identifier of the fleet. |
| Role | (experimental) The IAM role assumed by GameLift fleet instances to access AWS ressources. |
Constructors
FleetAttributes()
(experimental) A full specification of a fleet that can be used to import it fluently into the CDK application.
public FleetAttributes()
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift.Alpha;
using Amazon.CDK.AWS.IAM;
Role role;
var fleetAttributes = new FleetAttributes {
FleetArn = "fleetArn",
FleetId = "fleetId",
Role = role
};
Properties
FleetArn
(experimental) The ARN of the fleet.
public string? FleetArn { get; set; }
Property Value
Remarks
At least one of fleetArn and fleetId must be provided.
Default: - derived from fleetId.
Stability: Experimental
FleetId
(experimental) The identifier of the fleet.
public string? FleetId { get; set; }
Property Value
Remarks
At least one of fleetId and fleetArn must be provided.
Default: - derived from fleetArn.
Stability: Experimental
Role
(experimental) The IAM role assumed by GameLift fleet instances to access AWS ressources.
public IRole? Role { get; set; }
Property Value
Remarks
Default: - the imported fleet cannot be granted access to other resources as an iam.IGrantable.
Stability: Experimental