Interface ConfigMapProps

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

    @Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)",
               date="2022-11-26T02:41:56.557Z")
    @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.

        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().

      • getImmutable

        @Stability(Stable)
        @Nullable
        default Boolean getImmutable()
        If set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).

        If not set to true, the field can be modified at any time.

        Default: false