Interface IMachineImageConfig
Configuration for a machine image.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMachineImageConfig
Syntax (vb)
Public Interface IMachineImageConfig
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
UserData userData;
var machineImageConfig = new MachineImageConfig {
ImageId = "imageId",
OsType = OperatingSystemType.LINUX,
UserData = userData
};
Synopsis
Properties
ImageId | The AMI ID of the image to use. |
OsType | Operating system type for this image. |
UserData | Initial UserData for this image. |
Properties
ImageId
The AMI ID of the image to use.
string ImageId { get; }
Property Value
System.String
OsType
Operating system type for this image.
OperatingSystemType OsType { get; }
Property Value