# BrandingConfigurationProperty

The branding configuration that customizes the appearance of the web portal for end users.

This includes a custom logo, favicon, wallpaper, localized strings, color theme, and an optional terms of service.

> The `LogoMetadata` , `FaviconMetadata` , and `WallpaperMetadata` properties 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 the `Fn::GetAtt` intrinsic function.

- Source: Generated at build time
- Type last changed: v2.233.0 · 18 Dec 2025

## Example

TypeScript:

```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 brandingConfigurationProperty: workspacesweb.CfnUserSettings.BrandingConfigurationProperty = {
  colorTheme: 'colorTheme',
  favicon: 'favicon',
  faviconMetadata: {
    fileExtension: 'fileExtension',
    lastUploadTimestamp: 'lastUploadTimestamp',
    mimeType: 'mimeType',
  },
  localizedStrings: {
    localizedStringsKey: {
      browserTabTitle: 'browserTabTitle',
      welcomeText: 'welcomeText',

      // the properties below are optional
      contactButtonText: 'contactButtonText',
      contactLink: 'contactLink',
      loadingText: 'loadingText',
      loginButtonText: 'loginButtonText',
      loginDescription: 'loginDescription',
      loginTitle: 'loginTitle',
    },
  },
  logo: 'logo',
  logoMetadata: {
    fileExtension: 'fileExtension',
    lastUploadTimestamp: 'lastUploadTimestamp',
    mimeType: 'mimeType',
  },
  termsOfService: 'termsOfService',
  wallpaper: 'wallpaper',
  wallpaperMetadata: {
    fileExtension: 'fileExtension',
    lastUploadTimestamp: 'lastUploadTimestamp',
    mimeType: 'mimeType',
  },
};
```

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_workspacesweb as workspacesweb

branding_configuration_property = workspacesweb.CfnUserSettings.BrandingConfigurationProperty(
    color_theme="colorTheme",
    favicon="favicon",
    favicon_metadata=workspacesweb.CfnUserSettings.ImageMetadataProperty(
        file_extension="fileExtension",
        last_upload_timestamp="lastUploadTimestamp",
        mime_type="mimeType"
    ),
    localized_strings={
        "localized_strings_key": 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"
        )
    },
    logo="logo",
    logo_metadata=workspacesweb.CfnUserSettings.ImageMetadataProperty(
        file_extension="fileExtension",
        last_upload_timestamp="lastUploadTimestamp",
        mime_type="mimeType"
    ),
    terms_of_service="termsOfService",
    wallpaper="wallpaper",
    wallpaper_metadata=workspacesweb.CfnUserSettings.ImageMetadataProperty(
        file_extension="fileExtension",
        last_upload_timestamp="lastUploadTimestamp",
        mime_type="mimeType"
    )
)
```

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

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.WorkSpacesWeb;

var brandingConfigurationProperty = new BrandingConfigurationProperty {
    ColorTheme = "colorTheme",
    Favicon = "favicon",
    FaviconMetadata = new ImageMetadataProperty {
        FileExtension = "fileExtension",
        LastUploadTimestamp = "lastUploadTimestamp",
        MimeType = "mimeType"
    },
    LocalizedStrings = new Dictionary<string, object> {
        { "localizedStringsKey", new LocalizedBrandingStringsProperty {
            BrowserTabTitle = "browserTabTitle",
            WelcomeText = "welcomeText",

            // the properties below are optional
            ContactButtonText = "contactButtonText",
            ContactLink = "contactLink",
            LoadingText = "loadingText",
            LoginButtonText = "loginButtonText",
            LoginDescription = "loginDescription",
            LoginTitle = "loginTitle"
        } }
    },
    Logo = "logo",
    LogoMetadata = new ImageMetadataProperty {
        FileExtension = "fileExtension",
        LastUploadTimestamp = "lastUploadTimestamp",
        MimeType = "mimeType"
    },
    TermsOfService = "termsOfService",
    Wallpaper = "wallpaper",
    WallpaperMetadata = new ImageMetadataProperty {
        FileExtension = "fileExtension",
        LastUploadTimestamp = "lastUploadTimestamp",
        MimeType = "mimeType"
    }
};
```

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"

brandingConfigurationProperty := &BrandingConfigurationProperty{
	ColorTheme: jsii.String("colorTheme"),
	Favicon: jsii.String("favicon"),
	FaviconMetadata: &ImageMetadataProperty{
		FileExtension: jsii.String("fileExtension"),
		LastUploadTimestamp: jsii.String("lastUploadTimestamp"),
		MimeType: jsii.String("mimeType"),
	},
	LocalizedStrings: map[string]interface{}{
		"localizedStringsKey": &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"),
		},
	},
	Logo: jsii.String("logo"),
	LogoMetadata: &ImageMetadataProperty{
		FileExtension: jsii.String("fileExtension"),
		LastUploadTimestamp: jsii.String("lastUploadTimestamp"),
		MimeType: jsii.String("mimeType"),
	},
	TermsOfService: jsii.String("termsOfService"),
	Wallpaper: jsii.String("wallpaper"),
	WallpaperMetadata: &ImageMetadataProperty{
		FileExtension: jsii.String("fileExtension"),
		LastUploadTimestamp: jsii.String("lastUploadTimestamp"),
		MimeType: jsii.String("mimeType"),
	},
}
```

## Properties

- `colorTheme`: string — The color theme for components on the web portal.

  Choose `Light` if you upload a dark wallpaper, or `Dark` for a light wallpaper.

- `favicon`: string — 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.

- `faviconMetadata`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserSettings.ImageMetadataProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_workspacesweb.CfnUserSettings.ImageMetadataProperty.html) — 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::GetAtt` intrinsic function.

- `localizedStrings`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserSettings.LocalizedBrandingStringsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_workspacesweb.CfnUserSettings.LocalizedBrandingStringsProperty.html) } — A map of localized text strings for different languages, allowing the portal to display content in the user's preferred language.

- `logo`: string — 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.

- `logoMetadata`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserSettings.ImageMetadataProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_workspacesweb.CfnUserSettings.ImageMetadataProperty.html) — 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::GetAtt` intrinsic function.

- `termsOfService`: string — The terms of service text in Markdown format that users must accept before accessing the portal.

- `wallpaper`: string — 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.

- `wallpaperMetadata`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserSettings.ImageMetadataProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_workspacesweb.CfnUserSettings.ImageMetadataProperty.html) — 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::GetAtt` intrinsic function.
