StorageOptions Struct
Storage options for the runner instance.
Initializer
import { StorageOptions } from '@cloudsnorkel/cdk-github-runners'
const storageOptions: StorageOptions = { ... }import cloudsnorkel.cdk_github_runners
cloudsnorkel.cdk_github_runners.StorageOptions(
iops: typing.Union[int, float] = None,
throughput: typing.Union[int, float] = None,
volume_type: EbsDeviceVolumeType = None
)import com.cloudsnorkel.cdk.github.runners.StorageOptions;
StorageOptions.builder()
// .iops(java.lang.Number)
// .throughput(java.lang.Number)
// .volumeType(EbsDeviceVolumeType)
.build();using CloudSnorkel;
new StorageOptions {
double Iops = null,
double Throughput = null,
EbsDeviceVolumeType VolumeType = null
};import "github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners"
&cloudsnorkelcdkgithubrunners.StorageOptions {
Iops: *f64,
Throughput: *f64,
VolumeType: github.com/aws/aws-cdk-go/awscdk/v2.aws_ec2.EbsDeviceVolumeType,
}Properties
iopsiopsiopsIopsIops
iops?: number
iops?: typing.Union[int, float]
iops?: java.lang.Number
Iops?: double
Iops?: *f64
The number of I/O operations per second (IOPS) to provision for the volume.
Must only be set for volumeType: EbsDeviceVolumeType.IO1
The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS, you need at least 100 GiB storage on the volume.
See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
Default: - none, required for EbsDeviceVolumeType.IO1
throughputthroughputthroughputThroughputThroughput
throughput?: number
throughput?: typing.Union[int, float]
throughput?: java.lang.Number
Throughput?: double
Throughput?: *f64
The throughput that the volume supports, in MiB/s Takes a minimum of 125 and maximum of 1000.
Default: - 125 MiB/s. Only valid on gp3 volumes.
volumeTypevolume_typevolumeTypeVolumeTypeVolumeType
volumeType?: EbsDeviceVolumeType
volume_type?: EbsDeviceVolumeType
volumeType?: EbsDeviceVolumeType
VolumeType?: EbsDeviceVolumeType
VolumeType?: EbsDeviceVolumeType
The EBS volume type.
See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
Default: EbsDeviceVolumeType.GP2