FleetArgs

data class FleetArgs(val computeCapacity: Output<FleetComputeCapacityArgs>? = null, val description: Output<String>? = null, val disconnectTimeoutInSeconds: Output<Int>? = null, val displayName: Output<String>? = null, val domainJoinInfo: Output<FleetDomainJoinInfoArgs>? = null, val enableDefaultInternetAccess: Output<Boolean>? = null, val fleetType: Output<String>? = null, val iamRoleArn: Output<String>? = null, val idleDisconnectTimeoutInSeconds: Output<Int>? = null, val imageArn: Output<String>? = null, val imageName: Output<String>? = null, val instanceType: Output<String>? = null, val maxUserDurationInSeconds: Output<Int>? = null, val name: Output<String>? = null, val streamView: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val vpcConfig: Output<FleetVpcConfigArgs>? = null) : ConvertibleToJava<FleetArgs>

Provides an AppStream fleet.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appstream.Fleet;
import com.pulumi.aws.appstream.FleetArgs;
import com.pulumi.aws.appstream.inputs.FleetComputeCapacityArgs;
import com.pulumi.aws.appstream.inputs.FleetVpcConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testFleet = new Fleet("testFleet", FleetArgs.builder()
.computeCapacity(FleetComputeCapacityArgs.builder()
.desiredInstances(1)
.build())
.description("test fleet")
.displayName("test-fleet")
.enableDefaultInternetAccess(false)
.fleetType("ON_DEMAND")
.idleDisconnectTimeoutInSeconds(60)
.imageName("Amazon-AppStream2-Sample-Image-02-04-2019")
.instanceType("stream.standard.large")
.maxUserDurationInSeconds(600)
.tags(Map.of("TagName", "tag-value"))
.vpcConfig(FleetVpcConfigArgs.builder()
.subnetIds("subnet-06e9b13400c225127")
.build())
.build());
}
}

Import

aws_appstream_fleet can be imported using the id, e.g.,

$ pulumi import aws:appstream/fleet:Fleet example fleetNameExample

Constructors

Link copied to clipboard
constructor(computeCapacity: Output<FleetComputeCapacityArgs>? = null, description: Output<String>? = null, disconnectTimeoutInSeconds: Output<Int>? = null, displayName: Output<String>? = null, domainJoinInfo: Output<FleetDomainJoinInfoArgs>? = null, enableDefaultInternetAccess: Output<Boolean>? = null, fleetType: Output<String>? = null, iamRoleArn: Output<String>? = null, idleDisconnectTimeoutInSeconds: Output<Int>? = null, imageArn: Output<String>? = null, imageName: Output<String>? = null, instanceType: Output<String>? = null, maxUserDurationInSeconds: Output<Int>? = null, name: Output<String>? = null, streamView: Output<String>? = null, tags: Output<Map<String, String>>? = null, vpcConfig: Output<FleetVpcConfigArgs>? = null)

Properties

Link copied to clipboard

Configuration block for the desired capacity of the fleet. See below.

Link copied to clipboard
val description: Output<String>? = null

Description to display.

Link copied to clipboard
val disconnectTimeoutInSeconds: Output<Int>? = null

Amount of time that a streaming session remains active after users disconnect.

Link copied to clipboard
val displayName: Output<String>? = null

Human-readable friendly name for the AppStream fleet.

Link copied to clipboard

Configuration block for the name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. See below.

Link copied to clipboard

Enables or disables default internet access for the fleet.

Link copied to clipboard
val fleetType: Output<String>? = null

Fleet type. Valid values are: ON_DEMAND, ALWAYS_ON

Link copied to clipboard
val iamRoleArn: Output<String>? = null

ARN of the IAM role to apply to the fleet.

Link copied to clipboard
val idleDisconnectTimeoutInSeconds: Output<Int>? = null

Amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect_timeout_in_seconds time interval begins.

Link copied to clipboard
val imageArn: Output<String>? = null

ARN of the public, private, or shared image to use.

Link copied to clipboard
val imageName: Output<String>? = null

Name of the image used to create the fleet.

Link copied to clipboard
val instanceType: Output<String>? = null

Instance type to use when launching fleet instances.

Link copied to clipboard
val maxUserDurationInSeconds: Output<Int>? = null

Maximum amount of time that a streaming session can remain active, in seconds.

Link copied to clipboard
val name: Output<String>? = null

Unique name for the fleet. The following arguments are optional:

Link copied to clipboard
val streamView: Output<String>? = null

AppStream 2.0 view that is displayed to your users when they stream from the fleet. When APP is specified, only the windows of applications opened by users display. When DESKTOP is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults to APP.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Map of tags to attach to AppStream instances.

Link copied to clipboard
val vpcConfig: Output<FleetVpcConfigArgs>? = null

Configuration block for the VPC configuration for the image builder. See below.

Functions

Link copied to clipboard
open override fun toJava(): FleetArgs