Interface SecretVolumeOptions

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    SecretVolumeOptions.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.69.0 (build f656c31)",
               date="2022-10-09T03:04:24.968Z")
    @Stability(Stable)
    public interface SecretVolumeOptions
    extends software.amazon.jsii.JsiiSerializable
    Options for the Secret-based volume.
    • Method Detail

      • getDefaultMode

        @Stability(Stable)
        @Nullable
        default Number getDefaultMode()
        Mode bits to use on created files by default.

        Must be a value between 0 and 0777. 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.

      • getItems

        @Stability(Stable)
        @Nullable
        default Map<String,​PathMapping> getItems()
        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 '..'.

        Default: - no mapping

      • getName

        @Stability(Stable)
        @Nullable
        default String getName()
        The volume name.

        Default: - auto-generated

      • getOptional

        @Stability(Stable)
        @Nullable
        default Boolean getOptional()
        Specify whether the secret or its keys must be defined.

        Default: - undocumented