DefaultGridLayoutConfigurationProperty Struct
The options that determine the default settings for a grid layout configuration.
| 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 defaultGridLayoutConfigurationProperty: quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty = {
canvasSizeOptions: {
screenCanvasSizeOptions: {
resizeOption: 'resizeOption',
// the properties below are optional
optimizedViewPortWidth: 'optimizedViewPortWidth',
},
},
};
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
default_grid_layout_configuration_property = quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty(
canvas_size_options=quicksight.CfnAnalysis.GridLayoutCanvasSizeOptionsProperty(
screen_canvas_size_options=quicksight.CfnAnalysis.GridLayoutScreenCanvasSizeOptionsProperty(
resize_option="resizeOption",
# the properties below are optional
optimized_view_port_width="optimizedViewPortWidth"
)
)
)
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.*;
DefaultGridLayoutConfigurationProperty defaultGridLayoutConfigurationProperty = DefaultGridLayoutConfigurationProperty.builder()
.canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder()
.screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder()
.resizeOption("resizeOption")
// the properties below are optional
.optimizedViewPortWidth("optimizedViewPortWidth")
.build())
.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 defaultGridLayoutConfigurationProperty = new DefaultGridLayoutConfigurationProperty {
CanvasSizeOptions = new GridLayoutCanvasSizeOptionsProperty {
ScreenCanvasSizeOptions = new GridLayoutScreenCanvasSizeOptionsProperty {
ResizeOption = "resizeOption",
// the properties below are optional
OptimizedViewPortWidth = "optimizedViewPortWidth"
}
}
};
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"
defaultGridLayoutConfigurationProperty := &DefaultGridLayoutConfigurationProperty{
CanvasSizeOptions: &GridLayoutCanvasSizeOptionsProperty{
ScreenCanvasSizeOptions: &GridLayoutScreenCanvasSizeOptionsProperty{
ResizeOption: jsii.String("resizeOption"),
// the properties below are optional
OptimizedViewPortWidth: jsii.String("optimizedViewPortWidth"),
},
},
}
Properties
canvasSizeOptionsIResolvable | CfnAnalysis.canvas_size_optionstyping.Union[IResolvable, GridLayoutCanvasSizeOptionsProperty]canvasSizeOptionsIResolvableCanvasSizeOptionsIResolvableCanvasSizeOptionsinterface{} required #Determines the screen canvas size options for a grid layout.