Interface VolumeAttachmentSource

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

    @Generated(value="jsii-pacmak/1.69.0 (build f656c31)",
               date="2022-10-05T02:57:36.764Z")
    @Stability(Stable)
    public interface VolumeAttachmentSource
    extends software.amazon.jsii.JsiiSerializable
    VolumeAttachmentSource represents a volume that should be attached.

    Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.

    • Method Detail

      • getInlineVolumeSpec

        @Stability(Stable)
        @Nullable
        default PersistentVolumeSpec getInlineVolumeSpec()
        inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource.

        This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.

      • getPersistentVolumeName

        @Stability(Stable)
        @Nullable
        default String getPersistentVolumeName()
        Name of the persistent volume to attach.