Package org.cdk8s.plus24
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-24T11:06:55.612Z") @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 class
ConfigMapProps.Builder
A builder forConfigMapProps
static class
ConfigMapProps.Jsii$Proxy
An implementation forConfigMapProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ConfigMapProps.Builder
builder()
default Map<String,String>
getBinaryData()
BinaryData contains the binary data.default Map<String,String>
getData()
Data contains the configuration data.default Boolean
getImmutable()
If set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).-
Methods inherited from interface org.cdk8s.plus24.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.
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
-
builder
@Stability(Stable) static ConfigMapProps.Builder builder()
- Returns:
- a
ConfigMapProps.Builder
ofConfigMapProps
-
-