Show / Hide Table of Contents

Class AwsEc2Properties

AWS virtual machine related properties.

Inheritance
object
AwsEc2Properties
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CloudbridgeService.Models
Assembly: OCI.DotNetSDK.Cloudbridge.dll
Syntax
public class AwsEc2Properties

Properties

Architecture

Declaration
[Required(ErrorMessage = "Architecture is required.")]
[JsonProperty(PropertyName = "architecture")]
public string Architecture { get; set; }
Property Value
Type Description
string

The architecture of the image.

Remarks

Required

AreElasticInferenceAcceleratorsPresent

Declaration
[JsonProperty(PropertyName = "areElasticInferenceAcceleratorsPresent")]
public bool? AreElasticInferenceAcceleratorsPresent { get; set; }
Property Value
Type Description
bool?

Indicates if the elastic inference accelerators attached to an instance

BootMode

Declaration
[JsonProperty(PropertyName = "bootMode")]
public string BootMode { get; set; }
Property Value
Type Description
string

The boot mode of the instance.

CapacityReservationKey

Declaration
[JsonProperty(PropertyName = "capacityReservationKey")]
public string CapacityReservationKey { get; set; }
Property Value
Type Description
string

The ID of the Capacity Reservation.

ImageKey

Declaration
[JsonProperty(PropertyName = "imageKey")]
public string ImageKey { get; set; }
Property Value
Type Description
string

The ID of the AMI used to launch the instance.

InstanceKey

Declaration
[Required(ErrorMessage = "InstanceKey is required.")]
[JsonProperty(PropertyName = "instanceKey")]
public string InstanceKey { get; set; }
Property Value
Type Description
string

The ID of the instance.

Remarks

Required

InstanceLifecycle

Declaration
[JsonProperty(PropertyName = "instanceLifecycle")]
public string InstanceLifecycle { get; set; }
Property Value
Type Description
string

Indicates whether this is a Spot Instance or a Scheduled Instance.

InstanceType

Declaration
[Required(ErrorMessage = "InstanceType is required.")]
[JsonProperty(PropertyName = "instanceType")]
public string InstanceType { get; set; }
Property Value
Type Description
string

The instance type.

Remarks

Required

IpAddress

Declaration
[JsonProperty(PropertyName = "ipAddress")]
public string IpAddress { get; set; }
Property Value
Type Description
string

The public IPv4 address, or the Carrier IP address assigned to the instance.

Ipv6Address

Declaration
[JsonProperty(PropertyName = "ipv6Address")]
public string Ipv6Address { get; set; }
Property Value
Type Description
string

The IPv6 address assigned to the instance.

IsEnclaveOptions

Declaration
[JsonProperty(PropertyName = "isEnclaveOptions")]
public bool? IsEnclaveOptions { get; set; }
Property Value
Type Description
bool?

Indicates whether the instance is enabled for AWS Nitro Enclaves.

IsHibernationOptions

Declaration
[JsonProperty(PropertyName = "isHibernationOptions")]
public bool? IsHibernationOptions { get; set; }
Property Value
Type Description
bool?

Indicates whether the instance is enabled for hibernation.

IsSourceDestCheck

Declaration
[JsonProperty(PropertyName = "isSourceDestCheck")]
public bool? IsSourceDestCheck { get; set; }
Property Value
Type Description
bool?

Indicates whether source/destination checking is enabled.

IsSpotInstance

Declaration
[JsonProperty(PropertyName = "isSpotInstance")]
public bool? IsSpotInstance { get; set; }
Property Value
Type Description
bool?

If the request is a Spot Instance request, this value will be true.

KernelKey

Declaration
[JsonProperty(PropertyName = "kernelKey")]
public string KernelKey { get; set; }
Property Value
Type Description
string

The kernel associated with this instance, if applicable.

Licenses

Declaration
[JsonProperty(PropertyName = "licenses")]
public List<string> Licenses { get; set; }
Property Value
Type Description
List<string>

The license configurations for the instance.

MaintenanceOptions

Declaration
[JsonProperty(PropertyName = "maintenanceOptions")]
public string MaintenanceOptions { get; set; }
Property Value
Type Description
string

Provides information on the recovery and maintenance options of your instance.

Monitoring

Declaration
[JsonProperty(PropertyName = "monitoring")]
public string Monitoring { get; set; }
Property Value
Type Description
string

The monitoring for the instance.

NetworkInterfaces

Declaration
[JsonProperty(PropertyName = "networkInterfaces")]
public List<InstanceNetworkInterface> NetworkInterfaces { get; set; }
Property Value
Type Description
List<InstanceNetworkInterface>

The network interfaces for the instance.

Placement

Declaration
[JsonProperty(PropertyName = "placement")]
public Placement Placement { get; set; }
Property Value
Type Description
Placement

PrivateDnsName

Declaration
[JsonProperty(PropertyName = "privateDnsName")]
public string PrivateDnsName { get; set; }
Property Value
Type Description
string

(IPv4 only) The private DNS hostname name assigned to the instance.

PrivateIpAddress

Declaration
[JsonProperty(PropertyName = "privateIpAddress")]
public string PrivateIpAddress { get; set; }
Property Value
Type Description
string

The private IPv4 address assigned to the instance.

RootDeviceName

Declaration
[Required(ErrorMessage = "RootDeviceName is required.")]
[JsonProperty(PropertyName = "rootDeviceName")]
public string RootDeviceName { get; set; }
Property Value
Type Description
string

The device name of the root device volume.

Remarks

Required

RootDeviceType

Declaration
[JsonProperty(PropertyName = "rootDeviceType")]
public string RootDeviceType { get; set; }
Property Value
Type Description
string

The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

SecurityGroups

Declaration
[JsonProperty(PropertyName = "securityGroups")]
public List<GroupIdentifier> SecurityGroups { get; set; }
Property Value
Type Description
List<GroupIdentifier>

The security groups for the instance.

SriovNetSupport

Declaration
[JsonProperty(PropertyName = "sriovNetSupport")]
public string SriovNetSupport { get; set; }
Property Value
Type Description
string

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

State

Declaration
[Required(ErrorMessage = "State is required.")]
[JsonProperty(PropertyName = "state")]
public InstanceState State { get; set; }
Property Value
Type Description
InstanceState
Remarks

Required

SubnetKey

Declaration
[JsonProperty(PropertyName = "subnetKey")]
public string SubnetKey { get; set; }
Property Value
Type Description
string

EC2-VPC The ID of the subnet in which the instance is running.

Tags

Declaration
[JsonProperty(PropertyName = "tags")]
public List<Tag> Tags { get; set; }
Property Value
Type Description
List<Tag>

Any tags assigned to the instance.

TimeLaunch

Declaration
[JsonProperty(PropertyName = "timeLaunch")]
public DateTime? TimeLaunch { get; set; }
Property Value
Type Description
DateTime?

The time the instance was launched.

TpmSupport

Declaration
[JsonProperty(PropertyName = "tpmSupport")]
public string TpmSupport { get; set; }
Property Value
Type Description
string

If the instance is configured for NitroTPM support, the value is v2.0.

VirtualizationType

Declaration
[JsonProperty(PropertyName = "virtualizationType")]
public string VirtualizationType { get; set; }
Property Value
Type Description
string

The virtualization type of the instance.

VpcKey

Declaration
[JsonProperty(PropertyName = "vpcKey")]
public string VpcKey { get; set; }
Property Value
Type Description
string

EC2-VPC The ID of the VPC in which the instance is running.

In this article
Back to top