ClientLoginBannerOptionsProperty Struct
Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const clientLoginBannerOptionsProperty: ec2.CfnClientVpnEndpoint.ClientLoginBannerOptionsProperty = {
enabled: false,
// the properties below are optional
bannerText: 'bannerText',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2
client_login_banner_options_property = ec2.CfnClientVpnEndpoint.ClientLoginBannerOptionsProperty(
enabled=False,
# the properties below are optional
banner_text="bannerText"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
ClientLoginBannerOptionsProperty clientLoginBannerOptionsProperty = ClientLoginBannerOptionsProperty.builder()
.enabled(false)
// the properties below are optional
.bannerText("bannerText")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
clientLoginBannerOptionsProperty := &ClientLoginBannerOptionsProperty{
Enabled: jsii.Boolean(false),
// the properties below are optional
BannerText: jsii.String("bannerText"),
}
Properties
bannerTextoptionalstringbanner_textoptionalstrbannerTextoptionalStringBannerTextoptionalstringBannerTextoptional*string #Customizable text that will be displayed in a banner on AWS provided clients when a VPN session is established.
UTF-8 encoded characters only. Maximum of 1400 characters.
enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{} required #Enable or disable a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.
Valid values: true | false
Default value: false