#[non_exhaustive]pub struct ImportInstanceLaunchSpecification {
pub additional_info: Option<String>,
pub architecture: Option<ArchitectureValues>,
pub group_ids: Option<Vec<String>>,
pub group_names: Option<Vec<String>>,
pub instance_initiated_shutdown_behavior: Option<ShutdownBehavior>,
pub instance_type: Option<InstanceType>,
pub monitoring: Option<bool>,
pub placement: Option<Placement>,
pub private_ip_address: Option<String>,
pub subnet_id: Option<String>,
pub user_data: Option<UserData>,
}
Expand description
Describes the launch specification for VM import.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.additional_info: Option<String>
Reserved.
architecture: Option<ArchitectureValues>
The architecture of the instance.
group_ids: Option<Vec<String>>
The security group IDs.
group_names: Option<Vec<String>>
The security group names.
instance_initiated_shutdown_behavior: Option<ShutdownBehavior>
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
instance_type: Option<InstanceType>
The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.
monitoring: Option<bool>
Indicates whether monitoring is enabled.
placement: Option<Placement>
The placement information for the instance.
private_ip_address: Option<String>
[EC2-VPC] An available IP address from the IP address range of the subnet.
subnet_id: Option<String>
[EC2-VPC] The ID of the subnet in which to launch the instance.
user_data: Option<UserData>
The Base64-encoded user data to make available to the instance.
Implementations§
source§impl ImportInstanceLaunchSpecification
impl ImportInstanceLaunchSpecification
sourcepub fn additional_info(&self) -> Option<&str>
pub fn additional_info(&self) -> Option<&str>
Reserved.
sourcepub fn architecture(&self) -> Option<&ArchitectureValues>
pub fn architecture(&self) -> Option<&ArchitectureValues>
The architecture of the instance.
sourcepub fn group_names(&self) -> Option<&[String]>
pub fn group_names(&self) -> Option<&[String]>
The security group names.
sourcepub fn instance_initiated_shutdown_behavior(&self) -> Option<&ShutdownBehavior>
pub fn instance_initiated_shutdown_behavior(&self) -> Option<&ShutdownBehavior>
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
sourcepub fn instance_type(&self) -> Option<&InstanceType>
pub fn instance_type(&self) -> Option<&InstanceType>
The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.
sourcepub fn monitoring(&self) -> Option<bool>
pub fn monitoring(&self) -> Option<bool>
Indicates whether monitoring is enabled.
sourcepub fn private_ip_address(&self) -> Option<&str>
pub fn private_ip_address(&self) -> Option<&str>
[EC2-VPC] An available IP address from the IP address range of the subnet.
source§impl ImportInstanceLaunchSpecification
impl ImportInstanceLaunchSpecification
sourcepub fn builder() -> ImportInstanceLaunchSpecificationBuilder
pub fn builder() -> ImportInstanceLaunchSpecificationBuilder
Creates a new builder-style object to manufacture ImportInstanceLaunchSpecification
.
Trait Implementations§
source§impl Clone for ImportInstanceLaunchSpecification
impl Clone for ImportInstanceLaunchSpecification
source§fn clone(&self) -> ImportInstanceLaunchSpecification
fn clone(&self) -> ImportInstanceLaunchSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<ImportInstanceLaunchSpecification> for ImportInstanceLaunchSpecification
impl PartialEq<ImportInstanceLaunchSpecification> for ImportInstanceLaunchSpecification
source§fn eq(&self, other: &ImportInstanceLaunchSpecification) -> bool
fn eq(&self, other: &ImportInstanceLaunchSpecification) -> bool
self
and other
values to be equal, and is used
by ==
.