pub struct RequestLaunchTemplateData {
pub image_id: Option<String>,
pub instance_type: Option<String>,
pub key_name: Option<String>,
pub user_data: Option<String>,
pub security_group_ids: Option<Vec<String>>,
pub iam_instance_profile: Option<LaunchTemplateIamInstanceProfileSpecification>,
pub block_device_mappings: Option<Vec<LaunchTemplateBlockDeviceMapping>>,
pub network_interfaces: Option<Vec<LaunchTemplateNetworkInterface>>,
pub metadata_options: Option<LaunchTemplateInstanceMetadataOptions>,
pub cpu_options: Option<LaunchTemplateCpuOptions>,
pub tag_specifications: Option<Vec<TagSpecification>>,
}Expand description
Launch template data for the request.
Fields§
§image_id: Option<String>The ID of the AMI.
instance_type: Option<String>The instance type.
key_name: Option<String>The key name.
user_data: Option<String>The user data (base64-encoded).
security_group_ids: Option<Vec<String>>The security group IDs.
iam_instance_profile: Option<LaunchTemplateIamInstanceProfileSpecification>The IAM instance profile.
block_device_mappings: Option<Vec<LaunchTemplateBlockDeviceMapping>>Block device mappings.
network_interfaces: Option<Vec<LaunchTemplateNetworkInterface>>Network interfaces.
metadata_options: Option<LaunchTemplateInstanceMetadataOptions>Metadata options.
cpu_options: Option<LaunchTemplateCpuOptions>CPU options (currently only NestedVirtualization).
tag_specifications: Option<Vec<TagSpecification>>Tags to apply to resources created from the launch template.
Implementations§
Source§impl RequestLaunchTemplateData
impl RequestLaunchTemplateData
Sourcepub fn builder() -> RequestLaunchTemplateDataBuilder
pub fn builder() -> RequestLaunchTemplateDataBuilder
Create an instance of RequestLaunchTemplateData using the builder syntax
Trait Implementations§
Source§impl Clone for RequestLaunchTemplateData
impl Clone for RequestLaunchTemplateData
Source§fn clone(&self) -> RequestLaunchTemplateData
fn clone(&self) -> RequestLaunchTemplateData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RequestLaunchTemplateData
impl Debug for RequestLaunchTemplateData
Source§impl Default for RequestLaunchTemplateData
impl Default for RequestLaunchTemplateData
Source§fn default() -> RequestLaunchTemplateData
fn default() -> RequestLaunchTemplateData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RequestLaunchTemplateData
impl RefUnwindSafe for RequestLaunchTemplateData
impl Send for RequestLaunchTemplateData
impl Sync for RequestLaunchTemplateData
impl Unpin for RequestLaunchTemplateData
impl UnsafeUnpin for RequestLaunchTemplateData
impl UnwindSafe for RequestLaunchTemplateData
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.