Stack Args
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
Properties
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.
Settings for application settings persistence. See application_settings
below.
Description for the AppStream stack.
Stack name to display.
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.
URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed. .
URL that users are redirected to after their streaming session ends.
Configuration block for the storage connectors to enable. See storage_connectors
below.
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.
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.