AwsEc2Properties

class oci.cloud_bridge.models.AwsEc2Properties(**kwargs)

Bases: object

AWS virtual machine related properties.

Methods

__init__(**kwargs) Initializes a new AwsEc2Properties object with values from keyword arguments.

Attributes

architecture [Required] Gets the architecture of this AwsEc2Properties.
are_elastic_inference_accelerators_present Gets the are_elastic_inference_accelerators_present of this AwsEc2Properties.
boot_mode Gets the boot_mode of this AwsEc2Properties.
capacity_reservation_key Gets the capacity_reservation_key of this AwsEc2Properties.
image_key Gets the image_key of this AwsEc2Properties.
instance_key [Required] Gets the instance_key of this AwsEc2Properties.
instance_lifecycle Gets the instance_lifecycle of this AwsEc2Properties.
instance_type [Required] Gets the instance_type of this AwsEc2Properties.
ip_address Gets the ip_address of this AwsEc2Properties.
ipv6_address Gets the ipv6_address of this AwsEc2Properties.
is_enclave_options Gets the is_enclave_options of this AwsEc2Properties.
is_hibernation_options Gets the is_hibernation_options of this AwsEc2Properties.
is_source_dest_check Gets the is_source_dest_check of this AwsEc2Properties.
is_spot_instance Gets the is_spot_instance of this AwsEc2Properties.
kernel_key Gets the kernel_key of this AwsEc2Properties.
licenses Gets the licenses of this AwsEc2Properties.
maintenance_options Gets the maintenance_options of this AwsEc2Properties.
monitoring Gets the monitoring of this AwsEc2Properties.
network_interfaces Gets the network_interfaces of this AwsEc2Properties.
placement Gets the placement of this AwsEc2Properties.
private_dns_name Gets the private_dns_name of this AwsEc2Properties.
private_ip_address Gets the private_ip_address of this AwsEc2Properties.
root_device_name [Required] Gets the root_device_name of this AwsEc2Properties.
root_device_type Gets the root_device_type of this AwsEc2Properties.
security_groups Gets the security_groups of this AwsEc2Properties.
sriov_net_support Gets the sriov_net_support of this AwsEc2Properties.
state [Required] Gets the state of this AwsEc2Properties.
subnet_key Gets the subnet_key of this AwsEc2Properties.
tags Gets the tags of this AwsEc2Properties.
time_launch Gets the time_launch of this AwsEc2Properties.
tpm_support Gets the tpm_support of this AwsEc2Properties.
virtualization_type Gets the virtualization_type of this AwsEc2Properties.
vpc_key Gets the vpc_key of this AwsEc2Properties.
__init__(**kwargs)

