-
Notifications
You must be signed in to change notification settings - Fork 1
/
AwsElasticBlockStoreVolumeOptions.go
33 lines (30 loc) · 1.18 KB
/
AwsElasticBlockStoreVolumeOptions.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package cdk8splus29
// Options of `Volume.fromAwsElasticBlockStore`.
type AwsElasticBlockStoreVolumeOptions struct {
// Filesystem type of the volume that you want to mount.
//
// Tip: Ensure that the filesystem type is supported by the host operating system.
// See: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
//
// Default: 'ext4'.
//
FsType *string `field:"optional" json:"fsType" yaml:"fsType"`
// The volume name.
// Default: - auto-generated.
//
Name *string `field:"optional" json:"name" yaml:"name"`
// The partition in the volume that you want to mount.
//
// If omitted, the default is to mount by volume name.
// Examples: For volume /dev/sda1, you specify the partition as "1".
// Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
// Default: - No partition.
//
Partition *float64 `field:"optional" json:"partition" yaml:"partition"`
// Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".
// See: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
//
// Default: false.
//
ReadOnly *bool `field:"optional" json:"readOnly" yaml:"readOnly"`
}