Stack class
Provides an AppStream stack.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.appstream.Stack("example", {
applicationSettings: {
enabled: true,
settingsGroup: "SettingsGroup",
},
storageConnectors: [{
connectorType: "HOMEFOLDERS",
}],
userSettings: [
{
action: "AUTO_TIME_ZONE_REDIRECTION",
permission: "DISABLED",
},
{
action: "CLIPBOARD_COPY_FROM_LOCAL_DEVICE",
permission: "ENABLED",
},
{
action: "CLIPBOARD_COPY_TO_LOCAL_DEVICE",
permission: "ENABLED",
},
{
action: "DOMAIN_PASSWORD_SIGNIN",
permission: "ENABLED",
},
{
action: "DOMAIN_SMART_CARD_SIGNIN",
permission: "DISABLED",
},
{
action: "FILE_DOWNLOAD",
permission: "ENABLED",
},
{
action: "FILE_UPLOAD",
permission: "ENABLED",
},
{
action: "PRINTING_TO_LOCAL_DEVICE",
permission: "ENABLED",
},
],
name: "stack name",
description: "stack description",
displayName: "stack display name",
feedbackUrl: "http://your-domain/feedback",
redirectUrl: "http://your-domain/redirect",
tags: {
TagName: "TagValue",
},
});
import pulumi
import pulumi_aws as aws
example = aws.appstream.Stack("example",
application_settings={
"enabled": True,
"settings_group": "SettingsGroup",
},
storage_connectors=[{
"connector_type": "HOMEFOLDERS",
}],
user_settings=[
{
"action": "AUTO_TIME_ZONE_REDIRECTION",
"permission": "DISABLED",
},
{
"action": "CLIPBOARD_COPY_FROM_LOCAL_DEVICE",
"permission": "ENABLED",
},
{
"action": "CLIPBOARD_COPY_TO_LOCAL_DEVICE",
"permission": "ENABLED",
},
{
"action": "DOMAIN_PASSWORD_SIGNIN",
"permission": "ENABLED",
},
{
"action": "DOMAIN_SMART_CARD_SIGNIN",
"permission": "DISABLED",
},
{
"action": "FILE_DOWNLOAD",
"permission": "ENABLED",
},
{
"action": "FILE_UPLOAD",
"permission": "ENABLED",
},
{
"action": "PRINTING_TO_LOCAL_DEVICE",
"permission": "ENABLED",
},
],
name="stack name",
description="stack description",
display_name="stack display name",
feedback_url="http://your-domain/feedback",
redirect_url="http://your-domain/redirect",
tags={
"TagName": "TagValue",
})
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.AppStream.Stack("example", new()
{
ApplicationSettings = new Aws.AppStream.Inputs.StackApplicationSettingsArgs
{
Enabled = true,
SettingsGroup = "SettingsGroup",
},
StorageConnectors = new[]
{
new Aws.AppStream.Inputs.StackStorageConnectorArgs
{
ConnectorType = "HOMEFOLDERS",
},
},
UserSettings = new[]
{
new Aws.AppStream.Inputs.StackUserSettingArgs
{
Action = "AUTO_TIME_ZONE_REDIRECTION",
Permission = "DISABLED",
},
new Aws.AppStream.Inputs.StackUserSettingArgs
{
Action = "CLIPBOARD_COPY_FROM_LOCAL_DEVICE",
Permission = "ENABLED",
},
new Aws.AppStream.Inputs.StackUserSettingArgs
{
Action = "CLIPBOARD_COPY_TO_LOCAL_DEVICE",
Permission = "ENABLED",
},
new Aws.AppStream.Inputs.StackUserSettingArgs
{
Action = "DOMAIN_PASSWORD_SIGNIN",
Permission = "ENABLED",
},
new Aws.AppStream.Inputs.StackUserSettingArgs
{
Action = "DOMAIN_SMART_CARD_SIGNIN",
Permission = "DISABLED",
},
new Aws.AppStream.Inputs.StackUserSettingArgs
{
Action = "FILE_DOWNLOAD",
Permission = "ENABLED",
},
new Aws.AppStream.Inputs.StackUserSettingArgs
{
Action = "FILE_UPLOAD",
Permission = "ENABLED",
},
new Aws.AppStream.Inputs.StackUserSettingArgs
{
Action = "PRINTING_TO_LOCAL_DEVICE",
Permission = "ENABLED",
},
},
Name = "stack name",
Description = "stack description",
DisplayName = "stack display name",
FeedbackUrl = "http://your-domain/feedback",
RedirectUrl = "http://your-domain/redirect",
Tags =
{
{ "TagName", "TagValue" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/appstream"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appstream.NewStack(ctx, "example", &appstream.StackArgs{
ApplicationSettings: &appstream.StackApplicationSettingsArgs{
Enabled: pulumi.Bool(true),
SettingsGroup: pulumi.String("SettingsGroup"),
},
StorageConnectors: appstream.StackStorageConnectorArray{
&appstream.StackStorageConnectorArgs{
ConnectorType: pulumi.String("HOMEFOLDERS"),
},
},
UserSettings: appstream.StackUserSettingArray{
&appstream.StackUserSettingArgs{
Action: pulumi.String("AUTO_TIME_ZONE_REDIRECTION"),
Permission: pulumi.String("DISABLED"),
},
&appstream.StackUserSettingArgs{
Action: pulumi.String("CLIPBOARD_COPY_FROM_LOCAL_DEVICE"),
Permission: pulumi.String("ENABLED"),
},
&appstream.StackUserSettingArgs{
Action: pulumi.String("CLIPBOARD_COPY_TO_LOCAL_DEVICE"),
Permission: pulumi.String("ENABLED"),
},
&appstream.StackUserSettingArgs{
Action: pulumi.String("DOMAIN_PASSWORD_SIGNIN"),
Permission: pulumi.String("ENABLED"),
},
&appstream.StackUserSettingArgs{
Action: pulumi.String("DOMAIN_SMART_CARD_SIGNIN"),
Permission: pulumi.String("DISABLED"),
},
&appstream.StackUserSettingArgs{
Action: pulumi.String("FILE_DOWNLOAD"),
Permission: pulumi.String("ENABLED"),
},
&appstream.StackUserSettingArgs{
Action: pulumi.String("FILE_UPLOAD"),
Permission: pulumi.String("ENABLED"),
},
&appstream.StackUserSettingArgs{
Action: pulumi.String("PRINTING_TO_LOCAL_DEVICE"),
Permission: pulumi.String("ENABLED"),
},
},
Name: pulumi.String("stack name"),
Description: pulumi.String("stack description"),
DisplayName: pulumi.String("stack display name"),
FeedbackUrl: pulumi.String("http://your-domain/feedback"),
RedirectUrl: pulumi.String("http://your-domain/redirect"),
Tags: pulumi.StringMap{
"TagName": pulumi.String("TagValue"),
},
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_appstream_stack" "example" {
application_settings = {
enabled = true
settings_group = "SettingsGroup"
}
storage_connectors {
connector_type = "HOMEFOLDERS"
}
user_settings {
action = "AUTO_TIME_ZONE_REDIRECTION"
permission = "DISABLED"
}
user_settings {
action = "CLIPBOARD_COPY_FROM_LOCAL_DEVICE"
permission = "ENABLED"
}
user_settings {
action = "CLIPBOARD_COPY_TO_LOCAL_DEVICE"
permission = "ENABLED"
}
user_settings {
action = "DOMAIN_PASSWORD_SIGNIN"
permission = "ENABLED"
}
user_settings {
action = "DOMAIN_SMART_CARD_SIGNIN"
permission = "DISABLED"
}
user_settings {
action = "FILE_DOWNLOAD"
permission = "ENABLED"
}
user_settings {
action = "FILE_UPLOAD"
permission = "ENABLED"
}
user_settings {
action = "PRINTING_TO_LOCAL_DEVICE"
permission = "ENABLED"
}
name = "stack name"
description = "stack description"
display_name = "stack display name"
feedback_url = "http://your-domain/feedback"
redirect_url = "http://your-domain/redirect"
tags = {
"TagName" = "TagValue"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appstream.Stack;
import com.pulumi.aws.appstream.StackArgs;
import com.pulumi.aws.appstream.inputs.StackApplicationSettingsArgs;
import com.pulumi.aws.appstream.inputs.StackStorageConnectorArgs;
import com.pulumi.aws.appstream.inputs.StackUserSettingArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 example = new Stack("example", StackArgs.builder()
.applicationSettings(StackApplicationSettingsArgs.builder()
.enabled(true)
.settingsGroup("SettingsGroup")
.build())
.storageConnectors(StackStorageConnectorArgs.builder()
.connectorType("HOMEFOLDERS")
.build())
.userSettings(
StackUserSettingArgs.builder()
.action("AUTO_TIME_ZONE_REDIRECTION")
.permission("DISABLED")
.build(),
StackUserSettingArgs.builder()
.action("CLIPBOARD_COPY_FROM_LOCAL_DEVICE")
.permission("ENABLED")
.build(),
StackUserSettingArgs.builder()
.action("CLIPBOARD_COPY_TO_LOCAL_DEVICE")
.permission("ENABLED")
.build(),
StackUserSettingArgs.builder()
.action("DOMAIN_PASSWORD_SIGNIN")
.permission("ENABLED")
.build(),
StackUserSettingArgs.builder()
.action("DOMAIN_SMART_CARD_SIGNIN")
.permission("DISABLED")
.build(),
StackUserSettingArgs.builder()
.action("FILE_DOWNLOAD")
.permission("ENABLED")
.build(),
StackUserSettingArgs.builder()
.action("FILE_UPLOAD")
.permission("ENABLED")
.build(),
StackUserSettingArgs.builder()
.action("PRINTING_TO_LOCAL_DEVICE")
.permission("ENABLED")
.build())
.name("stack name")
.description("stack description")
.displayName("stack display name")
.feedbackUrl("http://your-domain/feedback")
.redirectUrl("http://your-domain/redirect")
.tags(Map.of("TagName", "TagValue"))
.build());
}
}
resources:
example:
type: aws:appstream:Stack
properties:
applicationSettings:
enabled: true
settingsGroup: SettingsGroup
storageConnectors:
- connectorType: HOMEFOLDERS
userSettings:
- action: AUTO_TIME_ZONE_REDIRECTION
permission: DISABLED
- action: CLIPBOARD_COPY_FROM_LOCAL_DEVICE
permission: ENABLED
- action: CLIPBOARD_COPY_TO_LOCAL_DEVICE
permission: ENABLED
- action: DOMAIN_PASSWORD_SIGNIN
permission: ENABLED
- action: DOMAIN_SMART_CARD_SIGNIN
permission: DISABLED
- action: FILE_DOWNLOAD
permission: ENABLED
- action: FILE_UPLOAD
permission: ENABLED
- action: PRINTING_TO_LOCAL_DEVICE
permission: ENABLED
name: stack name
description: stack description
displayName: stack display name
feedbackUrl: http://your-domain/feedback
redirectUrl: http://your-domain/redirect
tags:
TagName: TagValue
Import
Using pulumi import, import aws.appstream.Stack using the id. For example:
$ pulumi import aws:appstream/stack:Stack example stackID
Constructors
- Stack(String name, {StackArgs? args, CustomResourceOptions? options})
-
Creates a new Stack.
nameThe Pulumi resource name.argsArguments used to configure this Stack. The set of arguments for Stack.optionsResource options controlling this resource's behavior. - Stack.reference(String urn)
- Creates a typed reference to an existing Stack resource.
Properties
-
accessEndpoints
↔ Output<
List< StackAccessEndpoint> > -
Set of configuration blocks defining the interface VPC endpoints. Users of the stack can connect to AppStream 2.0 only through the specified endpoints. See
accessEndpointsbelow.latefinal -
applicationSettings
↔ Output<
StackApplicationSettings> -
Settings for application settings persistence. See
applicationSettingsbelow.latefinal -
arn
↔ Output<
String> -
ARN of the appstream stack.
latefinal
-
childResources
→ Set<
Resource> -
finalinherited
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
createdTime
↔ Output<
String> -
Date and time, in UTC and extended RFC 3339 format, when the stack was created.
latefinal
-
description
↔ Output<
String?> -
Description for the AppStream stack.
latefinal
-
displayName
↔ Output<
String?> -
Stack name to display.
latefinal
-
embedHostDomains
↔ Output<
List< String> > -
Domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
latefinal
-
feedbackUrl
↔ Output<
String> -
URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed. .
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
name
↔ Output<
String> -
Unique name for the AppStream stack.
latefinal
-
redirectUrl
↔ Output<
String> -
URL that users are redirected to after their streaming session ends.
latefinal
-
region
↔ Output<
String> -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
storageConnectors
↔ Output<
List< StackStorageConnector> > -
Configuration block for the storage connectors to enable. See
storageConnectorsbelow.latefinal -
streamingExperienceSettings
↔ Output<
StackStreamingExperienceSettings> -
Streaming protocol you want your stack to prefer. This can be UDP or TCP. Currently, UDP is only supported in the Windows native client. See
streamingExperienceSettingsbelow.latefinal -
Key-value mapping of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.latefinal -
latefinal
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
urn
↔ Output<
String> -
latefinalinherited
-
userSettings
↔ Output<
List< StackUserSetting> > -
Configuration block for the actions that are enabled or disabled for users during their streaming sessions. If not provided, these settings are configured automatically by AWS. If provided, the configuration should include a block for each configurable action. See
userSettingsbelow.latefinal
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited