com.pulumi.aws.appstream.kotlin.StackArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.appstream.kotlin
import com.pulumi.aws.appstream.StackArgs.builder
import com.pulumi.aws.appstream.kotlin.inputs.StackAccessEndpointArgs
import com.pulumi.aws.appstream.kotlin.inputs.StackAccessEndpointArgsBuilder
import com.pulumi.aws.appstream.kotlin.inputs.StackApplicationSettingsArgs
import com.pulumi.aws.appstream.kotlin.inputs.StackApplicationSettingsArgsBuilder
import com.pulumi.aws.appstream.kotlin.inputs.StackStorageConnectorArgs
import com.pulumi.aws.appstream.kotlin.inputs.StackStorageConnectorArgsBuilder
import com.pulumi.aws.appstream.kotlin.inputs.StackStreamingExperienceSettingsArgs
import com.pulumi.aws.appstream.kotlin.inputs.StackStreamingExperienceSettingsArgsBuilder
import com.pulumi.aws.appstream.kotlin.inputs.StackUserSettingArgs
import com.pulumi.aws.appstream.kotlin.inputs.StackUserSettingArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Provides an AppStream stack.
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
* const example = new aws.appstream.Stack("example", {
* name: "stack name",
* description: "stack description",
* displayName: "stack display name",
* feedbackUrl: "http://your-domain/feedback",
* redirectUrl: "http://your-domain/redirect",
* storageConnectors: [{
* connectorType: "HOMEFOLDERS",
* }],
* userSettings: [
* {
* 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",
* },
* ],
* applicationSettings: {
* enabled: true,
* settingsGroup: "SettingsGroup",
* },
* tags: {
* TagName: "TagValue",
* },
* });
* ```
* ```python
* import pulumi
* import pulumi_aws as aws
* example = aws.appstream.Stack("example",
* name="stack name",
* description="stack description",
* display_name="stack display name",
* feedback_url="http://your-domain/feedback",
* redirect_url="http://your-domain/redirect",
* storage_connectors=[{
* "connector_type": "HOMEFOLDERS",
* }],
* user_settings=[
* {
* "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",
* },
* ],
* application_settings={
* "enabled": True,
* "settings_group": "SettingsGroup",
* },
* tags={
* "TagName": "TagValue",
* })
* ```
* ```csharp
* 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()
* {
* Name = "stack name",
* Description = "stack description",
* DisplayName = "stack display name",
* FeedbackUrl = "http://your-domain/feedback",
* RedirectUrl = "http://your-domain/redirect",
* StorageConnectors = new[]
* {
* new Aws.AppStream.Inputs.StackStorageConnectorArgs
* {
* ConnectorType = "HOMEFOLDERS",
* },
* },
* UserSettings = new[]
* {
* 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",
* },
* },
* ApplicationSettings = new Aws.AppStream.Inputs.StackApplicationSettingsArgs
* {
* Enabled = true,
* SettingsGroup = "SettingsGroup",
* },
* Tags =
* {
* { "TagName", "TagValue" },
* },
* });
* });
* ```
* ```go
* 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.NewStack(ctx, "example", &appstream.StackArgs{
* 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"),
* StorageConnectors: appstream.StackStorageConnectorArray{
* &appstream.StackStorageConnectorArgs{
* ConnectorType: pulumi.String("HOMEFOLDERS"),
* },
* },
* UserSettings: appstream.StackUserSettingArray{
* &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"),
* },
* },
* ApplicationSettings: &appstream.StackApplicationSettingsArgs{
* Enabled: pulumi.Bool(true),
* SettingsGroup: pulumi.String("SettingsGroup"),
* },
* Tags: pulumi.StringMap{
* "TagName": pulumi.String("TagValue"),
* },
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* 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.StackStorageConnectorArgs;
* import com.pulumi.aws.appstream.inputs.StackUserSettingArgs;
* import com.pulumi.aws.appstream.inputs.StackApplicationSettingsArgs;
* 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()
* .name("stack name")
* .description("stack description")
* .displayName("stack display name")
* .feedbackUrl("http://your-domain/feedback")
* .redirectUrl("http://your-domain/redirect")
* .storageConnectors(StackStorageConnectorArgs.builder()
* .connectorType("HOMEFOLDERS")
* .build())
* .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())
* .applicationSettings(StackApplicationSettingsArgs.builder()
* .enabled(true)
* .settingsGroup("SettingsGroup")
* .build())
* .tags(Map.of("TagName", "TagValue"))
* .build());
* }
* }
* ```
* ```yaml
* resources:
* example:
* type: aws:appstream:Stack
* properties:
* name: stack name
* description: stack description
* displayName: stack display name
* feedbackUrl: http://your-domain/feedback
* redirectUrl: http://your-domain/redirect
* storageConnectors:
* - connectorType: HOMEFOLDERS
* userSettings:
* - 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
* applicationSettings:
* enabled: true
* settingsGroup: SettingsGroup
* tags:
* TagName: TagValue
* ```
*
* ## Import
* Using `pulumi import`, import `aws_appstream_stack` using the id. For example:
* ```sh
* $ pulumi import aws:appstream/stack:Stack example stackID
* ```
* @property accessEndpoints 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.
* @property applicationSettings Settings for application settings persistence.
* See `application_settings` below.
* @property description Description for the AppStream stack.
* @property displayName Stack name to display.
* @property embedHostDomains 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.
* @property feedbackUrl URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed. .
* @property name Unique name for the AppStream stack.
* The following arguments are optional:
* @property redirectUrl URL that users are redirected to after their streaming session ends.
* @property storageConnectors Configuration block for the storage connectors to enable.
* See `storage_connectors` below.
* @property streamingExperienceSettings 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.
* @property tags 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.
* @property userSettings 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.
*/
public data class StackArgs(
public val accessEndpoints: Output>? = null,
public val applicationSettings: Output? = null,
public val description: Output? = null,
public val displayName: Output? = null,
public val embedHostDomains: Output>? = null,
public val feedbackUrl: Output? = null,
public val name: Output? = null,
public val redirectUrl: Output? = null,
public val storageConnectors: Output>? = null,
public val streamingExperienceSettings: Output? = null,
public val tags: Output
© 2015 - 2024 Weber Informatics LLC | Privacy Policy