-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnInstanceFleetConfig_VolumeSpecificationProperty.go
48 lines (45 loc) · 2.36 KB
/
CfnInstanceFleetConfig_VolumeSpecificationProperty.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package awsemr
// `VolumeSpecification` is a subproperty of the `EbsBlockDeviceConfig` property type.
//
// `VolumeSecification` determines the volume type, IOPS, and size (GiB) for EBS volumes attached to EC2 instances.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// volumeSpecificationProperty := &VolumeSpecificationProperty{
// SizeInGb: jsii.Number(123),
// VolumeType: jsii.String("volumeType"),
//
// // the properties below are optional
// Iops: jsii.Number(123),
// Throughput: jsii.Number(123),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-volumespecification.html
//
type CfnInstanceFleetConfig_VolumeSpecificationProperty struct {
// The volume size, in gibibytes (GiB).
//
// This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-volumespecification.html#cfn-emr-instancefleetconfig-volumespecification-sizeingb
//
SizeInGb *float64 `field:"required" json:"sizeInGb" yaml:"sizeInGb"`
// The volume type.
//
// Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-volumespecification.html#cfn-emr-instancefleetconfig-volumespecification-volumetype
//
VolumeType *string `field:"required" json:"volumeType" yaml:"volumeType"`
// The number of I/O operations per second (IOPS) that the volume supports.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-volumespecification.html#cfn-emr-instancefleetconfig-volumespecification-iops
//
Iops *float64 `field:"optional" json:"iops" yaml:"iops"`
// The throughput, in mebibyte per second (MiB/s).
//
// This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-volumespecification.html#cfn-emr-instancefleetconfig-volumespecification-throughput
//
Throughput *float64 `field:"optional" json:"throughput" yaml:"throughput"`
}