Interface ConfigMapProps

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable, ResourceProps
    All Known Implementing Classes:
    ConfigMapProps.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.50.0 (build d1830a4)",
               date="2022-01-03T09:09:28.009Z")
    @Stability(Stable)
    public interface ConfigMapProps
    extends software.amazon.jsii.JsiiSerializable, ResourceProps
    Properties for initialization of `ConfigMap`.
    • Method Detail

      • getBinaryData

        @Stability(Stable)
        @Nullable
        default Map<String,​String> getBinaryData()
        BinaryData contains the binary data.

        Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.

        You can also add binary data using configMap.addBinaryData().

      • getData

        @Stability(Stable)
        @Nullable
        default Map<String,​String> getData()
        Data contains the configuration data.

        Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.

        You can also add data using configMap.addData().