#[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_ids(&self) -> &[String]
pub fn group_ids(&self) -> &[String]
The security group IDs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .group_ids.is_none()
.
sourcepub fn group_names(&self) -> &[String]
pub fn group_names(&self) -> &[String]
The security group names.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .group_names.is_none()
.
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 for ImportInstanceLaunchSpecification
impl PartialEq 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 ==
.impl StructuralPartialEq for ImportInstanceLaunchSpecification
Auto Trait Implementations§
impl Freeze for ImportInstanceLaunchSpecification
impl RefUnwindSafe for ImportInstanceLaunchSpecification
impl Send for ImportInstanceLaunchSpecification
impl Sync for ImportInstanceLaunchSpecification
impl Unpin for ImportInstanceLaunchSpecification
impl UnwindSafe for ImportInstanceLaunchSpecification
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more