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"` }