aws.appstream.Stack
Explore with Pulumi AI
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", {
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 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",
})
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
})
}
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" },
},
});
});
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());
}
}
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
Create Stack Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Stack(name: string, args?: StackArgs, opts?: CustomResourceOptions);
@overload
def Stack(resource_name: str,
args: Optional[StackArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Stack(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_endpoints: Optional[Sequence[StackAccessEndpointArgs]] = None,
application_settings: Optional[StackApplicationSettingsArgs] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
embed_host_domains: Optional[Sequence[str]] = None,
feedback_url: Optional[str] = None,
name: Optional[str] = None,
redirect_url: Optional[str] = None,
storage_connectors: Optional[Sequence[StackStorageConnectorArgs]] = None,
streaming_experience_settings: Optional[StackStreamingExperienceSettingsArgs] = None,
tags: Optional[Mapping[str, str]] = None,
user_settings: Optional[Sequence[StackUserSettingArgs]] = None)
func NewStack(ctx *Context, name string, args *StackArgs, opts ...ResourceOption) (*Stack, error)
public Stack(string name, StackArgs? args = null, CustomResourceOptions? opts = null)
type: aws:appstream:Stack
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args StackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args StackArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StackArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StackArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var stackResource = new Aws.AppStream.Stack("stackResource", new()
{
AccessEndpoints = new[]
{
new Aws.AppStream.Inputs.StackAccessEndpointArgs
{
EndpointType = "string",
VpceId = "string",
},
},
ApplicationSettings = new Aws.AppStream.Inputs.StackApplicationSettingsArgs
{
Enabled = false,
SettingsGroup = "string",
},
Description = "string",
DisplayName = "string",
EmbedHostDomains = new[]
{
"string",
},
FeedbackUrl = "string",
Name = "string",
RedirectUrl = "string",
StorageConnectors = new[]
{
new Aws.AppStream.Inputs.StackStorageConnectorArgs
{
ConnectorType = "string",
Domains = new[]
{
"string",
},
ResourceIdentifier = "string",
},
},
StreamingExperienceSettings = new Aws.AppStream.Inputs.StackStreamingExperienceSettingsArgs
{
PreferredProtocol = "string",
},
Tags =
{
{ "string", "string" },
},
UserSettings = new[]
{
new Aws.AppStream.Inputs.StackUserSettingArgs
{
Action = "string",
Permission = "string",
},
},
});
example, err := appstream.NewStack(ctx, "stackResource", &appstream.StackArgs{
AccessEndpoints: appstream.StackAccessEndpointArray{
&appstream.StackAccessEndpointArgs{
EndpointType: pulumi.String("string"),
VpceId: pulumi.String("string"),
},
},
ApplicationSettings: &appstream.StackApplicationSettingsArgs{
Enabled: pulumi.Bool(false),
SettingsGroup: pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
EmbedHostDomains: pulumi.StringArray{
pulumi.String("string"),
},
FeedbackUrl: pulumi.String("string"),
Name: pulumi.String("string"),
RedirectUrl: pulumi.String("string"),
StorageConnectors: appstream.StackStorageConnectorArray{
&appstream.StackStorageConnectorArgs{
ConnectorType: pulumi.String("string"),
Domains: pulumi.StringArray{
pulumi.String("string"),
},
ResourceIdentifier: pulumi.String("string"),
},
},
StreamingExperienceSettings: &appstream.StackStreamingExperienceSettingsArgs{
PreferredProtocol: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
UserSettings: appstream.StackUserSettingArray{
&appstream.StackUserSettingArgs{
Action: pulumi.String("string"),
Permission: pulumi.String("string"),
},
},
})
var stackResource = new Stack("stackResource", StackArgs.builder()
.accessEndpoints(StackAccessEndpointArgs.builder()
.endpointType("string")
.vpceId("string")
.build())
.applicationSettings(StackApplicationSettingsArgs.builder()
.enabled(false)
.settingsGroup("string")
.build())
.description("string")
.displayName("string")
.embedHostDomains("string")
.feedbackUrl("string")
.name("string")
.redirectUrl("string")
.storageConnectors(StackStorageConnectorArgs.builder()
.connectorType("string")
.domains("string")
.resourceIdentifier("string")
.build())
.streamingExperienceSettings(StackStreamingExperienceSettingsArgs.builder()
.preferredProtocol("string")
.build())
.tags(Map.of("string", "string"))
.userSettings(StackUserSettingArgs.builder()
.action("string")
.permission("string")
.build())
.build());
stack_resource = aws.appstream.Stack("stackResource",
access_endpoints=[{
"endpoint_type": "string",
"vpce_id": "string",
}],
application_settings={
"enabled": False,
"settings_group": "string",
},
description="string",
display_name="string",
embed_host_domains=["string"],
feedback_url="string",
name="string",
redirect_url="string",
storage_connectors=[{
"connector_type": "string",
"domains": ["string"],
"resource_identifier": "string",
}],
streaming_experience_settings={
"preferred_protocol": "string",
},
tags={
"string": "string",
},
user_settings=[{
"action": "string",
"permission": "string",
}])
const stackResource = new aws.appstream.Stack("stackResource", {
accessEndpoints: [{
endpointType: "string",
vpceId: "string",
}],
applicationSettings: {
enabled: false,
settingsGroup: "string",
},
description: "string",
displayName: "string",
embedHostDomains: ["string"],
feedbackUrl: "string",
name: "string",
redirectUrl: "string",
storageConnectors: [{
connectorType: "string",
domains: ["string"],
resourceIdentifier: "string",
}],
streamingExperienceSettings: {
preferredProtocol: "string",
},
tags: {
string: "string",
},
userSettings: [{
action: "string",
permission: "string",
}],
});
type: aws:appstream:Stack
properties:
accessEndpoints:
- endpointType: string
vpceId: string
applicationSettings:
enabled: false
settingsGroup: string
description: string
displayName: string
embedHostDomains:
- string
feedbackUrl: string
name: string
redirectUrl: string
storageConnectors:
- connectorType: string
domains:
- string
resourceIdentifier: string
streamingExperienceSettings:
preferredProtocol: string
tags:
string: string
userSettings:
- action: string
permission: string
Stack Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Stack resource accepts the following input properties:
- Access
Endpoints List<StackAccess Endpoint> - 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. - Application
Settings StackApplication Settings - Settings for application settings persistence.
See
application_settings
below. - Description string
- Description for the AppStream stack.
- Display
Name string - Stack name to display.
- Embed
Host List<string>Domains - 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.
- Feedback
Url 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. .
- Name string
Unique name for the AppStream stack.
The following arguments are optional:
- Redirect
Url string - URL that users are redirected to after their streaming session ends.
- Storage
Connectors List<StackStorage Connector> - Configuration block for the storage connectors to enable.
See
storage_connectors
below. - Streaming
Experience StackSettings Streaming Experience Settings - 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. - Dictionary<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. - User
Settings List<StackUser Setting> - 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.
- Access
Endpoints []StackAccess Endpoint Args - 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. - Application
Settings StackApplication Settings Args - Settings for application settings persistence.
See
application_settings
below. - Description string
- Description for the AppStream stack.
- Display
Name string - Stack name to display.
- Embed
Host []stringDomains - 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.
- Feedback
Url 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. .
- Name string
Unique name for the AppStream stack.
The following arguments are optional:
- Redirect
Url string - URL that users are redirected to after their streaming session ends.
- Storage
Connectors []StackStorage Connector Args - Configuration block for the storage connectors to enable.
See
storage_connectors
below. - Streaming
Experience StackSettings Streaming Experience Settings Args - 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. - 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. - User
Settings []StackUser Setting Args - 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.
- access
Endpoints List<StackAccess Endpoint> - 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. - application
Settings StackApplication Settings - Settings for application settings persistence.
See
application_settings
below. - description String
- Description for the AppStream stack.
- display
Name String - Stack name to display.
- embed
Host List<String>Domains - 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.
- feedback
Url 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. .
- name String
Unique name for the AppStream stack.
The following arguments are optional:
- redirect
Url String - URL that users are redirected to after their streaming session ends.
- storage
Connectors List<StackStorage Connector> - Configuration block for the storage connectors to enable.
See
storage_connectors
below. - streaming
Experience StackSettings Streaming Experience Settings - 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. - 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. - user
Settings List<StackUser Setting> - 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.
- access
Endpoints StackAccess Endpoint[] - 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. - application
Settings StackApplication Settings - Settings for application settings persistence.
See
application_settings
below. - description string
- Description for the AppStream stack.
- display
Name string - Stack name to display.
- embed
Host string[]Domains - 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.
- feedback
Url 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. .
- name string
Unique name for the AppStream stack.
The following arguments are optional:
- redirect
Url string - URL that users are redirected to after their streaming session ends.
- storage
Connectors StackStorage Connector[] - Configuration block for the storage connectors to enable.
See
storage_connectors
below. - streaming
Experience StackSettings Streaming Experience Settings - 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. - {[key: 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. - user
Settings StackUser Setting[] - 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.
- access_
endpoints Sequence[StackAccess Endpoint Args] - 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. - application_
settings StackApplication Settings Args - Settings for application settings persistence.
See
application_settings
below. - description str
- Description for the AppStream stack.
- display_
name str - Stack name to display.
- embed_
host_ Sequence[str]domains - 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.
- feedback_
url str - URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed. .
- name str
Unique name for the AppStream stack.
The following arguments are optional:
- redirect_
url str - URL that users are redirected to after their streaming session ends.
- storage_
connectors Sequence[StackStorage Connector Args] - Configuration block for the storage connectors to enable.
See
storage_connectors
below. - streaming_
experience_ Stacksettings Streaming Experience Settings Args - 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. - Mapping[str, str]
- 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. - user_
settings Sequence[StackUser Setting Args] - 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.
- access
Endpoints List<Property Map> - 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. - application
Settings Property Map - Settings for application settings persistence.
See
application_settings
below. - description String
- Description for the AppStream stack.
- display
Name String - Stack name to display.
- embed
Host List<String>Domains - 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.
- feedback
Url 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. .
- name String
Unique name for the AppStream stack.
The following arguments are optional:
- redirect
Url String - URL that users are redirected to after their streaming session ends.
- storage
Connectors List<Property Map> - Configuration block for the storage connectors to enable.
See
storage_connectors
below. - streaming
Experience Property MapSettings - 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. - Map<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. - user
Settings List<Property Map> - 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Stack resource produces the following output properties:
- Arn string
- ARN of the appstream stack.
- Created
Time string - Date and time, in UTC and extended RFC 3339 format, when the stack was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- Arn string
- ARN of the appstream stack.
- Created
Time string - Date and time, in UTC and extended RFC 3339 format, when the stack was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- arn String
- ARN of the appstream stack.
- created
Time String - Date and time, in UTC and extended RFC 3339 format, when the stack was created.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- arn string
- ARN of the appstream stack.
- created
Time string - Date and time, in UTC and extended RFC 3339 format, when the stack was created.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- arn str
- ARN of the appstream stack.
- created_
time str - Date and time, in UTC and extended RFC 3339 format, when the stack was created.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- arn String
- ARN of the appstream stack.
- created
Time String - Date and time, in UTC and extended RFC 3339 format, when the stack was created.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
Look up Existing Stack Resource
Get an existing Stack resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: StackState, opts?: CustomResourceOptions): Stack
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_endpoints: Optional[Sequence[StackAccessEndpointArgs]] = None,
application_settings: Optional[StackApplicationSettingsArgs] = None,
arn: Optional[str] = None,
created_time: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
embed_host_domains: Optional[Sequence[str]] = None,
feedback_url: Optional[str] = None,
name: Optional[str] = None,
redirect_url: Optional[str] = None,
storage_connectors: Optional[Sequence[StackStorageConnectorArgs]] = None,
streaming_experience_settings: Optional[StackStreamingExperienceSettingsArgs] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
user_settings: Optional[Sequence[StackUserSettingArgs]] = None) -> Stack
func GetStack(ctx *Context, name string, id IDInput, state *StackState, opts ...ResourceOption) (*Stack, error)
public static Stack Get(string name, Input<string> id, StackState? state, CustomResourceOptions? opts = null)
public static Stack get(String name, Output<String> id, StackState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Endpoints List<StackAccess Endpoint> - 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. - Application
Settings StackApplication Settings - Settings for application settings persistence.
See
application_settings
below. - Arn string
- ARN of the appstream stack.
- Created
Time string - Date and time, in UTC and extended RFC 3339 format, when the stack was created.
- Description string
- Description for the AppStream stack.
- Display
Name string - Stack name to display.
- Embed
Host List<string>Domains - 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.
- Feedback
Url 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. .
- Name string
Unique name for the AppStream stack.
The following arguments are optional:
- Redirect
Url string - URL that users are redirected to after their streaming session ends.
- Storage
Connectors List<StackStorage Connector> - Configuration block for the storage connectors to enable.
See
storage_connectors
below. - Streaming
Experience StackSettings Streaming Experience Settings - 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. - Dictionary<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. - Dictionary<string, string>
- User
Settings List<StackUser Setting> - 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.
- Access
Endpoints []StackAccess Endpoint Args - 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. - Application
Settings StackApplication Settings Args - Settings for application settings persistence.
See
application_settings
below. - Arn string
- ARN of the appstream stack.
- Created
Time string - Date and time, in UTC and extended RFC 3339 format, when the stack was created.
- Description string
- Description for the AppStream stack.
- Display
Name string - Stack name to display.
- Embed
Host []stringDomains - 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.
- Feedback
Url 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. .
- Name string
Unique name for the AppStream stack.
The following arguments are optional:
- Redirect
Url string - URL that users are redirected to after their streaming session ends.
- Storage
Connectors []StackStorage Connector Args - Configuration block for the storage connectors to enable.
See
storage_connectors
below. - Streaming
Experience StackSettings Streaming Experience Settings Args - 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. - 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. - map[string]string
- User
Settings []StackUser Setting Args - 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.
- access
Endpoints List<StackAccess Endpoint> - 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. - application
Settings StackApplication Settings - Settings for application settings persistence.
See
application_settings
below. - arn String
- ARN of the appstream stack.
- created
Time String - Date and time, in UTC and extended RFC 3339 format, when the stack was created.
- description String
- Description for the AppStream stack.
- display
Name String - Stack name to display.
- embed
Host List<String>Domains - 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.
- feedback
Url 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. .
- name String
Unique name for the AppStream stack.
The following arguments are optional:
- redirect
Url String - URL that users are redirected to after their streaming session ends.
- storage
Connectors List<StackStorage Connector> - Configuration block for the storage connectors to enable.
See
storage_connectors
below. - streaming
Experience StackSettings Streaming Experience Settings - 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. - 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. - Map<String,String>
- user
Settings List<StackUser Setting> - 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.
- access
Endpoints StackAccess Endpoint[] - 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. - application
Settings StackApplication Settings - Settings for application settings persistence.
See
application_settings
below. - arn string
- ARN of the appstream stack.
- created
Time string - Date and time, in UTC and extended RFC 3339 format, when the stack was created.
- description string
- Description for the AppStream stack.
- display
Name string - Stack name to display.
- embed
Host string[]Domains - 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.
- feedback
Url 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. .
- name string
Unique name for the AppStream stack.
The following arguments are optional:
- redirect
Url string - URL that users are redirected to after their streaming session ends.
- storage
Connectors StackStorage Connector[] - Configuration block for the storage connectors to enable.
See
storage_connectors
below. - streaming
Experience StackSettings Streaming Experience Settings - 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. - {[key: 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. - {[key: string]: string}
- user
Settings StackUser Setting[] - 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.
- access_
endpoints Sequence[StackAccess Endpoint Args] - 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. - application_
settings StackApplication Settings Args - Settings for application settings persistence.
See
application_settings
below. - arn str
- ARN of the appstream stack.
- created_
time str - Date and time, in UTC and extended RFC 3339 format, when the stack was created.
- description str
- Description for the AppStream stack.
- display_
name str - Stack name to display.
- embed_
host_ Sequence[str]domains - 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.
- feedback_
url str - URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed. .
- name str
Unique name for the AppStream stack.
The following arguments are optional:
- redirect_
url str - URL that users are redirected to after their streaming session ends.
- storage_
connectors Sequence[StackStorage Connector Args] - Configuration block for the storage connectors to enable.
See
storage_connectors
below. - streaming_
experience_ Stacksettings Streaming Experience Settings Args - 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. - Mapping[str, str]
- 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. - Mapping[str, str]
- user_
settings Sequence[StackUser Setting Args] - 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.
- access
Endpoints List<Property Map> - 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. - application
Settings Property Map - Settings for application settings persistence.
See
application_settings
below. - arn String
- ARN of the appstream stack.
- created
Time String - Date and time, in UTC and extended RFC 3339 format, when the stack was created.
- description String
- Description for the AppStream stack.
- display
Name String - Stack name to display.
- embed
Host List<String>Domains - 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.
- feedback
Url 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. .
- name String
Unique name for the AppStream stack.
The following arguments are optional:
- redirect
Url String - URL that users are redirected to after their streaming session ends.
- storage
Connectors List<Property Map> - Configuration block for the storage connectors to enable.
See
storage_connectors
below. - streaming
Experience Property MapSettings - 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. - Map<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. - Map<String>
- user
Settings List<Property Map> - 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.
Supporting Types
StackAccessEndpoint, StackAccessEndpointArgs
- Endpoint
Type string - Type of the interface endpoint.
See the
AccessEndpoint
AWS API documentation for valid values. - Vpce
Id string - ID of the VPC in which the interface endpoint is used.
- Endpoint
Type string - Type of the interface endpoint.
See the
AccessEndpoint
AWS API documentation for valid values. - Vpce
Id string - ID of the VPC in which the interface endpoint is used.
- endpoint
Type String - Type of the interface endpoint.
See the
AccessEndpoint
AWS API documentation for valid values. - vpce
Id String - ID of the VPC in which the interface endpoint is used.
- endpoint
Type string - Type of the interface endpoint.
See the
AccessEndpoint
AWS API documentation for valid values. - vpce
Id string - ID of the VPC in which the interface endpoint is used.
- endpoint_
type str - Type of the interface endpoint.
See the
AccessEndpoint
AWS API documentation for valid values. - vpce_
id str - ID of the VPC in which the interface endpoint is used.
- endpoint
Type String - Type of the interface endpoint.
See the
AccessEndpoint
AWS API documentation for valid values. - vpce
Id String - ID of the VPC in which the interface endpoint is used.
StackApplicationSettings, StackApplicationSettingsArgs
- Enabled bool
- Whether application settings should be persisted.
- Settings
Group string - Name of the settings group.
Required when
enabled
istrue
. Can be up to 100 characters.
- Enabled bool
- Whether application settings should be persisted.
- Settings
Group string - Name of the settings group.
Required when
enabled
istrue
. Can be up to 100 characters.
- enabled Boolean
- Whether application settings should be persisted.
- settings
Group String - Name of the settings group.
Required when
enabled
istrue
. Can be up to 100 characters.
- enabled boolean
- Whether application settings should be persisted.
- settings
Group string - Name of the settings group.
Required when
enabled
istrue
. Can be up to 100 characters.
- enabled bool
- Whether application settings should be persisted.
- settings_
group str - Name of the settings group.
Required when
enabled
istrue
. Can be up to 100 characters.
- enabled Boolean
- Whether application settings should be persisted.
- settings
Group String - Name of the settings group.
Required when
enabled
istrue
. Can be up to 100 characters.
StackStorageConnector, StackStorageConnectorArgs
- Connector
Type string - Type of storage connector.
Valid values are
HOMEFOLDERS
,GOOGLE_DRIVE
, orONE_DRIVE
. - Domains List<string>
- Names of the domains for the account.
- Resource
Identifier string - ARN of the storage connector.
- Connector
Type string - Type of storage connector.
Valid values are
HOMEFOLDERS
,GOOGLE_DRIVE
, orONE_DRIVE
. - Domains []string
- Names of the domains for the account.
- Resource
Identifier string - ARN of the storage connector.
- connector
Type String - Type of storage connector.
Valid values are
HOMEFOLDERS
,GOOGLE_DRIVE
, orONE_DRIVE
. - domains List<String>
- Names of the domains for the account.
- resource
Identifier String - ARN of the storage connector.
- connector
Type string - Type of storage connector.
Valid values are
HOMEFOLDERS
,GOOGLE_DRIVE
, orONE_DRIVE
. - domains string[]
- Names of the domains for the account.
- resource
Identifier string - ARN of the storage connector.
- connector_
type str - Type of storage connector.
Valid values are
HOMEFOLDERS
,GOOGLE_DRIVE
, orONE_DRIVE
. - domains Sequence[str]
- Names of the domains for the account.
- resource_
identifier str - ARN of the storage connector.
- connector
Type String - Type of storage connector.
Valid values are
HOMEFOLDERS
,GOOGLE_DRIVE
, orONE_DRIVE
. - domains List<String>
- Names of the domains for the account.
- resource
Identifier String - ARN of the storage connector.
StackStreamingExperienceSettings, StackStreamingExperienceSettingsArgs
- Preferred
Protocol string - The preferred protocol that you want to use while streaming your application.
Valid values are
TCP
andUDP
.
- Preferred
Protocol string - The preferred protocol that you want to use while streaming your application.
Valid values are
TCP
andUDP
.
- preferred
Protocol String - The preferred protocol that you want to use while streaming your application.
Valid values are
TCP
andUDP
.
- preferred
Protocol string - The preferred protocol that you want to use while streaming your application.
Valid values are
TCP
andUDP
.
- preferred_
protocol str - The preferred protocol that you want to use while streaming your application.
Valid values are
TCP
andUDP
.
- preferred
Protocol String - The preferred protocol that you want to use while streaming your application.
Valid values are
TCP
andUDP
.
StackUserSetting, StackUserSettingArgs
- Action string
- Action that is enabled or disabled.
Valid values are
CLIPBOARD_COPY_FROM_LOCAL_DEVICE
,CLIPBOARD_COPY_TO_LOCAL_DEVICE
,FILE_UPLOAD
,FILE_DOWNLOAD
,PRINTING_TO_LOCAL_DEVICE
,DOMAIN_PASSWORD_SIGNIN
, orDOMAIN_SMART_CARD_SIGNIN
. - Permission string
- Whether the action is enabled or disabled.
Valid values are
ENABLED
orDISABLED
.
- Action string
- Action that is enabled or disabled.
Valid values are
CLIPBOARD_COPY_FROM_LOCAL_DEVICE
,CLIPBOARD_COPY_TO_LOCAL_DEVICE
,FILE_UPLOAD
,FILE_DOWNLOAD
,PRINTING_TO_LOCAL_DEVICE
,DOMAIN_PASSWORD_SIGNIN
, orDOMAIN_SMART_CARD_SIGNIN
. - Permission string
- Whether the action is enabled or disabled.
Valid values are
ENABLED
orDISABLED
.
- action String
- Action that is enabled or disabled.
Valid values are
CLIPBOARD_COPY_FROM_LOCAL_DEVICE
,CLIPBOARD_COPY_TO_LOCAL_DEVICE
,FILE_UPLOAD
,FILE_DOWNLOAD
,PRINTING_TO_LOCAL_DEVICE
,DOMAIN_PASSWORD_SIGNIN
, orDOMAIN_SMART_CARD_SIGNIN
. - permission String
- Whether the action is enabled or disabled.
Valid values are
ENABLED
orDISABLED
.
- action string
- Action that is enabled or disabled.
Valid values are
CLIPBOARD_COPY_FROM_LOCAL_DEVICE
,CLIPBOARD_COPY_TO_LOCAL_DEVICE
,FILE_UPLOAD
,FILE_DOWNLOAD
,PRINTING_TO_LOCAL_DEVICE
,DOMAIN_PASSWORD_SIGNIN
, orDOMAIN_SMART_CARD_SIGNIN
. - permission string
- Whether the action is enabled or disabled.
Valid values are
ENABLED
orDISABLED
.
- action str
- Action that is enabled or disabled.
Valid values are
CLIPBOARD_COPY_FROM_LOCAL_DEVICE
,CLIPBOARD_COPY_TO_LOCAL_DEVICE
,FILE_UPLOAD
,FILE_DOWNLOAD
,PRINTING_TO_LOCAL_DEVICE
,DOMAIN_PASSWORD_SIGNIN
, orDOMAIN_SMART_CARD_SIGNIN
. - permission str
- Whether the action is enabled or disabled.
Valid values are
ENABLED
orDISABLED
.
- action String
- Action that is enabled or disabled.
Valid values are
CLIPBOARD_COPY_FROM_LOCAL_DEVICE
,CLIPBOARD_COPY_TO_LOCAL_DEVICE
,FILE_UPLOAD
,FILE_DOWNLOAD
,PRINTING_TO_LOCAL_DEVICE
,DOMAIN_PASSWORD_SIGNIN
, orDOMAIN_SMART_CARD_SIGNIN
. - permission String
- Whether the action is enabled or disabled.
Valid values are
ENABLED
orDISABLED
.
Import
Using pulumi import
, import aws_appstream_stack
using the id. For example:
$ pulumi import aws:appstream/stack:Stack example stackID
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.