Struct aws_sdk_ec2::types::CreateFleetInstance
source · #[non_exhaustive]pub struct CreateFleetInstance {
pub launch_template_and_overrides: Option<LaunchTemplateAndOverridesResponse>,
pub lifecycle: Option<InstanceLifecycle>,
pub instance_ids: Option<Vec<String>>,
pub instance_type: Option<InstanceType>,
pub platform: Option<PlatformValues>,
}
Expand description
Describes the instances that were launched by the fleet.
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.launch_template_and_overrides: Option<LaunchTemplateAndOverridesResponse>
The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.
lifecycle: Option<InstanceLifecycle>
Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.
instance_ids: Option<Vec<String>>
The IDs of the instances.
instance_type: Option<InstanceType>
The instance type.
platform: Option<PlatformValues>
The value is Windows
for Windows instances. Otherwise, the value is blank.
Implementations§
source§impl CreateFleetInstance
impl CreateFleetInstance
sourcepub fn launch_template_and_overrides(
&self
) -> Option<&LaunchTemplateAndOverridesResponse>
pub fn launch_template_and_overrides( &self ) -> Option<&LaunchTemplateAndOverridesResponse>
The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.
sourcepub fn lifecycle(&self) -> Option<&InstanceLifecycle>
pub fn lifecycle(&self) -> Option<&InstanceLifecycle>
Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.
sourcepub fn instance_ids(&self) -> Option<&[String]>
pub fn instance_ids(&self) -> Option<&[String]>
The IDs of the instances.
sourcepub fn instance_type(&self) -> Option<&InstanceType>
pub fn instance_type(&self) -> Option<&InstanceType>
The instance type.
sourcepub fn platform(&self) -> Option<&PlatformValues>
pub fn platform(&self) -> Option<&PlatformValues>
The value is Windows
for Windows instances. Otherwise, the value is blank.
source§impl CreateFleetInstance
impl CreateFleetInstance
sourcepub fn builder() -> CreateFleetInstanceBuilder
pub fn builder() -> CreateFleetInstanceBuilder
Creates a new builder-style object to manufacture CreateFleetInstance
.
Trait Implementations§
source§impl Clone for CreateFleetInstance
impl Clone for CreateFleetInstance
source§fn clone(&self) -> CreateFleetInstance
fn clone(&self) -> CreateFleetInstance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateFleetInstance
impl Debug for CreateFleetInstance
source§impl PartialEq<CreateFleetInstance> for CreateFleetInstance
impl PartialEq<CreateFleetInstance> for CreateFleetInstance
source§fn eq(&self, other: &CreateFleetInstance) -> bool
fn eq(&self, other: &CreateFleetInstance) -> bool
self
and other
values to be equal, and is used
by ==
.