Package org.cdk8s.plus20
Interface ConfigMapProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,ResourceProps
- All Known Implementing Classes:
ConfigMapProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.52.1 (build 5ccc8f6)", date="2022-01-14T19:05:22.062Z") @Stability(Stable) public interface ConfigMapProps extends software.amazon.jsii.JsiiSerializable, ResourceProps
Properties for initialization of `ConfigMap`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classConfigMapProps.BuilderA builder forConfigMapPropsstatic classConfigMapProps.Jsii$ProxyAn implementation forConfigMapProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ConfigMapProps.Builderbuilder()default Map<String,String>getBinaryData()BinaryData contains the binary data.default Map<String,String>getData()Data contains the configuration data.-
Methods inherited from interface org.cdk8s.plus20.ResourceProps
getMetadata
-
-
-
-
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().
-
builder
@Stability(Stable) static ConfigMapProps.Builder builder()
- Returns:
- a
ConfigMapProps.BuilderofConfigMapProps
-
-