Initializes a new AwsEc2Properties object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • architecture (str) – The value to assign to the architecture property of this AwsEc2Properties.
  • boot_mode (str) – The value to assign to the boot_mode property of this AwsEc2Properties.
  • capacity_reservation_key (str) – The value to assign to the capacity_reservation_key property of this AwsEc2Properties.
  • are_elastic_inference_accelerators_present (bool) – The value to assign to the are_elastic_inference_accelerators_present property of this AwsEc2Properties.
  • is_enclave_options (bool) – The value to assign to the is_enclave_options property of this AwsEc2Properties.
  • is_hibernation_options (bool) – The value to assign to the is_hibernation_options property of this AwsEc2Properties.
  • image_key (str) – The value to assign to the image_key property of this AwsEc2Properties.
  • instance_key (str) – The value to assign to the instance_key property of this AwsEc2Properties.
  • instance_lifecycle (str) – The value to assign to the instance_lifecycle property of this AwsEc2Properties.
  • instance_type (str) – The value to assign to the instance_type property of this AwsEc2Properties.
  • ip_address (str) – The value to assign to the ip_address property of this AwsEc2Properties.
  • ipv6_address (str) – The value to assign to the ipv6_address property of this AwsEc2Properties.
  • kernel_key (str) – The value to assign to the kernel_key property of this AwsEc2Properties.
  • time_launch (datetime) – The value to assign to the time_launch property of this AwsEc2Properties.
  • licenses (list[str]) – The value to assign to the licenses property of this AwsEc2Properties.
  • maintenance_options (str) – The value to assign to the maintenance_options property of this AwsEc2Properties.
  • monitoring (str) – The value to assign to the monitoring property of this AwsEc2Properties.
  • network_interfaces (list[oci.cloud_bridge.models.InstanceNetworkInterface]) – The value to assign to the network_interfaces property of this AwsEc2Properties.
  • placement (oci.cloud_bridge.models.Placement) – The value to assign to the placement property of this AwsEc2Properties.
  • private_dns_name (str) – The value to assign to the private_dns_name property of this AwsEc2Properties.
  • private_ip_address (str) – The value to assign to the private_ip_address property of this AwsEc2Properties.
  • root_device_name (str) – The value to assign to the root_device_name property of this AwsEc2Properties.
  • root_device_type (str) – The value to assign to the root_device_type property of this AwsEc2Properties.
  • security_groups (list[oci.cloud_bridge.models.GroupIdentifier]) – The value to assign to the security_groups property of this AwsEc2Properties.
  • is_source_dest_check (bool) – The value to assign to the is_source_dest_check property of this AwsEc2Properties.
  • is_spot_instance (bool) – The value to assign to the is_spot_instance property of this AwsEc2Properties.
  • sriov_net_support (str) – The value to assign to the sriov_net_support property of this AwsEc2Properties.
  • state (oci.cloud_bridge.models.InstanceState) – The value to assign to the state property of this AwsEc2Properties.
  • subnet_key (str) – The value to assign to the subnet_key property of this AwsEc2Properties.
  • tags (list[oci.cloud_bridge.models.Tag]) – The value to assign to the tags property of this AwsEc2Properties.
  • tpm_support (str) – The value to assign to the tpm_support property of this AwsEc2Properties.
  • virtualization_type (str) – The value to assign to the virtualization_type property of this AwsEc2Properties.
  • vpc_key (str) – The value to assign to the vpc_key property of this AwsEc2Properties.
architecture

[Required] Gets the architecture of this AwsEc2Properties. The architecture of the image.

Returns:The architecture of this AwsEc2Properties.
Return type:str
are_elastic_inference_accelerators_present

Gets the are_elastic_inference_accelerators_present of this AwsEc2Properties. Indicates if the elastic inference accelerators attached to an instance

Returns:The are_elastic_inference_accelerators_present of this AwsEc2Properties.
Return type:bool
boot_mode

Gets the boot_mode of this AwsEc2Properties. The boot mode of the instance.

Returns:The boot_mode of this AwsEc2Properties.
Return type:str
capacity_reservation_key

Gets the capacity_reservation_key of this AwsEc2Properties. The ID of the Capacity Reservation.

Returns:The capacity_reservation_key of this AwsEc2Properties.
Return type:str
image_key

Gets the image_key of this AwsEc2Properties. The ID of the AMI used to launch the instance.

Returns:The image_key of this AwsEc2Properties.
Return type:str
instance_key

[Required] Gets the instance_key of this AwsEc2Properties. The ID of the instance.

Returns:The instance_key of this AwsEc2Properties.
Return type:str
instance_lifecycle

Gets the instance_lifecycle of this AwsEc2Properties. Indicates whether this is a Spot Instance or a Scheduled Instance.

Returns:The instance_lifecycle of this AwsEc2Properties.
Return type:str
instance_type

[Required] Gets the instance_type of this AwsEc2Properties. The instance type.

Returns:The instance_type of this AwsEc2Properties.
Return type:str
ip_address

Gets the ip_address of this AwsEc2Properties. The public IPv4 address, or the Carrier IP address assigned to the instance.

Returns:The ip_address of this AwsEc2Properties.
Return type:str
ipv6_address

Gets the ipv6_address of this AwsEc2Properties. The IPv6 address assigned to the instance.

Returns:The ipv6_address of this AwsEc2Properties.
Return type:str
is_enclave_options

Gets the is_enclave_options of this AwsEc2Properties. Indicates whether the instance is enabled for AWS Nitro Enclaves.

Returns:The is_enclave_options of this AwsEc2Properties.
Return type:bool
is_hibernation_options

