Skip to content
v2.278.0

PanelTitleOptionsProperty Struct ​

The options that determine the title styles for each small multiples panel.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const panelTitleOptionsProperty: quicksight.CfnAnalysis.PanelTitleOptionsProperty = {
  fontConfiguration: {
    fontColor: 'fontColor',
    fontDecoration: 'fontDecoration',
    fontFamily: 'fontFamily',
    fontSize: {
      absolute: 'absolute',
      relative: 'relative',
    },
    fontStyle: 'fontStyle',
    fontWeight: {
      name: 'name',
    },
  },
  horizontalTextAlignment: 'horizontalTextAlignment',
  visibility: 'visibility',
};
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_quicksight as quicksight

panel_title_options_property = quicksight.CfnAnalysis.PanelTitleOptionsProperty(
    font_configuration=quicksight.CfnAnalysis.FontConfigurationProperty(
        font_color="fontColor",
        font_decoration="fontDecoration",
        font_family="fontFamily",
        font_size=quicksight.CfnAnalysis.FontSizeProperty(
            absolute="absolute",
            relative="relative"
        ),
        font_style="fontStyle",
        font_weight=quicksight.CfnAnalysis.FontWeightProperty(
            name="name"
        )
    ),
    horizontal_text_alignment="horizontalTextAlignment",
    visibility="visibility"
)
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.quicksight.*;

PanelTitleOptionsProperty panelTitleOptionsProperty = PanelTitleOptionsProperty.builder()
        .fontConfiguration(FontConfigurationProperty.builder()
                .fontColor("fontColor")
                .fontDecoration("fontDecoration")
                .fontFamily("fontFamily")
                .fontSize(FontSizeProperty.builder()
                        .absolute("absolute")
                        .relative("relative")
                        .build())
                .fontStyle("fontStyle")
                .fontWeight(FontWeightProperty.builder()
                        .name("name")
                        .build())
                .build())
        .horizontalTextAlignment("horizontalTextAlignment")
        .visibility("visibility")
        .build();
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.QuickSight;

var panelTitleOptionsProperty = new PanelTitleOptionsProperty {
    FontConfiguration = new FontConfigurationProperty {
        FontColor = "fontColor",
        FontDecoration = "fontDecoration",
        FontFamily = "fontFamily",
        FontSize = new FontSizeProperty {
            Absolute = "absolute",
            Relative = "relative"
        },
        FontStyle = "fontStyle",
        FontWeight = new FontWeightProperty {
            Name = "name"
        }
    },
    HorizontalTextAlignment = "horizontalTextAlignment",
    Visibility = "visibility"
};
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"

panelTitleOptionsProperty := &PanelTitleOptionsProperty{
	FontConfiguration: &FontConfigurationProperty{
		FontColor: jsii.String("fontColor"),
		FontDecoration: jsii.String("fontDecoration"),
		FontFamily: jsii.String("fontFamily"),
		FontSize: &FontSizeProperty{
			Absolute: jsii.String("absolute"),
			Relative: jsii.String("relative"),
		},
		FontStyle: jsii.String("fontStyle"),
		FontWeight: &FontWeightProperty{
			Name: jsii.String("name"),
		},
	},
	HorizontalTextAlignment: jsii.String("horizontalTextAlignment"),
	Visibility: jsii.String("visibility"),
}

Properties ​

fontConfigurationoptionalIResolvable | CfnAnalysis.FontConfigurationPropertyfont_configurationoptionaltyping.Union[IResolvable, FontConfigurationProperty]fontConfigurationoptionalIResolvableFontConfigurationoptionalIResolvableFontConfigurationoptionalinterface{} #
horizontalTextAlignmentoptionalstringhorizontal_text_alignmentoptionalstrhorizontalTextAlignmentoptionalStringHorizontalTextAlignmentoptionalstringHorizontalTextAlignmentoptional*string #
Sets the horizontal text alignment of the title within each panel.
visibilityoptionalstringvisibilityoptionalstrvisibilityoptionalStringVisibilityoptionalstringVisibilityoptional*string #
Determines whether or not panel titles are displayed.