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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnThemePropsstatic final classAn implementation forCfnThemeProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnThemeProps.Builderbuilder()default StringgetAppId()AWS::AmplifyUIBuilder::Theme.AppId.default StringAWS::AmplifyUIBuilder::Theme.EnvironmentName.getName()The name of the theme.default ObjectDescribes the properties that can be overriden to customize a theme.getTags()One or more key-value pairs to use when tagging the theme.A list of key-value pairs that defines the properties of the theme.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the theme. -
getValues
A list of key-value pairs that defines the properties of the theme. -
getAppId
AWS::AmplifyUIBuilder::Theme.AppId. -
getEnvironmentName
AWS::AmplifyUIBuilder::Theme.EnvironmentName. -
getOverrides
Describes the properties that can be overriden to customize a theme. -
getTags
One or more key-value pairs to use when tagging the theme. -
builder
- Returns:
- a
CfnThemeProps.BuilderofCfnThemeProps
-