Class CfnClientVpnEndpoint.ClientLoginBannerOptionsProperty
Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.
Inheritance
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class ClientLoginBannerOptionsProperty : Object, CfnClientVpnEndpoint.IClientLoginBannerOptionsProperty
Syntax (vb)
Public Class ClientLoginBannerOptionsProperty
Inherits Object
Implements CfnClientVpnEndpoint.IClientLoginBannerOptionsProperty
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.EC2;
var clientLoginBannerOptionsProperty = new ClientLoginBannerOptionsProperty {
Enabled = false,
// the properties below are optional
BannerText = "bannerText"
};
Synopsis
Constructors
ClientLoginBannerOptionsProperty() |
Properties
BannerText | Customizable text that will be displayed in a banner on AWS provided clients when a VPN session is established. |
Enabled | Enable or disable a customizable text banner that will be displayed on AWS provided clients when a VPN session is established. |
Constructors
ClientLoginBannerOptionsProperty()
public ClientLoginBannerOptionsProperty()
Properties
BannerText
Customizable text that will be displayed in a banner on AWS provided clients when a VPN session is established.
public string BannerText { get; set; }
Property Value
System.String
Remarks
UTF-8 encoded characters only. Maximum of 1400 characters.
Enabled
Enable or disable a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.
public object Enabled { get; set; }
Property Value
System.Object
Remarks
Valid values: true | false
Default value: false