Interface CfnThemeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnThemeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:31.316Z")
@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()
.appId("appId")
.environmentName("environmentName")
.name("name")
.overrides(List.of(ThemeValuesProperty.builder()
.key("key")
.value(ThemeValueProperty.builder()
.children(List.of(themeValuesProperty_))
.value("value")
.build())
.build()))
.tags(Map.of(
"tagsKey", "tags"))
.values(List.of(ThemeValuesProperty.builder()
.key("key")
.value(ThemeValueProperty.builder()
.children(List.of(themeValuesProperty_))
.value("value")
.build())
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnThemePropsstatic final classAn implementation forCfnThemeProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnThemeProps.Builderbuilder()default StringgetAppId()The unique ID for the Amplify app associated with the theme.default StringThe name of the backend environment that is a part of the Amplify app.default StringgetName()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.default ObjectA list of key-value pairs that defines the properties of the theme.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAppId
The unique ID for the Amplify app associated with the theme.- See Also:
-
getEnvironmentName
The name of the backend environment that is a part of the Amplify app.- See Also:
-
getName
The name of the theme.- See Also:
-
getOverrides
Describes the properties that can be overriden to customize a theme.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTheme.ThemeValuesProperty>- See Also:
-
getTags
One or more key-value pairs to use when tagging the theme.- See Also:
-
getValues
A list of key-value pairs that defines the properties of the theme.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTheme.ThemeValuesProperty>- See Also:
-
builder
- Returns:
- a
CfnThemeProps.BuilderofCfnThemeProps
-