Interface CfnUserSettings.BrandingConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserSettings.BrandingConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnUserSettings
This includes a custom logo, favicon, wallpaper, localized strings, color theme, and an optional terms of service.
The
LogoMetadata,FaviconMetadata, andWallpaperMetadataproperties are read-only and cannot be specified in your template. They are automatically populated by the service after you upload images and can be retrieved using theFn::GetAttintrinsic function.
Example:
// 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.*;
BrandingConfigurationProperty brandingConfigurationProperty = BrandingConfigurationProperty.builder()
.colorTheme("colorTheme")
.favicon("favicon")
.faviconMetadata(ImageMetadataProperty.builder()
.fileExtension("fileExtension")
.lastUploadTimestamp("lastUploadTimestamp")
.mimeType("mimeType")
.build())
.localizedStrings(Map.of(
"localizedStringsKey", LocalizedBrandingStringsProperty.builder()
.browserTabTitle("browserTabTitle")
.welcomeText("welcomeText")
// the properties below are optional
.contactButtonText("contactButtonText")
.contactLink("contactLink")
.loadingText("loadingText")
.loginButtonText("loginButtonText")
.loginDescription("loginDescription")
.loginTitle("loginTitle")
.build()))
.logo("logo")
.logoMetadata(ImageMetadataProperty.builder()
.fileExtension("fileExtension")
.lastUploadTimestamp("lastUploadTimestamp")
.mimeType("mimeType")
.build())
.termsOfService("termsOfService")
.wallpaper("wallpaper")
.wallpaperMetadata(ImageMetadataProperty.builder()
.fileExtension("fileExtension")
.lastUploadTimestamp("lastUploadTimestamp")
.mimeType("mimeType")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserSettings.BrandingConfigurationPropertystatic final classAn implementation forCfnUserSettings.BrandingConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe color theme for components on the web portal.default StringThe favicon image for the portal.default ObjectRead-only.default ObjectA map of localized text strings for different languages, allowing the portal to display content in the user's preferred language.default StringgetLogo()The logo image for the portal.default ObjectRead-only.default StringThe terms of service text in Markdown format that users must accept before accessing the portal.default StringThe wallpaper image for the portal.default ObjectRead-only.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getColorTheme
The color theme for components on the web portal.Choose
Lightif you upload a dark wallpaper, orDarkfor a light wallpaper.- See Also:
-
getFavicon
The favicon image for the portal.Provide either a binary image file or an S3 URI pointing to the image file. Maximum 100 KB in JPEG, PNG, or ICO format.
- See Also:
-
getFaviconMetadata
Read-only.Metadata for the favicon image file, including the MIME type, file extension, and upload timestamp. This property is automatically populated by the service and cannot be specified in your template. It can be retrieved using the
Fn::GetAttintrinsic function.Returns union: either
IResolvableorCfnUserSettings.ImageMetadataProperty- See Also:
-
getLocalizedStrings
A map of localized text strings for different languages, allowing the portal to display content in the user's preferred language.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnUserSettings.LocalizedBrandingStringsProperty>- See Also:
-
getLogo
The logo image for the portal.Provide either a binary image file or an S3 URI pointing to the image file. Maximum 100 KB in JPEG, PNG, or ICO format.
- See Also:
-
getLogoMetadata
Read-only.Metadata for the logo image file, including the MIME type, file extension, and upload timestamp. This property is automatically populated by the service and cannot be specified in your template. It can be retrieved using the
Fn::GetAttintrinsic function.Returns union: either
IResolvableorCfnUserSettings.ImageMetadataProperty- See Also:
-
getTermsOfService
The terms of service text in Markdown format that users must accept before accessing the portal.- See Also:
-
getWallpaper
The wallpaper image for the portal.Provide either a binary image file or an S3 URI pointing to the image file. Maximum 5 MB in JPEG or PNG format.
- See Also:
-
getWallpaperMetadata
Read-only.Metadata for the wallpaper image file, including the MIME type, file extension, and upload timestamp. This property is automatically populated by the service and cannot be specified in your template. It can be retrieved using the
Fn::GetAttintrinsic function.Returns union: either
IResolvableorCfnUserSettings.ImageMetadataProperty- See Also:
-
builder
-