TableFieldOptionsProperty Struct
The field options of a table visual.
| Source | |
|---|---|
| Type last changed |
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 tableFieldOptionsProperty: quicksight.CfnAnalysis.TableFieldOptionsProperty = {
order: ['order'],
pinnedFieldOptions: {
pinnedLeftFields: ['pinnedLeftFields'],
},
selectedFieldOptions: [{
fieldId: 'fieldId',
// the properties below are optional
customLabel: 'customLabel',
urlStyling: {
imageConfiguration: {
sizingOptions: {
tableCellImageScalingConfiguration: 'tableCellImageScalingConfiguration',
},
},
linkConfiguration: {
content: {
customIconContent: {
icon: 'icon',
},
customTextContent: {
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontFamily: 'fontFamily',
fontSize: {
absolute: 'absolute',
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
// the properties below are optional
value: 'value',
},
},
target: 'target',
},
},
visibility: 'visibility',
width: 'width',
}],
transposedTableOptions: [{
columnType: 'columnType',
// the properties below are optional
columnIndex: 123,
columnWidth: 'columnWidth',
}],
};
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
table_field_options_property = quicksight.CfnAnalysis.TableFieldOptionsProperty(
order=["order"],
pinned_field_options=quicksight.CfnAnalysis.TablePinnedFieldOptionsProperty(
pinned_left_fields=["pinnedLeftFields"]
),
selected_field_options=[quicksight.CfnAnalysis.TableFieldOptionProperty(
field_id="fieldId",
# the properties below are optional
custom_label="customLabel",
url_styling=quicksight.CfnAnalysis.TableFieldURLConfigurationProperty(
image_configuration=quicksight.CfnAnalysis.TableFieldImageConfigurationProperty(
sizing_options=quicksight.CfnAnalysis.TableCellImageSizingConfigurationProperty(
table_cell_image_scaling_configuration="tableCellImageScalingConfiguration"
)
),
link_configuration=quicksight.CfnAnalysis.TableFieldLinkConfigurationProperty(
content=quicksight.CfnAnalysis.TableFieldLinkContentConfigurationProperty(
custom_icon_content=quicksight.CfnAnalysis.TableFieldCustomIconContentProperty(
icon="icon"
),
custom_text_content=quicksight.CfnAnalysis.TableFieldCustomTextContentProperty(
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"
)
),
# the properties below are optional
value="value"
)
),
target="target"
)
),
visibility="visibility",
width="width"
)],
transposed_table_options=[quicksight.CfnAnalysis.TransposedTableOptionProperty(
column_type="columnType",
# the properties below are optional
column_index=123,
column_width="columnWidth"
)]
)
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.*;
TableFieldOptionsProperty tableFieldOptionsProperty = TableFieldOptionsProperty.builder()
.order(List.of("order"))
.pinnedFieldOptions(TablePinnedFieldOptionsProperty.builder()
.pinnedLeftFields(List.of("pinnedLeftFields"))
.build())
.selectedFieldOptions(List.of(TableFieldOptionProperty.builder()
.fieldId("fieldId")
// the properties below are optional
.customLabel("customLabel")
.urlStyling(TableFieldURLConfigurationProperty.builder()
.imageConfiguration(TableFieldImageConfigurationProperty.builder()
.sizingOptions(TableCellImageSizingConfigurationProperty.builder()
.tableCellImageScalingConfiguration("tableCellImageScalingConfiguration")
.build())
.build())
.linkConfiguration(TableFieldLinkConfigurationProperty.builder()
.content(TableFieldLinkContentConfigurationProperty.builder()
.customIconContent(TableFieldCustomIconContentProperty.builder()
.icon("icon")
.build())
.customTextContent(TableFieldCustomTextContentProperty.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())
// the properties below are optional
.value("value")
.build())
.build())
.target("target")
.build())
.build())
.visibility("visibility")
.width("width")
.build()))
.transposedTableOptions(List.of(TransposedTableOptionProperty.builder()
.columnType("columnType")
// the properties below are optional
.columnIndex(123)
.columnWidth("columnWidth")
.build()))
.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 tableFieldOptionsProperty = new TableFieldOptionsProperty {
Order = new [] { "order" },
PinnedFieldOptions = new TablePinnedFieldOptionsProperty {
PinnedLeftFields = new [] { "pinnedLeftFields" }
},
SelectedFieldOptions = new [] { new TableFieldOptionProperty {
FieldId = "fieldId",
// the properties below are optional
CustomLabel = "customLabel",
UrlStyling = new TableFieldURLConfigurationProperty {
ImageConfiguration = new TableFieldImageConfigurationProperty {
SizingOptions = new TableCellImageSizingConfigurationProperty {
TableCellImageScalingConfiguration = "tableCellImageScalingConfiguration"
}
},
LinkConfiguration = new TableFieldLinkConfigurationProperty {
Content = new TableFieldLinkContentConfigurationProperty {
CustomIconContent = new TableFieldCustomIconContentProperty {
Icon = "icon"
},
CustomTextContent = new TableFieldCustomTextContentProperty {
FontConfiguration = new FontConfigurationProperty {
FontColor = "fontColor",
FontDecoration = "fontDecoration",
FontFamily = "fontFamily",
FontSize = new FontSizeProperty {
Absolute = "absolute",
Relative = "relative"
},
FontStyle = "fontStyle",
FontWeight = new FontWeightProperty {
Name = "name"
}
},
// the properties below are optional
Value = "value"
}
},
Target = "target"
}
},
Visibility = "visibility",
Width = "width"
} },
TransposedTableOptions = new [] { new TransposedTableOptionProperty {
ColumnType = "columnType",
// the properties below are optional
ColumnIndex = 123,
ColumnWidth = "columnWidth"
} }
};
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"
tableFieldOptionsProperty := &TableFieldOptionsProperty{
Order: []*string{
jsii.String("order"),
},
PinnedFieldOptions: &TablePinnedFieldOptionsProperty{
PinnedLeftFields: []*string{
jsii.String("pinnedLeftFields"),
},
},
SelectedFieldOptions: []interface{}{
&TableFieldOptionProperty{
FieldId: jsii.String("fieldId"),
// the properties below are optional
CustomLabel: jsii.String("customLabel"),
UrlStyling: &TableFieldURLConfigurationProperty{
ImageConfiguration: &TableFieldImageConfigurationProperty{
SizingOptions: &TableCellImageSizingConfigurationProperty{
TableCellImageScalingConfiguration: jsii.String("tableCellImageScalingConfiguration"),
},
},
LinkConfiguration: &TableFieldLinkConfigurationProperty{
Content: &TableFieldLinkContentConfigurationProperty{
CustomIconContent: &TableFieldCustomIconContentProperty{
Icon: jsii.String("icon"),
},
CustomTextContent: &TableFieldCustomTextContentProperty{
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"),
},
},
// the properties below are optional
Value: jsii.String("value"),
},
},
Target: jsii.String("target"),
},
},
Visibility: jsii.String("visibility"),
Width: jsii.String("width"),
},
},
TransposedTableOptions: []interface{}{
&TransposedTableOptionProperty{
ColumnType: jsii.String("columnType"),
// the properties below are optional
ColumnIndex: jsii.Number(123),
ColumnWidth: jsii.String("columnWidth"),
},
},
}
Properties
orderoptionalstring[]orderoptionaltyping.List[str]orderoptionalList<String>Orderoptionalstring[]Orderoptional*[]*string #The order of the field IDs that are configured as field options for a table visual.
pinnedFieldOptionsoptionalIResolvable | CfnAnalysis.pinned_field_optionsoptionaltyping.Union[IResolvable, TablePinnedFieldOptionsProperty]pinnedFieldOptionsoptionalIResolvablePinnedFieldOptionsoptionalIResolvablePinnedFieldOptionsoptionalinterface{} #The settings for the pinned columns of a table visual.
selectedFieldOptionsoptionalIResolvable | IResolvable | CfnAnalysis.selected_field_optionsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TableFieldOptionProperty]]]selectedFieldOptionsoptionalIResolvableSelectedFieldOptionsoptionalIResolvableSelectedFieldOptionsoptionalinterface{} #The field options to be configured to a table.
transposedTableOptionsoptionalIResolvable | IResolvable | CfnAnalysis.transposed_table_optionsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TransposedTableOptionProperty]]]transposedTableOptionsoptionalIResolvableTransposedTableOptionsoptionalIResolvableTransposedTableOptionsoptionalinterface{} #The `TableOptions` of a transposed table.