StackArgs

data class StackArgs(val accessEndpoints: Output<List<StackAccessEndpointArgs>>? = null, val applicationSettings: Output<StackApplicationSettingsArgs>? = null, val description: Output<String>? = null, val displayName: Output<String>? = null, val embedHostDomains: Output<List<String>>? = null, val feedbackUrl: Output<String>? = null, val name: Output<String>? = null, val redirectUrl: Output<String>? = null, val storageConnectors: Output<List<StackStorageConnectorArgs>>? = null, val streamingExperienceSettings: Output<StackStreamingExperienceSettingsArgs>? = null, val tags: Output<Map<String, String>>? = null, val userSettings: Output<List<StackUserSettingArgs>>? = null) : ConvertibleToJava<StackArgs>

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

Constructors

Link copied to clipboard
constructor(accessEndpoints: Output<List<StackAccessEndpointArgs>>? = null, applicationSettings: Output<StackApplicationSettingsArgs>? = null, description: Output<String>? = null, displayName: Output<String>? = null, embedHostDomains: Output<List<String>>? = null, feedbackUrl: Output<String>? = null, name: Output<String>? = null, redirectUrl: Output<String>? = null, storageConnectors: Output<List<StackStorageConnectorArgs>>? = null, streamingExperienceSettings: Output<StackStreamingExperienceSettingsArgs>? = null, tags: Output<Map<String, String>>? = null, userSettings: Output<List<StackUserSettingArgs>>? = null)

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 description: Output<String>? = null

Description for the AppStream stack.

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

Stack name to display.

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

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>? = null

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 name: Output<String>? = null

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

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

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>>? = null

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 userSettings: Output<List<StackUserSettingArgs>>? = null

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.

Functions

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