Skip to content
v2.276.0

WorkspacePageProperty Struct ​

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

Example ​

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
# 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
// 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();
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"
};
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 ​

inputDataoptionalstringinput_dataoptionalstrinputDataoptionalStringInputDataoptionalstringInputDataoptional*string#
A JSON string containing input parameters passed to the view when the page is rendered.
pagestringpagestrpageStringPagestringPage*stringrequired#
The page identifier.

System pages include HOME and AGENT_EXPERIENCE .

resourceArnstringresource_arnstrresourceArnStringResourceArnstringResourceArn*stringrequired#
The Amazon Resource Name (ARN) of the view associated with this page.
slugoptionalstringslugoptionalstrslugoptionalStringSlugoptionalstringSlugoptional*string#
The URL-friendly identifier for the page.