Class AwsElasticBlockStorePersistentVolume

  • All Implemented Interfaces:
    IPersistentVolume, IResource, IStorage, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

    @Generated(value="jsii-pacmak/1.56.0 (build 55e7d15)",
               date="2022-04-13T14:52:28.816Z")
    @Stability(Stable)
    public class AwsElasticBlockStorePersistentVolume
    extends PersistentVolume
    Represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.

    • Constructor Detail

      • AwsElasticBlockStorePersistentVolume

        protected AwsElasticBlockStorePersistentVolume​(software.amazon.jsii.JsiiObjectRef objRef)
      • AwsElasticBlockStorePersistentVolume

        protected AwsElasticBlockStorePersistentVolume​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • AwsElasticBlockStorePersistentVolume

        @Stability(Stable)
        public AwsElasticBlockStorePersistentVolume​(@NotNull
                                                    software.constructs.Construct scope,
                                                    @NotNull
                                                    String id,
                                                    @NotNull
                                                    AwsElasticBlockStorePersistentVolumeProps props)
        Parameters:
        scope - This parameter is required.
        id - This parameter is required.
        props - This parameter is required.
    • Method Detail

      • getFsType

        @Stability(Stable)
        @NotNull
        public String getFsType()
        File system type of this volume.
      • getReadOnly

        @Stability(Stable)
        @NotNull
        public Boolean getReadOnly()
        Whether or not it is mounted as a read-only volume.
      • getVolumeId

        @Stability(Stable)
        @NotNull
        public String getVolumeId()
        Volume id of this volume.
      • getPartition

        @Stability(Stable)
        @Nullable
        public Number getPartition()
        Partition of this volume.