interface UrlRedirectionConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppStream.CfnStack.UrlRedirectionConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappstream#CfnStack_UrlRedirectionConfigProperty |
Java | software.amazon.awscdk.services.appstream.CfnStack.UrlRedirectionConfigProperty |
Python | aws_cdk.aws_appstream.CfnStack.UrlRedirectionConfigProperty |
TypeScript | aws-cdk-lib » aws_appstream » CfnStack » UrlRedirectionConfigProperty |
The configuration for URL redirection.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appstream as appstream } from 'aws-cdk-lib';
const urlRedirectionConfigProperty: appstream.CfnStack.UrlRedirectionConfigProperty = {
enabled: false,
// the properties below are optional
allowedUrls: ['allowedUrls'],
deniedUrls: ['deniedUrls'],
};
Properties
| Name | Type | Description |
|---|---|---|
| enabled | boolean | IResolvable | Specifies whether URL redirection is enabled or disabled. |
| allowed | string[] | The URLs that are allowed for redirection. |
| denied | string[] | The URLs that are denied for redirection. |
enabled
Type:
boolean | IResolvable
Specifies whether URL redirection is enabled or disabled.
allowedUrls?
Type:
string[]
(optional)
The URLs that are allowed for redirection.
deniedUrls?
Type:
string[]
(optional)
The URLs that are denied for redirection.

.NET
Go
Java
Python
TypeScript