@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:07.533Z") @Stability(value=Stable) public class CfnTheme extends CfnResource implements IInspectable
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.quicksight.*;
CfnTheme cfnTheme = CfnTheme.Builder.create(this, "MyCfnTheme")
.awsAccountId("awsAccountId")
.themeId("themeId")
// the properties below are optional
.baseThemeId("baseThemeId")
.configuration(ThemeConfigurationProperty.builder()
.dataColorPalette(DataColorPaletteProperty.builder()
.colors(List.of("colors"))
.emptyFillColor("emptyFillColor")
.minMaxGradient(List.of("minMaxGradient"))
.build())
.sheet(SheetStyleProperty.builder()
.tile(TileStyleProperty.builder()
.border(BorderStyleProperty.builder()
.show(false)
.build())
.build())
.tileLayout(TileLayoutStyleProperty.builder()
.gutter(GutterStyleProperty.builder()
.show(false)
.build())
.margin(MarginStyleProperty.builder()
.show(false)
.build())
.build())
.build())
.typography(TypographyProperty.builder()
.fontFamilies(List.of(FontProperty.builder()
.fontFamily("fontFamily")
.build()))
.build())
.uiColorPalette(UIColorPaletteProperty.builder()
.accent("accent")
.accentForeground("accentForeground")
.danger("danger")
.dangerForeground("dangerForeground")
.dimension("dimension")
.dimensionForeground("dimensionForeground")
.measure("measure")
.measureForeground("measureForeground")
.primaryBackground("primaryBackground")
.primaryForeground("primaryForeground")
.secondaryBackground("secondaryBackground")
.secondaryForeground("secondaryForeground")
.success("success")
.successForeground("successForeground")
.warning("warning")
.warningForeground("warningForeground")
.build())
.build())
.name("name")
.permissions(List.of(ResourcePermissionProperty.builder()
.actions(List.of("actions"))
.principal("principal")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.versionDescription("versionDescription")
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnTheme.BorderStyleProperty
Example:
|
static class |
CfnTheme.Builder
A fluent builder for
CfnTheme. |
static interface |
CfnTheme.DataColorPaletteProperty
Example:
|
static interface |
CfnTheme.FontProperty
Example:
|
static interface |
CfnTheme.GutterStyleProperty
Example:
|
static interface |
CfnTheme.MarginStyleProperty
Example:
|
static interface |
CfnTheme.ResourcePermissionProperty
Example:
|
static interface |
CfnTheme.SheetStyleProperty
Example:
|
static interface |
CfnTheme.ThemeConfigurationProperty
Example:
|
static interface |
CfnTheme.TileLayoutStyleProperty
Example:
|
static interface |
CfnTheme.TileStyleProperty
Example:
|
static interface |
CfnTheme.TypographyProperty
Example:
|
static interface |
CfnTheme.UIColorPaletteProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnTheme(software.constructs.Construct scope,
String id,
CfnThemeProps props)
Create a new `AWS::QuickSight::Theme`.
|
protected |
CfnTheme(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnTheme(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrCreatedTime() |
String |
getAttrLastUpdatedTime() |
String |
getAttrType() |
String |
getAwsAccountId()
`AWS::QuickSight::Theme.AwsAccountId`.
|
String |
getBaseThemeId()
`AWS::QuickSight::Theme.BaseThemeId`.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getConfiguration()
`AWS::QuickSight::Theme.Configuration`.
|
String |
getName()
`AWS::QuickSight::Theme.Name`.
|
Object |
getPermissions()
`AWS::QuickSight::Theme.Permissions`.
|
TagManager |
getTags()
`AWS::QuickSight::Theme.Tags`.
|
String |
getThemeId()
`AWS::QuickSight::Theme.ThemeId`.
|
String |
getVersionDescription()
`AWS::QuickSight::Theme.VersionDescription`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAwsAccountId(String value)
`AWS::QuickSight::Theme.AwsAccountId`.
|
void |
setBaseThemeId(String value)
`AWS::QuickSight::Theme.BaseThemeId`.
|
void |
setConfiguration(CfnTheme.ThemeConfigurationProperty value)
`AWS::QuickSight::Theme.Configuration`.
|
void |
setConfiguration(IResolvable value)
`AWS::QuickSight::Theme.Configuration`.
|
void |
setName(String value)
`AWS::QuickSight::Theme.Name`.
|
void |
setPermissions(IResolvable value)
`AWS::QuickSight::Theme.Permissions`.
|
void |
setPermissions(List<Object> value)
`AWS::QuickSight::Theme.Permissions`.
|
void |
setThemeId(String value)
`AWS::QuickSight::Theme.ThemeId`.
|
void |
setVersionDescription(String value)
`AWS::QuickSight::Theme.VersionDescription`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnTheme(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnTheme(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnTheme(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnThemeProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrCreatedTime()
@Stability(value=Stable) @NotNull public String getAttrLastUpdatedTime()
@Stability(value=Stable) @NotNull public String getAttrType()
@Stability(value=Stable) @NotNull public String getAwsAccountId()
@Stability(value=Stable)
public void setAwsAccountId(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getBaseThemeId()
@Stability(value=Stable)
public void setBaseThemeId(@Nullable
String value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public Object getConfiguration()
@Stability(value=Stable)
public void setConfiguration(@Nullable
CfnTheme.ThemeConfigurationProperty value)
@Stability(value=Stable)
public void setConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getPermissions()
@Stability(value=Stable)
public void setPermissions(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setPermissions(@Nullable
List<Object> value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getThemeId()
@Stability(value=Stable)
public void setThemeId(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getVersionDescription()
@Stability(value=Stable)
public void setVersionDescription(@Nullable
String value)
Copyright © 2021. All rights reserved.