# DefaultInteractiveLayoutConfigurationProperty

The options that determine the default settings for interactive layout configuration.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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 defaultInteractiveLayoutConfigurationProperty: quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty = {
  freeForm: {
    canvasSizeOptions: {
      screenCanvasSizeOptions: {
        optimizedViewPortWidth: 'optimizedViewPortWidth',
      },
    },
  },
  grid: {
    canvasSizeOptions: {
      screenCanvasSizeOptions: {
        resizeOption: 'resizeOption',

        // the properties below are optional
        optimizedViewPortWidth: 'optimizedViewPortWidth',
      },
    },
  },
};
```

Python:

```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_interactive_layout_configuration_property = quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty(
    free_form=quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty(
        canvas_size_options=quicksight.CfnTemplate.FreeFormLayoutCanvasSizeOptionsProperty(
            screen_canvas_size_options=quicksight.CfnTemplate.FreeFormLayoutScreenCanvasSizeOptionsProperty(
                optimized_view_port_width="optimizedViewPortWidth"
            )
        )
    ),
    grid=quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty(
        canvas_size_options=quicksight.CfnTemplate.GridLayoutCanvasSizeOptionsProperty(
            screen_canvas_size_options=quicksight.CfnTemplate.GridLayoutScreenCanvasSizeOptionsProperty(
                resize_option="resizeOption",

                # the properties below are optional
                optimized_view_port_width="optimizedViewPortWidth"
            )
        )
    )
)
```

Java:

```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.*;

DefaultInteractiveLayoutConfigurationProperty defaultInteractiveLayoutConfigurationProperty = DefaultInteractiveLayoutConfigurationProperty.builder()
        .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder()
                .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder()
                        .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder()
                                .optimizedViewPortWidth("optimizedViewPortWidth")
                                .build())
                        .build())
                .build())
        .grid(DefaultGridLayoutConfigurationProperty.builder()
                .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder()
                        .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder()
                                .resizeOption("resizeOption")

                                // the properties below are optional
                                .optimizedViewPortWidth("optimizedViewPortWidth")
                                .build())
                        .build())
                .build())
        .build();
```

C# / .NET:

```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 defaultInteractiveLayoutConfigurationProperty = new DefaultInteractiveLayoutConfigurationProperty {
    FreeForm = new DefaultFreeFormLayoutConfigurationProperty {
        CanvasSizeOptions = new FreeFormLayoutCanvasSizeOptionsProperty {
            ScreenCanvasSizeOptions = new FreeFormLayoutScreenCanvasSizeOptionsProperty {
                OptimizedViewPortWidth = "optimizedViewPortWidth"
            }
        }
    },
    Grid = new DefaultGridLayoutConfigurationProperty {
        CanvasSizeOptions = new GridLayoutCanvasSizeOptionsProperty {
            ScreenCanvasSizeOptions = new GridLayoutScreenCanvasSizeOptionsProperty {
                ResizeOption = "resizeOption",

                // the properties below are optional
                OptimizedViewPortWidth = "optimizedViewPortWidth"
            }
        }
    }
};
```

Golang:

```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"

defaultInteractiveLayoutConfigurationProperty := &DefaultInteractiveLayoutConfigurationProperty{
	FreeForm: &DefaultFreeFormLayoutConfigurationProperty{
		CanvasSizeOptions: &FreeFormLayoutCanvasSizeOptionsProperty{
			ScreenCanvasSizeOptions: &FreeFormLayoutScreenCanvasSizeOptionsProperty{
				OptimizedViewPortWidth: jsii.String("optimizedViewPortWidth"),
			},
		},
	},
	Grid: &DefaultGridLayoutConfigurationProperty{
		CanvasSizeOptions: &GridLayoutCanvasSizeOptionsProperty{
			ScreenCanvasSizeOptions: &GridLayoutScreenCanvasSizeOptionsProperty{
				ResizeOption: jsii.String("resizeOption"),

				// the properties below are optional
				OptimizedViewPortWidth: jsii.String("optimizedViewPortWidth"),
			},
		},
	},
}
```

## Properties

- `freeForm`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.DefaultFreeFormLayoutConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty.html) — The options that determine the default settings of a free-form layout configuration.

- `grid`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.DefaultGridLayoutConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty.html) — The options that determine the default settings for a grid layout configuration.
