#[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
sourceimpl 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.
sourceimpl ImportInstanceLaunchSpecification
impl ImportInstanceLaunchSpecification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImportInstanceLaunchSpecification
.
Trait Implementations
sourceimpl Clone for ImportInstanceLaunchSpecification
impl Clone for ImportInstanceLaunchSpecification
sourcefn clone(&self) -> ImportInstanceLaunchSpecification
fn clone(&self) -> ImportInstanceLaunchSpecification
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<ImportInstanceLaunchSpecification> for ImportInstanceLaunchSpecification
impl PartialEq<ImportInstanceLaunchSpecification> for ImportInstanceLaunchSpecification
sourcefn eq(&self, other: &ImportInstanceLaunchSpecification) -> bool
fn eq(&self, other: &ImportInstanceLaunchSpecification) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ImportInstanceLaunchSpecification) -> bool
fn ne(&self, other: &ImportInstanceLaunchSpecification) -> bool
This method tests for !=
.
impl StructuralPartialEq for ImportInstanceLaunchSpecification
Auto Trait Implementations
impl RefUnwindSafe for ImportInstanceLaunchSpecification
impl Send for ImportInstanceLaunchSpecification
impl Sync for ImportInstanceLaunchSpecification
impl Unpin for ImportInstanceLaunchSpecification
impl UnwindSafe for ImportInstanceLaunchSpecification
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more