-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnImageRecipe_InstanceBlockDeviceMappingProperty.go
51 lines (48 loc) · 2.53 KB
/
CfnImageRecipe_InstanceBlockDeviceMappingProperty.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
package awsimagebuilder
// Defines block device mappings for the instance used to configure your image.
//
// 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"
//
// instanceBlockDeviceMappingProperty := &InstanceBlockDeviceMappingProperty{
// DeviceName: jsii.String("deviceName"),
// Ebs: &EbsInstanceBlockDeviceSpecificationProperty{
// DeleteOnTermination: jsii.Boolean(false),
// Encrypted: jsii.Boolean(false),
// Iops: jsii.Number(123),
// KmsKeyId: jsii.String("kmsKeyId"),
// SnapshotId: jsii.String("snapshotId"),
// Throughput: jsii.Number(123),
// VolumeSize: jsii.Number(123),
// VolumeType: jsii.String("volumeType"),
// },
// NoDevice: jsii.String("noDevice"),
// VirtualName: jsii.String("virtualName"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html
//
type CfnImageRecipe_InstanceBlockDeviceMappingProperty struct {
// The device to which these mappings apply.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html#cfn-imagebuilder-imagerecipe-instanceblockdevicemapping-devicename
//
DeviceName *string `field:"optional" json:"deviceName" yaml:"deviceName"`
// Use to manage Amazon EBS-specific configuration for this mapping.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html#cfn-imagebuilder-imagerecipe-instanceblockdevicemapping-ebs
//
Ebs interface{} `field:"optional" json:"ebs" yaml:"ebs"`
// Enter an empty string to remove a mapping from the parent image.
//
// The following is an example of an empty string value in the `NoDevice` field.
//
// `NoDevice:""`.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html#cfn-imagebuilder-imagerecipe-instanceblockdevicemapping-nodevice
//
NoDevice *string `field:"optional" json:"noDevice" yaml:"noDevice"`
// Manages the instance ephemeral devices.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html#cfn-imagebuilder-imagerecipe-instanceblockdevicemapping-virtualname
//
VirtualName *string `field:"optional" json:"virtualName" yaml:"virtualName"`
}