TableFieldURLConfigurationProperty Struct
The URL configuration for a table field.
| 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 tableFieldURLConfigurationProperty: quicksight.CfnTemplate.TableFieldURLConfigurationProperty = {
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',
},
};
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_url_configuration_property = quicksight.CfnTemplate.TableFieldURLConfigurationProperty(
image_configuration=quicksight.CfnTemplate.TableFieldImageConfigurationProperty(
sizing_options=quicksight.CfnTemplate.TableCellImageSizingConfigurationProperty(
table_cell_image_scaling_configuration="tableCellImageScalingConfiguration"
)
),
link_configuration=quicksight.CfnTemplate.TableFieldLinkConfigurationProperty(
content=quicksight.CfnTemplate.TableFieldLinkContentConfigurationProperty(
custom_icon_content=quicksight.CfnTemplate.TableFieldCustomIconContentProperty(
icon="icon"
),
custom_text_content=quicksight.CfnTemplate.TableFieldCustomTextContentProperty(
font_configuration=quicksight.CfnTemplate.FontConfigurationProperty(
font_color="fontColor",
font_decoration="fontDecoration",
font_family="fontFamily",
font_size=quicksight.CfnTemplate.FontSizeProperty(
absolute="absolute",
relative="relative"
),
font_style="fontStyle",
font_weight=quicksight.CfnTemplate.FontWeightProperty(
name="name"
)
),
# the properties below are optional
value="value"
)
),
target="target"
)
)
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.*;
TableFieldURLConfigurationProperty tableFieldURLConfigurationProperty = 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();
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 tableFieldURLConfigurationProperty = 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"
}
};
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"
tableFieldURLConfigurationProperty := &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"),
},
}
Properties
imageConfigurationoptionalIResolvable | CfnTemplate.image_configurationoptionaltyping.Union[IResolvable, TableFieldImageConfigurationProperty]imageConfigurationoptionalIResolvableImageConfigurationoptionalIResolvableImageConfigurationoptionalinterface{} #The image configuration of a table field URL.
linkConfigurationoptionalIResolvable | CfnTemplate.link_configurationoptionaltyping.Union[IResolvable, TableFieldLinkConfigurationProperty]linkConfigurationoptionalIResolvableLinkConfigurationoptionalIResolvableLinkConfigurationoptionalinterface{} #The link configuration of a table field URL.