Gets the is_hibernation_options of this AwsEc2Properties. Indicates whether the instance is enabled for hibernation.

Returns:The is_hibernation_options of this AwsEc2Properties.
Return type:bool
is_source_dest_check

Gets the is_source_dest_check of this AwsEc2Properties. Indicates whether source/destination checking is enabled.

Returns:The is_source_dest_check of this AwsEc2Properties.
Return type:bool
is_spot_instance

Gets the is_spot_instance of this AwsEc2Properties. If the request is a Spot Instance request, this value will be true.

Returns:The is_spot_instance of this AwsEc2Properties.
Return type:bool
kernel_key

Gets the kernel_key of this AwsEc2Properties. The kernel associated with this instance, if applicable.

Returns:The kernel_key of this AwsEc2Properties.
Return type:str
licenses

Gets the licenses of this AwsEc2Properties. The license configurations for the instance.

Returns:The licenses of this AwsEc2Properties.
Return type:list[str]
maintenance_options

Gets the maintenance_options of this AwsEc2Properties. Provides information on the recovery and maintenance options of your instance.

Returns:The maintenance_options of this AwsEc2Properties.
Return type:str
monitoring

Gets the monitoring of this AwsEc2Properties. The monitoring for the instance.

Returns:The monitoring of this AwsEc2Properties.
Return type:str
network_interfaces

Gets the network_interfaces of this AwsEc2Properties. The network interfaces for the instance.

Returns:The network_interfaces of this AwsEc2Properties.
Return type:list[oci.cloud_bridge.models.InstanceNetworkInterface]
placement

Gets the placement of this AwsEc2Properties.

Returns:The placement of this AwsEc2Properties.
Return type:oci.cloud_bridge.models.Placement
private_dns_name

Gets the private_dns_name of this AwsEc2Properties. (IPv4 only) The private DNS hostname name assigned to the instance.

Returns:The private_dns_name of this AwsEc2Properties.
Return type:str
private_ip_address

Gets the private_ip_address of this AwsEc2Properties. The private IPv4 address assigned to the instance.

Returns:The private_ip_address of this AwsEc2Properties.
Return type:str
root_device_name

[Required] Gets the root_device_name of this AwsEc2Properties. The device name of the root device volume.

Returns:The root_device_name of this AwsEc2Properties.
Return type:str
root_device_type

Gets the root_device_type of this AwsEc2Properties. The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

Returns:The root_device_type of this AwsEc2Properties.
Return type:str
security_groups

Gets the security_groups of this AwsEc2Properties. The security groups for the instance.

Returns:The security_groups of this AwsEc2Properties.
Return type:list[oci.cloud_bridge.models.GroupIdentifier]
sriov_net_support

Gets the sriov_net_support of this AwsEc2Properties. Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

Returns:The sriov_net_support of this AwsEc2Properties.
Return type:str
state

[Required] Gets the state of this AwsEc2Properties.

Returns:The state of this AwsEc2Properties.
Return type:oci.cloud_bridge.models.InstanceState
subnet_key

Gets the subnet_key of this AwsEc2Properties. EC2-VPC The ID of the subnet in which the instance is running.

Returns:The subnet_key of this AwsEc2Properties.
Return type:str
tags

Gets the tags of this AwsEc2Properties. Any tags assigned to the instance.

Returns:The tags of this AwsEc2Properties.
Return type:list[oci.cloud_bridge.models.Tag]
time_launch

Gets the time_launch of this AwsEc2Properties. The time the instance was launched.

Returns:The time_launch of this AwsEc2Properties.
Return type:datetime
tpm_support

Gets the tpm_support of this AwsEc2Properties. If the instance is configured for NitroTPM support, the value is v2.0.

Returns:The tpm_support of this AwsEc2Properties.
Return type:str
virtualization_type

Gets the virtualization_type of this AwsEc2Properties. The virtualization type of the instance.

Returns:The virtualization_type of this AwsEc2Properties.
Return type:str
vpc_key

Gets the vpc_key of this AwsEc2Properties. EC2-VPC The ID of the VPC in which the instance is running.

Returns:The vpc_key of this AwsEc2Properties.
Return type:str