# WorkspacePageProperty

Contains information about a page configuration in a workspace, including the view assigned to the page.

- Source: Generated at build time
- Type last changed: v2.233.0 · 18 Dec 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const workspacePageProperty: connect.CfnWorkspace.WorkspacePageProperty = {
  page: 'page',
  resourceArn: 'resourceArn',

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

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_connect as connect

workspace_page_property = connect.CfnWorkspace.WorkspacePageProperty(
    page="page",
    resource_arn="resourceArn",

    # the properties below are optional
    input_data="inputData",
    slug="slug"
)
```

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

WorkspacePageProperty workspacePageProperty = WorkspacePageProperty.builder()
        .page("page")
        .resourceArn("resourceArn")

        // the properties below are optional
        .inputData("inputData")
        .slug("slug")
        .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.Connect;

var workspacePageProperty = new WorkspacePageProperty {
    Page = "page",
    ResourceArn = "resourceArn",

    // the properties below are optional
    InputData = "inputData",
    Slug = "slug"
};
```

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"

workspacePageProperty := &WorkspacePageProperty{
	Page: jsii.String("page"),
	ResourceArn: jsii.String("resourceArn"),

	// the properties below are optional
	InputData: jsii.String("inputData"),
	Slug: jsii.String("slug"),
}
```

## Properties

- `inputData`: string — A JSON string containing input parameters passed to the view when the page is rendered.

- `page`: string (required) — The page identifier.

  System pages include `HOME` and `AGENT_EXPERIENCE` .

- `resourceArn`: string (required) — The Amazon Resource Name (ARN) of the view associated with this page.

- `slug`: string — The URL-friendly identifier for the page.
