Interface CfnThemeProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnThemeProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.446Z") @Stability(Stable) public interface CfnThemeProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnTheme.

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.amplifyuibuilder.*;
 ThemeValuesProperty themeValuesProperty_;
 CfnThemeProps cfnThemeProps = CfnThemeProps.builder()
         .name("name")
         .values(List.of(ThemeValuesProperty.builder()
                 .key("key")
                 .value(ThemeValueProperty.builder()
                         .children(List.of(themeValuesProperty_))
                         .value("value")
                         .build())
                 .build()))
         // the properties below are optional
         .appId("appId")
         .environmentName("environmentName")
         .overrides(List.of(ThemeValuesProperty.builder()
                 .key("key")
                 .value(ThemeValueProperty.builder()
                         .children(List.of(themeValuesProperty_))
                         .value("value")
                         .build())
                 .build()))
         .tags(Map.of(
                 "tagsKey", "tags"))
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the theme.
    • getValues

      @Stability(Stable) @NotNull Object getValues()
      A list of key-value pairs that defines the properties of the theme.
    • getAppId

      @Stability(Stable) @Nullable default String getAppId()
      AWS::AmplifyUIBuilder::Theme.AppId.
    • getEnvironmentName

      @Stability(Stable) @Nullable default String getEnvironmentName()
      AWS::AmplifyUIBuilder::Theme.EnvironmentName.
    • getOverrides

      @Stability(Stable) @Nullable default Object getOverrides()
      Describes the properties that can be overriden to customize a theme.
    • getTags

      @Stability(Stable) @Nullable default Map<String,String> getTags()
      One or more key-value pairs to use when tagging the theme.
    • builder

      @Stability(Stable) static CfnThemeProps.Builder builder()
      Returns:
      a CfnThemeProps.Builder of CfnThemeProps