-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnInstance_DiskProperty.go
57 lines (54 loc) · 3.05 KB
/
CfnInstance_DiskProperty.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
48
49
50
51
52
53
54
55
56
package awslightsail
// `Disk` is a property of the [Hardware](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-hardware.html) property. It describes a disk attached to an instance.
//
// 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"
//
// diskProperty := &DiskProperty{
// DiskName: jsii.String("diskName"),
// Path: jsii.String("path"),
//
// // the properties below are optional
// AttachedTo: jsii.String("attachedTo"),
// AttachmentState: jsii.String("attachmentState"),
// Iops: jsii.Number(123),
// IsSystemDisk: jsii.Boolean(false),
// SizeInGb: jsii.String("sizeInGb"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html
//
type CfnInstance_DiskProperty struct {
// The unique name of the disk.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-diskname
//
DiskName *string `field:"required" json:"diskName" yaml:"diskName"`
// The disk path.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-path
//
Path *string `field:"required" json:"path" yaml:"path"`
// The resources to which the disk is attached.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-attachedto
//
AttachedTo *string `field:"optional" json:"attachedTo" yaml:"attachedTo"`
// (Deprecated) The attachment state of the disk.
//
// > In releases prior to November 14, 2017, this parameter returned `attached` for system disks in the API response. It is now deprecated, but still included in the response. Use `isAttached` instead.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-attachmentstate
//
AttachmentState *string `field:"optional" json:"attachmentState" yaml:"attachmentState"`
// The input/output operations per second (IOPS) of the disk.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-iops
//
Iops *float64 `field:"optional" json:"iops" yaml:"iops"`
// A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-issystemdisk
//
IsSystemDisk interface{} `field:"optional" json:"isSystemDisk" yaml:"isSystemDisk"`
// The size of the disk in GB.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-sizeingb
//
SizeInGb *string `field:"optional" json:"sizeInGb" yaml:"sizeInGb"`
}