Stack

class Stack : KotlinCustomResource

Provides an AppStream stack.

Example Usage

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.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 example = new Stack("example", StackArgs.builder()
.applicationSettings(StackApplicationSettingsArgs.builder()
.enabled(true)
.settingsGroup("SettingsGroup")
.build())
.description("stack description")
.displayName("stack display name")
.feedbackUrl("http://your-domain/feedback")
.redirectUrl("http://your-domain/redirect")
.storageConnectors(StackStorageConnectorArgs.builder()
.connectorType("HOMEFOLDERS")
.build())
.tags(Map.of("TagName", "TagValue"))
.userSettings(
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())
.build());
}
}

Import

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

$ pulumi import aws:appstream/stack:Stack example stackID

Properties

Link copied to clipboard

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 access_endpoints below.

Link copied to clipboard

Settings for application settings persistence. See application_settings below.

Link copied to clipboard
val arn: Output<String>

ARN of the appstream stack.

Link copied to clipboard
val createdTime: Output<String>

Date and time, in UTC and extended RFC 3339 format, when the stack was created.

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

Description for the AppStream stack.

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

Stack name to display.

Link copied to clipboard

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.

Link copied to clipboard
val 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. .

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Unique name for the AppStream stack. The following arguments are optional:

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val redirectUrl: Output<String>

URL that users are redirected to after their streaming session ends.

Link copied to clipboard

Configuration block for the storage connectors to enable. See storage_connectors below.

Link copied to clipboard

The 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 streaming_experience_settings below.

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

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

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 user_settings below.