Skip to content

ConfigMapProps

Properties for defining a ConfigMap.

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

Initializer

import ros_cdk_sae
ros_cdk_sae.ConfigMapProps(
  data: typing.Union[IResolvable, typing.Mapping[typing.Any]],
  name: typing.Union[str, IResolvable],
  namespace_id: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
data typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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 typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the config map.
namespace_id typing.Union[str, ros_cdk_core.IResolvable] Property namespaceId: The ID of the namespace to which this config map instance belongs.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: Describe information, do not enter the space without more than 255 characters.

dataRequired

data: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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

name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property name: The name of the config map.


namespace_idRequired

namespace_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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