# ClientLoginBannerOptionsProperty

Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `bannerText`: 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.

- `enabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (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`
