# GridLayoutElementBackgroundStyleProperty

- Source: Generated at build time
- Type last changed: v2.272.0 · 30 Sep 2026

## 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 gridLayoutElementBackgroundStyleProperty: quicksight.CfnAnalysis.GridLayoutElementBackgroundStyleProperty = {
  color: 'color',
  visibility: 'visibility',
};
```

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

grid_layout_element_background_style_property = quicksight.CfnAnalysis.GridLayoutElementBackgroundStyleProperty(
    color="color",
    visibility="visibility"
)
```

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

GridLayoutElementBackgroundStyleProperty gridLayoutElementBackgroundStyleProperty = GridLayoutElementBackgroundStyleProperty.builder()
        .color("color")
        .visibility("visibility")
        .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 gridLayoutElementBackgroundStyleProperty = new GridLayoutElementBackgroundStyleProperty {
    Color = "color",
    Visibility = "visibility"
};
```

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"

gridLayoutElementBackgroundStyleProperty := &GridLayoutElementBackgroundStyleProperty{
	Color: jsii.String("color"),
	Visibility: jsii.String("visibility"),
}
```

## Properties

- `color`: string

- `visibility`: string
