-
Notifications
You must be signed in to change notification settings - Fork 17
/
EmrCreateCluster_EbsConfigurationProperty.go
44 lines (41 loc) · 1.5 KB
/
EmrCreateCluster_EbsConfigurationProperty.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
package awsstepfunctionstasks
// The Amazon EBS configuration of a cluster instance.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import cdk "github.com/aws/aws-cdk-go/awscdk"
// import "github.com/aws/aws-cdk-go/awscdk"
//
// var size size
//
// ebsConfigurationProperty := &EbsConfigurationProperty{
// EbsBlockDeviceConfigs: []ebsBlockDeviceConfigProperty{
// &ebsBlockDeviceConfigProperty{
// VolumeSpecification: &VolumeSpecificationProperty{
// VolumeSize: size,
// VolumeType: awscdk.Aws_stepfunctions_tasks.EmrCreateCluster.EbsBlockDeviceVolumeType_GP2,
//
// // the properties below are optional
// Iops: jsii.Number(123),
// },
//
// // the properties below are optional
// VolumesPerInstance: jsii.Number(123),
// },
// },
// EbsOptimized: jsii.Boolean(false),
// }
//
// See: https://docs.aws.amazon.com/emr/latest/APIReference/API_EbsConfiguration.html
//
type EmrCreateCluster_EbsConfigurationProperty struct {
// An array of Amazon EBS volume specifications attached to a cluster instance.
// Default: - None.
//
EbsBlockDeviceConfigs *[]*EmrCreateCluster_EbsBlockDeviceConfigProperty `field:"optional" json:"ebsBlockDeviceConfigs" yaml:"ebsBlockDeviceConfigs"`
// Indicates whether an Amazon EBS volume is EBS-optimized.
// Default: - EMR selected default.
//
EbsOptimized *bool `field:"optional" json:"ebsOptimized" yaml:"ebsOptimized"`
}