Skip to content
v2.278.0

DefaultFreeFormLayoutConfigurationProperty Struct ​

The options that determine the default settings of a free-form layout configuration.

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 defaultFreeFormLayoutConfigurationProperty: quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty = {
  canvasSizeOptions: {
    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

default_free_form_layout_configuration_property = quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty(
    canvas_size_options=quicksight.CfnAnalysis.FreeFormLayoutCanvasSizeOptionsProperty(
        screen_canvas_size_options=quicksight.CfnAnalysis.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.*;

DefaultFreeFormLayoutConfigurationProperty defaultFreeFormLayoutConfigurationProperty = DefaultFreeFormLayoutConfigurationProperty.builder()
        .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder()
                .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder()
                        .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 defaultFreeFormLayoutConfigurationProperty = new DefaultFreeFormLayoutConfigurationProperty {
    CanvasSizeOptions = 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"

defaultFreeFormLayoutConfigurationProperty := &DefaultFreeFormLayoutConfigurationProperty{
	CanvasSizeOptions: &FreeFormLayoutCanvasSizeOptionsProperty{
		ScreenCanvasSizeOptions: &FreeFormLayoutScreenCanvasSizeOptionsProperty{
			OptimizedViewPortWidth: jsii.String("optimizedViewPortWidth"),
		},
	},
}

Properties ​

canvasSizeOptionsIResolvable | CfnAnalysis.FreeFormLayoutCanvasSizeOptionsPropertycanvas_size_optionstyping.Union[IResolvable, FreeFormLayoutCanvasSizeOptionsProperty]canvasSizeOptionsIResolvableCanvasSizeOptionsIResolvableCanvasSizeOptionsinterface{} required #
Determines the screen canvas size options for a free-form layout.