Skip to content

ConfigMapProps

Properties for defining a ConfigMap.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-configmap

Initializer

import { ConfigMapProps } from '@alicloud/ros-cdk-sae'
const configMapProps: ConfigMapProps = { ... }

Properties

Name Type Description
data @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property data: Configmap key value pairs of data, json format.The format is as follows: {"k1":"v1", "k2":"v2"} K means key, V represents value.For more information about configuration items, see management and use of configuration items.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the config map.
namespaceId string | @alicloud/ros-cdk-core.IResolvable Property namespaceId: The ID of the namespace to which this config map instance belongs.
description string | @alicloud/ros-cdk-core.IResolvable Property description: Describe information, do not enter the space without more than 255 characters.

dataRequired

public readonly data: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property data: Configmap key value pairs of data, json format.The format is as follows: {"k1":"v1", "k2":"v2"} K means key, V represents value.For more information about configuration items, see management and use of configuration items.


nameRequired

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

Property name: The name of the config map.


namespaceIdRequired

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

Property namespaceId: The ID of the namespace to which this config map instance belongs.


descriptionOptional

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

Property description: Describe information, do not enter the space without more than 255 characters.