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,
web_authn_redirection: Optional[WebAuthnRedirection] = 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.
-
web_authn_redirection(Optional[WebAuthnRedirection], default:None) –Configuration for WebAuthn redirection between the streaming session and the user's local device. Use ProcessCompatibilityList to specify which processes can use WebAuthn redirection on Windows fleets.
-
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
2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 | |