Skip to content

PageProps

Properties for defining a Page.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-page

Initializer

import { PageProps } from '@alicloud/ros-cdk-esa'
const pageProps: PageProps = { ... }

Properties

Name Type Description
contentType string | @alicloud/ros-cdk-core.IResolvable Property contentType: The Content-Type field in the HTTP header.
pageName string | @alicloud/ros-cdk-core.IResolvable Property pageName: The name of the custom response page.
content string | @alicloud/ros-cdk-core.IResolvable Property content: The Base64-encoded page content.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the page.

contentTypeRequired

public readonly contentType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property contentType: The Content-Type field in the HTTP header.

Valid values: text\/html application\/json


pageNameRequired

public readonly pageName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property pageName: The name of the custom response page.


contentOptional

public readonly content: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property content: The Base64-encoded page content.

Example: "PGh0bWw+aGVsbG8gcGFnZTwvaHRtbD4=", which indicates "hello page".


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property description: The description of the page.