Skip to content

ClusterApplicationResourcesProps

Properties for defining a ClusterApplicationResources.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-cs-clusterapplicationresources

Initializer

import { datasource } from '@alicloud/ros-cdk-cs'
const clusterApplicationResourcesProps: datasource.ClusterApplicationResourcesProps = { ... }

Properties

Name Type Description
clusterId string | @alicloud/ros-cdk-core.IResolvable Property clusterId: The ID of the kubernetes cluster.
kind string | @alicloud/ros-cdk-core.IResolvable Property kind: The kind of kubernetes resources to query.
firstMatch boolean | @alicloud/ros-cdk-core.IResolvable Property firstMatch: Only the first matching result in jsonpath's filtered results is returned.
jsonPath string | @alicloud/ros-cdk-core.IResolvable Property jsonPath: Json path expression to filter the output.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the kubernetes resource to query.
namespace string | @alicloud/ros-cdk-core.IResolvable Property namespace: The namespace of kubernetes containing the resource.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

clusterIdRequired

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

Property clusterId: The ID of the kubernetes cluster.


kindRequired

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

Property kind: The kind of kubernetes resources to query.


firstMatchOptional

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

Property firstMatch: Only the first matching result in jsonpath's filtered results is returned.

Default False


jsonPathOptional

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

Property jsonPath: Json path expression to filter the output.


nameOptional

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

Property name: The name of the kubernetes resource to query.


namespaceOptional

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

Property namespace: The namespace of kubernetes containing the resource.

Default value is default


refreshOptionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values: - Never: Never refresh the datasource resource when the stack is updated. - Always: Always refresh the datasource resource when the stack is updated. Default is Never.