Skip to content

Commit df60d0e

Browse files
author
AWS
committed
Amazon AppStream Update: Add support for URL Redirection
1 parent e985da2 commit df60d0e

File tree

2 files changed

+56
-2
lines changed

2 files changed

+56
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon AppStream",
4+
"contributor": "",
5+
"description": "Add support for URL Redirection"
6+
}

services/appstream/src/main/resources/codegen-resources/service-2.json

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2190,6 +2190,16 @@
21902190
"documentation":"<p>An API error occurred. Wait a few minutes and try again.</p>",
21912191
"exception":true
21922192
},
2193+
"ContentRedirection":{
2194+
"type":"structure",
2195+
"members":{
2196+
"HostToClient":{
2197+
"shape":"UrlRedirectionConfig",
2198+
"documentation":"<p>Configuration for redirecting URLs from the remote desktop to the local client browser.</p>"
2199+
}
2200+
},
2201+
"documentation":"<p>Configuration for bidirectional URL redirection between the streaming session and the local client. Use HostToClient to redirect URLs from the remote desktop to the local browser.</p>"
2202+
},
21932203
"CopyImageRequest":{
21942204
"type":"structure",
21952205
"required":[
@@ -2873,7 +2883,8 @@
28732883
"StreamingExperienceSettings":{
28742884
"shape":"StreamingExperienceSettings",
28752885
"documentation":"<p>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.</p>"
2876-
}
2886+
},
2887+
"ContentRedirection":{"shape":"ContentRedirection"}
28772888
}
28782889
},
28792890
"CreateStackResult":{
@@ -5604,6 +5615,10 @@
56045615
"StreamingExperienceSettings":{
56055616
"shape":"StreamingExperienceSettings",
56065617
"documentation":"<p>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.</p>"
5618+
},
5619+
"ContentRedirection":{
5620+
"shape":"ContentRedirection",
5621+
"documentation":"<p>Configuration for bidirectional URL redirection between the streaming session and the local client. Use HostToClient to redirect URLs from the remote desktop to the local browser.</p>"
56075622
}
56085623
},
56095624
"documentation":"<p>Describes a stack.</p>"
@@ -5622,7 +5637,8 @@
56225637
"EMBED_HOST_DOMAINS",
56235638
"IAM_ROLE_ARN",
56245639
"ACCESS_ENDPOINTS",
5625-
"STREAMING_EXPERIENCE_SETTINGS"
5640+
"STREAMING_EXPERIENCE_SETTINGS",
5641+
"CONTENT_REDIRECTION"
56265642
]
56275643
},
56285644
"StackAttributes":{
@@ -6447,6 +6463,38 @@
64476463
}
64486464
}
64496465
},
6466+
"UrlPattern":{
6467+
"type":"string",
6468+
"documentation":"<p>A glob pattern using wildcards (* for zero or more characters, ? for exactly one character) to match URLs for redirection rules. Patterns do not include a protocol prefix; HTTPS is enforced automatically. Valid examples: *, *.example.com, github.com/myorg/*, api?.example.com Invalid examples: https://example.com (no protocol), empty string</p>",
6469+
"max":2048,
6470+
"min":1,
6471+
"pattern":"^(\\*|https?://[^\\s,;]+)$"
6472+
},
6473+
"UrlPatternList":{
6474+
"type":"list",
6475+
"member":{"shape":"UrlPattern"},
6476+
"max":100,
6477+
"min":0
6478+
},
6479+
"UrlRedirectionConfig":{
6480+
"type":"structure",
6481+
"required":["Enabled"],
6482+
"members":{
6483+
"Enabled":{
6484+
"shape":"BooleanObject",
6485+
"documentation":"<p>Whether URL redirection is enabled for this direction.</p>"
6486+
},
6487+
"AllowedUrls":{
6488+
"shape":"UrlPatternList",
6489+
"documentation":"<p>List of URL patterns that are allowed to be redirected. URLs matching these patterns will be redirected unless they also match a pattern in the denied list.</p>"
6490+
},
6491+
"DeniedUrls":{
6492+
"shape":"UrlPatternList",
6493+
"documentation":"<p>List of URL patterns that are denied from redirection. This list takes precedence over the allowed list.</p>"
6494+
}
6495+
},
6496+
"documentation":"<p>Configuration for URL redirection in a specific direction (host-to-client or client-to-host). When enabled, URLs matching the allowed or denied patterns are redirected accordingly. The denied list takes precedence over the allowed list.</p>"
6497+
},
64506498
"UsageReportExecutionErrorCode":{
64516499
"type":"string",
64526500
"enum":[

0 commit comments

Comments
 (0)