LocalizedBrandingStringsProperty Struct
Localized text strings for a specific language that customize the web portal.
| 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_workspacesweb as workspacesweb } from 'aws-cdk-lib';
const localizedBrandingStringsProperty: workspacesweb.CfnUserSettings.LocalizedBrandingStringsProperty = {
browserTabTitle: 'browserTabTitle',
welcomeText: 'welcomeText',
// the properties below are optional
contactButtonText: 'contactButtonText',
contactLink: 'contactLink',
loadingText: 'loadingText',
loginButtonText: 'loginButtonText',
loginDescription: 'loginDescription',
loginTitle: 'loginTitle',
};
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_workspacesweb as workspacesweb
localized_branding_strings_property = workspacesweb.CfnUserSettings.LocalizedBrandingStringsProperty(
browser_tab_title="browserTabTitle",
welcome_text="welcomeText",
# the properties below are optional
contact_button_text="contactButtonText",
contact_link="contactLink",
loading_text="loadingText",
login_button_text="loginButtonText",
login_description="loginDescription",
login_title="loginTitle"
)
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.workspacesweb.*;
LocalizedBrandingStringsProperty localizedBrandingStringsProperty = LocalizedBrandingStringsProperty.builder()
.browserTabTitle("browserTabTitle")
.welcomeText("welcomeText")
// the properties below are optional
.contactButtonText("contactButtonText")
.contactLink("contactLink")
.loadingText("loadingText")
.loginButtonText("loginButtonText")
.loginDescription("loginDescription")
.loginTitle("loginTitle")
.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.WorkSpacesWeb;
var localizedBrandingStringsProperty = new LocalizedBrandingStringsProperty {
BrowserTabTitle = "browserTabTitle",
WelcomeText = "welcomeText",
// the properties below are optional
ContactButtonText = "contactButtonText",
ContactLink = "contactLink",
LoadingText = "loadingText",
LoginButtonText = "loginButtonText",
LoginDescription = "loginDescription",
LoginTitle = "loginTitle"
};
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"
localizedBrandingStringsProperty := &LocalizedBrandingStringsProperty{
BrowserTabTitle: jsii.String("browserTabTitle"),
WelcomeText: jsii.String("welcomeText"),
// the properties below are optional
ContactButtonText: jsii.String("contactButtonText"),
ContactLink: jsii.String("contactLink"),
LoadingText: jsii.String("loadingText"),
LoginButtonText: jsii.String("loginButtonText"),
LoginDescription: jsii.String("loginDescription"),
LoginTitle: jsii.String("loginTitle"),
}
Properties
browserTabTitlestringbrowser_tab_titlestrbrowserTabTitleStringBrowserTabTitlestringBrowserTabTitle*string required #The text displayed in the browser tab title.
contactButtonTextoptionalstringcontact_button_textoptionalstrcontactButtonTextoptionalStringContactButtonTextoptionalstringContactButtonTextoptional*string #The text displayed on the contact button.
This field is optional and defaults to "Contact us".
contactLinkoptionalstringcontact_linkoptionalstrcontactLinkoptionalStringContactLinkoptionalstringContactLinkoptional*string #A contact link URL.
The URL must start with https:// or mailto: . If not provided, the contact button will be hidden from the web portal screen.
loadingTextoptionalstringloading_textoptionalstrloadingTextoptionalStringLoadingTextoptionalstringLoadingTextoptional*string #The text displayed during session loading.
This field is optional and defaults to "Loading your session".
loginButtonTextoptionalstringlogin_button_textoptionalstrloginButtonTextoptionalStringLoginButtonTextoptionalstringLoginButtonTextoptional*string #The text displayed on the login button.
This field is optional and defaults to "Sign In".
loginDescriptionoptionalstringlogin_descriptionoptionalstrloginDescriptionoptionalStringLoginDescriptionoptionalstringLoginDescriptionoptional*string #The description text for the login section.
This field is optional and defaults to "Sign in to your session".
loginTitleoptionalstringlogin_titleoptionalstrloginTitleoptionalStringLoginTitleoptionalstringLoginTitleoptional*string #The title text for the login section.
This field is optional and defaults to "Sign In".
The welcome text displayed on the sign-in page.