FreeFormLayoutCanvasSizeOptionsProperty Struct
Configuration options for the canvas of a free-form layout.
| 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 freeFormLayoutCanvasSizeOptionsProperty: quicksight.CfnTemplate.FreeFormLayoutCanvasSizeOptionsProperty = {
screenCanvasSizeOptions: {
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
free_form_layout_canvas_size_options_property = quicksight.CfnTemplate.FreeFormLayoutCanvasSizeOptionsProperty(
screen_canvas_size_options=quicksight.CfnTemplate.FreeFormLayoutScreenCanvasSizeOptionsProperty(
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.*;
FreeFormLayoutCanvasSizeOptionsProperty freeFormLayoutCanvasSizeOptionsProperty = FreeFormLayoutCanvasSizeOptionsProperty.builder()
.screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder()
.optimizedViewPortWidth("optimizedViewPortWidth")
.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 freeFormLayoutCanvasSizeOptionsProperty = new FreeFormLayoutCanvasSizeOptionsProperty {
ScreenCanvasSizeOptions = new FreeFormLayoutScreenCanvasSizeOptionsProperty {
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"
freeFormLayoutCanvasSizeOptionsProperty := &FreeFormLayoutCanvasSizeOptionsProperty{
ScreenCanvasSizeOptions: &FreeFormLayoutScreenCanvasSizeOptionsProperty{
OptimizedViewPortWidth: jsii.String("optimizedViewPortWidth"),
},
}
Properties
screenCanvasSizeOptionsoptionalIResolvable | CfnTemplate.screen_canvas_size_optionsoptionaltyping.Union[IResolvable, FreeFormLayoutScreenCanvasSizeOptionsProperty]screenCanvasSizeOptionsoptionalIResolvableScreenCanvasSizeOptionsoptionalIResolvableScreenCanvasSizeOptionsoptionalinterface{} #The options that determine the sizing of the canvas used in a free-form layout.