create_stack
¶
create_stack(
*,
config_overrides: Optional[AppStreamClientConfig] = None,
name: Optional[Name] = None,
description: Optional[Description] = None,
display_name: Optional[DisplayName] = None,
storage_connectors: Optional[StorageConnectorList] = None,
redirect_url: Optional[RedirectURL] = None,
feedback_url: Optional[FeedbackURL] = None,
user_settings: Optional[UserSettingList] = None,
application_settings: Optional[ApplicationSettings] = None,
tags: Optional[Tags] = None,
access_endpoints: Optional[AccessEndpointList] = None,
embed_host_domains: Optional[EmbedHostDomains] = None,
streaming_experience_settings: Optional[StreamingExperienceSettings] = None,
content_redirection: Optional[ContentRedirection] = None,
agent_access_config: Optional[AgentAccessConfig] = None,
storage_connector_authentication: Optional[StorageConnectorAuthentication] = None,
) -> CreateStackResult
Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations.
Parameters:
-
name(Optional[Name], default:None) –The name of the stack.
-
description(Optional[Description], default:None) –The description to display.
-
display_name(Optional[DisplayName], default:None) –The stack name to display.
-
storage_connectors(Optional[StorageConnectorList], default:None) –The storage connectors to enable.
-
redirect_url(Optional[RedirectURL], default:None) –The URL that users are redirected to after their streaming session ends.
-
feedback_url(Optional[FeedbackURL], default:None) –The URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.
-
user_settings(Optional[UserSettingList], default:None) –The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.
-
application_settings(Optional[ApplicationSettings], default:None) –The persistent application settings for users of a stack. When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session.
-
tags(Optional[Tags], default:None) –The tags to associate with the stack. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.
If you do not specify a value, the value is set to an empty string.
Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:
_ . : / = + \ - @
For more information about tags, see Tagging Your Resources in the Amazon WorkSpaces Applications Administration Guide.
-
access_endpoints(Optional[AccessEndpointList], default:None) –The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to WorkSpaces Applications only through the specified endpoints.
-
embed_host_domains(Optional[EmbedHostDomains], default:None) –The domains where WorkSpaces Applications streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded WorkSpaces Applications streaming sessions.
-
streaming_experience_settings(Optional[StreamingExperienceSettings], default:None) –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.
-
agent_access_config(Optional[AgentAccessConfig], default:None) –The configuration for agent access on the stack. If specified, agent access is enabled for the stack.
-
storage_connector_authentication(Optional[StorageConnectorAuthentication], default:None) –Specifies whether users' cloud storage authentication persists across streaming sessions. When you specify FORCE_REAUTHENTICATION, WorkSpaces Applications removes the stored authentication for the stack's OneDrive and Google Drive connectors when a user's session ends. The user links their cloud storage again on their next session. The default is REUSE_CREDENTIALS.
Raises:
-
ConcurrentModificationException–An API error occurred. Wait a few minutes and try again.
-
InvalidAccountStatusException–The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support.
-
InvalidParameterCombinationException–Indicates an incorrect combination of parameters, or a missing parameter.
-
InvalidRoleException–The specified role is invalid.
-
LimitExceededException–The requested limit exceeds the permitted limit for an account.
-
OperationNotPermittedException–The attempted operation is not permitted.
-
ResourceAlreadyExistsException–The specified resource already exists.
-
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appstream/_services/app_stream.py
1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 | |