aws.appstream.Fleet
Explore with Pulumi AI
Provides an AppStream fleet.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const testFleet = new aws.appstream.Fleet("test_fleet", {
name: "test-fleet",
computeCapacity: {
desiredInstances: 1,
},
description: "test fleet",
idleDisconnectTimeoutInSeconds: 60,
displayName: "test-fleet",
enableDefaultInternetAccess: false,
fleetType: "ON_DEMAND",
imageName: "Amazon-AppStream2-Sample-Image-03-11-2023",
instanceType: "stream.standard.large",
maxUserDurationInSeconds: 600,
vpcConfig: {
subnetIds: ["subnet-06e9b13400c225127"],
},
tags: {
TagName: "tag-value",
},
});
import pulumi
import pulumi_aws as aws
test_fleet = aws.appstream.Fleet("test_fleet",
name="test-fleet",
compute_capacity={
"desired_instances": 1,
},
description="test fleet",
idle_disconnect_timeout_in_seconds=60,
display_name="test-fleet",
enable_default_internet_access=False,
fleet_type="ON_DEMAND",
image_name="Amazon-AppStream2-Sample-Image-03-11-2023",
instance_type="stream.standard.large",
max_user_duration_in_seconds=600,
vpc_config={
"subnet_ids": ["subnet-06e9b13400c225127"],
},
tags={
"TagName": "tag-value",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appstream"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appstream.NewFleet(ctx, "test_fleet", &appstream.FleetArgs{
Name: pulumi.String("test-fleet"),
ComputeCapacity: &appstream.FleetComputeCapacityArgs{
DesiredInstances: pulumi.Int(1),
},
Description: pulumi.String("test fleet"),
IdleDisconnectTimeoutInSeconds: pulumi.Int(60),
DisplayName: pulumi.String("test-fleet"),
EnableDefaultInternetAccess: pulumi.Bool(false),
FleetType: pulumi.String("ON_DEMAND"),
ImageName: pulumi.String("Amazon-AppStream2-Sample-Image-03-11-2023"),
InstanceType: pulumi.String("stream.standard.large"),
MaxUserDurationInSeconds: pulumi.Int(600),
VpcConfig: &appstream.FleetVpcConfigArgs{
SubnetIds: pulumi.StringArray{
pulumi.String("subnet-06e9b13400c225127"),
},
},
Tags: pulumi.StringMap{
"TagName": pulumi.String("tag-value"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var testFleet = new Aws.AppStream.Fleet("test_fleet", new()
{
Name = "test-fleet",
ComputeCapacity = new Aws.AppStream.Inputs.FleetComputeCapacityArgs
{
DesiredInstances = 1,
},
Description = "test fleet",
IdleDisconnectTimeoutInSeconds = 60,
DisplayName = "test-fleet",
EnableDefaultInternetAccess = false,
FleetType = "ON_DEMAND",
ImageName = "Amazon-AppStream2-Sample-Image-03-11-2023",
InstanceType = "stream.standard.large",
MaxUserDurationInSeconds = 600,
VpcConfig = new Aws.AppStream.Inputs.FleetVpcConfigArgs
{
SubnetIds = new[]
{
"subnet-06e9b13400c225127",
},
},
Tags =
{
{ "TagName", "tag-value" },
},
});
});
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()
.name("test-fleet")
.computeCapacity(FleetComputeCapacityArgs.builder()
.desiredInstances(1)
.build())
.description("test fleet")
.idleDisconnectTimeoutInSeconds(60)
.displayName("test-fleet")
.enableDefaultInternetAccess(false)
.fleetType("ON_DEMAND")
.imageName("Amazon-AppStream2-Sample-Image-03-11-2023")
.instanceType("stream.standard.large")
.maxUserDurationInSeconds(600)
.vpcConfig(FleetVpcConfigArgs.builder()
.subnetIds("subnet-06e9b13400c225127")
.build())
.tags(Map.of("TagName", "tag-value"))
.build());
}
}
resources:
testFleet:
type: aws:appstream:Fleet
name: test_fleet
properties:
name: test-fleet
computeCapacity:
desiredInstances: 1
description: test fleet
idleDisconnectTimeoutInSeconds: 60
displayName: test-fleet
enableDefaultInternetAccess: false
fleetType: ON_DEMAND
imageName: Amazon-AppStream2-Sample-Image-03-11-2023
instanceType: stream.standard.large
maxUserDurationInSeconds: 600
vpcConfig:
subnetIds:
- subnet-06e9b13400c225127
tags:
TagName: tag-value
Create Fleet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Fleet(name: string, args: FleetArgs, opts?: CustomResourceOptions);
@overload
def Fleet(resource_name: str,
args: FleetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Fleet(resource_name: str,
opts: Optional[ResourceOptions] = None,
compute_capacity: Optional[FleetComputeCapacityArgs] = None,
instance_type: Optional[str] = None,
idle_disconnect_timeout_in_seconds: Optional[int] = None,
image_arn: Optional[str] = None,
domain_join_info: Optional[FleetDomainJoinInfoArgs] = None,
enable_default_internet_access: Optional[bool] = None,
fleet_type: Optional[str] = None,
iam_role_arn: Optional[str] = None,
disconnect_timeout_in_seconds: Optional[int] = None,
display_name: Optional[str] = None,
image_name: Optional[str] = None,
description: Optional[str] = None,
max_sessions_per_instance: Optional[int] = None,
max_user_duration_in_seconds: Optional[int] = None,
name: Optional[str] = None,
stream_view: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
vpc_config: Optional[FleetVpcConfigArgs] = None)
func NewFleet(ctx *Context, name string, args FleetArgs, opts ...ResourceOption) (*Fleet, error)
public Fleet(string name, FleetArgs args, CustomResourceOptions? opts = null)
type: aws:appstream:Fleet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var fleetResource = new Aws.AppStream.Fleet("fleetResource", new()
{
ComputeCapacity = new Aws.AppStream.Inputs.FleetComputeCapacityArgs
{
Available = 0,
DesiredInstances = 0,
DesiredSessions = 0,
InUse = 0,
Running = 0,
},
InstanceType = "string",
IdleDisconnectTimeoutInSeconds = 0,
ImageArn = "string",
DomainJoinInfo = new Aws.AppStream.Inputs.FleetDomainJoinInfoArgs
{
DirectoryName = "string",
OrganizationalUnitDistinguishedName = "string",
},
EnableDefaultInternetAccess = false,
FleetType = "string",
IamRoleArn = "string",
DisconnectTimeoutInSeconds = 0,
DisplayName = "string",
ImageName = "string",
Description = "string",
MaxSessionsPerInstance = 0,
MaxUserDurationInSeconds = 0,
Name = "string",
StreamView = "string",
Tags =
{
{ "string", "string" },
},
VpcConfig = new Aws.AppStream.Inputs.FleetVpcConfigArgs
{
SecurityGroupIds = new[]
{
"string",
},
SubnetIds = new[]
{
"string",
},
},
});
example, err := appstream.NewFleet(ctx, "fleetResource", &appstream.FleetArgs{
ComputeCapacity: &appstream.FleetComputeCapacityArgs{
Available: pulumi.Int(0),
DesiredInstances: pulumi.Int(0),
DesiredSessions: pulumi.Int(0),
InUse: pulumi.Int(0),
Running: pulumi.Int(0),
},
InstanceType: pulumi.String("string"),
IdleDisconnectTimeoutInSeconds: pulumi.Int(0),
ImageArn: pulumi.String("string"),
DomainJoinInfo: &appstream.FleetDomainJoinInfoArgs{
DirectoryName: pulumi.String("string"),
OrganizationalUnitDistinguishedName: pulumi.String("string"),
},
EnableDefaultInternetAccess: pulumi.Bool(false),
FleetType: pulumi.String("string"),
IamRoleArn: pulumi.String("string"),
DisconnectTimeoutInSeconds: pulumi.Int(0),
DisplayName: pulumi.String("string"),
ImageName: pulumi.String("string"),
Description: pulumi.String("string"),
MaxSessionsPerInstance: pulumi.Int(0),
MaxUserDurationInSeconds: pulumi.Int(0),
Name: pulumi.String("string"),
StreamView: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
VpcConfig: &appstream.FleetVpcConfigArgs{
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
},
})
var fleetResource = new Fleet("fleetResource", FleetArgs.builder()
.computeCapacity(FleetComputeCapacityArgs.builder()
.available(0)
.desiredInstances(0)
.desiredSessions(0)
.inUse(0)
.running(0)
.build())
.instanceType("string")
.idleDisconnectTimeoutInSeconds(0)
.imageArn("string")
.domainJoinInfo(FleetDomainJoinInfoArgs.builder()
.directoryName("string")
.organizationalUnitDistinguishedName("string")
.build())
.enableDefaultInternetAccess(false)
.fleetType("string")
.iamRoleArn("string")
.disconnectTimeoutInSeconds(0)
.displayName("string")
.imageName("string")
.description("string")
.maxSessionsPerInstance(0)
.maxUserDurationInSeconds(0)
.name("string")
.streamView("string")
.tags(Map.of("string", "string"))
.vpcConfig(FleetVpcConfigArgs.builder()
.securityGroupIds("string")
.subnetIds("string")
.build())
.build());
fleet_resource = aws.appstream.Fleet("fleetResource",
compute_capacity={
"available": 0,
"desiredInstances": 0,
"desiredSessions": 0,
"inUse": 0,
"running": 0,
},
instance_type="string",
idle_disconnect_timeout_in_seconds=0,
image_arn="string",
domain_join_info={
"directoryName": "string",
"organizationalUnitDistinguishedName": "string",
},
enable_default_internet_access=False,
fleet_type="string",
iam_role_arn="string",
disconnect_timeout_in_seconds=0,
display_name="string",
image_name="string",
description="string",
max_sessions_per_instance=0,
max_user_duration_in_seconds=0,
name="string",
stream_view="string",
tags={
"string": "string",
},
vpc_config={
"securityGroupIds": ["string"],
"subnetIds": ["string"],
})
const fleetResource = new aws.appstream.Fleet("fleetResource", {
computeCapacity: {
available: 0,
desiredInstances: 0,
desiredSessions: 0,
inUse: 0,
running: 0,
},
instanceType: "string",
idleDisconnectTimeoutInSeconds: 0,
imageArn: "string",
domainJoinInfo: {
directoryName: "string",
organizationalUnitDistinguishedName: "string",
},
enableDefaultInternetAccess: false,
fleetType: "string",
iamRoleArn: "string",
disconnectTimeoutInSeconds: 0,
displayName: "string",
imageName: "string",
description: "string",
maxSessionsPerInstance: 0,
maxUserDurationInSeconds: 0,
name: "string",
streamView: "string",
tags: {
string: "string",
},
vpcConfig: {
securityGroupIds: ["string"],
subnetIds: ["string"],
},
});
type: aws:appstream:Fleet
properties:
computeCapacity:
available: 0
desiredInstances: 0
desiredSessions: 0
inUse: 0
running: 0
description: string
disconnectTimeoutInSeconds: 0
displayName: string
domainJoinInfo:
directoryName: string
organizationalUnitDistinguishedName: string
enableDefaultInternetAccess: false
fleetType: string
iamRoleArn: string
idleDisconnectTimeoutInSeconds: 0
imageArn: string
imageName: string
instanceType: string
maxSessionsPerInstance: 0
maxUserDurationInSeconds: 0
name: string
streamView: string
tags:
string: string
vpcConfig:
securityGroupIds:
- string
subnetIds:
- string
Fleet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Fleet resource accepts the following input properties:
- Compute
Capacity FleetCompute Capacity - Configuration block for the desired capacity of the fleet. See below.
- Instance
Type string - Instance type to use when launching fleet instances.
- Description string
- Description to display.
- Disconnect
Timeout intIn Seconds - Amount of time that a streaming session remains active after users disconnect.
- Display
Name string - Human-readable friendly name for the AppStream fleet.
- Domain
Join FleetInfo Domain Join Info - 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.
- Enable
Default boolInternet Access - Enables or disables default internet access for the fleet.
- Fleet
Type string - Fleet type. Valid values are:
ON_DEMAND
,ALWAYS_ON
- Iam
Role stringArn - ARN of the IAM role to apply to the fleet.
- Idle
Disconnect intTimeout In Seconds - 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. Defaults to0
. Valid value is between60
and3600
seconds. - Image
Arn string - ARN of the public, private, or shared image to use.
- Image
Name string - Name of the image used to create the fleet.
- Max
Sessions intPer Instance - The maximum number of user sessions on an instance. This only applies to multi-session fleets.
- Max
User intDuration In Seconds - Maximum amount of time that a streaming session can remain active, in seconds.
- Name string
Unique name for the fleet.
The following arguments are optional:
- Stream
View string - 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. WhenDESKTOP
is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults toAPP
. - Dictionary<string, string>
- Map of tags to attach to AppStream instances.
- Vpc
Config FleetVpc Config - Configuration block for the VPC configuration for the image builder. See below.
- Compute
Capacity FleetCompute Capacity Args - Configuration block for the desired capacity of the fleet. See below.
- Instance
Type string - Instance type to use when launching fleet instances.
- Description string
- Description to display.
- Disconnect
Timeout intIn Seconds - Amount of time that a streaming session remains active after users disconnect.
- Display
Name string - Human-readable friendly name for the AppStream fleet.
- Domain
Join FleetInfo Domain Join Info Args - 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.
- Enable
Default boolInternet Access - Enables or disables default internet access for the fleet.
- Fleet
Type string - Fleet type. Valid values are:
ON_DEMAND
,ALWAYS_ON
- Iam
Role stringArn - ARN of the IAM role to apply to the fleet.
- Idle
Disconnect intTimeout In Seconds - 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. Defaults to0
. Valid value is between60
and3600
seconds. - Image
Arn string - ARN of the public, private, or shared image to use.
- Image
Name string - Name of the image used to create the fleet.
- Max
Sessions intPer Instance - The maximum number of user sessions on an instance. This only applies to multi-session fleets.
- Max
User intDuration In Seconds - Maximum amount of time that a streaming session can remain active, in seconds.
- Name string
Unique name for the fleet.
The following arguments are optional:
- Stream
View string - 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. WhenDESKTOP
is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults toAPP
. - map[string]string
- Map of tags to attach to AppStream instances.
- Vpc
Config FleetVpc Config Args - Configuration block for the VPC configuration for the image builder. See below.
- compute
Capacity FleetCompute Capacity - Configuration block for the desired capacity of the fleet. See below.
- instance
Type String - Instance type to use when launching fleet instances.
- description String
- Description to display.
- disconnect
Timeout IntegerIn Seconds - Amount of time that a streaming session remains active after users disconnect.
- display
Name String - Human-readable friendly name for the AppStream fleet.
- domain
Join FleetInfo Domain Join Info - 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.
- enable
Default BooleanInternet Access - Enables or disables default internet access for the fleet.
- fleet
Type String - Fleet type. Valid values are:
ON_DEMAND
,ALWAYS_ON
- iam
Role StringArn - ARN of the IAM role to apply to the fleet.
- idle
Disconnect IntegerTimeout In Seconds - 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. Defaults to0
. Valid value is between60
and3600
seconds. - image
Arn String - ARN of the public, private, or shared image to use.
- image
Name String - Name of the image used to create the fleet.
- max
Sessions IntegerPer Instance - The maximum number of user sessions on an instance. This only applies to multi-session fleets.
- max
User IntegerDuration In Seconds - Maximum amount of time that a streaming session can remain active, in seconds.
- name String
Unique name for the fleet.
The following arguments are optional:
- stream
View String - 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. WhenDESKTOP
is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults toAPP
. - Map<String,String>
- Map of tags to attach to AppStream instances.
- vpc
Config FleetVpc Config - Configuration block for the VPC configuration for the image builder. See below.
- compute
Capacity FleetCompute Capacity - Configuration block for the desired capacity of the fleet. See below.
- instance
Type string - Instance type to use when launching fleet instances.
- description string
- Description to display.
- disconnect
Timeout numberIn Seconds - Amount of time that a streaming session remains active after users disconnect.
- display
Name string - Human-readable friendly name for the AppStream fleet.
- domain
Join FleetInfo Domain Join Info - 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.
- enable
Default booleanInternet Access - Enables or disables default internet access for the fleet.
- fleet
Type string - Fleet type. Valid values are:
ON_DEMAND
,ALWAYS_ON
- iam
Role stringArn - ARN of the IAM role to apply to the fleet.
- idle
Disconnect numberTimeout In Seconds - 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. Defaults to0
. Valid value is between60
and3600
seconds. - image
Arn string - ARN of the public, private, or shared image to use.
- image
Name string - Name of the image used to create the fleet.
- max
Sessions numberPer Instance - The maximum number of user sessions on an instance. This only applies to multi-session fleets.
- max
User numberDuration In Seconds - Maximum amount of time that a streaming session can remain active, in seconds.
- name string
Unique name for the fleet.
The following arguments are optional:
- stream
View string - 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. WhenDESKTOP
is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults toAPP
. - {[key: string]: string}
- Map of tags to attach to AppStream instances.
- vpc
Config FleetVpc Config - Configuration block for the VPC configuration for the image builder. See below.
- compute_
capacity FleetCompute Capacity Args - Configuration block for the desired capacity of the fleet. See below.
- instance_
type str - Instance type to use when launching fleet instances.
- description str
- Description to display.
- disconnect_
timeout_ intin_ seconds - Amount of time that a streaming session remains active after users disconnect.
- display_
name str - Human-readable friendly name for the AppStream fleet.
- domain_
join_ Fleetinfo Domain Join Info Args - 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.
- enable_
default_ boolinternet_ access - Enables or disables default internet access for the fleet.
- fleet_
type str - Fleet type. Valid values are:
ON_DEMAND
,ALWAYS_ON
- iam_
role_ strarn - ARN of the IAM role to apply to the fleet.
- idle_
disconnect_ inttimeout_ in_ seconds - 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. Defaults to0
. Valid value is between60
and3600
seconds. - image_
arn str - ARN of the public, private, or shared image to use.
- image_
name str - Name of the image used to create the fleet.
- max_
sessions_ intper_ instance - The maximum number of user sessions on an instance. This only applies to multi-session fleets.
- max_
user_ intduration_ in_ seconds - Maximum amount of time that a streaming session can remain active, in seconds.
- name str
Unique name for the fleet.
The following arguments are optional:
- stream_
view str - 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. WhenDESKTOP
is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults toAPP
. - Mapping[str, str]
- Map of tags to attach to AppStream instances.
- vpc_
config FleetVpc Config Args - Configuration block for the VPC configuration for the image builder. See below.
- compute
Capacity Property Map - Configuration block for the desired capacity of the fleet. See below.
- instance
Type String - Instance type to use when launching fleet instances.
- description String
- Description to display.
- disconnect
Timeout NumberIn Seconds - Amount of time that a streaming session remains active after users disconnect.
- display
Name String - Human-readable friendly name for the AppStream fleet.
- domain
Join Property MapInfo - 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.
- enable
Default BooleanInternet Access - Enables or disables default internet access for the fleet.
- fleet
Type String - Fleet type. Valid values are:
ON_DEMAND
,ALWAYS_ON
- iam
Role StringArn - ARN of the IAM role to apply to the fleet.
- idle
Disconnect NumberTimeout In Seconds - 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. Defaults to0
. Valid value is between60
and3600
seconds. - image
Arn String - ARN of the public, private, or shared image to use.
- image
Name String - Name of the image used to create the fleet.
- max
Sessions NumberPer Instance - The maximum number of user sessions on an instance. This only applies to multi-session fleets.
- max
User NumberDuration In Seconds - Maximum amount of time that a streaming session can remain active, in seconds.
- name String
Unique name for the fleet.
The following arguments are optional:
- stream
View String - 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. WhenDESKTOP
is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults toAPP
. - Map<String>
- Map of tags to attach to AppStream instances.
- vpc
Config Property Map - Configuration block for the VPC configuration for the image builder. See below.
Outputs
All input properties are implicitly available as output properties. Additionally, the Fleet resource produces the following output properties:
- Arn string
- ARN of the appstream fleet.
- Created
Time string - Date and time, in UTC and extended RFC 3339 format, when the fleet was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- State of the fleet. Can be
STARTING
,RUNNING
,STOPPING
orSTOPPED
- Dictionary<string, string>
- Arn string
- ARN of the appstream fleet.
- Created
Time string - Date and time, in UTC and extended RFC 3339 format, when the fleet was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- State of the fleet. Can be
STARTING
,RUNNING
,STOPPING
orSTOPPED
- map[string]string
- arn String
- ARN of the appstream fleet.
- created
Time String - Date and time, in UTC and extended RFC 3339 format, when the fleet was created.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- State of the fleet. Can be
STARTING
,RUNNING
,STOPPING
orSTOPPED
- Map<String,String>
- arn string
- ARN of the appstream fleet.
- created
Time string - Date and time, in UTC and extended RFC 3339 format, when the fleet was created.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- State of the fleet. Can be
STARTING
,RUNNING
,STOPPING
orSTOPPED
- {[key: string]: string}
- arn str
- ARN of the appstream fleet.
- created_
time str - Date and time, in UTC and extended RFC 3339 format, when the fleet was created.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- State of the fleet. Can be
STARTING
,RUNNING
,STOPPING
orSTOPPED
- Mapping[str, str]
- arn String
- ARN of the appstream fleet.
- created
Time String - Date and time, in UTC and extended RFC 3339 format, when the fleet was created.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- State of the fleet. Can be
STARTING
,RUNNING
,STOPPING
orSTOPPED
- Map<String>
Look up Existing Fleet Resource
Get an existing Fleet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FleetState, opts?: CustomResourceOptions): Fleet
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
compute_capacity: Optional[FleetComputeCapacityArgs] = None,
created_time: Optional[str] = None,
description: Optional[str] = None,
disconnect_timeout_in_seconds: Optional[int] = None,
display_name: Optional[str] = None,
domain_join_info: Optional[FleetDomainJoinInfoArgs] = None,
enable_default_internet_access: Optional[bool] = None,
fleet_type: Optional[str] = None,
iam_role_arn: Optional[str] = None,
idle_disconnect_timeout_in_seconds: Optional[int] = None,
image_arn: Optional[str] = None,
image_name: Optional[str] = None,
instance_type: Optional[str] = None,
max_sessions_per_instance: Optional[int] = None,
max_user_duration_in_seconds: Optional[int] = None,
name: Optional[str] = None,
state: Optional[str] = None,
stream_view: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
vpc_config: Optional[FleetVpcConfigArgs] = None) -> Fleet
func GetFleet(ctx *Context, name string, id IDInput, state *FleetState, opts ...ResourceOption) (*Fleet, error)
public static Fleet Get(string name, Input<string> id, FleetState? state, CustomResourceOptions? opts = null)
public static Fleet get(String name, Output<String> id, FleetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the appstream fleet.
- Compute
Capacity FleetCompute Capacity - Configuration block for the desired capacity of the fleet. See below.
- Created
Time string - Date and time, in UTC and extended RFC 3339 format, when the fleet was created.
- Description string
- Description to display.
- Disconnect
Timeout intIn Seconds - Amount of time that a streaming session remains active after users disconnect.
- Display
Name string - Human-readable friendly name for the AppStream fleet.
- Domain
Join FleetInfo Domain Join Info - 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.
- Enable
Default boolInternet Access - Enables or disables default internet access for the fleet.
- Fleet
Type string - Fleet type. Valid values are:
ON_DEMAND
,ALWAYS_ON
- Iam
Role stringArn - ARN of the IAM role to apply to the fleet.
- Idle
Disconnect intTimeout In Seconds - 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. Defaults to0
. Valid value is between60
and3600
seconds. - Image
Arn string - ARN of the public, private, or shared image to use.
- Image
Name string - Name of the image used to create the fleet.
- Instance
Type string - Instance type to use when launching fleet instances.
- Max
Sessions intPer Instance - The maximum number of user sessions on an instance. This only applies to multi-session fleets.
- Max
User intDuration In Seconds - Maximum amount of time that a streaming session can remain active, in seconds.
- Name string
Unique name for the fleet.
The following arguments are optional:
- State string
- State of the fleet. Can be
STARTING
,RUNNING
,STOPPING
orSTOPPED
- Stream
View string - 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. WhenDESKTOP
is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults toAPP
. - Dictionary<string, string>
- Map of tags to attach to AppStream instances.
- Dictionary<string, string>
- Vpc
Config FleetVpc Config - Configuration block for the VPC configuration for the image builder. See below.
- Arn string
- ARN of the appstream fleet.
- Compute
Capacity FleetCompute Capacity Args - Configuration block for the desired capacity of the fleet. See below.
- Created
Time string - Date and time, in UTC and extended RFC 3339 format, when the fleet was created.
- Description string
- Description to display.
- Disconnect
Timeout intIn Seconds - Amount of time that a streaming session remains active after users disconnect.
- Display
Name string - Human-readable friendly name for the AppStream fleet.
- Domain
Join FleetInfo Domain Join Info Args - 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.
- Enable
Default boolInternet Access - Enables or disables default internet access for the fleet.
- Fleet
Type string - Fleet type. Valid values are:
ON_DEMAND
,ALWAYS_ON
- Iam
Role stringArn - ARN of the IAM role to apply to the fleet.
- Idle
Disconnect intTimeout In Seconds - 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. Defaults to0
. Valid value is between60
and3600
seconds. - Image
Arn string - ARN of the public, private, or shared image to use.
- Image
Name string - Name of the image used to create the fleet.
- Instance
Type string - Instance type to use when launching fleet instances.
- Max
Sessions intPer Instance - The maximum number of user sessions on an instance. This only applies to multi-session fleets.
- Max
User intDuration In Seconds - Maximum amount of time that a streaming session can remain active, in seconds.
- Name string
Unique name for the fleet.
The following arguments are optional:
- State string
- State of the fleet. Can be
STARTING
,RUNNING
,STOPPING
orSTOPPED
- Stream
View string - 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. WhenDESKTOP
is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults toAPP
. - map[string]string
- Map of tags to attach to AppStream instances.
- map[string]string
- Vpc
Config FleetVpc Config Args - Configuration block for the VPC configuration for the image builder. See below.
- arn String
- ARN of the appstream fleet.
- compute
Capacity FleetCompute Capacity - Configuration block for the desired capacity of the fleet. See below.
- created
Time String - Date and time, in UTC and extended RFC 3339 format, when the fleet was created.
- description String
- Description to display.
- disconnect
Timeout IntegerIn Seconds - Amount of time that a streaming session remains active after users disconnect.
- display
Name String - Human-readable friendly name for the AppStream fleet.
- domain
Join FleetInfo Domain Join Info - 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.
- enable
Default BooleanInternet Access - Enables or disables default internet access for the fleet.
- fleet
Type String - Fleet type. Valid values are:
ON_DEMAND
,ALWAYS_ON
- iam
Role StringArn - ARN of the IAM role to apply to the fleet.
- idle
Disconnect IntegerTimeout In Seconds - 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. Defaults to0
. Valid value is between60
and3600
seconds. - image
Arn String - ARN of the public, private, or shared image to use.
- image
Name String - Name of the image used to create the fleet.
- instance
Type String - Instance type to use when launching fleet instances.
- max
Sessions IntegerPer Instance - The maximum number of user sessions on an instance. This only applies to multi-session fleets.
- max
User IntegerDuration In Seconds - Maximum amount of time that a streaming session can remain active, in seconds.
- name String
Unique name for the fleet.
The following arguments are optional:
- state String
- State of the fleet. Can be
STARTING
,RUNNING
,STOPPING
orSTOPPED
- stream
View String - 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. WhenDESKTOP
is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults toAPP
. - Map<String,String>
- Map of tags to attach to AppStream instances.
- Map<String,String>
- vpc
Config FleetVpc Config - Configuration block for the VPC configuration for the image builder. See below.
- arn string
- ARN of the appstream fleet.
- compute
Capacity FleetCompute Capacity - Configuration block for the desired capacity of the fleet. See below.
- created
Time string - Date and time, in UTC and extended RFC 3339 format, when the fleet was created.
- description string
- Description to display.
- disconnect
Timeout numberIn Seconds - Amount of time that a streaming session remains active after users disconnect.
- display
Name string - Human-readable friendly name for the AppStream fleet.
- domain
Join FleetInfo Domain Join Info - 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.
- enable
Default booleanInternet Access - Enables or disables default internet access for the fleet.
- fleet
Type string - Fleet type. Valid values are:
ON_DEMAND
,ALWAYS_ON
- iam
Role stringArn - ARN of the IAM role to apply to the fleet.
- idle
Disconnect numberTimeout In Seconds - 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. Defaults to0
. Valid value is between60
and3600
seconds. - image
Arn string - ARN of the public, private, or shared image to use.
- image
Name string - Name of the image used to create the fleet.
- instance
Type string - Instance type to use when launching fleet instances.
- max
Sessions numberPer Instance - The maximum number of user sessions on an instance. This only applies to multi-session fleets.
- max
User numberDuration In Seconds - Maximum amount of time that a streaming session can remain active, in seconds.
- name string
Unique name for the fleet.
The following arguments are optional:
- state string
- State of the fleet. Can be
STARTING
,RUNNING
,STOPPING
orSTOPPED
- stream
View string - 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. WhenDESKTOP
is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults toAPP
. - {[key: string]: string}
- Map of tags to attach to AppStream instances.
- {[key: string]: string}
- vpc
Config FleetVpc Config - Configuration block for the VPC configuration for the image builder. See below.
- arn str
- ARN of the appstream fleet.
- compute_
capacity FleetCompute Capacity Args - Configuration block for the desired capacity of the fleet. See below.
- created_
time str - Date and time, in UTC and extended RFC 3339 format, when the fleet was created.
- description str
- Description to display.
- disconnect_
timeout_ intin_ seconds - Amount of time that a streaming session remains active after users disconnect.
- display_
name str - Human-readable friendly name for the AppStream fleet.
- domain_
join_ Fleetinfo Domain Join Info Args - 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.
- enable_
default_ boolinternet_ access - Enables or disables default internet access for the fleet.
- fleet_
type str - Fleet type. Valid values are:
ON_DEMAND
,ALWAYS_ON
- iam_
role_ strarn - ARN of the IAM role to apply to the fleet.
- idle_
disconnect_ inttimeout_ in_ seconds - 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. Defaults to0
. Valid value is between60
and3600
seconds. - image_
arn str - ARN of the public, private, or shared image to use.
- image_
name str - Name of the image used to create the fleet.
- instance_
type str - Instance type to use when launching fleet instances.
- max_
sessions_ intper_ instance - The maximum number of user sessions on an instance. This only applies to multi-session fleets.
- max_
user_ intduration_ in_ seconds - Maximum amount of time that a streaming session can remain active, in seconds.
- name str
Unique name for the fleet.
The following arguments are optional:
- state str
- State of the fleet. Can be
STARTING
,RUNNING
,STOPPING
orSTOPPED
- stream_
view str - 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. WhenDESKTOP
is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults toAPP
. - Mapping[str, str]
- Map of tags to attach to AppStream instances.
- Mapping[str, str]
- vpc_
config FleetVpc Config Args - Configuration block for the VPC configuration for the image builder. See below.
- arn String
- ARN of the appstream fleet.
- compute
Capacity Property Map - Configuration block for the desired capacity of the fleet. See below.
- created
Time String - Date and time, in UTC and extended RFC 3339 format, when the fleet was created.
- description String
- Description to display.
- disconnect
Timeout NumberIn Seconds - Amount of time that a streaming session remains active after users disconnect.
- display
Name String - Human-readable friendly name for the AppStream fleet.
- domain
Join Property MapInfo - 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.
- enable
Default BooleanInternet Access - Enables or disables default internet access for the fleet.
- fleet
Type String - Fleet type. Valid values are:
ON_DEMAND
,ALWAYS_ON
- iam
Role StringArn - ARN of the IAM role to apply to the fleet.
- idle
Disconnect NumberTimeout In Seconds - 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. Defaults to0
. Valid value is between60
and3600
seconds. - image
Arn String - ARN of the public, private, or shared image to use.
- image
Name String - Name of the image used to create the fleet.
- instance
Type String - Instance type to use when launching fleet instances.
- max
Sessions NumberPer Instance - The maximum number of user sessions on an instance. This only applies to multi-session fleets.
- max
User NumberDuration In Seconds - Maximum amount of time that a streaming session can remain active, in seconds.
- name String
Unique name for the fleet.
The following arguments are optional:
- state String
- State of the fleet. Can be
STARTING
,RUNNING
,STOPPING
orSTOPPED
- stream
View String - 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. WhenDESKTOP
is specified, the standard desktop that is provided by the operating system displays. If not specified, defaults toAPP
. - Map<String>
- Map of tags to attach to AppStream instances.
- Map<String>
- vpc
Config Property Map - Configuration block for the VPC configuration for the image builder. See below.
Supporting Types
FleetComputeCapacity, FleetComputeCapacityArgs
- Available int
- Number of currently available instances that can be used to stream sessions.
- Desired
Instances int - Desired number of streaming instances.
- Desired
Sessions int - Desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.
- In
Use int - Number of instances in use for streaming.
- Running int
- Total number of simultaneous streaming instances that are running.
- Available int
- Number of currently available instances that can be used to stream sessions.
- Desired
Instances int - Desired number of streaming instances.
- Desired
Sessions int - Desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.
- In
Use int - Number of instances in use for streaming.
- Running int
- Total number of simultaneous streaming instances that are running.
- available Integer
- Number of currently available instances that can be used to stream sessions.
- desired
Instances Integer - Desired number of streaming instances.
- desired
Sessions Integer - Desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.
- in
Use Integer - Number of instances in use for streaming.
- running Integer
- Total number of simultaneous streaming instances that are running.
- available number
- Number of currently available instances that can be used to stream sessions.
- desired
Instances number - Desired number of streaming instances.
- desired
Sessions number - Desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.
- in
Use number - Number of instances in use for streaming.
- running number
- Total number of simultaneous streaming instances that are running.
- available int
- Number of currently available instances that can be used to stream sessions.
- desired_
instances int - Desired number of streaming instances.
- desired_
sessions int - Desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.
- in_
use int - Number of instances in use for streaming.
- running int
- Total number of simultaneous streaming instances that are running.
- available Number
- Number of currently available instances that can be used to stream sessions.
- desired
Instances Number - Desired number of streaming instances.
- desired
Sessions Number - Desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.
- in
Use Number - Number of instances in use for streaming.
- running Number
- Total number of simultaneous streaming instances that are running.
FleetDomainJoinInfo, FleetDomainJoinInfoArgs
- Directory
Name string - Fully qualified name of the directory (for example, corp.example.com).
- Organizational
Unit stringDistinguished Name - Distinguished name of the organizational unit for computer accounts.
- Directory
Name string - Fully qualified name of the directory (for example, corp.example.com).
- Organizational
Unit stringDistinguished Name - Distinguished name of the organizational unit for computer accounts.
- directory
Name String - Fully qualified name of the directory (for example, corp.example.com).
- organizational
Unit StringDistinguished Name - Distinguished name of the organizational unit for computer accounts.
- directory
Name string - Fully qualified name of the directory (for example, corp.example.com).
- organizational
Unit stringDistinguished Name - Distinguished name of the organizational unit for computer accounts.
- directory_
name str - Fully qualified name of the directory (for example, corp.example.com).
- organizational_
unit_ strdistinguished_ name - Distinguished name of the organizational unit for computer accounts.
- directory
Name String - Fully qualified name of the directory (for example, corp.example.com).
- organizational
Unit StringDistinguished Name - Distinguished name of the organizational unit for computer accounts.
FleetVpcConfig, FleetVpcConfigArgs
- Security
Group List<string>Ids - Identifiers of the security groups for the fleet or image builder.
- Subnet
Ids List<string> - Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.
- Security
Group []stringIds - Identifiers of the security groups for the fleet or image builder.
- Subnet
Ids []string - Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.
- security
Group List<String>Ids - Identifiers of the security groups for the fleet or image builder.
- subnet
Ids List<String> - Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.
- security
Group string[]Ids - Identifiers of the security groups for the fleet or image builder.
- subnet
Ids string[] - Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.
- security_
group_ Sequence[str]ids - Identifiers of the security groups for the fleet or image builder.
- subnet_
ids Sequence[str] - Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.
- security
Group List<String>Ids - Identifiers of the security groups for the fleet or image builder.
- subnet
Ids List<String> - Identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.
Import
Using pulumi import
, import aws_appstream_fleet
using the id. For example:
$ pulumi import aws:appstream/fleet:Fleet example fleetNameExample
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.