Class CfnStack.UrlRedirectionConfigProperty
The configuration for URL redirection.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppStream
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStack.UrlRedirectionConfigProperty : CfnStack.IUrlRedirectionConfigProperty
Syntax (vb)
Public Class CfnStack.UrlRedirectionConfigProperty Implements CfnStack.IUrlRedirectionConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppStream;
var urlRedirectionConfigProperty = new UrlRedirectionConfigProperty {
Enabled = false,
// the properties below are optional
AllowedUrls = new [] { "allowedUrls" },
DeniedUrls = new [] { "deniedUrls" }
};
Synopsis
Constructors
| UrlRedirectionConfigProperty() | The configuration for URL redirection. |
Properties
| AllowedUrls | The URLs that are allowed for redirection. |
| DeniedUrls | The URLs that are denied for redirection. |
| Enabled | Specifies whether URL redirection is enabled or disabled. |
Constructors
UrlRedirectionConfigProperty()
The configuration for URL redirection.
public UrlRedirectionConfigProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppStream;
var urlRedirectionConfigProperty = new UrlRedirectionConfigProperty {
Enabled = false,
// the properties below are optional
AllowedUrls = new [] { "allowedUrls" },
DeniedUrls = new [] { "deniedUrls" }
};
Properties
AllowedUrls
The URLs that are allowed for redirection.
public string[]? AllowedUrls { get; set; }
Property Value
string[]
Remarks
DeniedUrls
The URLs that are denied for redirection.
public string[]? DeniedUrls { get; set; }
Property Value
string[]
Remarks
Enabled
Specifies whether URL redirection is enabled or disabled.
public object Enabled { get; set; }