AWSEC2ImageAttribute
Objective-C
@interface AWSEC2ImageAttribute
Swift
class AWSEC2ImageAttribute
Describes an image attribute.
-
The block device mapping entries.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2BlockDeviceMapping *> *_Nullable blockDeviceMappings;
Swift
var blockDeviceMappings: [AWSEC2BlockDeviceMapping]? { get set }
-
The boot mode.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable bootMode;
Swift
var bootMode: AWSEC2AttributeValue? { get set }
-
Indicates whether deregistration protection is enabled for the AMI.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable deregistrationProtection;
Swift
var deregistrationProtection: AWSEC2AttributeValue? { get set }
-
A description for the AMI.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable detail;
Swift
var detail: AWSEC2AttributeValue? { get set }
-
The ID of the AMI.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable imageId;
Swift
var imageId: String? { get set }
-
If
v2.0
, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will haveHttpTokens
automatically set torequired
so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition,HttpPutResponseHopLimit
is set to2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable imdsSupport;
Swift
var imdsSupport: AWSEC2AttributeValue? { get set }
-
The kernel ID.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable kernelId;
Swift
var kernelId: AWSEC2AttributeValue? { get set }
-
The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.
lastLaunchedTime
data is available starting April 2017.Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable lastLaunchedTime;
Swift
var lastLaunchedTime: AWSEC2AttributeValue? { get set }
-
The launch permissions.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2LaunchPermission *> *_Nullable launchPermissions;
Swift
var launchPermissions: [AWSEC2LaunchPermission]? { get set }
-
The product codes.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2ProductCode *> *_Nullable productCodes;
Swift
var productCodes: [AWSEC2ProductCode]? { get set }
-
The RAM disk ID.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable ramdiskId;
Swift
var ramdiskId: AWSEC2AttributeValue? { get set }
-
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable sriovNetSupport;
Swift
var sriovNetSupport: AWSEC2AttributeValue? { get set }
-
If the image is configured for NitroTPM support, the value is
v2.0
.Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable tpmSupport;
Swift
var tpmSupport: AWSEC2AttributeValue? { get set }
-
Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable uefiData;
Swift
var uefiData: AWSEC2AttributeValue? { get set }