AWSEC2InstanceAttribute
Objective-C
@interface AWSEC2InstanceAttribute
Swift
class AWSEC2InstanceAttribute
Describes an instance attribute.
-
The block device mapping of the instance.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2InstanceBlockDeviceMapping *> *_Nullable blockDeviceMappings;
Swift
var blockDeviceMappings: [AWSEC2InstanceBlockDeviceMapping]? { get set }
-
To enable the instance for Amazon Web Services Stop Protection, set this parameter to
true
; otherwise, set it tofalse
.Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeBooleanValue *_Nullable disableApiStop;
Swift
var disableApiStop: AWSEC2AttributeBooleanValue? { get set }
-
If the value is
true
, you can’t terminate the instance through the Amazon EC2 console, CLI, or API; otherwise, you can.Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeBooleanValue *_Nullable disableApiTermination;
Swift
var disableApiTermination: AWSEC2AttributeBooleanValue? { get set }
-
Indicates whether the instance is optimized for Amazon EBS I/O.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeBooleanValue *_Nullable ebsOptimized;
Swift
var ebsOptimized: AWSEC2AttributeBooleanValue? { get set }
-
Indicates whether enhanced networking with ENA is enabled.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeBooleanValue *_Nullable enaSupport;
Swift
var enaSupport: AWSEC2AttributeBooleanValue? { get set }
-
To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to
true
; otherwise, set it tofalse
.Declaration
Objective-C
@property (nonatomic, strong) AWSEC2EnclaveOptions *_Nullable enclaveOptions;
Swift
var enclaveOptions: AWSEC2EnclaveOptions? { get set }
-
The security groups associated with the instance.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2GroupIdentifier *> *_Nullable groups;
Swift
var groups: [AWSEC2GroupIdentifier]? { get set }
-
The ID of the instance.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable instanceId;
Swift
var instanceId: String? { get set }
-
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable instanceInitiatedShutdownBehavior;
Swift
var instanceInitiatedShutdownBehavior: AWSEC2AttributeValue? { get set }
-
The instance type.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable instanceType;
Swift
var instanceType: AWSEC2AttributeValue? { get set }
-
The kernel ID.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable kernelId;
Swift
var kernelId: AWSEC2AttributeValue? { get set }
-
A list of 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 }
-
The device name of the root device volume (for example,
/dev/sda1
).Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable rootDeviceName;
Swift
var rootDeviceName: AWSEC2AttributeValue? { get set }
-
Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is
true
, source/destination checks are enabled; otherwise, they are disabled. The default value istrue
. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeBooleanValue *_Nullable sourceDestCheck;
Swift
var sourceDestCheck: AWSEC2AttributeBooleanValue? { 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 }
-
The user data.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2AttributeValue *_Nullable userData;
Swift
var userData: AWSEC2AttributeValue? { get set }