Class SecretVolumeSource.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.SecretVolumeSource.Jsii$Proxy
-
- All Implemented Interfaces:
SecretVolumeSource
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- SecretVolumeSource
@Stability(Stable) @Internal public static final class SecretVolumeSource.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SecretVolumeSource
An implementation forSecretVolumeSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.k8s.SecretVolumeSource
SecretVolumeSource.Builder, SecretVolumeSource.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(SecretVolumeSource.Builder builder)
Constructor that initializes the object based on literal property values passed by theSecretVolumeSource.Builder
.protected
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
$jsii$toJson()
boolean
equals(Object o)
Number
getDefaultMode()
defaultMode is Optional: mode bits used to set permissions on created files by default.List<KeyToPath>
getItems()
items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.Boolean
getOptional()
optional field specify whether the Secret or its keys must be defined.String
getSecretName()
secretName is the name of the secret in the pod's namespace to use.int
hashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(SecretVolumeSource.Builder builder)
Constructor that initializes the object based on literal property values passed by theSecretVolumeSource.Builder
.
-
-
Method Detail
-
getDefaultMode
public final Number getDefaultMode()
Description copied from interface:SecretVolumeSource
defaultMode is Optional: mode bits used to set permissions on created files by default.Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
Default: 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- Specified by:
getDefaultMode
in interfaceSecretVolumeSource
-
getItems
public final List<KeyToPath> getItems()
Description copied from interface:SecretVolumeSource
items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
- Specified by:
getItems
in interfaceSecretVolumeSource
-
getOptional
public final Boolean getOptional()
Description copied from interface:SecretVolumeSource
optional field specify whether the Secret or its keys must be defined.- Specified by:
getOptional
in interfaceSecretVolumeSource
-
getSecretName
public final String getSecretName()
Description copied from interface:SecretVolumeSource
secretName is the name of the secret in the pod's namespace to use.More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
- Specified by:
getSecretName
in interfaceSecretVolumeSource
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-